SAP Reports / Programs

RWSORT12 SAP ABAP Report - Customers per Assortment







RWSORT12 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 RWSORT12 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

WSLA - Assortment Users per 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 RWSORT12. "Basic submit
SUBMIT RWSORT12 AND RETURN. "Return to original report after report execution complete
SUBMIT RWSORT12 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: FILIA = D Assortment
Selection Text: SOTYP = D Assortment Category
Title: Customers per Assortment
Text Symbol: 001 = End of List
Text Symbol: 002 = No customer assigned
Text Symbol: 003 = Is not an assortment
001 Assortment Name 1
002 Customer Name 1 Basic rule SOrg DChnl
003 Listing


INCLUDES used within this REPORT RWSORT12

INCLUDE MWWCONST.
INCLUDE RWSORT_LISTVIEW_DATA.


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:

ASSORTMENT_GET_USERS_OF_ASORT CALL FUNCTION 'ASSORTMENT_GET_USERS_OF_ASORT' EXPORTING VALID_PER_DATE = SY-DATUM " note 640416 DATE_TO = MAX_DATUM " note 640416 * SELECT_INVALID_ASORT = ' ' TABLES ASSORTMENT_USERS = tab_wrsz ASSORTMENT_ASORTS = tab_wrs1 EXCEPTIONS NO_ASORT_TO_SELECT = 1 NO_USER_FOUND = 2 OTHERS = 3 .

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 = tab_wrst t_outtab_item = tab_wrsz exceptions program_error = 1 others = 2.



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