Now, it's time to integrate your SAP S/4HANA system with RemotePass. Before you start, your SAP administrator prepares an OAuth client for RemotePass and gives you the connection details; see [How to Find Your SAP API Scopes for RemotePass].
Step 1: Connection details
Click on the Integrations tab under the Company Settings, find SAP S/4HANA Finance under Accounting and click Discover, then Connect.
2. Under Authentication, enter your Tenant URL (the address of your SAP system), the Client ID and Client secret of the OAuth client, and your SAP client number if your system uses one (three digits, optional).
3. Under Scopes, check the scope ID of each API service. The usual IDs are filled in for you; change any that are different in your SAP system (for example ZAPI_COSTCENTER_SRV_0001): API for Company Codes, API for Chart of Accounts, API for Business Partner (Suppliers), API for Cost Centers and API for Supplier Invoices.
4. Click Continue, check the summary on the Review page and click Confirm.
Step 2: Log in to SAP
Your SAP login page opens. Sign in with the user your SAP administrator prepared for RemotePass. We recommend a dedicated service user rather than a personal account, so the connection does not depend on one person.
SAP shows the Access Permission Request with the APIs RemotePass will use. Click Allow. You are brought back to RemotePass.
If the connection fails after the SAP login, ask your administrator to check that each service is activated, that its scope is assigned to the RemotePass OAuth client, and that the user has access to the services.
Initial Setup
The initial setup has three steps: Organization Setup, Account Mapping and Worker Mapping.
Organization Setup: select the company code your payroll invoices are posted to and click Continue. If your system has only one company code, it is selected for you.
2. Account Mapping: map your SAP GL accounts with RemotePass categories and click Continue. Click Map With AI to let RemotePass suggest the best matches for all 22 categories, review them and click Accept AI Mappings. You can edit any mapping later.
3. Worker Mapping: select the date you want the SAP sync to start (you may select a date in the past), optionally enable Invoices auto sync to synchronize automatically every time you run payroll, then select the SAP vendor and the SAP cost center for each worker. Both are required: RemotePass does not create vendors in SAP, and invoices of a worker without a vendor or a cost center cannot be posted. If a vendor you created in SAP is missing, click Refresh next to "Missing vendor?". For EOR payroll all invoices go to the RemotePass EOR vendor; its cost centers are set per EOR worker in Configure EOR Workers. Click Save Changes.
4. Completed: RemotePass starts the first synchronization. You will be notified by email once it is complete.
All settings can be changed later under the Settings tab of the integration.
Final Step: Verify Your Connection
You will be notified by an email once the initial synchronization is complete. Follow these steps accordingly:
Check Last Sync Date and the company code shown on the SAP S/4HANA Finance card displayed under the integrations list.
Click Manage and open the Invoices tab. Check the invoice statuses.
Log in to your SAP system and verify that the supplier invoices sit on the vendors you selected (for example the RemotePass EOR vendor).
Open Manage Supplier Invoices and verify that the amounts, GL accounts, cost centers and invoice IDs on the supplier invoices match your RemotePass transactions.
RemotePass records your invoices as supplier invoices in SAP, under the company code you connected. Invoices are not marked as paid and no payment entry is done.
For advanced usage, such as working with cost centers, see our [SAP Cost Center Guideline].











