cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent for Smart form

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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