Program:
REPORT zsm_smart_three.
PARAMETERS: p_id TYPE zvp_location-id.
SELECT SINGLE name, location FROM zvp_location INTO @DATA(wa_one) WHERE id = @p_id .
IF sy-subrc = 0.
CALL FUNCTION '/1BCDWB/SF00000484'
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
* CONTROL_PARAMETERS =
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
* OUTPUT_OPTIONS =
* USER_SETTINGS = 'X'
id = p_id
name = wa_one-name
location = wa_one-location
* IMPORTING
* DOCUMENT_OUTPUT_INFO =
* JOB_OUTPUT_INFO =
* JOB_OUTPUT_OPTIONS =
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
ENDIF.
Output:
0 Comments