cancel
Showing results for 
Search instead for 
Did you mean: 

Rights required for BAPI calls

Former Member
0 Kudos

I've written an application using the SAP .Net Connector and everything works fine. The application connects to SAP by proxy, makes a BAPI call via RFC (BAPI_BARCODE_SENDLIST for example), and continues with the .Net code that fulfills its primary purpose.

However, I'm currently uncertain as to the minimal rights the SAP user needs to perform such an action. I can get around rights restrictions by assigning a broader role such as SAP_ALL, but obviously that is a non-preferable approach. A point in the right direction would be greatly appreciated.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

To be able to call a BAPI or function module via RFC, the SAP user needs to have at least the right

S_RFC: RFC_TYPE=FUGR, RFC_NAME=<GROUP_NAME> ACTVT=16

where GROUP_NAME is the name the function group the target function module belongs to. For example, BAPI BAPI_BARCODE_SENDLIST belongs to function group BARCODE.

Regards,

Guangwei