SAP Reports / Programs | Logistics - General | Logistics Basic Data | Material Groups(LO-MD-MG) SAP LO

RECLAFOR SAP ABAP INCLUDE - Subroutines for Tree Alterations for Program RWRECLAx x = 1-4







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


Text pool values


Title: Subroutines for Tree Alterations for Program RWRECLAx x = 1-4


INCLUDES used within this REPORT RECLAFOR

INCLUDE RECLADAT.


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:

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

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

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

RS_TREE_PUSH CALL FUNCTION 'RS_TREE_PUSH' EXCEPTIONS OTHERS = 1.

WWG2_WORK_WITH_TABLE_WTREE CALL FUNCTION 'WWG2_WORK_WITH_TABLE_WTREE' EXPORTING WORK_ID = 'A' VERSION = H_VERSION KLART = H_KLART COMMIT = '1' TABLES * I_T_WTREE = ' ' O_T_WTREE = OLD_WTREE EXCEPTIONS NO_WTREE = 1 WRONG_INPUT = 2 NO_VERSION_FOUND = 3 OTHERS = 4.

WWG2_GET_ALL_DATA_FOR_RECLAS CALL FUNCTION 'WWG2_GET_ALL_DATA_FOR_RECLAS' EXPORTING I_KLART = H_KLART I_TREE_DESCR = H_NAME I_TREE = H_VERSION I_NO_MAT = H_NO_MAT TABLES O_NODES = PE_T_NODES I_GROUPM = GROUPM I_GROUPW = GROUPW EXCEPTIONS INVALID_CLASSTYPE = 1 MULTIPLE_CLASSIFY_ALLOWED = 2 NO_HIERARCHIE_CLASS = 3 NO_CLASSES = 4 INVALID_SELECTION = 5 NO_MATERIALS = 6 OTHERS = 7.

RS_TREE_GET_CURRENT_TREE CALL FUNCTION 'RS_TREE_GET_CURRENT_TREE' TABLES NODEINFO = NEW_NODES EXCEPTIONS OTHERS = 1.

WWG2_WRITE_RECLAS_CHANGE_PROT CALL FUNCTION 'WWG2_WRITE_RECLAS_CHANGE_PROT' TABLES NEW_TREE = CHANGE_NODES EXCEPTIONS OTHERS = 1.

RS_TREE_RESET_LOCK CALL FUNCTION 'RS_TREE_RESET_LOCK' EXPORTING NODE_ID = NODE_ID * WITH_SUBTREE = 'X' EXCEPTIONS NODE_NOT_FOUND = 1 OTHERS = 2.

WWG2_WORK_WITH_TABLE_WTREE CALL FUNCTION 'WWG2_WORK_WITH_TABLE_WTREE' EXPORTING WORK_ID = WORK VERSION = H_VERSION KLART = H_KLART COMMIT = '1' TABLES I_T_WTREE = NEW_WTREE * O_T_WTREE = EXCEPTIONS NO_WTREE = 1 WRONG_INPUT = 2 NO_VERSION_FOUND = 3 OTHERS = 4.

WWG2_RECLAS_BOOKED_DB CALL FUNCTION 'WWG2_RECLAS_BOOKED_DB' EXPORTING I_CHANGE_DATE = H_DATUM I_BATCH = ' ' I_TEST = X I_LISTO = ' ' I_LISTN = ' ' I_BEST = ' ' I_PROT = X TABLES CHANGE_TREE = CHANGE_NODES O_PROT_TREE = T_PROT_TREE * I_WTREE = ' ' EXCEPTIONS OTHERS = 1.

DEQUEUE_E_WTREE CALL FUNCTION 'DEQUEUE_E_WTREE' EXPORTING MODE_WTREE = 'E' MANDT = SY-MANDT KLART = H_KLART VERSION = H_VERSION * WTREE_ID = * X_KLART = ' ' * X_VERSION = ' ' * X_WTREE_ID = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' EXCEPTIONS OTHERS = 1.

HELP_START CALL FUNCTION 'HELP_START' EXPORTING HELP_INFOS = T_HELP_INFO IMPORTING SELECTION = T_SELECTION SELECT_VALUE = T_SELECT_VALUE RSMDY_RET = T_RSMDY_RET TABLES DYNPSELECT = T_DYNPSELECT DYNPVALUETAB = T_DYNPVALUETAB EXCEPTIONS OTHERS = 1.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = TEXT-018.

K_MESSAGE_TRANSFORM CALL FUNCTION 'K_MESSAGE_TRANSFORM' EXPORTING PAR_LANGU = SY-LANGU PAR_MSGID = I_MSG_TAB-MSGID PAR_MSGNO = I_MSG_TAB-MSGNO PAR_MSGTY = I_MSG_TAB-MSGTY PAR_MSGV1 = I_MSG_TAB-MSGV1 PAR_MSGV2 = I_MSG_TAB-MSGV2 PAR_MSGV3 = I_MSG_TAB-MSGV3 PAR_MSGV4 = I_MSG_TAB-MSGV4 * PAR_TOTAL = IMPORTING PAR_MSGTX = C_T100-TEXT EXCEPTIONS NO_MESSAGE_FOUND = 1 PAR_MSGID_MISSING = 2 PAR_MSGNO_MISSING = 3 PAR_MSGTY_MISSING = 4 OTHERS = 5.



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