cancel
Showing results for 
Search instead for 
Did you mean: 

Purpose of Control_Form ....?

Former Member
0 Kudos

Hi

What is the Exact Purpose of Control_Form In Scripts.

Kindly Let me know.

Thanx in Advance.

Akshitha.

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member

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

Former Member
0 Kudos

hi friend,

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

Rgds,

P.nag

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

amit_khare
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi akshitha,

1. It is simply used to give control commands.

eg. page break etc.

2. Generally it is not used.

regards,

amit m.

Former Member
0 Kudos

What do u mean by "Generally it is not used". Now a days we are not using this FM..?

Akshitha.