cancel
Showing results for 
Search instead for 
Did you mean: 

how to print the internal table data in a smartform

Former Member
0 Kudos

Hi,

All

Can any help me in this

i want to print the data of an internal table in a smartformform.

suppose i have an internal table which contains different data from different tables

so i want that internal table data to be printed on a form which has a template designed for that in the form

View Entire Topic
Former Member
0 Kudos

Hi,

first of all if the data is coming from differnet tables

then create a structure in the se11 transaction

and in your driver prog fill that internal table accordingly...

and then in the form interface -- tables tab

you have to declare that internal table

itab like zstructure

and put in main window

in that data

give loop here one check box will be ther and tick it

and then

itab into itab

and create the template and divde the template that many parts

as you have the fields

and create that many text elements and display the data..

if it is with in the smartform and you dont have the driver prog

then

declare the structure in the types tab which is availabe in

global declarations

and you can write the program lines there and get the data..

thanks & regards,

Venkatesh

Former Member
0 Kudos

Hi,

Venkat

Cant we do that in the secondary window. i have to display it as a template,

so, can we create a template on a main window.