‎2008 Sep 30 6:39 AM
Hi
I Need to provide create,change,display for the activity field in the authorization object
Can i use this kind of statment .
AUTHORITY-CHECK OBJECT 'M_BEST_WRK'
ID 'ACTVT' FIELD '01'
ID 'ACTVT' FIELD '02'
ID 'ACTVT' FIELD '03'
ID 'WERKS' FIELD w_werks-ship_to_plant.
If not kindly advise how to allow all the activity in the same object
‎2008 Sep 30 6:52 AM
Hi,
You can use this logic,ask the security(SAP) team to assign this object to the particulat plants what you
want.
Regards
Krishna
‎2008 Sep 30 6:52 AM
HI
U follow like that..its very use ful for u
AUTHORITY-CHECK OBJECT 'ZPRCHK_NEW'
ID 'TCD' FIELD SY-TCODE
ID 'BUKRS' DUMMY
ID 'PRCTR' DUMMY
ID 'SPART' DUMMY
ID 'WERKS' DUMMY
ID 'VKORG' DUMMY
ID 'EKORG' DUMMY.
IF SY-SUBRC NE 0.
MESSAGE I000(VZ) WITH TEXT-002 SY-TCODE .
LEAVE PROGRAM.
ENDIF.