How To Debug A Smartform PDF
How To Debug A Smartform PDF
Its very difficult and time taking process to understand the flow of the code and to trace internal tables
and variables in Smartform. If you need to debug a smart form and you are not authorized to open
SMARTFORM in edit mode then you can refer Easy Step to Debug a SMARTFORM.
Scope
This document is helpful for the beginners in ABAP and trying to debug a Smartform. It also provides the
some relevant information which will help you during Smartform development.
Step3: Press source code tab of the function module. In the source code there is a perform
GLOBAL_INIT.
Step4: In this perform all the code of initialization and program lines is displayed as perform. All the
different program lines in the Smartform are available as Form Perform subroutines in the
PERFORM %GLOBAL_INIT. Here you can easily find your table and variable by find command and set
session break point on it.
Method 2 :
Tcode > smartforms > F8>
u will get a FM exp : /1BCDWB/SF00000264
Now go to SE38 and add 'L' before S and add 'F01' and the end.
Now it will become : /1BCDWB/LSF00000264F01
Click on Display > Here you can add debug points wherever you want to.