on 09-15-2009 8:36 AM
Hello expert,
how is possible call in one time more forms. The forms are the same, and I have to print ( and print preview ) all togehter
and not one to one .
What is the parameters to use ?
tks,
U loop ur internal table with 10 document no's in the internal table.
Now, in the loop u call the Smartform FM..
eg:
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING formname = itab-form_name
variant = ' '
direct_call = ' '
IMPORTING fm_name = fm_name
EXCEPTIONS no_form = 1
no_function_module = 2
OTHERS = 3.
LOOP at itab.
call function fm_name "smartform Function name
endloop.
or, u can also do this, by calling SSF_OPEN & SSF_Close.
Hope it helps!!
Rgds,
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
are you talking about smartforms or script?
for smartforms you can call any number of smartform modules as you get the FM name from the form name.
and for scripts the procedure is already defined in the above post
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
call open_form.( dont include form name)
call start_form.( Include form1 name)
call write_form.
call end_form.
call start_form.( Include form2 name)
call write_form.
call end_form.
call close_form.
Repeat start_form...end_form as required according to number of forms.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.