on 11-17-2008 7:34 AM
I would like to know how to call smartform, is it same as sapscript, called by print program? In PO, i would like to check once click print preview, which print program called? Thanks!
Usually, whenever you create smartform in back ground a function module is generated upon activation of smartform.
You can read the function module name, by using standard FM "SSF_FUNCTION_MODULE_NAME" or from smartforms tcode, goto change.. click environment --> function module name
Goto Editor and call this function module name.
Rgds,
Sairam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
see below example
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = lf_formname
IMPORTING
fm_name = lf_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> gc_zero.
ENDIF.
call samrtform.
IF gt_final_ssf1[] IS NOT INITIAL.
CALL FUNCTION lf_fm_name
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = space
TABLES
gt_final_ssf1 = gt_final_ssf1
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Check this link, you will get all details about smartform: [Smartforms|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf]
Regards,
Vishwa.
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.