2015 Jan 27 6:52 AM
Hi All,
I want to check Customize authorization object into transaction code CS01 ,i have used Exit PCSD0007
and my check code is
if ( headerdata-stlal <> '01') and sy-tcode = 'CS01'.
Check Authorization object here.
Endif.
but when the check is not successful the transaction jumps to this header instead of staying on the start-screen.
is there any other user exit which i can use for this Authorization check.
Thanks,
Mahipal
2015 Jan 27 7:19 AM
Please try this,
IF ( headerdata-stlan <> '01') AND sy-tcode = 'CS01'.
* *****Authorization object here****
IF sy-subrc <> 0.
MESSAGE E001(zmm). "create message like "You do not have authorization"
ENDIF.
ENDIF.
2015 Jan 27 7:28 AM
hi ,
Thanks, but problem is not with authorization check when check is unsuccessful at time of headerdata-atlal .
means if headerdata-stlal = 01 then it goes to header screen instead of staying Start Screen.
2015 Jan 27 8:50 AM
Dear Mahipalsinh Parmar ,
U can use the keyword
AUTHORITY-CHECK OBJECT <authorization object>
ID <authority field 1> FIELD <field value 1>.
ID <authority field 2> FIELD <field value 2>.
Thanks & Regrads
Kranthi
2015 Jan 28 4:31 AM
hi,
i know how to check authority object ,but my question is, is there any exit which we can use at the time of CS01 initial screen.?
2015 Feb 02 6:01 AM