Dear Experts,
I have a requirement in which, during the creation of notifications I need to execute a Z-program by scheduling a background job on future date and time. Now to achieve this, I have used the FMs : JOB_OPEN, JOB_SUBMIT and JOB_CLOSE.
In these FMs, I am passing the Start date/time for the job that is going to be scheduled.The job is scehduled succesfully.
But when the time comes for the job to execute, it is continously going into CANCELED state.
The error logs of the job scheduled states :-
No authorization to execute external programs immediately.
SXPG_STEP_XPG_START: xpg_final_check: rc = 503.
Failed to receive scheduling status of external program.
Job cancelled.
NOTE : When I am scheduling the same report to execute in background in SE38, it is executed successfully.
Below are the screen shots for your reference. Please help me on this.
Image may be NSFW.
Clik here to view.Image may be NSFW.
Clik here to view.