RHWSDEL0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RHWSDEL0 enables you to delete inactive workflow template versions...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RHWSDEL0 into the relevant SAP transactions such as SE38 or SE80
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: OBJ_TAB = Workflow templates
Selection Text: UNAME = User name
Title: List of All Workflow Template Versions
Text Symbol: 002 = Selection is invalid
Text Symbol: 003 = No workflow templates exist for user
Text Symbol: 004 = List only includes non-deletable WT versions
Text Symbol: 005 = List of all WT versions selected
Text Symbol: 006 = OType
Text Symbol: 007 = Object ID
Text Symbol: 008 = WF def.no.
Text Symbol: 009 = Version
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID I_CALLBACK_PF_STATUS_SET = 'HRS1205_SET_PF_STATUS' I_CALLBACK_USER_COMMAND = 'HRS1205_USER_COMMAND' I_STRUCTURE_NAME = 'HRS1205' IS_LAYOUT = HRS1205_LAYOUT IT_FIELDCAT = GT_FIELDCAT IT_EXCLUDING = I_EXTAB[] IT_EVENTS = GT_EVENTS[] TABLES T_OUTTAB = I_HRS1205.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = LT_EVENTS EXCEPTIONS LIST_TYPE_WRONG = 1 OTHERS = 2.
RH_READ_HRS1205 CALL FUNCTION 'RH_READ_HRS1205' EXPORTING ACT_OTYPE = $OTYPE_WS ACT_OBJID = P_OBJ_ID TABLES ACT_HRS1205 = P_HRS1205 EXCEPTIONS NO_DATA_FOUND = 1 OTHERS = 2.
RH_READ_HRS1205 CALL FUNCTION 'RH_READ_HRS1205' EXPORTING ACT_OTYPE = $OTYPE_WS ACT_OBJID = OBJ_TAB-LOW TABLES ACT_HRS1205 = P_HRS1205 EXCEPTIONS NO_DATA_FOUND = 1 OTHERS = 2.
RH_READ_HRS1205 CALL FUNCTION 'RH_READ_HRS1205' EXPORTING ACT_OTYPE = $OTYPE_WS ACT_OBJID = P_OBJ_ID TABLES ACT_HRS1205 = P_HRS1205 EXCEPTIONS NO_DATA_FOUND = 1 OTHERS = 2.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
RH_DETERMINE_ORG_OBJID CALL FUNCTION 'RH_DETERMINE_ORG_OBJID' EXPORTING ORG_OBJECT_TYPE = $OTYPE_WS SET_MODE = 'X' ACT_PLVAR = P_$PLVAR SELECTED_OBJ_APPEND = 'X' TABLES SELECTED_OBJECTS = SEL_OBJECTS EXCEPTIONS NO_ACTIVE_PLVAR = 1 NO_OBJECT_ID_SELECTED = 2 OTHERS = 3.
RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING PLVAR = P_$PLVAR OTYPE = $OTYPE_US * objid = REALO = P_REALO * ISTAT = ' ' * BEGDA = SY-DATUM * ENDDA = SY-DATUM EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING PLVAR = P_$PLVAR OTYPE = $OTYPE_WS OBJID = OBJ_TAB-LOW * realo = ' ' * ISTAT = ' ' * BEGDA = SY-DATUM * ENDDA = SY-DATUM EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
RH_DETERMINE_ORG_OBJID CALL FUNCTION 'RH_DETERMINE_ORG_OBJID' EXPORTING ORG_OBJECT_TYPE = $USER * SET_MODE = * ORG_OTYPE_TEXT = ACT_PLVAR = P_$PLVAR * ACT_SEARCH_STRING = '*' * SELECTED_OBJ_APPEND = IMPORTING ORG_OBJECT_OBJID = OBJ_ID * tables * selected_objects = EXCEPTIONS NO_ACTIVE_PLVAR = 1 NO_OBJECT_ID_SELECTED = 2 OTHERS = 3.
RH_DELETE_WS_VERSION CALL FUNCTION 'RH_DELETE_WS_VERSION' TABLES WFDV_P1205 = INHRS1205 INST1205 = P_GL_INSTANCE EXCEPTIONS NO_VERSIONS_IMPORTED = 1 DELETE_ERROR = 2 CANCELLED = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RHWSDEL0 - List of All Workflow Template Versions RHWSDEL0 - List of All Workflow Template Versions RHWSCATALOG_LSO - Report RHWSCATALOG_LSO RHWSCATALOG_LSO - Report RHWSCATALOG_LSO RHWPC_HDCNT2SKF - Transferring Headcount to Statistical Key Figures RHWPC_HDCNT2SKF - Transferring Headcount to Statistical Key Figures