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

internal table & smartform

Former Member
0 Likes
613

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
Read only

Former Member
0 Likes
580

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
Read only

Former Member
0 Likes
580

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

Read only

Former Member
0 Likes
580

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

With Regards

Arun T

Read only

Former Member
0 Likes
581

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

Read only

Former Member
0 Likes
580

thanx