SAP Reports / Programs

RHWSDEL0 SAP ABAP Report - List of All Workflow Template Versions







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


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 RHWSDEL0. "Basic submit
SUBMIT RHWSDEL0 AND RETURN. "Return to original report after report execution complete
SUBMIT RHWSDEL0 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: 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


INCLUDES used within this REPORT RHWSDEL0

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:

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.



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