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
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.
Title: Workflow Events Interface
INCLUDE MPH5ATOP.
INCLUDE MPHFCOD0.
INCLUDE RHHRSDAT.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.