08-16-2007 12:47 PM
hi all ,
can anybody tell me how to put authorizations in programs.??
08-16-2007 1:59 PM
08-16-2007 12:57 PM
Hi amit,
Refer the following links:
http://www.sap-img.com/abap/checking-user-authorizations-in-your-abap-program.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb3d5c358411d1829f0000e829fbfe/frameset.htm
<i><b>Hope it helps!</b></i>
Regards,
Naveenan.
08-16-2007 1:09 PM
sorry dear this is not of any help to me ... i need a program buddy. can you give me any code as hopw to use and how give authorization in a report
08-16-2007 1:20 PM
You give authorisation in PFCG or SU01.
Checking authorisation is done with the statement AUTHORITY-CHECK
for example :
AUTHORITY-CHECK
OBJECT 'S_TABU_DIS'
ID 'DICBERCLS'
FIELD wa_tddat-cclass
ID 'ACTVT'
FIELD '02'.
For futher information, take a look at help.sap.com .
08-16-2007 1:59 PM