---
sourceDocument: Yokohama Finance and Supply Chain
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/source-to-pay-operations

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Finance and Supply Chain

ft:clusterId :

    - stpop

bundleId :

    - stpop

workflow :

    - Employee


---

# Execute RFC

# Execute RFC in the Source-to-Pay with SAP integration {#ariaid-title1}

* Release version: Yokohama
* 
* Updated July 31, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Execute RFC from the available list.

Process flow:

Step 1 - Create a record for the SAP system in the Connection and Credential alias table.

Step 2 - Create Credential for connecting to the SAP system.

Step 3 - Add MID Server and credentials to the connection.

Step 4 - Create ERP Source is an ERP source configuration table.

Step 5 - Create a Service, add flow and give the necessary inputs in the fields.

Name: ZSN_BAPI_GET_DATA  
{#execute-rfc-source-to-pay-sap-integration__table_owl_24z_lxb__entry__3}

| Title | Type | Description |
|-|-|-|
| Input |||
| 1 | Connection Alias - | Connection Alias for SAP ECC -- RFC |
| 2 | RFC | The Reference to records (SAP RFC Name and Application component) in SAP RFC Table |
| 3 | Input | Input fields for the selected RFC, represented in a flat structure |
| Output |||
| 1 | Response | The response for the execution of selected RFC at SAP |
| 2 | Action Status | If the request is executed successfully, Status is set to "Success". If there's a failure in SAP ECC - RFC, Status is set to "Error" |
| 3 | Error Message | Reason for error. Populated only when an error occurs. Error returned from SAP in the RETURN parameter. No or empty response received from SAP |
[Table 1. Query parameters to execute RFC]

{#execute-rfc-source-to-pay-sap-integration__table_owl_24z_lxb}

* Figure 1. Function Builder Initial Screen
* Figure 2. Enter the IMPORT, CHANGING, and TABLES parameters
* Figure 3. Results data
* Figure 4. Results data Figure 5. Results data
{#execute-rfc-source-to-pay-sap-integration__ul_evk_kh5_bgc}

