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

SAPSCRIPT AND SMARTFORMS DEBUGGING

HI

THIS IS NARESH

I WANT TO KNOW HOW WE CAN DEBUG A SAPSCRIPT AND SMARTFORMS

PLEASE ANY BODY CAN EXPLAIN ME HOW WE CAN DO , AND SEND ME THE DOCUMENTS ON THIS

TO nareshnelapatla@gmail.com

regards

naresh

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 11, 2007 at 03:21 AM

    Hi,

    <b>SCRIPT DEBUGGING</b>

    There are 2 separate kinds of debugging available when you try to debug scripts.

    1. Debugging the print program : This is the normal debugging we do for our report programs.

    2. Debugging the script itself : You Can debug a SAP Script by activating debugger in two ways:

    a .In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.

    b. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.

    refer to the link below

    http://www.howforge.com/how-to-debugging-sapscript-form

    Look at the BLOG here, it is well explained

    /people/sudheer.junnuthula2/blog/2007/01/09/script-debugging

    <b>SMARTFORMS DEBUGGING</b>

    For smartforms debugging you can do this.

    1. Execute the smartform (execute button in SMARTFORMS transaction)

    2. Take the generated function module and display it in SE80.

    3.Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.

    Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis

    Tcode - SFTRACE

    how-to-debug-a-smartform

    debug-of-smartform-and-sapscript

    Debugging SmartForms

    Debugging of a subroutine pool.

    Regards,

    Priyanka.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 10, 2007 at 03:56 PM

    Hi

    SCRIPT

    from SE71 enter form name

    from Menu Utilities->ACTIVATE DEBUGGER

    then execute the script from the Application Transaction

    it will stop in the script and check for the Values you need

    SMARTFORM

    Smartforms keep a break point in the Main Program or

    IN the PROGRAM LINES of the SMARTFORM

    write BREAK-POINT, where ever you need

    execute the smartform it will stop there.

    <b>Reward points for useful Answers</b>

    Regards

    Anji

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 10, 2007 at 04:18 PM

    hi,

    <b>SCRIPT</b>

    by using the standard program <b>RSTXDBUG</b> we can debug the script.

    before debugging the script form we can activate the debugger for that one you execute the <b>RSTXDBUG</b> program.

    <b>or</b>

    1) goto SE71

    2) Enter form name

    3) here select option <b>Utilities->ACTIVATE DEBUGGER</b>

    then execute the script from the Application Transaction.

    <b>SMARTFORM</b>

    we use the PROGRAM LINES node to execute the abap program code,For debugging the Smartforms we keep a BREAK-POINT in the PROGRAM LINES node of the SMARTFORM.

    regards,

    Ashok Reddy

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 11, 2007 at 02:55 AM

    1)SAPScripts: goto SE71, utilities --> activate debugger. Once you execute you will be taken to debugging mode.

    2) Smart Forms: Different ways we can debug smart forms.

    1)goto tcode SFTRACE --> click "trace on"

    2) Get the function module name and set break points in function module name.

    3) Set break-point in program lines in your smart form.

    Reward points if useful.

    Regards,

    SaiRam.

    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.