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: 

Authority-check object and AL11

kiran_k8
Active Contributor
0 Kudos

Hi Folks,

1.I am debugging a program in Development which is downloading a file to Application Server,when I use AL11 in development I was not able to see the data.How to see the data that got downloaded into the application server.

2.AUTHORITY-CHECK OBJECT 'ZPLANT'

ID 'WERKS' FIELD P_WERKS.

IF SY-SUBRC NE 0.

message E006(zmess) with text-009 p_werks.

endif.

This particular piece of code related to Authorisation is not letting me debug the program in Production but in development and quality I was able to.Would like to know how does this AUTHORITY-CHECK OBJECT works.Does this works based on login name?

Can anyone here please let me know about the above two queries.

Thanks,

K.Kiran.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

when you are debugging the program which downloads the file to AL11 , check the file path and go to that file path and check the file. If no file path is there when downloading , check the default file path.

Authority-check is based on the user name and its related Authorizations.I think your ID dont have authorizations in production to execute this prog.

Regards

Raj

4 REPLIES 4

Former Member
0 Kudos

Hi,

when you are debugging the program which downloads the file to AL11 , check the file path and go to that file path and check the file. If no file path is there when downloading , check the default file path.

Authority-check is based on the user name and its related Authorizations.I think your ID dont have authorizations in production to execute this prog.

Regards

Raj

Former Member
0 Kudos

Hello Kiran,

1) Get the object attached to user id/get the necessary auth for that particular plant with the help of a BASIS Consultant.

ID: object Field which contains the name of the object for which the authorization is to be checked.

2) Alternatively, you can go to txn AL11, in the path where you are downloading the data--you can see the data by clicking on the file name.

But, this may require authorization to access the production application server, again this is a question of necessary authorizations.

I hope this helps.

Rgds,

Raghu.

Former Member
0 Kudos

Hi,

The Authority check Object will consider the authorization settings for each user.

In SU01 trnsaction, we can chek the authorizations maitanied for each user. check it out int menu bar of this transaction.

As Raj, siad you might have no authozations set for you to use in Production system.

In AL11 transaztion chekc the HOME directory aslo to know your file ahs uploaded or not.

Reward if helpful.

Best Wishes,

Chandralekha

Former Member
0 Kudos

Hi, Kiran,

1)First debug the program and check sy-subrc value at 'Write Dataset' command if it is '0' then check the file path u r giving in the program to download in application server,or check './' folder to find u r file.

2)That means the user type u r of u r user ID is not authorized to debug the program,as Basis guys to give suffeciant authorization to u r user ID.

regards,

Rock.