cancel
Showing results for 
Search instead for 
Did you mean: 

how to call 2 forms in one printprogram

Former Member
0 Kudos

hi

experts can u help me for this

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member386202
Active Contributor
0 Kudos

Hi,

Use function module "START_FORM" and "END_FORM".

Regards,

Prashant

varma_narayana
Active Contributor
0 Kudos

Hi Ramesh..

YOU HAVE TO CALL THE FMS.

START_FORM and END_FORM for this......

This is the Way to Call 2 or more forms in Print program.

CALL FUNCTION 'OPEN_FORM'

CALL FUNCTION 'START_FORM'

Exporting

formname = 'ZFORM1'

<<Call the WRITE_FORMS of ZFORM1>>

CALL FUNCTION 'END_FORM'

CALL FUNCTION 'START_FORM'

Exporting

formname = 'ZFORM2'

<<Call the WRITE_FORMS of ZFORM2>>

CALL FUNCTION 'END_FORM'

CALL FUNCTION 'CLOSE_FORM'

<b>REWARD POINTS IF HELPFUL</b>

Former Member
0 Kudos

make any forms

by giving more open_form

and close_form

regards

Giridhar

Former Member
0 Kudos

Hi

You can call the OPEN_FORM...CLOSE_FORM function modules twice in the driver program.

and pass the names of the FORMs(Script layout) to the OPEN_FORM twice.

it will work.

Regards

Anji

Former Member
0 Kudos

Hi Ramesh,

In your driver program, You can call two sap script forms..

Just CALL FUNCTION 'OPEN_FORM' twice passing your form name.. But beware, before calling second time, the first form should be closed with 'CLOSE_FORM'.

Thanks and Best Regards,

Vikas Bittera.

**Reward if useful**