DATA: func_name TYPE rs38l_fnam,
gs_ssfctrlop TYPE ssfctrlop,
gs_ssfcompop TYPE ssfcompop.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZXXX' "smartform adı
IMPORTING
fm_name = func_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
"gs_ssfctrlop-no_dialog = 'X'.
gs_ssfcompop-tddest = 'LOCL'.
CALL FUNCTION func_name
EXPORTING
control_parameters = gs_ssfctrlop
output_options = gs_ssfcompop
user_settings = space
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Serkan AKKAVAK
Bilgisayar Mühendisi
serkurumsal@yandex.com
Social Plugin