Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Security about BAPI's - user access

Former Member
0 Likes
1,110

Hi,

We just finished to develop a few BAPI´s in order to access it using a Java Program.

We mark BAPI´s as remote enabled module and we think that we should use a internet user to access the BAPI's.

My question is: how can i certified that that user only access to the BAPI´s i create. I revised the java code and anyone can use that code to access to another BAPI.

Can you tell me some comments about this issue?

Best Regards

João Fernandes

1 ACCEPTED SOLUTION
Read only

mvoros
Active Contributor
0 Likes
672

Hi,

I assume that you use JCo to call BAPI from your Java program. JCo uses RFC for this purpose. Hence you have all possibilities of RFC to secure it. You can create a new user for this RFC. This user will have only access to your BAPI (authorization object S_RFC). YOu can get additional information about securing RFC [here.|http://help.sap.com/saphelp_nw04s/helpdata/en/37/1a9b6a338cca448508f3a48d2d1e2d/frameset.htm]

Cheers

2 REPLIES 2
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
672

According to the BAPI development guidelines, it is developer's responsibility to add the authority check.

Each BAPI must have all the applicable authorization checks coded inside, so that even if anyone runs the BAPI, they won't be able to get far if they don't have authorization for the business transactions. Naturally, the remote user IDs should have adequate (usually minimum and display-only) authorizations in SAP.

Read only

mvoros
Active Contributor
0 Likes
673

Hi,

I assume that you use JCo to call BAPI from your Java program. JCo uses RFC for this purpose. Hence you have all possibilities of RFC to secure it. You can create a new user for this RFC. This user will have only access to your BAPI (authorization object S_RFC). YOu can get additional information about securing RFC [here.|http://help.sap.com/saphelp_nw04s/helpdata/en/37/1a9b6a338cca448508f3a48d2d1e2d/frameset.htm]

Cheers