Hi All,
I need to do BDC for the ZZ transaction in background, for that i developed the X program and submittng in Y program in between JOB_OPEN - JOB CLOSE.
I submitted as below -
SUBMIT <Program name>
with p_fpath = gv_filepath
VIA JOB lv_jobname NUMBER lv_jobcount
and return.
g_fpath is a parameter - file path needs to be passed to that since data will be stored in UNIX.
But unfortunately - when i was running Y program, cursor is going to X program but it was not executing start-of-selection. I kept break point in INITIALIZATION, at that time it was going to INITIALIZATION after that it was going to some standard program which is realted to the JOB.
Can any one suggest me why it was not executing my X program even i submitted properly.
Thanks in advance.
Jaya
hi Jaya,
your program runs in the background, you can check in SM37 (background jobs). I am not sure that you can debug it.
ec
In your X Program write an EndLess Loop and use a variable for that.
while wf_char is initial.
endwhile.
Execute your report X. A background job will be scheduled. Goto SM50, select your Program X and goto Meu Program/Mode -> Program -> Debugging.
It will open the Debug session. You can set the flag Wf_char and then do normal debugging ( To come out of endless loop )
In this way you can find the error reason.
Also check the link to debug the background job through SM37.
Regards,
Abhishek
Add a comment