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

Urgent for Smart form

Hi,

I am describing my requirement bellow.

The Order conformation form is used for multiple codes

this form needs to be extended for company code MK.

based on the company code the correct company logo and adders need to be retried.

at present it is fetching for comapny code MA.

Can you please describe how to debug the smart form

and how to analyzing the things while debugging the smart form.

how to set break-points .if i want ot set break-points in particular window.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2008 at 08:11 AM

    Hi,

    Just copy the node name in which you have problem. Execute the smartform and goto the function module. Search for that node in function module source code and put a breakpoint.

    Reward pt if helpfull.

    Dhanashree

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2008 at 08:07 AM

    Can you please describe how to debug the smart form

    and how to analyzing the things while debugging the smart form.

    There is two ways to debug smart forms,

    one is declare break point in program lines that is in u r smart form.

    second method execute u r smart form, in the function module screen i.e. second screen.

    Goto -


    > Main Program ---> Double click on last include...

    ---> There u find the variable which u have declared in the program. Keep the break point dynamically as u keep in the abap editor.

    One more method is there for Debugging SF Trace.. but i don't hv proper idea.

    Making u r window conditional.

    Pass a company code variable through Program to smart form...

    make different windows for different company.. and declare different logos. then make then condition.

    i.e. Double click on Graphic or window and goto condition tab.

    declare p_bukrs = 'MK' for first logo and window

    p_bukrs = 'MA' for second logo second window.

    it will stop u r smart form while running

    with regards,

    Kiran.G

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2008 at 10:21 AM

    Hi,

    1) Define a table with the fields

    company code

    logo name

    2) Insert the records into that table like

    1000 logo1

    1001 logo2

    3) in the initilization tab write the code as below.

    select logo name into logo_name

    from the <zlogo table defined above>

    where bukrs = your company code .

    4) Create a graphic in the name of the logo give the variable

    &logo_name& and remainig are all are same as others.

    Thanks,

    NN.

    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.