SAP Reports / Programs

RWWKLASS SAP ABAP Report - Plant selection via classification







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

WB40 - List analysis for classes


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 RWWKLASS. "Basic submit
SUBMIT RWWKLASS AND RETURN. "Return to original report after report execution complete
SUBMIT RWWKLASS 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: T_OBJECT = Object heading
Selection Text: TREE_OCX = OCX
Selection Text: TREE_ID = Index tree structure
Selection Text: TREE_EXP = Expanded tree
Selection Text: TITLE = Tree heading
Selection Text: PM_OBTAB = Matchcode object
Selection Text: OBJECTS = With objects
Selection Text: MC_CALL = Call with SUBMIT
Selection Text: H_KLART = Class Type
Selection Text: CLASS9 = Class type 9
Selection Text: CLASS8 = Class type 8
Selection Text: CLASS7 = Class type 7
Selection Text: CLASS6 = Class type 6
Selection Text: CLASS5 = Class type 5
Selection Text: CLASS4 = Class type 4
Selection Text: CLASS3 = Class type 3
Selection Text: CLASS20 = Class type 20
Selection Text: CLASS2 = Class type 2
Selection Text: CLASS19 = Class type 19
Selection Text: CLASS18 = Class type 18
Selection Text: CLASS17 = Class type 17
Selection Text: CLASS16 = Class type 16
Selection Text: CLASS15 = Class type 15
Selection Text: CLASS14 = Class type 14
Selection Text: CLASS13 = Class type 13
Selection Text: CLASS12 = Class type 12
Selection Text: CLASS11 = Class type 11
Selection Text: CLASS10 = Class type 10
Selection Text: CLASS1 = Class type 1
Selection Text: CLASS = Class
Selection Text: CHARACT = With chars
Selection Text: ATNAM = Characteristics
Title: Plant selection via classification
Text Symbol: T05 = Description
Text Symbol: T04 = Class
Text Symbol: T02 = Objects
Text Symbol: T01 = Tree structure
Text Symbol: M01 = Tree structure created...





Text Symbol: I01 = This function is to be used for retail operations only. Note that your system is not a retail system.
Text Symbol: F02 = Class types
Text Symbol: F01 = Tree display
Text Symbol: E01 = No valid characteristic selected for class type


INCLUDES used within this REPORT RWWKLASS

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:

WR21_GROUP_SELECTION CALL FUNCTION 'WR21_GROUP_SELECTION' EXPORTING I_WITH_OBJECTS = OBJECTS I_HIER_KLART = H_KLART I_WITH_CHARACTERIST = CHARACT * I_TCLA = Y_TCLA I_TCLAT = Y_TCLAT I_WITH_INDICATOR = 'X' TABLES I_GROUP = CLASS I_ATNAM = ATNAM I_SELBEW = T_SELBEW O_NODES = PE_T_NODES CHANGING I_TREE_TITLE = TITLE I_OBJECT_TITLE = T_OBJECT EXCEPTIONS NO_CLASS_FOUND = 1 INVALID_CLASSTYPE = 2 INVALID_CLASS = 3 INVALID_OBJECT_TABLE = 4 OTHERS = 5.

RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING CALLBACK_PROGRAM = 'RWWKLASS' CALLBACK_USER_COMMAND = 'HANDLE_TREE_COMMANDS' CALLBACK_TEXT_DISPLAY = ' ' CALLBACK_COLOR_DISPLAY = ' ' STATUS = 'IMPLICIT' CHECK_DUPLICATE_NAME = '1' COLOR_OF_LINK = '1' COLOR_OF_NODE = '4' LOWER_CASE_SENSITIVE = ' ' MODIFICATION_LOG = ' ' NODE_LENGTH = 30 TEXT_LENGTH = 75 TEXT_LENGTH1 = 0 TEXT_LENGTH2 = 0 RETURN_MARKED_SUBTREE = 'X' SCREEN_START_COLUMN = 0 SCREEN_START_LINE = 0 SCREEN_END_COLUMN = 0 SCREEN_END_LINE = 0 SUPPRESS_NODE_OUTPUT = ' ' USE_CONTROL = I_OCX IMPORTING F15 = E_F15.

RS_TREE_MODIFY_NODE * CALL FUNCTION 'RS_TREE_MODIFY_NODE' * EXPORTING * NODE_ID = NODE-ID * NAME = NODE-NAME * TYPE = NODE-TYPE * LINK = NODE-LINK * NLENGTH = NODE-NLENGTH * COLOR = NODE-COLOR * TEXT = NODE-TEXT * TLENGTH = NODE-TLENGTH * TCOLOR = NODE-TCOLOR * TEXT1 = NODE-TEXT1 * TLENGTH1 = NODE-TLENGTH1 * TCOLOR1 = NODE-TCOLOR1 * TEXT2 = NODE-TEXT2 * TLENGTH2 = NODE-TLENGTH2 * TCOLOR2 = NODE-TCOLOR2 * HIDE = NODE-HIDE * EXCEPTIONS * ID_NOT_FOUND = 1 * OTHERS = 2.

RS_TREE_SET_NODE CALL FUNCTION 'RS_TREE_SET_NODE' EXPORTING NODE_INFO = NODE EXCEPTIONS ID_NOT_FOUND = 1 OTHERS = 2.

WR21_TREE_PUSH CALL FUNCTION 'WR21_TREE_PUSH' EXPORTING * I_TREE_ID = TREE_ID I_TREE_ID = H_KLART TABLES NODES = PE_T_NODES EXCEPTIONS OTHERS = 1.

WR21_TREE_POP CALL FUNCTION 'WR21_TREE_POP' EXPORTING * I_TREE_ID = TREE_ID I_TREE_ID = H_KLART TABLES NODES = PE_T_NODES EXCEPTIONS OTHERS = 1.

RS_TREE_SET_CURRENT_TREE CALL FUNCTION 'RS_TREE_SET_CURRENT_TREE' TABLES * NODELIST = NODEINFO = PE_T_NODES EXCEPTIONS OTHERS = 1.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING P_STATUS = 'SEL_00' TABLES P_EXCLUDE = EXCEPTION EXCEPTIONS OTHERS = 1.

RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING ALL = 'X' NODE_ID = 1 EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

CLSE_SELECT_CABN_VIA_NAMERANGE CALL FUNCTION 'CLSE_SELECT_CABN_VIA_NAMERANGE' EXPORTING KEY_DATE = SY-DATUM IMPORTING AMBIGUOUS_OBJ_CHARACTERISTIC = AMBG_OBJ_C TABLES IN_CABN = ATNAM T_CABN = Y_CABN EXCEPTIONS NO_ENTRY_FOUND = 1 OTHERS = 2.

CTMS_ENTER_VALUES CALL FUNCTION 'CTMS_ENTER_VALUES' EXPORTING NO_CHANGES = ' ' "keine Werteingabe mögl.

CLSE_SELECT_TCME CALL FUNCTION 'CLSE_SELECT_TCME' TABLES IN_TCME = I_ATINN T_TCME = Y_TCME EXCEPTIONS NO_ENTRY_FOUND = 1 OTHERS = 2.

RS_TREE_PUSH CALL FUNCTION 'RS_TREE_PUSH' EXCEPTIONS OTHERS = 1.

RS_TREE_POP CALL FUNCTION 'RS_TREE_POP' EXCEPTIONS EMPTY_STACK = 1 OTHERS = 2.

RS_TREE_EXPAND CALL FUNCTION 'RS_TREE_EXPAND' EXPORTING NODE_ID = 1 ALL = 'X' * LIST_SCROLL = * DEPTH = 1 EXCEPTIONS NOT_FOUND = 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 RWWKLASS or its description.