2021 Apr 21 8:35 PM
Hi,
I have a custom program which uses function module BI_START_JOB to release a job in background (standard program: RFBIBL00). Is it possible for me to debug the job that was released? If yes, how do I do it?
Thank you.
Regards,
Hi,
I have a custom program which uses function module BI_START_JOB to release a job in background (standard program: RFBIBL00). Is it possible for me to debug the job that was released? If yes, how do I do it?
Thank you.
Regards,
2021 Apr 22 8:19 AM
Go to SM37 and find your job. Type JDBG in the command/okcode box - don't press enter! Put the cursor on your job and then press enter.
Note, if you do this on a released job that's not run yet, any changes from the batch job will be made, and the job will remain in the job queue.
2021 Apr 26 3:19 AM
NOTE 573128-Debugging programs in the background also introduce this. And it provides other 2 options.
2021 Apr 22 9:11 AM
You must not use BI_START_JOB, it's not released to be used by customers (it can be removed by SAP at any time).
Instead, use the officially-released function modules JOB_OPEN, JOB_SUBMIT (or ABAP statement SUBMIT ... VIA JOB ...) and JOB_CLOSE.