‎2007 Mar 19 5:42 AM
What is the basic use of function module 'CONTROL_FORM' in SAP Script ?
‎2007 Mar 19 5:44 AM
Hi,
CONTROL_FORM
Use CONTROL_FORM to pass SAPscript control statements to the form.
Function call:
CALL FUNCTION 'CONTROL_FORM'
EXPORTING COMMAND = ?...
EXCEPTIONS UNOPENED =
UNSTARTED =
Export parameters:
COMMAND
Enter the SAPscript statement you want to execute in ITF format, but without the statement paragraph attribute '/:'.
Exceptions:
UNOPENED
The current form function could not be executed, since the form output was no yet initialized using OPEN_FORM.
UNSTARTED
No form was opened yet.
Possible reasons:
The form processing was started using OPEN_FORM without specifying a form name, but no form was opened yet using START_FORM.
The last used form was closed using END_FORM, but no new form was opened using START_FORM.
The last filled page of the current form has no subsequent page. In this case, the system automatically terminates form printing after this page. You need no explicit END_FORM call.
In the current form, no page contains a main window, but a text element shall be output in the main window.
Thanks,
Shankar
‎2007 Mar 19 5:44 AM
Hi,
CONTROL_FORM
Use CONTROL_FORM to pass SAPscript control statements to the form.
Function call:
CALL FUNCTION 'CONTROL_FORM'
EXPORTING COMMAND = ?...
EXCEPTIONS UNOPENED =
UNSTARTED =
Export parameters:
COMMAND
Enter the SAPscript statement you want to execute in ITF format, but without the statement paragraph attribute '/:'.
Exceptions:
UNOPENED
The current form function could not be executed, since the form output was no yet initialized using OPEN_FORM.
UNSTARTED
No form was opened yet.
Possible reasons:
The form processing was started using OPEN_FORM without specifying a form name, but no form was opened yet using START_FORM.
The last used form was closed using END_FORM, but no new form was opened using START_FORM.
The last filled page of the current form has no subsequent page. In this case, the system automatically terminates form printing after this page. You need no explicit END_FORM call.
In the current form, no page contains a main window, but a text element shall be output in the main window.
Thanks,
Shankar