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

Script 2nd page-data not getting printed

kiran_k8
Active Contributor
0 Likes
397

Hi Folks,

I have a script which is related to TDS Certificate.The problem is I am having all the data in the table that is used to print the data but I am not getting only the tabular column i.e contigious data printed for the next page.The rest all getting printed correctly.

To be clear

first page is having

____________

index,belnr,total amount,educess,sur charge etc.

1/10100/22.00/33.00/44.00/77.00

in the second page again it should print again

________

index belnr total etc but it is not getting printed.

blank

But the final table is having 2 belnrs data.Where I am going wrong?

Thanks,

K.Kiran.

3 REPLIES 3
Read only

Former Member
0 Likes
377

Use MAIN window to display ur data.

if ur page is PAGE1

in the settings, use next page as PAGE1.

Narendra

Read only

Former Member
0 Likes
377

Hi,

During test print, you cannot see the second page.

The second page will be visible only when there is data flow from page 1 to page 2.

Execute with actual data and check if it flows through to page 2.

Also Please try this:

After your first page, include this:

CALL FUNCTION 'CONTROL_FORM'

EXPORTING

command = 'NEW-PAGE'.

and then call the the write form with text element in second page,

CALL FUNCTION 'WRITE_FORM'

EXPORTING

element = 'PG2'

window = 'INV'

EXCEPTIONS

element = 1

function = 2

type = 3

unopened = 4

unstarted = 5

window = 6

bad_pageformat_for_print = 7

OTHERS = 8.

Reward points if found helpful…..

Cheers,

Chandra Sekhar.

Read only

0 Likes
377

Hi Chandru,

I am seeing all pages even 4 to 5 with all the data correctly in the print view but only the tabular column data is blank when there more than one belnr but the final table is having the data correctly.

Thanks,

K.Kiran..