‎2006 Sep 18 12:54 PM
can anyone through some light on authorisation checks for a particular fireld?
‎2006 Sep 18 12:57 PM
how to check that a user has the correct authority for a particular
transaction code. Useful to check if a user has the correct authority before executing a transaction via
BDC input.
E.g
authority-check object 'S_TCODE'
id 'TCD'
field 'SM35'.
if sy-subrc ne 0.
User does not have authority for transaction SM35!!!
endif.
‎2006 Sep 18 12:57 PM
how to check that a user has the correct authority for a particular
transaction code. Useful to check if a user has the correct authority before executing a transaction via
BDC input.
E.g
authority-check object 'S_TCODE'
id 'TCD'
field 'SM35'.
if sy-subrc ne 0.
User does not have authority for transaction SM35!!!
endif.
‎2006 Sep 18 12:59 PM
You can use authority check for a particular Sales Organization, distribution channel, Division as below,
AUTHORITY-CHECK OBJECT 'V_VBAK_VKO'
ID 'VKORG' FIELD '__________'
ID 'VTWEG' FIELD '__________'
ID 'SPART' FIELD '__________'
ID 'ACTVT' FIELD '__________'.
u can find object in su21. if object it not there u can make it.
http://help.sap.com/saphelp_erp2004/helpdata/en/9f/dbaccb35c111d1829f0000e829fbfe/frameset.htm
‎2006 Sep 18 1:01 PM
thanks for the prompt reply,
if i want to put an authorisation check for a particular field in a tranasaction? how will i do it?
forexample in T.Code ff6b field archiving category need an authorisation check. how will i do it?
thanks and rgds,GIRI