Usually a print program does not print only one urging letter or one account statement, but several forms for different customers. To have the output for each customer begin with the start page of the form, you must start the current form again and again.
To start a form again, you must first end the current form and then open the form again. Within one print request, first call the function module END_FORM. It executes the final processing for the current form. Then start the form again using START_FORM. Output then begins again on the start page of the desired form.
CALL FUNCTION 'OPEN_FORM'
:
CALL FUNCTION 'START_FORM'
:
CALL FUNCTION 'END_FORM'
:
CALL FUNCTION 'START_FORM'
:
CALL FUNCTION 'END_FORM'
:
CALL FUNCTION CLOSE_FORM
If you use START_FORM and END_FORM, you must not specify a form for OPEN_FORM. However, in this case you can use the SAPscript output functions only after opening a form with START_FORM.