Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

no autrzn

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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

g_srivastava
Active Contributor
0 Kudos

Hi Sdquest,

Try executing the tcode you created in transaction SE93.Hope it works.Hoping your query resolves soon.

Have a best day ahead.

viquar_iqbal
Active Contributor
0 Kudos

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

matt
Active Contributor
0 Kudos

Do not post the same question more than once.

Do not use txtspk

Thread locked.