Application Development 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: 

internal table & smartform

Former Member
0 Kudos

Hi,

In smartforms I have an internal table which has abt 10 records i have to print each record in different pages with page nos 1/1 , 1/2 .... etc till 10/10 , if the records are less then have to print accordingly. the layout is same for all the pages.

ie the same page must be printed for each record of the internal table.

give me detailed answers pls,.....

Points sure ......

Regards

Arun T

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

I feel you can increase the size of the window (containing the text element) in such a way that it fills the page...So that way the next record will automatically go to the next page....

for...1/10..2/10.....issue....You can declare a counter variable in global definition and put it accordingly in your page for the first part and you an use a simple text "/10" for the second part

4 REPLIES 4

Former Member
0 Kudos

Hi

Create a COMMAND line for the window and check the check box NEW-PAGE by defining the condition to trigger the new-page such that for every customer it triggers a page-break.

Use &SFSY-PAGE& / &SFSY-FORMPAGES& TO PRINT THE PAGES LIKE

1/4, 2/4, 3/4, 4/4 etc

<b>Reward points for useful Answers</b>

Regards

Anji

Former Member
0 Kudos

Can u be more detailed on how to get new page for each record

With Regards

Arun T

Former Member
0 Kudos

Hi,

I feel you can increase the size of the window (containing the text element) in such a way that it fills the page...So that way the next record will automatically go to the next page....

for...1/10..2/10.....issue....You can declare a counter variable in global definition and put it accordingly in your page for the first part and you an use a simple text "/10" for the second part

Former Member
0 Kudos

thanx