SAP Reports / Programs

RHTSCAT0 SAP ABAP Report - Task Catalog







RHTSCAT0 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 RHTSCAT0 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 RHTSCAT0. "Basic submit
SUBMIT RHTSCAT0 AND RETURN. "Return to original report after report execution complete
SUBMIT RHTSCAT0 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: WS = Standard workflow tasks
Selection Text: WF = Workflow tasks
Selection Text: TS = Standard tasks
Selection Text: TASKS_AC = Tasks with roles
Selection Text: TASKS = Tasks
Selection Text: T = Tasks
Selection Text: PCHZTR_Z = ?...(PCHZTR_Z)
Selection Text: PCHZTR_Y = ?...(PCHZTR_Y)
Selection Text: PCHZTR_P = ?...(PCHZTR_P)
Selection Text: PCHZTR_M = ?...(PCHZTR_M)
Selection Text: PCHZTR_F = ?...(PCHZTR_F)
Selection Text: PCHZTR_D = ?...(PCHZTR_D)
Selection Text: PCHZTR_A = ?...(PCHZTR_A)
Selection Text: PCHTIMED = ?...(PCHTIMED)
Selection Text: PCHPLVAR = Plan version
Selection Text: PCHOEND = ?...(PCHOEND)
Selection Text: PCHOBEG = ?...(PCHOBEG)
Selection Text: PCHENDDA = ?...(PCHENDDA)
Selection Text: PCHBEGDA = ?...(PCHBEGDA)
Selection Text: IXUPDATE = Update index
Selection Text: EDITABLE = With edit functions
Selection Text: AC_TASKS = Standard roles with tasks
Selection Text: AC_ONLY = Standard roles only
Selection Text: AC_ALL = All possible roles
Selection Text: ACTORS = With roles
Title: Task Catalog
Text Symbol: WHI = Tasks
Text Symbol: SCA = Catalog scope
Text Symbol: ACT = Roles
Text Symbol: TSK = Task
Text Symbol: TSS = Standard task
Text Symbol: TWF = Workflow-relevant


INCLUDES used within this REPORT RHTSCAT0

INCLUDE RHODAT00.
INCLUDE RHRDAT00.
INCLUDE MPH5ATOP.
INCLUDE RHXMACRO.
INCLUDE RHOINI00.
INCLUDE RHRINI00.





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:

RH_USER_VIEW_PARAMETER CALL FUNCTION 'RH_USER_VIEW_PARAMETER' IMPORTING object_key_ftext = okey_text.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' EXPORTING ASK_PLVAR_DIALOG = 'X' IMPORTING ACT_PLVAR = PCHPLVAR EXCEPTIONS NO_ACTIVE_PLVAR = 01.

RH_CATALOGUE_DISPLAY CALL FUNCTION 'RH_CATALOGUE_DISPLAY' EXPORTING CAT_TYPE = CATTYPE CAT_PLVAR = PCHPLVAR INDEX_UPDATE = IXUPDATE SEL_BEGDA = PCHOBEG SEL_ENDDA = PCHOEND CB_PROGRAM = 'RHTSCAT0' CB_USER_COMMAND = 'PROCESS_USER_COMMAND' TABLES SELECTED_OBJECTS = SELOB OWN_77OD = I77OD OWN_77AW = I77AW EXCEPTIONS OTHERS = 1.

RH_USER_VIEW_PARAMETER CALL FUNCTION 'RH_USER_VIEW_PARAMETER' IMPORTING object_key_ftext = okey_text.

RH_T_CREATE CALL FUNCTION 'RH_T_CREATE' EXPORTING PLVAR = PCHPLVAR PARENT = OBJECT RELATION = $CTREL " BEGDA = SY-DATUM " ENDDA = '99991231' TABLES NEW_OBJECTS = CREATED EXCEPTIONS NO_OBJECTS_CREATED = 01 CANCELED = 03 RELATION_FAILED = 02.

RH_T_PD_CREATE CALL FUNCTION 'RH_T_PD_CREATE' EXPORTING PLVAR = PCHPLVAR PARENT = OBJECT RELATION = $CTREL " BEGDA = SY-DATUM " ENDDA = '99991231' TABLES NEW_OBJECTS = CREATED EXCEPTIONS NO_OBJECTS_CREATED = 01 CANCELED = 03 RELATION_FAILED = 02.

RH_TS_CREATE CALL FUNCTION 'RH_TS_CREATE' EXPORTING PLVAR = PCHPLVAR PARENT = OBJECT RELATION = $CTREL " BEGDA = SY-DATUM " ENDDA = '99991231' TABLES NEW_OBJECTS = CREATED EXCEPTIONS NO_OBJECTS_CREATED = 01 CANCELED = 03 RELATION_FAILED = 02.

RS_TREE_ADD_NODE CALL FUNCTION 'RS_TREE_ADD_NODE' EXPORTING NEW_NAME = NODE-NAME INSERT_ID = PAR_ID RELATIONSHIP = 'CHILD' NEW_TYPE = NODE-TYPE DISPLAY_ATTRIBUTES = ATTRIBUTES EXCEPTIONS ID_NOT_FOUND = 1.



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