|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Designing Tables in Smart Forms
for smart forms is “SMARTFORMS”. Provide the name of the smart form.
And provide the short text for this smart form “YDEMO_TABLE”.
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 Table painter.
we create a Table painter as shown below.
we define number of table columns in %LTYPE1. Here, %LTYPE1 is renamed as LINE
as shown below.
Here, in this scenario we have to divide the LINE
area into 4 columns as we have to display 5 columns. To draw a line we have to
select Draw lines and columns button as shown above.
we have to create Table line for
Header and Main area of Table painter
as shown below.
Here we have to provide line type. Here, the line type is
the text for all columns.
the same process to the Main Area too.
Loop the internal table data as shown
and activate the smart form. Execute the smart form now. The output is as shown
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