Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to debug a job submitted by a custom program?

former_member602116
Participant
0 Likes
1,594

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,

3 REPLIES 3
Read only

matt
Active Contributor
1,397

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.

Read only

tom_wan
Product and Topic Expert
Product and Topic Expert
1,397

NOTE 573128-Debugging programs in the background also introduce this. And it provides other 2 options.

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,397

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.