05-01-2009 5:50 AM
hi
i'm using ecc ides in my personal laptop
i;ve copied a progarm & trying to run it
i've create a z tcode for it ZCST but when i'm trying to execute the program it is saying
no autroziation to tcode ZCST.
PL let me know how i can bypass this check in code
05-01-2009 6:19 AM
hi,
In your program,
check for the following statement, if it exists check the SY-SUBRC value after this statement, if it returns 4 then you don't have any authority to run that TCODE.
You need to set the value to 0 to access that TCODE.
authority-check object 'S_ADMI_FCD'
id 'S_ADMI_FCD'
field 'ST0M'.
The above code has been taken from ST05 transaction. You may find different values if that statement exists in your program
regards
Sharath
05-01-2009 6:20 AM
Hi Sdquest,
Try executing the tcode you created in transaction SE93.Hope it works.Hoping your query resolves soon.
Have a best day ahead.
05-01-2009 6:31 AM
Hi
check for the authrozation object in SU56 and what all the Tcodes your have access to .
It displays all the authorization objects.. Click on Goto-Failed authorization check to see if your transaction has any such objects
Hope this helps!
ViquarIqbal
05-01-2009 10:50 AM