Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to assign a BAPI to Role in SAP HR

Hello gurus,

I have a requirement in which i need to assign a set of Bapis and RFC from SAP HR to a Role and then this role to a user. I have few questions here

1. How to assign only a BAPI to role

2. How to assign a Remote Function to a Role/Profile (in PFCG)

3. Do i need to take care of underlined Infotype for Authorization purpose, as bapis are acessing further some Infotypes from HR module. so do i need to assign Infotypes to roles also.

4. How to find Object related to a BAPI or Remote Function

Points for sure for any reply.


Former Member
Former Member replied

Do i need to confgure the Infotype Authorization Object also like P_ORGIN to access infotype

~ Yes

Do i need to configure Authority object for for the Funcrion Group also where my Bapi** functions resides. like BAPI_ORGUNITEXT_DATA_GET resides in Function group RH_ORGPUB_APP.

i will really appreciate any reply on the same.

~ Yes

How do i test it from SAP and NON-SAP system any comment is addition to this requirement. i will gve you full mark anyway.

From SAP side , you should get auth error .. and from Non-SAP sys you should get no data or ( you can write some code to check auth for above objects and raise error message and send it to non-SAP system .

i will gve you full mark anyway .

hmmmmmm, I aint only answer for Marks

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question