SAP Reports / Programs | Sales and Distribution | Foreign Trade | Basic Functions(SD-FT-PRO) SAP SD

RVEXSLMD SAP ABAP Report - Deletion of the archived SLS master data from the corresponding tables







RVEXSLMD is a standard Executable ABAP Report 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 RVEXSLMD 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 RVEXSLMD. "Basic submit
SUBMIT RVEXSLMD AND RETURN. "Return to original report after report execution complete
SUBMIT RVEXSLMD VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Deletion of the archived SLS master data from the corresponding tables


INCLUDES used within this REPORT RVEXSLMD

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:

ARCHIVE_GET_CUSTOMIZING_DATA call function 'ARCHIVE_GET_CUSTOMIZING_DATA' exporting OBJECT = 'FT_SLSMST' IMPORTING COMMIT_COUNT_FOR_DELETE_PRG = commit_cnt MAINTAIN_INDEX = index_flag.

ARCHIVE_OPEN_FOR_DELETE call function 'ARCHIVE_OPEN_FOR_DELETE' exporting * ARCHIVE_NAME = ' ' OBJECT = 'FT_SLSMST' TEST_MODE = TESTRUN * AINDFLAG = 'X' importing archive_handle = archive_handle TABLES SELECTED_FILES = sel_files exceptions * FILE_ALREADY_OPEN = 1 * FILE_IO_ERROR = 2 * INTERNAL_ERROR = 3 * NO_FILES_AVAILABLE = 4 * OBJECT_NOT_FOUND = 5 * OPEN_ERROR = 6 * NOT_AUTHORIZED = 7 * OTHERS = 8 others = 1.

ARCHIVE_GET_NEXT_OBJECT call function 'ARCHIVE_GET_NEXT_OBJECT' exporting archive_handle = archive_handle IMPORTING OBJECT_ID = data_object_id OBJECT_OFFSET = data_object_offset ARCHIVE_NAME = archive_name * COMPR_OBJECT_LENGTH = * EXCEPTIONS * END_OF_FILE = 1 * FILE_IO_ERROR = 2 * INTERNAL_ERROR = 3 * OPEN_ERROR = 4 * WRONG_ACCESS_TO_ARCHIVE = 5 * OTHERS = 6 exceptions end_of_file = 01.

ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' exporting archive_handle = archive_handle RECORD_STRUCTURE = 'FSLS' TABLES TABLE = TFSLS exceptions others = 1.

ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' exporting archive_handle = archive_handle RECORD_STRUCTURE = 'FSLSN' TABLES TABLE = TFSLSN exceptions others = 1.

ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' exporting archive_handle = archive_handle RECORD_STRUCTURE = 'FSLSA' TABLES TABLE = TFSLSA exceptions others = 1.

FT_SLS_MASTER_UPDATE CALL FUNCTION 'FT_SLS_MASTER_UPDATE' IN UPDATE TASK TABLES I_T_XFSLS = DFSLS I_T_YFSLS = XFSLS I_T_XFSLSN = DFSLSN I_T_YFSLSN = DFSLSN I_T_XFSLSA = DFSLSA I_T_YFSLSA = DFSLSA I_T_XFSLSW = DFSLSW I_T_YFSLSW = DFSLSW EXCEPTIONS OTHERS = 1.

FT_SLS_MASTER_UPDATE CALL FUNCTION 'FT_SLS_MASTER_UPDATE' IN UPDATE TASK TABLES I_T_XFSLS = DFSLS I_T_YFSLS = DFSLS I_T_XFSLSN = DFSLSN I_T_YFSLSN = XFSLSN I_T_XFSLSA = DFSLSA I_T_YFSLSA = DFSLSA I_T_XFSLSW = DFSLSW I_T_YFSLSW = DFSLSW EXCEPTIONS OTHERS = 1.

FT_SLS_MASTER_UPDATE CALL FUNCTION 'FT_SLS_MASTER_UPDATE' TABLES I_T_XFSLS = DFSLS I_T_YFSLS = DFSLS I_T_XFSLSN = DFSLSN I_T_YFSLSN = DFSLSN I_T_XFSLSA = DFSLSA I_T_YFSLSA = XFSLSA I_T_XFSLSW = DFSLSW I_T_YFSLSW = DFSLSW EXCEPTIONS OTHERS = 1.

ARCHIVE_GIVE_STATISTICS call function 'ARCHIVE_GIVE_STATISTICS' exporting archive_handle = archive_handle tables table = itab_stat.

ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' exporting archive_handle = archive_handle STATISTICS_ONLY_PER_RUN = 'X' STATISTICS_ONLY_PER_FILE = ' '.

ARCHIVE_ADMIN_SET_STATUS CALL FUNCTION 'ARCHIVE_ADMIN_SET_STATUS' EXPORTING FILES_ARE_CONVERTED = ' ' * FILES_ARE_DELETED = ' ' INDEX_CREATED = 'X' * INDEX_DELETED = ' ' TABLES archive_files = sel_files EXCEPTIONS * CANNOT_CHANGE_STATUS = 1 OTHERS = 2.

ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = archive_handle.



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 RVEXSLMD or its description.