SAP Reports / Programs

RHEVENT0 SAP ABAP dialog Program - Workflow Events Interface







RHEVENT0 is a standard Module pool for a dialog screen ABAP Program 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 RHEVENT0 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 RHEVENT0. "Basic submit
SUBMIT RHEVENT0 AND RETURN. "Return to original report after report execution complete
SUBMIT RHEVENT0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Workflow Events Interface


INCLUDES used within this REPORT RHEVENT0

INCLUDE MPH5ATOP.
INCLUDE MPHFCOD0.
INCLUDE RHHRSDAT.


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_EVENT_INSERT_POPUP CALL FUNCTION 'RH_EVENT_INSERT_POPUP' IMPORTING ins_objtyp = event_key-objtype ins_event = event_key-event EXCEPTIONS no_event_determined = 01.

SWO_DIALOG_OBJTYPE_EDIT CALL FUNCTION 'SWO_DIALOG_OBJTYPE_EDIT' EXPORTING display = 'X' objtype = event_key-objtype EXCEPTIONS objtype_not_found = 01.

RH_CHECK_HRS_OTYPE CALL FUNCTION 'RH_CHECK_HRS_OTYPE' EXPORTING act_otype = act_otype EXCEPTIONS no_hrs_otype = 01.

RH_STRU_AUTHORITY_CHECK CALL FUNCTION 'RH_STRU_AUTHORITY_CHECK' EXPORTING plvar = act_plvar otype = i_hrv1212-otype objid = i_hrv1212-objid EXCEPTIONS no_stru_authority = 01 no_stru_authority_hyper = 02 no_stru_authority_at_all = 03 no_base_authority = 04.

RH_CHECK_HRS_OTYPE CALL FUNCTION 'RH_CHECK_HRS_OTYPE' EXPORTING act_otype = event_iexob-otype EXCEPTIONS no_hrs_otype = 01.

RH_STRU_AUTHORITY_CHECK CALL FUNCTION 'RH_STRU_AUTHORITY_CHECK' EXPORTING plvar = act_plvar otype = i_hrv1212-otype objid = i_hrv1212-objid EXCEPTIONS no_stru_authority = 01 no_stru_authority_hyper = 02 no_stru_authority_at_all = 03 no_base_authority = 04.

RH_STRU_AUTHORITY_CHECK CALL FUNCTION 'RH_STRU_AUTHORITY_CHECK' EXPORTING plvar = act_plvar otype = i_hrs1212-otype objid = i_hrs1212-objid EXCEPTIONS no_stru_authority = 01 no_stru_authority_hyper = 02 no_stru_authority_at_all = 03 no_base_authority = 04.

SWO_QUERY_EVENTS CALL FUNCTION 'SWO_QUERY_EVENTS' EXPORTING objtype = act_objtype text = 'X' IMPORTING return = i_return TABLES info = i_swotre.

RH_EVENT_CHECK CALL FUNCTION 'RH_EVENT_CHECK' EXPORTING act_objtyp = event_key-objtype act_event = event_key-event IMPORTING act_swotre = buf_swotre act_return = i_return EXCEPTIONS not_valid_event_to_object = 01 not_valid_object_to_event = 02 event_at_object_not_defined = 03.



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