SAP Reports / Programs

REWPACT0 SAP ABAP Report - Internal: test IS-U agent determination







REWPACT0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report for Testing IS-U Agent Determination This report is for SAP internal use...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 REWPACT0 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 REWPACT0. "Basic submit
SUBMIT REWPACT0 AND RETURN. "Return to original report after report execution complete
SUBMIT REWPACT0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Internal: test IS-U agent determination
Text Symbol: 001 = Role container


INCLUDES used within this REPORT REWPACT0

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:

RH_TASK_AGENTS_INDEX CALL FUNCTION 'RH_TASK_AGENTS_INDEX' EXPORTING TASK_OTYPE = I_ACTOR_TASK-OTYPE TASK_OBJID = I_ACTOR_TASK-OBJID * ACT_WI_ID = * ACT_PLVAR = * ACT_BEGDA = SY-DATUM * ACT_ENDDA = SY-DATUM * UPDATE_INDEX = ' ' * IMPORTING * ACT_BACKGROUND = * ACT_GENERAL = * ACT_NO_GENSEND = * ACT_PLVAR = * TABLES * RELATED_AGENTS = * EXCLUDED_AGENTS = EXCEPTIONS NO_ACTIVE_PLVAR = 1 NO_AGENTS_OF_TASK_FOUND = 2 NO_TASK_OTYPE = 3 OTHERS = 4.

EWP_ACTORS_GET CALL FUNCTION 'EWP_ACTORS_GET' EXPORTING X_TASK = ACT_TASK * X_USERS_ONLY = * X_LANGU = SY-LANGU * X_SEARCH_DATE = SY-DATUM TABLES XT_CONT = ROLE_CONT_LST YT_ACTORS = ACTOR_TAB * YT_OBJECT_DATA = * YT_ADDRESS = * YT_ERROR_TAB = EXCEPTIONS NO_ACTIVE_PLVAR = 1 INVALID_PARAMETERS = 2 NO_ACTOR_FOUND = 3 EXCEPTION_OF_ROLE_RAISED = 4 NO_VALID_AGENT_DETERMINED = 5 INTERNAL_ERROR = 6 OTHERS = 7.

RH_GET_ACTORS * CALL FUNCTION 'RH_GET_ACTORS' * EXPORTING * ACT_OBJECT = ACT_OBJECT * ACT_TASK = ACT_TASK ** ACT_WI_ID = ** ACT_PLVAR = ** SEARCH_DATE = SY-DATUM * TABLES * ACTOR_CONTAINER = ROLE_CONT_LST ** EXCLUDED_AGENTS = * ACTOR_TAB = ACTOR_TAB "Result ** ERROR_TAB = * EXCEPTIONS * NO_ACTIVE_PLVAR = 1 * NO_ACTOR_FOUND = 2 * EXCEPTION_OF_ROLE_RAISED = 3 * NO_VALID_AGENT_DETERMINED = 4 * OTHERS = 5.

RH_CHECK_ORG_OBJECT_EXISTS CALL FUNCTION 'RH_CHECK_ORG_OBJECT_EXISTS' EXPORTING ACT_OBJECT_EXT = ACTOR_TAB * ACT_PLVAR = * ACT_LANGU = SY-LANGU * ACT_ISTAT = '1' * ACT_BEGDA = SY-DATUM * ACT_ENDDA = SY-DATUM * AUTHORITY_CHECK = 'X' * READ_DB = IMPORTING * ACT_OTYPE_TEXT = ACT_SHORT = I_ACTOR_TAB-SHORT ACT_STEXT = I_ACTOR_TAB-STEXT * ACT_OBEG = * ACT_OEND = * ACT_OSTAT = * ACT_OBJECT_EXT = * ACT_PLVAR = EXCEPTIONS NO_ACTIVE_PLVAR = 1 NO_ORG_OBJECT = 2 ORG_OBJECT_NOT_FOUND = 3 OTHERS = 4.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' EXPORTING ASK_PLVAR_DIALOG = $CROSS IMPORTING ACT_PLVAR = ACT_PLVAR EXCEPTIONS NO_ACTIVE_PLVAR = 01.

RH_GET_ACTOR_ATTRIBUTES CALL FUNCTION 'RH_GET_ACTOR_ATTRIBUTES' EXPORTING ACT_LANGU = SY-LANGU ACT_OBJECT_EXT = ACT_OBJECT * READ_CONTAINER = 'X' * AUTHORITY_CHECK = 'X' * IMPORTING * ACT_SHORT = * ACT_STEXT = * EXECUTE_FUNCTION = * EXECUTE_WEGID = * EXECUTE_ENFORCE = * SAP_ORG_OBJ_BASED = * SAP_ORG_OBJTYPE = TABLES ACT_CONT_DEF = CONTDEF_LST EXCEPTIONS OBJECT_NOT_FOUND = 1 OTHERS = 2.

EWW_TASK_CONTAINER_READ * CALL FUNCTION 'EWW_TASK_CONTAINER_READ' * EXPORTING * X_PLVAR = ACT_PLVAR * X_RHOTYPE = I_ACTOR_TASK-OTYPE * X_RHOBJID = I_ACTOR_TASK-OBJID * X_DATE = '19980101' ** X_LANGU = SY-LANGU * X_APPDEND_DEFAULTS = 'X' * TABLES * YT_CONTDEF = CONTDEF_LST ** YT_CONTTEXT = * EXCEPTIONS * OTHERS = 1.

RH_GET_TASK_ATTRIBUTES CALL FUNCTION 'RH_GET_TASK_ATTRIBUTES' EXPORTING ACT_OBJECT_EXT = ACT_TASK READ_METHOD = ' ' READ_CONTAINER = 'X' READ_CLASS_LOCKFLAGS = ' ' * ACT_BEGDA = SY-DATUM * ACT_ENDDA = SY-DATUM * ACT_ISTAT = '1' * ACT_LANGU = SY-LANGU ACT_PLVAR = ACT_PLVAR * AUTHORITY_CHECK = 'X' * BUFFERED_ACCESS = 'X' * importing * ACT_SHORT = * ACT_STEXT = * ACT_TASK_BEGDA = * ACT_TASK_ENDDA = * ACT_SWO_OBJECT_TYPE = * ACT_SWO_METHOD = * ACT_METHOD_SYNCHRON = * ACT_TYPE_BACKGROUND_TASK = * ACT_TYPE_CONFIRM_TASK_END = * ACT_WITEXT = * ACT_TASK_CLASS = * ACT_TASK_LOCKED_INSTANCE = * ACT_TASK_LOCKED_EXECUTION = * ACT_TASK_GENERAL = * ACT_WI_TYPE = * ACT_TASK_ATTR = TABLES ACT_CONT_DEF = CONTDEF_LST EXCEPTIONS NO_ACTIVE_PLVAR = 1 NO_ORG_OBJECT = 2 ORG_OBJECT_NOT_FOUND = 3 NO_TASK_TYPE = 4 TASK_GROUP = 5 OTHERS = 6.

SWA_CONT_INST_EDIT CALL FUNCTION 'SWA_CONT_INST_EDIT' EXPORTING CONDESCR = DESCRIPTION DISPLAY = DISPLAY_FLG ONLY_OBLIG_ELEMENTS = ' ' IMPORTING CHANGED = CHANGED TABLES CONT = CONTAINER CONTDEF = CONTDEF_LST EXCEPTIONS OTHERS = 1.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' EXPORTING ASK_PLVAR_DIALOG = $CROSS IMPORTING ACT_PLVAR = ACT_PLVAR EXCEPTIONS NO_ACTIVE_PLVAR = 01.

RH_FA_TASK_HELP CALL FUNCTION 'RH_FA_TASK_HELP' EXPORTING ACT_PLVAR = ACT_PLVAR SEARCH_TASK_TYPE = ACT_OTYPE IMPORTING SELECTED_OBJID = ACT_REALO.

RH_ACTOR_HELP CALL FUNCTION 'RH_ACTOR_HELP' EXPORTING ACT_PLVAR = ACT_PLVAR IMPORTING SELECTED_OBJID = ACT_REALO.

RH_TASK_AGENTS_INDEX CALL FUNCTION 'RH_TASK_AGENTS_INDEX' EXPORTING TASK_OTYPE = $STASK TASK_OBJID = TASK_OBJID * ACT_WI_ID = * ACT_PLVAR = * ACT_BEGDA = SY-DATUM * ACT_ENDDA = SY-DATUM * UPDATE_INDEX = ' ' * IMPORTING * ACT_BACKGROUND = * ACT_GENERAL = * ACT_NO_GENSEND = * ACT_PLVAR = * TABLES * RELATED_AGENTS = * EXCLUDED_AGENTS = EXCEPTIONS NO_ACTIVE_PLVAR = 1 NO_AGENTS_OF_TASK_FOUND = 2 NO_TASK_OTYPE = 3 OTHERS = 4.

EWP_ACTORS_CLEAR_BUFFER CALL FUNCTION 'EWP_ACTORS_CLEAR_BUFFER' EXCEPTIONS OTHERS = 1.

RH_READ_HRS_OBJECT_TEXT CALL FUNCTION 'RH_READ_HRS_OBJECT_TEXT' EXPORTING ACT_LANGU = SY-LANGU ACT_OBJID = HRSOBJECT-OBJID ACT_OTYPE = $ACTOR STORE_FLAG = ' ' IMPORTING ACT_SHORT = TEXT_SHORT EXCEPTIONS NO_DATA_FOUND = 01.

RH_READ_HRS_OBJECT_TEXT CALL FUNCTION 'RH_READ_HRS_OBJECT_TEXT' EXPORTING ACT_LANGU = SY-LANGU ACT_OBJID = TASK_OBJID ACT_OTYPE = $STASK STORE_FLAG = ' ' IMPORTING ACT_SHORT = OBJ_SHORT EXCEPTIONS NO_DATA_FOUND = 01.



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