RHPURGE4 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The XPRA "RHUMSE40" converts requirements...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 RHPURGE4 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: MANDT = Client
Selection Text: PLVAR = Plan version
Selection Text: TEST = Test mode
Title: Delete Inconsistent Requirements Objects
Text Symbol: PR4 = Client &: No inconsistent requirements object found
Text Symbol: T00 = List of inconsistent requirements objects in client &
Text Symbol: T01 = Plan vers.
Text Symbol: T02 = Req. ID
Text Symbol: T03 = Client &: Error when deleting inconsistent requirements objects
Text Symbol: T04 = Client &: Inconsistent requirements objects were deleted
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RH_CLIENT_SET CALL FUNCTION 'RH_CLIENT_SET' EXPORTING CLIENT = I000-MANDT EXCEPTIONS OTHERS = 0.
RH_DELETE_OBJECT CALL FUNCTION 'RH_DELETE_OBJECT' EXPORTING * PLVAR = * OTYPE = * OBJID = VTASK = 'D' * ORDER_FLG = 'X' * COMMIT_FLG = 'X' * AUTHY = 'X' * CONFIRM = ' ' * DELETE_1205_WFDID = 'X' * DELETE_USER_PROFILES = 'X' * DELETE_DEPENDENTS = 'X' KEEP_LUPD = 'X' "letzten Aenderer retten WORKF_ACTV = ' ' "keine Ereigniserzeugung * NO_EXCEPT_FOREIGN_DATA = ' ' * IMPORTING * CONFIRM_EXIT = TABLES DEL_OBJECTS = OBJECTS_SR * ILFCODE = EXCEPTIONS ERROR_DURING_DELETE = 1 NO_AUTHORIZATION = 2 CORR_EXIT = 3 BUFFER_UPD_WITH_FOREIGN_DATA = 4 OTHERS = 5.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.