Skip to Content
0
Former Member
Aug 03, 2005 at 06:16 AM

how 2 avoid repitition of main window content in print program

14 Views

hi,

can any one help me in avoiding repitition of main window content in print program.

program skeleton.

-


DATA : BEGIN OF ITAB OCCURS 0,

NAME1 LIKE KNA1-NAME1,

NAME2 LIKE KNA1-NAME2,

ORT01 LIKE KNA1-ORT01,

END OF ITAB.

SELECT NAME1 NAME2 ORT01 FROM KNA1 INTO TABLE ITAB UP TO 100 ROWS.

CALL FUNCTION 'OPEN_FORM'

LOOP AT ITAB.

CALL FUNCTION 'START_FORM'

CALL FUNCTION 'WRITE_FORM'

CALL FUNCTION 'END_FORM'

ENDLOOP.

CALL FUNCTION 'CLOSE_FORM'