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

Checking BOM Authorization Group

Former Member
0 Likes
1,219

Hai Friends,

I have developed a mulitilevel BOM display report. End users have been assigned to 2 Authorization Group as A1 and A2.

If a user has A1 authorization i have to explode the BOM fully else i have stop to a certain class. How do i identify that a user has A1 authorization or not?. Is there any FM?. if so what all are the parameters needs to be passed.

2 REPLIES 2
Read only

chaiphon
Contributor
0 Likes
718

Hi T,

First you need to get authorization object for BOM. You can use transaction ST05 to trace the object.

Then you can use command AUTHORITY-CHECK OBJECT in your program to check against the object whether the user have authorization or not.

Regards,

Chaiphon

Read only

Former Member
0 Likes
718

Hi,

Try these F.Ms

CS_CL_P_BOM_AUTHORITY_CHECK

CS_CL_S_BOM_AUTHORITY_CHECK

Regards,

Pydi Reddy.