cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Scripts

Former Member
0 Kudos

Hi,

Whats the purpose of Start & End Form

Regards,

A.Thuyavan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

START_FORM

In-between the function modules OPEN_FORM and CLOSE_FORM, you can use different forms. This allows you to combine several different forms into one print output. However, you can combine only those forms that have the same page format.

To switch forms, use the function module START_FORM. If another form is still open, you must close it first using END_FORM.

If you specify no form name when calling START_FORM, the system restarts the last open form. If after OPEN_FORM no form was activated yet, the system leaves the function module with the exception UNUSED.

END_FORM

END_FORM ends the currently open form and executes the required termination processing. After calling this function module, no more form is active. For further output, you must start a new form using START_FORM.

END_FORM does not replace CLOSE_FORM, that is, you must always close any SAPscript output using CLOSE_FORM.

Answers (0)