Skip to Content
author's profile photo
Former Member

regarding smartforms

how to debug smartforms by using sftrace can anyone give proper steps

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 05:33 AM

    1) DEBUG Smartform:

    1) One way to debug smartform is to debug the Function Module of that smartforms.

    If you want to debug particular smartform node that the solution would be,

    insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint.

    So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.

    2) SFTRACE can be used for debugging SMARTFORMS.

    Read More here.

    http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm

    Rgds

    Abhay.

    REwards point.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 05:50 AM

    Hi,

    SFTRACE can be used for debugging SMARTFORMS.

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

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

    There is a transaction 'SMARTFORMS_TRACE' (or was it 'SMARTFORMS_TRACE') which will give you quite helpful information.

    Refer

    https://forums.sdn.sap.com/click.jspa?searchID=5560489&messageID=2667961

    Regards

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 28, 2007 at 06:06 AM

    Swathi,

    Just add a program line with BREAK <USERNAME> in the smartform, wherever you want to stop and debug the processing. Say u wanna check the table entries before looping and displayinh its data, just add a program line b4 the loop and use BREAK <USER> (your username)

    Add comment
    10|10000 characters needed characters exceeded