Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

smartforms & data flow

Former Member
0 Likes
462

Hi All,

If i have to flow data in a smartform in say header,main area & footer for only 1st row in 1st page & remaining rows in next page on one on one new page how can i do so.

Ketan

ABAP Consultant

2 REPLIES 2
Read only

Former Member
0 Likes
392

Hi Ketan,

You have not stated your problem precisely. However, I guess you have an Internal table (ITAB).

Then try this.

At first page (Header, Main etc).

Loop at itab into wa.

case sy-tabix.

when 1.

output variable = input variable.

when others.

endcase.

endloop.

At nextpage.

Loop at itab into wa.

case sy-tabix.

when 1.

when others.

output variable = input variable.

endcase.

endloop.

Then you can create text elements in each page accordingly and output the out variable in the text

elements.

Also consider the option of using the CONDITIONS (And additional Events) of the text elements. Here you can define the contions at which the text element should be printed and on which page etc.

Ys,

Blacky.

Read only

Former Member
0 Likes
392

Hi:

there are 2 ways

1. just strink the window size upto 1 row in 1st page and the proper size in 2nd page

2. select the new page with condition/ counter is eqaul to 1 in the 1st page.

Regards

Shashi