SAP Reports / Programs | Global Trade Services | Global Trade Services(SLL-LEG) SAP SLL

/SAPSLL/SPL_ARCH_MD_WRITE_F01 SAP ABAP INCLUDE - Include /SAPSLL/SPL_ARCH_MD_WRITE_F01







/SAPSLL/SPL_ARCH_MD_WRITE_F01 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter /SAPSLL/SPL_ARCH_MD_WRITE_F01 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT /SAPSLL/SPL_ARCH_MD_WRITE_F01. "Basic submit
SUBMIT /SAPSLL/SPL_ARCH_MD_WRITE_F01 AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPSLL/SPL_ARCH_MD_WRITE_F01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include /SAPSLL/SPL_ARCH_MD_WRITE_F01


INCLUDES used within this REPORT /SAPSLL/SPL_ARCH_MD_WRITE_F01

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING e_log_handle = cv_log_handle EXCEPTIONS OTHERS = 1.

BAL_GLB_MSG_DEFAULTS_SET CALL FUNCTION 'BAL_GLB_MSG_DEFAULTS_SET' EXPORTING i_s_msg_defaults = ls_msg_defaults EXCEPTIONS OTHERS = 1.

/SAPSLL/APPLOG_DISPLAY CALL FUNCTION '/SAPSLL/APPLOG_DISPLAY' EXPORTING iv_object = gc_object_spl_archive iv_subobject = gc_subobject_spl_md * IV_EXTNUMBER = iv_handle = iv_log_handle iv_funcname = gc_applog_display * IS_LOG_FILTER = * IS_MSG_FILTER = * IV_USE_GRID = * IS_DEBUG = EXCEPTIONS no_log_found = 1 OTHERS = 2.

/SAPSLL/APPLOG_SAVE CALL FUNCTION '/SAPSLL/APPLOG_SAVE' EXPORTING iv_handle = iv_log_handle * IV_EXTNUMBER = * IS_DEBUG = .

ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = iv_delete create_archive_file = iv_archive object = gc_spl_archive_obj comments = iv_coment * DO_NOT_DELETE_DATA = ' ' * OUTPUT_SEL_SCREEN_WHEN_DIALOG = 'X' * OUTPUT_SEL_SCREEN_WHEN_BATCH = ' ' IMPORTING archive_handle = cv_archive_handle EXCEPTIONS internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4 OTHERS = 5.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = iv_log_handle i_s_msg = ls_msg EXCEPTIONS log_not_found = 0 OTHERS = 1.

/SAPSLL/CONVERT_DATE_TO_STAMP CALL FUNCTION '/SAPSLL/CONVERT_DATE_TO_STAMP' EXPORTING iv_date = iv_datbi IMPORTING ev_timestamp = lv_datbi EXCEPTIONS no_time_zone = 1 time_zone_notfound = 2 format_error = 3 OTHERS = 4.

ARCHIVE_GET_STATISTICS CALL FUNCTION 'ARCHIVE_GET_STATISTICS' EXPORTING archive_handle = iv_archive_handle IMPORTING archive_document = lv_stat_sess TABLES statistics_data = lt_stat_tab EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = iv_archive_handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = iv_archive_handle object_id = lv_object_id EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = iv_archive_handle * IMPORTING * OBJECT_OFFSET = * ARCHIVE_NAME = EXCEPTIONS file_io_error = 1 internal_error = 2 open_error = 3 termination_requested = 4 wrong_access_to_archive = 5 OTHERS = 6.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = lv_object * I_TEXT = i_msgtype = 1 i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 * I_MSGV3 = * I_MSGV4 = * I_CALLBACK_PARAMETER = * I_PROTOCOL_DATA = * I_PROTOCOL_HANDLE = EXCEPTIONS protocol_not_yet_initialized = 1 OTHERS = 2.

PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_output_immediately = lv_output_immediately.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = iv_archive_handle record = is_tspl record_flags = ' ' record_structure = gc_record_name-tspl EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

/SAPSLL/TSPLA_DB_IDX_READ CALL FUNCTION '/SAPSLL/TSPLA_DB_IDX_READ' EXPORTING iv_mandt = sy-mandt iv_guid_tspl = is_tspl-guid_tspl is_debug = gs_debug IMPORTING et_result = lt_tspla EXCEPTIONS no_data = 1 internal_error = 2 OTHERS = 3.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = iv_archive_handle * RECORD_FLAGS = ' ' record_structure = gc_record_name-tspla TABLES table = lt_tspla * RECORD_FLAGS_TABLE = EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

/SAPSLL/TSPLN_DB_IDX_READ CALL FUNCTION '/SAPSLL/TSPLN_DB_IDX_READ' EXPORTING iv_mandt = sy-mandt iv_guid_tspl = is_tspl-guid_tspl is_debug = gs_debug IMPORTING et_result = lt_tspln EXCEPTIONS no_data = 1 internal_error = 2 OTHERS = 3.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = iv_archive_handle * RECORD_FLAGS = ' ' record_structure = gc_record_name-tspln TABLES table = lt_tspln * RECORD_FLAGS_TABLE = EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

/SAPSLL/TSPLA_DB_BUF_REF





CALL FUNCTION '/SAPSLL/TSPLA_DB_BUF_REF' EXPORTING is_debug = gs_debug.

/SAPSLL/TSPLA_DB_BUF_PUT CALL FUNCTION '/SAPSLL/TSPLA_DB_BUF_PUT' EXPORTING * IS_DATA = it_data = ct_tspla is_debug = gs_debug.

/SAPSLL/TSPLN_DB_BUF_REF CALL FUNCTION '/SAPSLL/TSPLN_DB_BUF_REF' EXPORTING is_debug = gs_debug.

/SAPSLL/TSPLN_DB_BUF_PUT CALL FUNCTION '/SAPSLL/TSPLN_DB_BUF_PUT' EXPORTING * IS_DATA = it_data = ct_tspln is_debug = gs_debug.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name /SAPSLL/SPL_ARCH_MD_WRITE_F01 or its description.