on 06-27-2008 11:45 AM
can any one send the links how to write the report program and connect to smartform layout plzzzzzzzz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello there!
Check this link:
http://help.sap.com/saphelp_nw70/helpdata/EN/9b/e3b0dcc2a711d3b558006094192fe3/frameset.htm
If you need an example, check this one:
TABLES: toa_dara, arc_params.
DATA: wa_fm_name1 TYPE rs38l_fnam,
wa_control_param TYPE ssfctrlop,
wa_composer_param TYPE ssfcompop.
*** Output Options
wa_control_param-device = 'PRINTER'.
wa_control_param-no_dialog = 'X'.
wa_control_param-langu = 'P'.
wa_composer_param-tdimmed = 'X'.
wa_composer_param-tddelete = space.
wa_composer_param-tdreceiver = sy-uname.
wa_composer_param-tdcopies = '001'.
wa_composer_param-tddest = 'LINC'.
wa_composer_param-tdarmod = '1'.
CONCATENATE 'TESTE VDO' sy-datum INTO wa_composer_param-tdcovtitle SEPARATED BY space.
*** Find name of the FM that call the smartform
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 the 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.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
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.