|Home • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Smart Forms - Working with Loop
Provide the name of the smart form is YDEMO_LOOP
on the initial screen of the smart form and meaningful description.
go to Global definitions where we can define the Global data, Types,
Initialization and etc.
Define Structure using Types
Parameter as shown below. In Types parameters we usually define user defined
Now define the internal table and
work area in Global Data parameter.
Initialization parameter, we can
write a code as shown below. We have to mention the output result in the output
parameter so that we can use it further. Here in this case we are outputting IT_TAB
and we are going to use this IT_TAB
further in the LOOP in the Flow Logic.
Create a LOOP statement as shown below.
Loop the internal table.
create the character, paragraph formats and Tabs, we use the smart style. The
transaction for create smart style is
SMARTSTYLE or we can be created the initial screen of SMARTFORMS. Here SMART STYLE
is created to define Tab positions for the columns.
a node for PARAGRAPH FORMAT as shown
following screen appears.
Now define the Tabs as shown below.
Now Import SMART STYLE in to the SMART
FORM as shown below.
Now create a text element for the loop statement.
Save and activate the smart form. The output is as shown below.
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