2008 Jun 28 4:43 AM
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.
2008 Jun 28 4:52 AM
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
2008 Jun 28 4:52 AM
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
2008 Jun 28 4:55 AM
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.
2008 Jun 28 4:58 AM
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
2008 Jun 28 5:01 AM
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.