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

smart form

how to do smart forms debugging?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

8 Answers

  • Posted on Jun 05, 2008 at 09:37 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2008 at 09:38 AM

    Hi,

    check thi link:

    debug a smart form

    Reward if useful.

    Regards,

    Shashi..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2008 at 09:38 AM

    Hello,

    Enter the static break point in one of the program lines.

    e.g. BREAK-POINT.

    You can create user specific static breakpoints.

    e.g. BREAK <user name>

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2008 at 09:38 AM

    From the smartform get the function module name, open the same in se37 and put debug point at the desired position.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2008 at 09:39 AM

    You can execute SMARTFORM by putting breakpoint in the print program or else you can execute in the SMARTFORMS Tcode only by F8 then it will show the corresponding function module name again PRESS F8 then there will be Debugging button in the application tool bar by pressing that you can debug.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2008 at 09:39 AM

    Hi,

    You can debug smartform by keeping break-points, and break-points can be given through program lines.

    Create a program line and add break-point or break username in the abap editor.

    Thats it when you execute the form it will stop at that point in debug mode.

    Regards,

    Ravi K

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 05, 2008 at 09:40 AM

    Hi,

    basically smartform is normal function module. This FM is generated during activaiton of the smarform. So you can find the name of FM corresponding to your Smartform and use the standard ABAP tools for debugging. You can also insert code into your smartform with break point.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2008 at 09:41 AM

    You can debug smartform by keeping break-points, and break-points can be given through program lines.

    insert static breakpoint in your code simply as

    BREAK-POINT.

    so now when we issue output to our smartform,it will open up in debug mode.

    But sometimes when you face a problem when no output is generated for your smartform though it seems to be fine in debug mode fr breakpoints inserted, then Other way to debug your smartform is

    go to transaction SMARTFORM_TRACE and click on the SWITCH ON botton for abap breakpoints-error...

    now your smartform will stopt at those errors in debug mode

    and you can easily trace the errors

    Try this out,it really helps

    Thanks

    reward if useful

    richa

    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.