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

how to debug a smartform?

hello every one,

Can any one expalin how to debug a SMARTFORM?

Thanks 'n' regards

SUDHEER

Add comment
10|10000 characters needed characters exceeded

5 Answers

  • Best Answer
    Posted on Aug 02, 2006 at 11:29 AM

    Hi,

    to debug a smartform add program lines to the page and write 'break-point' in it.

    activate it and execute it.

    Regards,

    Amit

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2006 at 11:32 AM

    you also can debug using SOFT break points.

    on the display smartform screen, menu path-> ENVIRONMENT->function module NAME.

    here you will the function module name,for that smartform

    now goto se37 & give this name, & go in display mode, place the soft break-point(using STOP button appears on application tool bar) where ever you require.

    regards

    srikanth

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2006 at 11:33 AM

    Hi Sudheer,

    putting a break-point in a smartform is one option. But as smartfrom is a dynamic function module only, you can get the dynamic FM no and can debug that FM properly by searching a node name in the program also. and put a simple breakpoint as we do in simple report program.

    I think this helps you to a understand the flow of smart form too.

    regards,

    Brijesh Patel

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2006 at 11:38 AM

    2 ways

    Dynamic:

    Generate the Smartform. You'll get a Function Module generated. Display the FM and search for the statement and place the Break-Point and execute.

    Static:

    Place the key word BREAK-POINT and execute.

    Regds,

    Vinodh.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2006 at 11:51 AM

    HI

    GOOD

    In the Smartform, create a Code Node and within the Code Node you can hardcode a normal abap

    Break Point.

    THANKS

    MRUTYUN

    Add comment
    10|10000 characters needed characters exceeded