| Home • Tips • Tutorials • Forums • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Achieving control-break statements functionality in Smart FormsBy Phani Diwakar, YASH Technologies Step1:
T-code
for smart forms is “SMARTFORMS”.
Provide the name of the smart form.
Step2:
we can define
user-defined structure in TYPES tab
in the Global Definitions.
Step3:
Define the field
string, internal table and global variables in Global
Data tab.
Step4:
In the Initialization tab,
Step5:
In main window, create the loop as shown below.
Step6:
Now Loop the internal table.
Create
text element in this loop as show below.
Step7:
Execute the smart form, the output would be
Step8:
suppose, if we want to know the item details sales document wise. To achieve
this, we have to write the events in
the loop as shown below.
And in the
event on sort begin,
In the
text element,
Step9:
Now execute the smart form, the output would be
Step10:
Now the requirement is to sum the net price of all items of sales document. To
achieve this,
And in the
program lines, we have to add the net price.
In the
event on sort end,
In program
lines,
Step11:
Now execute the smart form, the output would be
|
|
|
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
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 |
||