10-09-2007 2:11 PM
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.
10-09-2007 4:00 PM
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.......
10-09-2007 4:11 PM
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
10-09-2007 4:15 PM
In NACE assign the script to two different o/p types.. this will solve the problem.
10-09-2007 4:20 PM
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.