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.
Showing results for 
Search instead for 
Did you mean: 

problem in the background

Former Member
0 Kudos

Hi Friends,

i am facing the problem with the funciton module, I have executed my custom program in background (SM37) but the program job was compled with in few minutes.

i have debugged the background job in jdbg and find out the problem in Function module BP_JOB_CHECKSTATE .

After execution of the function module BP_JOB_CHECKSTATE , The function module raises the Exception 5 " *no authorization for checking the job "*

Could you please tell me why the function module raise the exception 5( no authorization for checking the job).

Could you please help it's a very important for me becuase we are getting the dump in production system .




Active Contributor
0 Kudos


This exception occurs because of the authorization issue.

system will check the authorization when the job creator name and sy-uname is different. in this case system user must have the authorization to object S_BTCH_ADM ID : BTCADMIN and field = Y. then only system allow the check the background job

check the username and the job creator name is same or not if not then find the authorization needs to be provided to object S_BTCH_ADM ID : BTCADMIN and field = Y to the user name. If user name is same as job creator name then i guess it willl allow you to check the job with this authorization object