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

Want to see debug mode thru background process

I am excuting a job in background mode...with start immdiately.

and its triggering a functionmodule.I wan o know what valuehave been passto the function modul.and I want to ee the function modul in debug mode.

There is no way to process the job in foregound and I am running th dunning through F150.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jul 12, 2007 at 02:51 PM

    Hi,

    Please try this.

    Path: SM50 -> Select corresponding session -> Program/Mode (Menu) -> Program -> Debugging.

    Regards,

    Ferry Lianto

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 12, 2007 at 02:46 PM

    Hi,

    Goto SM51-> keep a cursor on user running program in background.

    Then program/mode ->program ->debugging.

    Alternatively what you can do it.. add few WRITE statements in your program where you want to check your values. Once program is finished.

    Goto SM37 and check spool for the user. You will see value populated in your program.

    Reward if useful!

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 12, 2007 at 02:55 PM

    Insert an endless loop with a condition that will never occur inside your code.

    like

    a = 5.

    while a > 1.

    a = 5.

    endwhile.

    This keeps your job to be in Running status in SM50.

    Chose this process and chose from menu Program/ Session->Programming->Debugging.

    This starts the debugger.

    In the debugger, you can change the value of a to break the endless loop. and continue debugging.

    Regards,

    Ravi

    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.