cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple data in the layout

Former Member
0 Kudos

Hi All,

Through my function module iam calling smartform and iam passing a internal table with multiple data to form. In form in the main window i created a loop and i used

operand itab into itab.

next i create template with text elements, and all the internal table data iam displaying with text elements.

but only 1 record is printing from the itab.

Can any one help me what would bethe error.

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Check if you have created the template under the loop and not after the loop and check there is more than one record in the internal table....and also check the size of the template.

Vishwa.

Former Member
0 Kudos

Hi Vishwa,

It is in correct format, and template size also i adjusted.

If i pass single record, it is working fine. but if i pass multiple data it is giving your template is does not fit in the window.

Could you please help me.

Regards,

Former Member
0 Kudos

Hello Ravi,

Please give a page break before you end the loop in the smartform, what this will do is, it will trigger the next page which will the same page using the same template so that multiple data can be printed. Please specify the next page as same page in page break you give.

Hope it helps.

Thanks,

Jayant

Former Member
0 Kudos

Hi Jayant,

In smartform

Mainwindow

created a loop node(if i double click here DATA tab will come na, here i put itab INTO wa_itab.

under this i created template.

Could you please tell me where i should put page break.

Thanks in advance,

Answers (0)