Skip to main content

How do we connect to SAP BAPI as the person performing an action in Salesforce?

 

We are currently using SAP premium connector for calling SAP ECC BAPI using RFC, and are using a service account for integration with "Simple Connection Provider" authentication scheme. This BAPI creates an Order in SAP ECC and SAP automatically sets the uneditable-system-audit field "Created By" on SAP order as the integration user.

 

To have this field populated with the actual business user performing the action in Salesforce, the guidance from SAP Platform team is to connect to SAP BAPI as the actual business user and NOT integration user, so that SAP automatically sets the field to the concerned business user.

 

It would be great if someone could share any experience / approach handling similar requirement. Not sure if its even feasible using the out-of-the-box SAP premium connector or we need to create something totally custom.

 

The only 3 auth mechanisms I see on latest version of premium SAP connector are - 1) SCP, 2) Certificate based, 3) Kerberos. Does anyone have any experience using anything but SCP? And could any of these three mechanisms support the need at hand?

 

Thanks!

0/9000