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 print problem - foot not updated

Former Member
0 Likes
317

Hi friends:

When printing GR document, the PO No. at window foot of the doc is same.

But infact the PO no. at foot is different.

How can I get the right result? Thanks.

PERFORM open_form_sammel.

  • >>>SAMUEL20061011 BEGIN NEW SPOOL ID

CALL FUNCTION 'START_FORM' .

LOOP AT traptab.

CALL FUNCTION 'WRITE_FORM'

EXPORTING

ELEMENT = 'WE3BACOKOPF'

WINDOW = 'RÜKOPF'.

AT NEW EBELN.

CALL FUNCTION 'END_FORM' .

PERFORM close_form.

PERFORM open_form_sammel.

CALL FUNCTION 'START_FORM'.

ENDAT.

CALL FUNCTION 'WRITE_FORM'

EXPORTING

ELEMENT = 'WE3FUSS'

WINDOW = 'FUSS'

FUNCTION = 'APPEND'.

ENDLOOP.

CALL FUNCTION 'END_FORM' .

PERFORM close_form.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
282

Hi

Check the type of FOOTER WINDOWS: if you need to print different data in different pages, that windows has to be VARIABLE and not CONSTANT.

Max

1 REPLY 1
Read only

Former Member
0 Likes
283

Hi

Check the type of FOOTER WINDOWS: if you need to print different data in different pages, that windows has to be VARIABLE and not CONSTANT.

Max