‎2009 Oct 13 4:29 PM
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.
‎2009 Oct 20 6:58 PM
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
‎2009 Oct 21 11:17 AM
Hi,
Try these F.Ms
CS_CL_P_BOM_AUTHORITY_CHECK
CS_CL_S_BOM_AUTHORITY_CHECK
Regards,
Pydi Reddy.