Skip to Content

how to debug a smartform if i it can only open in display mode

Hi All,

I have to debug a invoice form into the quality server but i don't have access to change in smartfrom

because of that i am not able to add break point to a perticular program line of the form.

is there any option to add external break point into the specifice program line of smartform.

Thanks

Narendra

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2009 at 11:50 AM

    Hi Narendra

    Go to Trasactio smartforms and exevute that form you will get the funtionmodule

    go inside that FM, search the string perform %global_init.

    if you go inside that perform you will get the smart form details so you put break point at this perforom and execute the smartform...

    hope it helps you.

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2009 at 11:48 AM

    Hello,

    SMARTFORM_TRACE OR SF_trace

    Smartform will generate a FM goto SE37 and debug the FM and Execute the smartform, u can see a function module /000012.Click on GOTO on the menu bar. Click on Main program. You can see the includes. click on the last include i.e F01. and keep the break-point(ShiftControl12) at ur desired

    point.

    i can give 1 report RSNAST00 in this report line number 815 keep the break point the tcode or script or smartform there u can see the form name and driver program name...

    Thank u,

    santhosh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2009 at 11:45 AM

    when we execute smartform it generates a FM, put break point in that.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2009 at 11:46 AM

    hi...

    you can write /H in the command window and then execute the smart form.

    but here it will not put a breakpoint butt will put whole of form under debugging.

    or else you can debug generated function module.

    regards

    Edited by: Mohit Kumar on Feb 27, 2009 12:46 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2009 at 12:10 PM

    Hi,

    There is method enter in debug mode but you are in a modal/pop-up window and cannot access the command to type /H.Didnt tried for forms may be you can chk

    Here is what you need to dou2026.

    In SAPGUI, click on the Generate shortcut.

    In the window, in Application section, select "System command" as type, /h as command and give it any title you want. It will be saved as shortcut in your desktop.

    to debug just drag this shortcut onto your popup window.

    Hope this helps.

    Thanks

    Shrila

    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.