on 07-11-2008 11:10 AM
hi experts in smatforms when we activate it will generate the function module , we call the form driver program using fm SSF_FUNCTION_MODULE...... , why we call the form using this fuction module , what is the use.
is it possible to call fm ( when form activate that the generated fm) .
give me detailed information about this
It is becuase the smartform function module get re generated after each session. The name changes dynamically and hence we use those FMs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Its the smartforms architecture.
Whenever a smartform is activated a FM gets generated and in the print program we need the FM name to call the smartform interface with the relevant populated data through structures and tables in order to print the document.
I hope this clears the doubt.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello.
Yes, you calll the FM that SSF_FUNCTION_MODULE_NAME returns like:
DATA: wa_fm_name1 TYPE rs38l_fnam,
wa_control_param TYPE ssfctrlop,
wa_composer_param TYPE ssfcompop.
CLEAR wa_fm_name1.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZLCCVDO03'
IMPORTING
fm_name = wa_fm_name1
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
**** Call SMARTFORM
CALL FUNCTION wa_fm_name1
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = wa_control_param
output_options = wa_composer_param
user_settings = space
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
Regards.
Valter Oliveira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.