Application Development 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: 

BW and Structual Authorisations using BADI

Former Member
0 Kudos

Hi all,

I want to general authorisations for BW using the structural authorizations defined in HR.

To do this we need to populate data sources 0HR_PA_2 and 0HR_PA_3 using tables T77UA, T77UU and T77PR and INDX. However, the client is not maintaining tables T77Ua because they are using BADI HRBASoo)GET)PROFL and the contect solution to define their structural authorization assignment.

Is there any other tables that I can use to populate data soruces 0HR_PA_2 and 0HR_PA_3?

Thanks

Warren

5 REPLIES 5

former_member66268
Active Participant
0 Kudos

Hi Warren Lui, I dont know about BW data sources - 0HR_PA_2 and 0HR_PA_3; what information you would require to populate these sources?

If BADI HRBAS00_GET_PROFL is being used, then T77UA will not have user profile mapping data. But am sure context sensitive HR objects (like P_ORGINCON) are maintained. So normally when BADI is being we go via the std authorization route to get the Structural profiles applicable to the user (even within the BADI , this is what will be used to get the profile applicable for user). To get this we use, AGR_USERS and AGR_1251 to find out the role applicable to user and the profile attached to that role.

Hope this helps.

Regards

Chandra

0 Kudos

Hi Chandramouly

Thanks for that

Warren

Former Member
0 Kudos

Hi

The fields required are from tables T77UA, T77UU and T77PR. Refer

http://help.sap.com/saphelp_erp2005vp/helpdata/en/01/a7fb3a72a05546e10000000a114084/frameset.htm

Warren

0 Kudos

Hi Warren Lui, For details of T77UA, you would need to follow the above logic (AGR tables) - or you can check the method in the BADI (method - GET_T77PR_TAB, Interface IF_EX_HRBAS00_GET_PROFL), what is the logic used to identify the Profile information for a User. T77PR (Auth Profile) information would available and can be directly used.

You should be able to get all the information that is required by combination of any of these tables (except T77UA) - http://help.sap.com/saphelp_erp2004/helpdata/en/2d/7739a2a6d5cc4c8d63a514599dc30f/frameset.htm

Regards

Chandra

0 Kudos

Hi Warren,

We are also facing the same problem .How did you solve this issue?

Could you share your experience ?

It will be a great help for us.

Thanks & Regards,

Raja