cancel
Showing results for 
Search instead for 
Did you mean: 

table in smartforms

Former Member
0 Kudos

Hi,

My requiremnet is to print the table in smartforms 3 times. that is all other windows except main window has to be printed once and main window which has table has to print three times with all its contents. how can i achieve this requiremnet.

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Create your table in the main window once, make whatever formatting you need until it is correct. Then copy this table twice within your main window, any changes will then need to be made to all three.

Or

Write some ABAP code before your MAIN window that fills your table with three sets of data. E.g. my table is called DATA_TAB and contains 5 rows,

DO 2 TIMES.
APPEND: lines of data_tab to data_TAB.
ENDDO.

Regards,

Nick

Message was edited by:

Nick Young

Answers (1)

Answers (1)

Former Member
0 Kudos

if u want to print the same table 3 times then u can use the loop in smartform.

Create a node LOOP in SF.Under SF create the table thjat u required 2 print thrice.

In Loop , mention the internal table containing numberss and row : 1 To 3.

(say internal table IT_NOS type table of INTEGER) append 1,2,3 to itab IT_NOS.

Regards,

Vanita.