Application Development 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: 

issue about sap script

Former Member
0 Kudos

hi ,

could u plz explain

i have one print program and two forms.

by using single print program i want to run two forms.

could u plz tell me urgent.

4 REPLIES 4

harimanjesh_an
Active Participant
0 Kudos

hi rajesh,

ya, we can use two forms in one report program.

can u explain ur problem correctly.....

example: consider a sceanrio like this :

u have a two radio buttons in initial screen and based on radio button selection , u are selecting the form.

if r1 = 'X'.

l_fmname = 'zsmartfom1'.

elseif.

l_fmname = 'zsmartfom2'.

endif.

and pass this form name to function module SSF_FUNCTION_MODULE_NAME.

i can tell u clearly if tell ur scenario.....

reward me if it was useful........

with regards.......

Former Member
0 Kudos

Hi,

You need to have 2 Output types for this one, for the first output type, Configure the Driver program and the First Layout, and for the second outout type, Config the Driver program and the Second layout

While running the Script, you can chose the output type, then based on the output type it will oick the layout

Regards

Sudheer

Former Member
0 Kudos

In NACE assign the script to two different o/p types.. this will solve the problem.

Former Member
0 Kudos

in u r single print program

write the fallowing function modules in correct order.

call open_form hear pass form name1

call start_form hear pass form name1

call write_form

call end_form.

call start_form hear pass form name2

call write_form.

call end_form

call close_form.

call u r print program like this u will get the two forms subsequently.