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

Smartform debugging

Hi friends

Can you please give me the procedures to debud the smart form.

Thanks

hari

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 05, 2006 at 04:48 PM

    Hi

    You have to debug the fm generated from the smartform.

    So if you need to start your debug from certain point:

    run trx SE37, search your point (using the names of the nodes) and then set a break-point.

    Max

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 05, 2006 at 04:48 PM

    hi for smartform debb keep the break point on function module in the main program (which yu are getting that function module while executing the smartforms)

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 05, 2006 at 05:10 PM

    Hi Hari ,

    If you are using a program lines in the smartforms ,you can hardcode break-point statement .

    You can also use break <user name> .

    Thanks ,

    Vivek .

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 05, 2006 at 05:11 PM

    Hi,

    Go to Tcode: SMARTFORMS

    1) Open the form and Double click on 'Global Definitions'

    2) Click on 'Initialization' Tab at right side

    3) Write code as 'BREAK-POINT'

    Another method is

    Create program lines whereever you want stop the program and write code 'BREAK-POINT' in program lines.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 05, 2006 at 05:22 PM

    Another way to debug smartforms is using transaction SFTRACE (SMARTFORM_TRACE before 6.10). switch on trace before executing smartform, trace off after execution and check the log.

    Regards

    Sridhar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 05, 2006 at 06:22 PM

    Hai Hari,

    Smartform:1.Put a command line before where you want check the value of smartform and write the code "BREAK-POINT"->hardcoded debugging.

    2.You can debug the function module which generates the smartform.

    Regards

    Sreeni

    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.