cancel
Showing results for 
Search instead for 
Did you mean: 

next page problem

Former Member
0 Kudos

Hi ,

I am having three pages in my service invoice layout first,next,summary .

it is like this : page : first nextpage : next

page: next nextpage : summary

page : summary nextpage : summary

my req: there is header change for next and summary page. so whenever data present in the main window is fully printed then only summary page should start printing .

but my case problem is whenever data exceeding more than one page for next the header is changing and it is dispalying the summary header .but as per my requirement it should only display next header and when data present in the next is totally printed it should call summary page.

can any one help me in this ? pl let me know if my question is not clear.

Regards,

Pdp

Accepted Solutions (1)

Accepted Solutions (1)

Sandra_Rossi
Active Contributor
0 Kudos

SAPscript or Smart Form?

> my req: there is header change for next and summary page. so whenever data present in the main window is fully printed then only summary page should start printing .

Do you mean: if the MAIN data is contained entirely in "FIRST" page, then you want to go directly to "SUMMARY" page; said another way, "NEXT" page has to be skipped?

I don't understand why you are talking about headers, is that important?

Former Member
0 Kudos

Hi Sandra,

it is regarding the scripts .

I will explain more detal .

it is like this : page : FIRST nextpage : NEXT

page: NEXT nextpage : SUMMARY

page : SUMMARY nextpage : SUMMARY

In my case we are maintaing same itemheader coloumns for FIRST and NEXT ,different itemheader coloumns for NEXT and SUMMARY pages.

eg : if the output is printing 4 pages then data will start printing on page FIRST then NEXT then SUMMARY .IF data present in main window is more in NEXT page then it should print in 3 rd page with NEXT page iteamheaders.It should print in this manner .FIRST->NEXT->NEXT->SUMMARY .

But in my case what happening is for 3rd page it is printing SUMMARY page itemheaders .

how can we know whether total data present in the mainwindow of next page is printed fully ?

Former Member
0 Kudos

i have fixed it by referring some threads. thnx sandra

Sandra_Rossi
Active Contributor
0 Kudos

Fine. Sorry I couldn't answer.

I would have set next page of NEXT as being NEXT, and added a NEW-PAGE SUMMARY command in an element of MAIN window, that we call after having finished with NEXT page data.

How did you solve?

Answers (1)

Answers (1)

Former Member
0 Kudos

fixed