Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CONTROL_FORM

Former Member
0 Likes
495

HAI,

I WANT SEND <b>NEW-PAGE</b> COMMAND SATEMENT FROM MY PRINT PROGRAM TO SMART FORM . MY NEW PAGE IS <b>LAST</b>

CALL FUNCTION 'CONTROL_FORM'

EXPORTING

COMMAND = <b>" WHAT CAN I WRITE HERE</b>

EXCEPTIONS

UNOPENED = 1

UNSTARTED = 2

OTHERS = 3

4 REPLIES 4
Read only

Former Member
0 Likes
458

May be you can do it this way Create a text element in the main window and give the command there in the text element and call that text element from the program.

NEW-PAGE LAST

Read only

Read only

Former Member
0 Likes
458

hI..,

<b>CALL FUNCTION 'CONTROL_FORM'

EXPORTING

COMMAND = 'NEW-PAGE LAST'

EXCEPTIONS

UNOPENED = 1

UNSTARTED = 2

OTHERS = 3 </b>

Regards,

sai ramesh

Plz do remember to close the thread when ur problem is solved !!

Message was edited by:

Sai ramesh

Read only

Former Member
0 Likes
458

hi,

CALL FUNCTION 'CONTROL_FORM'

EXPORTING

COMMAND = 'new-page [page-name]'

**here pass new page name as per your need.

EXCEPTIONS

UNOPENED = 1

UNSTARTED = 2

OTHERS = 3

you pass control statement to parameter <b>COMMAND</b> of <b>CONTROL_FORM</b>, by using this function module we can pass control commands to scriptform from print program.

regards,

Ashokreddy.

Message was edited by:

Ashok Reddy