2016 Aug 02 3:06 PM
Hi,
I am scheduling background job through programmatically using JOB_OPEN, JOB_SUBMIT and JOB_CLOSE.
But some times getting exception message INVALID_DATA and some times it's working fine.
Failure case I checked in side FM: JOB_SUBMIT and gone through it and checked failed in FM: BP_JOB_MODIFY and again gone inside failing inside the FM: BP_JOB_EDITOR. But I am surprising why it's working some times and why it's failing to scheduled the background job.
First I guess some authorization issue in S_BTCH_JOB and S_BTCH_ADM. But if authorization issue then some times it works and some times fails to schedule background job. What should be the reason.
Thanks
Hi,
I am scheduling background job through programmatically using JOB_OPEN, JOB_SUBMIT and JOB_CLOSE.
But some times getting exception message INVALID_DATA and some times it's working fine.
Failure case I checked in side FM: JOB_SUBMIT and gone through it and checked failed in FM: BP_JOB_MODIFY and again gone inside failing inside the FM: BP_JOB_EDITOR. But I am surprising why it's working some times and why it's failing to scheduled the background job.
First I guess some authorization issue in S_BTCH_JOB and S_BTCH_ADM. But if authorization issue then some times it works and some times fails to schedule background job. What should be the reason.
Thanks
2016 Aug 02 8:54 PM
Along with the exception INVALID_JOBDATA, you have probably an error message in the SY-MSG* system fields. You just need to check what it says.. .
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |