cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding two tables in a page of smartform

Former Member
0 Kudos

Hi SAP Gurus,

My issue is as follows,

I am having two internal tables . I need to print them in a page in two blocks. i have created two tables in the main window and diplaying data, the problem is , the second table started printing after the end of first internal table data is displayed on last different page,

what i need is print the data in two tables on a every page simultaneously.

please help,

Thanks and regards,

Pavan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hello pawan,

if there is two internal tables for ex.

1st is header table and second is item table then

Loop at header table .

uder this loop at second table and in the where condition put the header key = item keys.

try this .

Vandana.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Pavan Kumar,

I think you can create TABLE for the first one and LOOP for the second one.

Jasmine

asik_shameem
Active Contributor
0 Kudos

Hello Pavan,

Create 2 MAIN WINDOWs in the smartform with the required position and create a table in each main window.

Former Member
0 Kudos

Thanks for the reply,

I have tried it , but only first main window is being displayed, the data in the second one is not.

Thanks & Regards,

Pavan.

asik_shameem
Active Contributor
0 Kudos

Hello Pavan,

We can not have more than a [main window|http://help.sap.com/saphelp_470/helpdata/en/81/485ebad94f11d3968f00a0c930660b/content.htm] in a page it seems.

Let me watch, anyone can have a good solution for this.