RWSORT07L 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 RWSORT07L into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
WSM4L - Automatic Relisting of Layout Data
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.
Selection Text: AB_ZWANG = Only Changes from Date/Time
Selection Text: DATUM_AB = Date From
Selection Text: F1 = Layout/Assortment Changes
Selection Text: F2 = Layout Module Changes
Selection Text: F3 = Layout Module Version Changes
Selection Text: F4 = Layout Module Variant Changes
Selection Text: F5 = Article Assignment Changes
Selection Text: F6 = Also List Supplying Site
Selection Text: FILIA = Assortment
Selection Text: S_DATUM = Documents for a Date
Selection Text: S_LAUF = Docs Since Last Successful Run
Selection Text: ZEIT_AB = Time From
Selection Text: CB_TMSTP = D .
Title: Automatic Relisting by Changing Layout Data
Text Symbol: 051 = Processing
Text Symbol: 035 = No Layouts for Assortment
Text Symbol: 034 = No Layouts Assigned
Text Symbol: 033 = Version not released
Text Symbol: 032 = Error During Creation/Deletion
Text Symbol: 031 = Could not delete all data
Text Symbol: 030 = Different Validities WSOH/WSOF
Text Symbol: 029 = Invalid Call
Text Symbol: 028 = No Deletion of Current Version
Text Symbol: 027 = Version Locked
Text Symbol: 026 = Wrong Key
Text Symbol: 001 = Assortm.
Text Symbol: 002 = Validity Area
Text Symbol: 003 = Time Limit
Text Symbol: 004 = Adjusted Listing Conditions
Text Symbol: 005 = No Layout/Assortment Changes
Text Symbol: 006 = Layout/Assortment Changes
Text Symbol: 007 = No Layout Module Changes
Text Symbol: 008 = Layout Module Changes
Text Symbol: 009 = No Layout Module Version Changes
Text Symbol: 010 = Layout Module Version Changes
Text Symbol: 011 = No Layout Module Variant Changes
Text Symbol: 012 = Layout Module Variant Changes
Text Symbol: 013 = No Article Assignment Changes
INCLUDE RWSORT07LTOP.
No SAP DATABASE tables are accessed within this REPORT code!
LAYLIST_CONVERSION_CHECK CALL FUNCTION 'LAYLIST_CONVERSION_CHECK' EXCEPTIONS LAYLIST_NOT_CONVERTED = 1 OTHERS = 2.
WWS_ENQ_ASSORTMENT CALL FUNCTION 'WWS_ENQ_ASSORTMENT' EXPORTING * artikel = mara-matnr * BAUSTEIN = ' ' * DATUMBIS = ' ' filia = int_wrs1-asort sperr_modus = 'E' * VKORG = ' ' * VRKME = ' ' * VTWEG = ' ' WAS = '3' "WLK1-Kopf-Eintrag EXCEPTIONS FOREIGN_LOCK = 01 NO_MODUS = 02 NO_WAS = 03 SYSTEM_FAILURE = 04.
WLMV_SINGLE_READ CALL FUNCTION 'WLMV_SINGLE_READ' EXPORTING pi_laygr =
-laygr pi_lmver = -laymod_ver pi_buf_refrsh = 'X' " ERP 2005 buffering - FKR IMPORTING pe_wlmv = p_wlmv EXCEPTIONS OTHERS = 1.
WLVA_ARRAY_READ_WITH_LAY_VER CALL FUNCTION 'WLVA_ARRAY_READ_WITH_LAY_VER' EXPORTING KZRFB = 'X' " ERP 2005 buffering - FKR KEEP_VERSION_WITHOUT_VARIANT = ' ' TABLES T_WLVA = TI_WLVA EXCEPTIONS NO_VARIANT_FOUND = 1.
WRS1_SINGLE_READ CALL FUNCTION 'WRS1_SINGLE_READ' EXPORTING ASORT = TI_WLVA-ASORT IMPORTING WRS1_OUT = I_WRS1_OUT EXCEPTIONS NO_RECORD_FOUND = 1 SPRAS_NOT_FOUND = 2 OTHERS = 3.
SINGLE_LAYMODVER_LISTING CALL FUNCTION 'SINGLE_LAYMODVER_LISTING' EXPORTING PI_WLMV = p_wlmv PI_CREATE_WLK1_CHANGE_DOCUMENT = 'X' TABLES TI_WRS1 = PI_T_WRS1_L EXCEPTIONS KEY_UNCOMPLETE = 1 LMVER_NOT_RELEASED = 2 DATA_LOCKED = 3 NO_LAYOUTS_FOUND = 4 NO_ASSORTMENTS_VIA_LAYOUT = 5 NOT_ALL_ASSORTMENTS_IMPORTED = 6 LISTING_ERROR = 7 OTHERS = 8.
SET_TIMESTAMP_FOR_ASSORTMENTS CALL FUNCTION 'SET_TIMESTAMP_FOR_ASSORTMENTS' IN UPDATE TASK EXPORTING ip_timestamp = gv_timestamp TABLES it_wrs1 = pi_t_wrs1_l .
WLMV_SINGLE_READ CALL FUNCTION 'WLMV_SINGLE_READ' EXPORTING pi_laygr =
-laygr pi_lmver = -laymod_ver pi_buf_refrsh = 'X' " ERP 2005 buffering - FKR IMPORTING pe_wlmv = p_wlmv EXCEPTIONS OTHERS = 1.
WLVA_ARRAY_READ_WITH_LAY_VER * CALL FUNCTION 'WLVA_ARRAY_READ_WITH_LAY_VER' * EXPORTING * kzrfb = 'X' " ERP 2005 buffering - FKR * keep_version_without_variant = ' ' * TABLES * t_wlva = ti_wlva * EXCEPTIONS * no_variant_found = 1.
WRS1_SINGLE_READ * CALL FUNCTION 'WRS1_SINGLE_READ' * EXPORTING * asort = ti_wlva-asort * IMPORTING * wrs1_out = i_wrs1_out * EXCEPTIONS * no_record_found = 1 * spras_not_found = 2 * OTHERS = 3.
DELETE_LAYMODVER_LISTING CALL FUNCTION 'DELETE_LAYMODVER_LISTING' EXPORTING PI_WLMV = p_wlmv PI_CREATE_WLK1_CHANGE_DOCUMENT = 'X' TABLES TI_WRS1 = PI_T_WRS1_L EXCEPTIONS KEY_UNCOMPLETE = 1 ASSORTMENT_MODULE_LOCKED = 2 NOT_DELETE_CURRENT_VERSION = 3 WRONG_CALL = 4 DIFFERENT_VALIDITIES_WSOH_WSOF = 5 NOT_ALL_LISTING_DATA_DELETED = 6 OTHERS = 7.
SET_TIMESTAMP_FOR_ASSORTMENTS CALL FUNCTION 'SET_TIMESTAMP_FOR_ASSORTMENTS' IN UPDATE TASK EXPORTING ip_timestamp = gv_timestamp TABLES it_wrs1 = pi_t_wrs1_l .
APPL_LOG_INIT CALL FUNCTION 'APPL_LOG_INIT' EXPORTING OBJECT = OBJECT SUBOBJECT = SUBOBJECT EXCEPTIONS OBJECT_NOT_FOUND = 01 SUBOBJECT_NOT_FOUND = 02.
APPL_LOG_WRITE_HEADER CALL FUNCTION 'APPL_LOG_WRITE_HEADER' EXPORTING HEADER = HEADER_DATA IMPORTING UPDATE_OR_INSERT = UPDA_OR_INS EXCEPTIONS OBJECT_NOT_FOUND = 01 SUBOBJECT_NOT_FOUND = 02.
APPL_LOG_WRITE_DB CALL FUNCTION 'APPL_LOG_WRITE_DB' EXPORTING OBJECT = OBJECT SUBOBJECT = SUBOBJECT TABLES OBJECT_WITH_LOGNUMBER = NUMBER_TAB EXCEPTIONS OBJECT_NOT_FOUND = 01 SUBOBJECT_NOT_FOUND = 02.
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 RWSORT07L or its description.