Skip to Content
author's profile photo Former Member
Former Member

SAP Scripts

Hi Friends,

Can you tell me what is the need of Function modules which is given below in SAP Scripts?

1) Control_form

2) Start_form

Regards,

Dinesh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 08:45 AM

    SAPscript control commands can be carried out with CONTROL_FORM. The command should be specified without the paragraph format '/:' in the parameter COMMAND.

    start_form is to open another new form after open_form .

    regards

    shiba dutta

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      CONTROL_FORM is used to pass commands to the script at runtime. For examle, say you want to force a new page for some reason.

      ex-

      call function 'CONTROL_FORM'

      exporting

      command = 'NEW-PAGE'

      exceptions

      unopened = 1

      unstarted = 2

      others = 3.

      Start_Form: In-between the function modules OPEN_FORM and CLOSE_FORM, we can use different layout sets. This allows us to combine several different layout sets into one print output. However, we can combine only those layout sets that have the same page format. To switch layout sets, use the function module START_FORM. If another layout set is still open, we must close it first using END_FORM. If we specify no layout set name when calling START_FORM, the system restarts the last open layout set. If after OPEN_FORM no layout set was activated yet, the system leaves the function module with the exception UNUSED.

      kishan negi

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 08:44 AM

    it is not mandatory to use control_form and start_form in sapscript.

    Not too sure about the control_form, but start_form is initially let the print program know which form to start first.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 10, 2007 at 08:45 AM

    start_form and end_form used to call more than one form in a print program.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.