cancel
Showing results for 
Search instead for 
Did you mean: 

next page

Former Member
0 Kudos

Hi,

I have given as 'next' in Next page option in script.But next page is not triggering for multiple records.only last record is getting printing.

any one give the idea about this.?

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member193831
Active Participant
0 Kudos

hi,

are you using text elements in SAPScript?

Is the text element getting called from the print program correctly in a LOOP

ENDLOOP.

Check and Post.

Regards,

Vivek

Former Member
0 Kudos

yes.Those elements are inside the loop.

Former Member
0 Kudos

HI kanath,

declare First page and second page and define next page as : second page .

i mean in the next page optiuon declare as second page.

and if the second page is the last page then define next page option as first page in the second page.

Former Member
0 Kudos

Hi

Make sure you called the multiple line option within the loop. If not, the last record only retrieve. Also check u have called the routine in MAIN window only

Former Member
0 Kudos

hI,

I did not understand what you are saying.what is multiple line option in loop.?

former_member181962
Active Contributor
0 Kudos

Hi kan,

Is the WRITE_FORM function module inside the loop or out side, in the print program? It should be inside the loop to print all the items.

Regards,

Ravi Kanth

Former Member
0 Kudos

it is inside the loop.for the first record cursor is going to write _form. after that next record is calling and that next record is only printing.

Former Member
0 Kudos

Hi Ravi,

not only main window each window having sone fields and data should be change for next record.

Former Member
0 Kudos

hi,

Hope your main window is in first page.

in that case,

Give first page name in the next page option.

it will work.

regards,

Guru