Skip to Content
avatar image
Former Member

Purpose of Control_Form ....?

Hi

What is the Exact Purpose of Control_Form In Scripts.

Kindly Let me know.

Thanx in Advance.

Akshitha.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • avatar image
    Former Member
    Apr 16, 2007 at 12:24 PM

    Hi akshitha,

    1. It is simply used to give control commands.

    eg. page break etc.

    2. Generally it is not used.

    regards,

    amit m.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 16, 2007 at 12:24 PM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 16, 2007 at 12:27 PM

    Hi akshitha,

    CONTROL_FORM Sends a control statement to the layout set.

    For example if you want to trigger new window so you can mention in your

    program like below.

    CALL FUNCTION 'CONTROL_FORM'

    EXPORTING COMMAND = 'NEW-WINDOW'.

    Thanks&Regards,

    Siri.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 16, 2007 at 12:39 PM

    Hi,

    It is used generally to pass commands to script at run time.

    good eg is PROTECT. this command can be passed to restrict splitting of a paragraph in two or more pages.

    Hope this helps. if u want more info revert back.

    Jogdand M B

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 16, 2007 at 12:47 PM

    Hi,

    we Use CONTROL_FORM to pass SAPscript control statements to the form

    http://help.sap.com/saphelp_nw04/helpdata/en/d6/0dba68494511d182b70000e829fbfe/content.htm

    Regards

    Sudheer

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 16, 2007 at 01:10 PM

    Hello Akshitha,

    Control form used in the script for the purpose of control the format.

    e.g. to make a page protect for the text used for write form, we can use the protect command.

    control_form

    exporing

    command = 'protect'.

    write_form....

    control_form

    exporing

    command = 'endprotect'.

    Regards

    Vikas

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 17, 2007 at 08:52 AM

    hi friend,

    If u using the control_form means ur using putting the some condition for that script.

    Rgds,

    P.nag

    Add comment
    10|10000 characters needed characters exceeded