09-02-2008 7:52 AM
hi,
Can i have the code to use authorizations in bdc program to give permission to execute the program.
regards
raghu
09-02-2008 12:27 PM
Hi,
You can use authority object.Code like as below.
AUTHORITY-CHECK OBJECT 'M_EINF_WRK'
ID 'WERKS' FIELD '0002'
ID 'ACTVT' FIELD '02'.
Thanks,
radha.
09-02-2008 12:31 PM
Example is
AUTHORITY-CHECK OBJECT 'Z:FAKSK'
ID 'FAKSK' DUMMY
ID 'ACTVT' FIELD '02'.
Here ACTVT = 01, Create
02, Change
03, Display