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

SAPSCRIPT - HOW TO DEBUG

hi all ,

I need to debug the layout as well as the print program simultaneously , In tcode se71 i have activated the activate debugger , only layout is debugged not the print program ,

how to debug the print program with layout.

thanks in advance.

ravi.s

Add a comment
10|10000 characters needed characters exceeded

Related questions

12 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2005 at 07:21 PM

    HI Ravi,

    Go to program RSNAST00.Put a break point at the line no: 814 ie at statement tnapr-ronam = ronam.

    Here you check you driver program ie pgnam.

    Form name ie fonam & any routine ie ronam.

    Then go to that program & put the break point where ever required.

    Also when you activate the Dubugger in the script ,you will know what elements are getting triggered,so put the break point there in the above program which you got from RSNAST00.

    Hope this works out for you.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2005 at 06:32 PM

    Hi,

    if you want to debug the Script then Activate Debugger or execute the Program RSTXDBUG.. so that Script will be going into debugging mode while you execute..

    if you want to debug the Print Program also put the Break point where ever you want.. so that both will be debugged..

    hope you understand

    Thanks

    Sudheer

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2005 at 07:36 PM

    Hello!

    Try setting the dispatch time of your output to "Send with periodically scheduled job" under "Further Data."

    Then, process the output with RSNAST00 and you should hit your breakpoints.

    Cheers,

    John

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 30, 2005 at 05:32 PM

    Hi Acttivate The Debugger in SE71.

    you have option to debug

    in the initial screen.

    regards

    vijay

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 30, 2005 at 05:33 PM

    Check it in Utilities in se71 screen

    and normal report as usual you can keep break points.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2005 at 05:43 PM

    Hi Vijay,

    I have tried already what you said utilities->activate debugger, kindly tell me is there any other option to debug layout with print program.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2005 at 06:40 PM

    hi vijay,

    Mine is purchase order form,the layout is zform ,the print program is SAPLMEDRUCK , issue is that even if i set the break point in program it is not calling the program ,only the layout is debugged ,like i dont get any values for program symbols in the layout.

    thanks

    ravi.s

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2005 at 07:03 PM

    sorry vijay ,

    i didnt get you properly ,

    but my zform is connected to SAPLMEDRUCK , which i got through through Edit text --> program symbols.

    Add a comment
    10|10000 characters needed characters exceeded

    • Check the TNAPR table, Did your Form is maintained in the table,, and corresponing Driver.

      If you check the Text symbols then You can list of programs related to that script.

      SOme Configuration need to be done

      Because It is Standard Program

      You need to maintain NAST table Entry also.

      Check

      regards

      vijay

      Message was edited by: Vijay Babu Dudla

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2005 at 07:07 PM

    vijay,

    Every thing is configured correctly in tcode VK01, i am getting the o/p , I need slight corrections to be done ,so that i need to debug the layout with program .

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2005 at 04:31 AM

    Hi,

    Script:In SE71 give your form name and in Utilities-->Active debugger.

    Then put a break point in your print prog where ever you want to stop it.

    After that you need to go to your transaction like VF03/../..etc for Invoice you need to execute it by giving Outtype.

    Then your print prog and form will debugg step by step.

    Thanks.

    If this helps you award points and close the thread.

    Message was edited by: Deepak333 k

    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.