‎2007 May 07 9:41 AM
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
‎2007 May 07 9:46 AM
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
‎2007 May 07 9:46 AM
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
‎2007 May 07 9:50 AM
No SM50 shows processes nothing else ..... SM37 my program is not there ....
‎2007 May 07 9:51 AM
even i am using z driver program i have put hardocoded break point ... but still i am able to debug it
‎2007 May 07 10:09 AM
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
‎2007 May 07 10:14 AM
‎2007 May 07 9:46 AM
for debuggin smart forma make use of the command break-point in the free code node.
‎2007 May 07 9:53 AM
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
‎2007 May 07 10:02 AM
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