Skip to Content
author's profile photo Former Member
Former Member

Issue with back ground processing

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Dec 03, 2007 at 03:50 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 03:45 PM

    Try to debug the program by placing the break point in Start of selection rather than Initialization

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 05:04 PM

    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.

    background job

    Regards,

    Abhishek

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 07:13 PM

    solved my own

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.