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

Debug print program

hi,

I am New to abap .i have done a print program for a Purchase order form.i debugged it then. Now after getting it configured for its relevant transaction code(me21/22n/23) how could i debug my print program through that transaction code to see wether it is working well or not. please let me know.

Edited by: Alvaro Tejada Galindo on Mar 19, 2008 6:16 PM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 19, 2008 at 12:35 PM

    hmm set an extermal breakpoint

    or use /h command before you call the transaction to enable debug mode

    regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 19, 2008 at 12:36 PM

    Hi,

    Add breakpoints in your program as usual and run the transaction. U can also use /h while running the transaction.

    That will be fine.

    Regards,

    Ramya

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 19, 2008 at 12:37 PM

    Hi,

    Just set a break point in the print program and THEN open the transaction.

    Do not set the break point with the transaction open.

    Once you execute the transaction, if your print program is called, it will stop at the set break point.

    <REMOVED BY MODERATOR>

    Regards

    Edited by: Alvaro Tejada Galindo on Mar 19, 2008 6:16 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 20, 2008 at 08:50 AM

    HI,

    to debug a script use /h in the selection screen.

    or set breakpoint in the print program where u want to debug.

    eg: select the line where u want to debug and click on stop icon.

    Regards,

    vineela.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 20, 2008 at 08:56 AM

    Hi cheenangshuk,

    first u check on which client u r running the form...

    as u know...it is client dependent...

    now...which form r u using..

    Sapscript or smartform ???

    anyways ...i'll tell u for both..

    SAPscript...

    se71 -> type ur form name... -> Utilities -> Activate Debugger...

    thats it...u can run it from any of transaction for PO..it'll debug...

    Smartform...

    2 methods...

    1 > Write BREAK-POINT statement before the code where u want to see the result...

    2 > Run the smartform...

    it will generate one program...

    display that program...

    find the statement u want to debug...

    and set the break point...

    u can set break point at the start of program also...

    thats all...

    I hope his will help u...

    Rewards points if useful

    sachin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 20, 2008 at 10:07 AM

    Hi Cheenangshuk das,

    Step1: Go to se71

    Step2: Type the Script name

    Step3:On the menu bar:Utilities-->Activate debugger

    Step4:Press on display button

    Step 5:Execute the ME22n

    Then the script will be in debugging mode

    Press F5/F6/F7/F8 as your requirement.

    Regards.

    Eshwar.

    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.