SAP Reports / Programs | Logistics - General | Logistics Basic Data | Assortment Maintenance(LO-MD-RA-MT) SAP LO

RWSORTK1 SAP ABAP Report - Listing Conditions per Assortment







RWSORTK1 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 RWSORTK1 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

WSL10 - Materials in Assortment


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


Text pool values


Selection Text: P_BOTH = List as Inclusion & Exclusion
Selection Text: P_EXCLU = List as Exclusion
Selection Text: P_MAXROW = Max. No. Of Data Records
Selection Text: P_NORMAL = List as Inclusion
Selection Text: P_VARI = Display Variant
Selection Text: S_ASORT = Assortment
Selection Text: S_DATUM = Valid On
Selection Text: S_MATKL = Material Group
Title: Listing Conditions per Assortment
Text Symbol: 002 = List Type
Text Symbol: 003 = Listing conditions within
Text Symbol: 004 = Selection Criteria
Text Symbol: 005 = Results List
Text Symbol: 011 = No listing condition within the
Text Symbol: 012 = selected period determined.


INCLUDES used within this REPORT RWSORTK1

INCLUDE RWSK1TOP . "


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:

REUSE_ALV_VARIANT_DEFAULT_GET call function 'REUSE_ALV_VARIANT_DEFAULT_GET' exporting i_save = g_save changing cs_variant = gx_variant exceptions not_found = 2.

REUSE_ALV_EVENTS_GET call function 'REUSE_ALV_EVENTS_GET' exporting i_list_type = 0 importing et_events = e03_lt_events.

MATERIAL_READ_WITH_MATKL call function 'MATERIAL_READ_WITH_MATKL' exporting matkl = it_t023-matkl only_active = 'X' tables t_mara = hit_mara exceptions others = 1.

MAKT_ARRAY_READ call function 'MAKT_ARRAY_READ' * EXPORTING * KZRFB = ' ' * NEUFLAG = ' ' tables ipre09 = it_pre09 makt_tab = it_makt exceptions enqueue_mode_changed = 1 others = 2 .

MAKT_ARRAY_READ call function 'MAKT_ARRAY_READ' * EXPORTING * KZRFB = ' ' * NEUFLAG = ' ' tables ipre09 = it_pre09 makt_tab = it_makt exceptions enqueue_mode_changed = 1 others = 2 .

REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting it_list_commentary = gt_list_top_of_page.

REUSE_ALV_VARIANT_F4 call function 'REUSE_ALV_VARIANT_F4' exporting is_variant = g_variant i_save = g_save * it_default_fieldcat = importing e_exit = g_exit es_variant = gx_variant exceptions not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE call function 'REUSE_ALV_VARIANT_EXISTENCE' exporting i_save = g_save changing cs_variant = gx_variant.

REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_internal_tabname = g_tabname_header i_structure_name = 'WRST' changing ct_fieldcat = p_fieldcat[].

REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_internal_tabname = g_tabname_item i_structure_name = 'WLK1' changing ct_fieldcat = p_fieldcat[].

REUSE_ALV_HIERSEQ_LIST_DISPLAY call function 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' exporting * I_INTERFACE_CHECK = ' ' i_callback_program = g_repid * i_callback_pf_status_set = g_status * i_callback_user_command = g_user_command is_layout = gs_layout it_fieldcat = gt_fieldcat[] * IT_EXCLUDING = it_special_groups = gt_sp_group[] * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 i_default = g_default i_save = g_save is_variant = g_variant it_events = gt_events[] * IT_EVENT_EXIT = i_tabname_header = g_tabname_header i_tabname_item = g_tabname_item * I_STRUCTURE_NAME_HEADER = * I_STRUCTURE_NAME_ITEM = is_keyinfo = gs_keyinfo * IS_PRINT = * IS_REPREP_ID = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = tables t_outtab_header = it_wrst t_outtab_item = it_wlk1_all exceptions program_error = 1 others = 2.

REUSE_ALV_LIST_DISPLAY * CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' * EXPORTING * I_CALLBACK_PROGRAM = G_REPID * I_STRUCTURE_NAME = 'wlk1' * IT_FIELDCAT = GT_FIELDCAT[] ** IT_EXCLUDING = * IT_SPECIAL_GROUPS = GT_SP_GROUP[] ** IT_SORT = ** IT_FILTER = ** IS_SEL_HIDE = ** i_default = g_default * I_SAVE = G_SAVE * IS_VARIANT = G_VARIANT * IT_EVENTS = GT_EVENTS[] ** IT_EVENT_EXIT = ** IS_PRINT = ** I_SCREEN_START_COLUMN = 0 ** I_SCREEN_START_LINE = 0 ** I_SCREEN_END_COLUMN = 0 ** I_SCREEN_END_LINE = 0 ** IMPORTING ** E_EXIT_CAUSED_BY_CALLER = * TABLES * T_OUTTAB = IT_WLK1.



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