Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartform execution.

Former Member
0 Likes
1,335

Hi,

I have an query in the VF02 transaction i have attached one smartform for a output type ..

It's calling correctly ... but it is always executing background ... so i am able to debug it in case of any problem .So how to execute smartform from the transaction so that data flow from the transaction can be seen in debug mode..

thank you

1 ACCEPTED SOLUTION
Read only

kostas_tsioubris
Contributor
0 Likes
1,137

Hi,

create a command node in your smartform and write something like this.

data: l_char .

do.

if l_char = 'X'.

exit.

endif.

enddo.

execute the vf02 transaction and then go to sm50 . Choose your program and select program->debug.

Kostas

8 REPLIES 8
Read only

kostas_tsioubris
Contributor
0 Likes
1,138

Hi,

create a command node in your smartform and write something like this.

data: l_char .

do.

if l_char = 'X'.

exit.

endif.

enddo.

execute the vf02 transaction and then go to sm50 . Choose your program and select program->debug.

Kostas

Read only

0 Likes
1,137

No SM50 shows processes nothing else ..... SM37 my program is not there ....

Read only

0 Likes
1,137

even i am using z driver program i have put hardocoded break point ... but still i am able to debug it

Read only

0 Likes
1,137

Mathivanan,

are you sure that there is no proccess running in sm50? I suggested you to follow the sm50 way because if the output is called in update task the hardcoded break will not work.

The proccess in the sm50 will have the name of your smartform function module.

Kostas

Read only

0 Likes
1,137

Thanks .. i forgot that do enddo.

thank you very much

Read only

prabhu_s2
Active Contributor
0 Likes
1,137

for debuggin smart forma make use of the command break-point in the free code node.

Read only

Former Member
0 Likes
1,137

Hi Mathivanan,

In smartform create a program lines and write

break-point statement into it.

as ur smartform will be executed it will go into debugging mode due to breakpoint

statement.

reward points if helpful.

Regards,

Hemant

Read only

Former Member
0 Likes
1,137

Hi Mathivana,

RLB_INVOICE is the driver program for this smartform , so in debugging mode try assign the smartform to this program and issue output, so that u can see the Test o/p , in order to Debugg the smartform u can keep , either soft break points or hard break points , after creating the function module go with function module attributes , in that one go with program name in that go with last include u will find all the code which u have written and keep the break poins where needed and debugg it.

Thnaks & Regards

Bhaskar Rao.M