|Home • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Easy steps to debug a Smartform
By Richa Gupta, Sparta Consulting
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.
Step to Debug a SMARTFORM
Go to transaction SMARTFORM and provide the name of your form and click
Step2: After executing Smartform it would generate a function module. Click to
display the function module.
source code tab of the function module. In the source code there is a perform
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.
need to use of Debugger Code (Text file) to debug a smart form.
more helpful points below for Smartform:
Test data corresponding to the output type
to transaction SE11 and enter the name of the table as NAST. Input condition
type into KSCHL field.
and use value of OBJKEY.
value of the object key can then be used to look at the actual Purchase order /
Sales Order etc. for which the Smartform was being developed.
your Smartform name to output type using Tcode V/83:
to transaction V/83 and Input output type and application area then press OK.
go to Smartform column and change the Smartform name as per the requirement and
then press save.
After saving your Smartform will be attached to the given output type.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards