SAP Reports / Programs | Basis Components | Business Management | Organizational Management(BC-BMT-OM) SAP BC

RHIFBOR0 SAP ABAP INCLUDE - Include for Access to BOR Objects as External PD Objects







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


Text pool values


Title: Include for Access to BOR Objects as External PD Objects


INCLUDES used within this REPORT RHIFBOR0

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_WF_OBJECT_INPUT CALL FUNCTION 'RH_WF_OBJECT_INPUT' EXPORTING plvar = eoi_plvar otype = eoi_otype ext_objektid = act_realo ext_pd_otypes_excluded = $cross IMPORTING ext_objektid = act_realo.

SWO_DIALOG_OBJECT_KEY_EDIT CALL FUNCTION 'SWO_DIALOG_OBJECT_KEY_EDIT' EXPORTING display = ' ' objtype = act_key-objtyp title = act_title objkey = act_key-objkey IMPORTING return = i_return objkey = act_objkey.

RH_WF_OBJECT_INPUT CALL FUNCTION 'RH_WF_OBJECT_INPUT' EXPORTING otype = act_otype ext_objektid = ext_objektid objtype_only = $cross ext_pd_otypes_excluded = $cross IMPORTING ext_objektid = ext_objektid EXCEPTIONS OTHERS = 0.

RH_SAP_ORG_OBJECT_CALL_METHOD CALL FUNCTION 'RH_SAP_ORG_OBJECT_CALL_METHOD' EXPORTING method_name = method_name objtyp = act_so_key-objtyp objkey = act_so_key-objkey IMPORTING new_objkey = new_objkey EXCEPTIONS OTHERS = 1.

RH_BOR_OBJECT_ID_CONVERT CALL FUNCTION 'RH_BOR_OBJECT_ID_CONVERT' EXPORTING bor_objtype = act_so_key-objtyp bor_objkey = new_objkey t77eo_objects_only = 'X' IMPORTING act_objid = so_id EXCEPTIONS unknown_objtype = 1 no_t77eo_otype = 2 OTHERS = 3.

RH_SAP_ORG_OBJEC_NAME_GET CALL FUNCTION 'RH_SAP_ORG_OBJEC_NAME_GET' EXPORTING act_objtype = act_so_key-objtyp act_objkey = act_so_key-objkey show_only_key = ' ' IMPORTING act_short = loc_objec-short act_stext = loc_objec-stext EXCEPTIONS OTHERS = 4.

RH_ORG_OBJECT_ID_CONVERT CALL FUNCTION 'RH_ORG_OBJECT_ID_CONVERT' EXPORTING act_otype = so_otype act_objid = id act_prog = act_prog t77eo_objects_only = 'X' IMPORTING bor_objtype = so_key-objtyp bor_objkey = so_key-objkey act_otype = so_otype EXCEPTIONS org_object_type_not_consistent = 1 prog_unknown = 2 otype_unknown = 3 empty_objtype = 4 OTHERS = 5.

RHOM_GET_BUFFER_INIT_FLAG CALL FUNCTION 'RHOM_GET_BUFFER_INIT_FLAG' IMPORTING init_flag = buffer_mode.

RH_ORG_OBJECT_ID_CONVERT CALL FUNCTION 'RH_ORG_OBJECT_ID_CONVERT' EXPORTING act_prog = act_prog t77eo_objects_only = 'X' IMPORTING bor_objtype = act_objtype act_otype = act_sclas EXCEPTIONS org_object_type_not_consistent = 1 prog_unknown = 2 otype_unknown = 3 OTHERS = 4.

RH_CONDITION_BUILD CALL FUNCTION 'RH_CONDITION_BUILD' EXPORTING infty = '1208' "rela_infty IMPORTING condition = condition TABLES condtab = condtab EXCEPTIONS empty_condtab = 1 no_db_field = 2 unknown_infty_db = 3 wrong_condition = 4 unknown_pad_db = 5 OTHERS = 6.

RH_READ_INFTY_NNNN CALL FUNCTION 'RH_READ_INFTY_NNNN' EXPORTING authority = display begda = min_begda endda = max_endda extend = extend_flag infty = '1208' istat = use_istat condition = condition TABLES innnn = i1208 objects = i_objects EXCEPTIONS OTHERS = 4.

RHOM_READ_INFTY_BUFFERED CALL FUNCTION 'RHOM_READ_INFTY_BUFFERED' EXPORTING plvar = so_iexob-plvar otype = so_iexob-otype objid = so_iexob-objid infty = '1208' istat = use_istat begda = min_begda endda = max_endda TABLES infty_dat = i1208 EXCEPTIONS no_active_plvar = 1 OTHERS = 2.

RH_BOR_OBJECT_ID_CONVERT CALL FUNCTION 'RH_BOR_OBJECT_ID_CONVERT' EXPORTING bor_objtype = i1208-objtyp bor_objkey = i1208-objkey IMPORTING act_otype = so_i1001-sclas act_objid = so_i1001-sobid EXCEPTIONS OTHERS = 1.

RH_ORG_OBJECT_ID_CONVERT CALL FUNCTION 'RH_ORG_OBJECT_ID_CONVERT' EXPORTING act_prog = act_prog t77eo_objects_only = 'X' IMPORTING bor_objtype = act_objtype act_otype = act_otype EXCEPTIONS org_object_type_not_consistent = 1 prog_unknown = 2 otype_unknown = 3 OTHERS = 4.

RH_ORG_OBJECT_ID_CONVERT CALL FUNCTION 'RH_ORG_OBJECT_ID_CONVERT' EXPORTING act_otype = so_iexob-otype act_objid = so_iexob-objid t77eo_objects_only = 'X' IMPORTING bor_objtype = i_objects-objtyp bor_objkey = i_objects-objkey EXCEPTIONS org_object_type_not_consistent = 1 prog_unknown = 2 otype_unknown = 3 OTHERS = 4.

RH_BOR_OBJECT_ID_CONVERT CALL FUNCTION 'RH_BOR_OBJECT_ID_CONVERT' EXPORTING bor_objtype = i1208-objtyp bor_objkey = i1208-objkey IMPORTING act_otype = so_i1001-otype act_objid = so_i1001-objid EXCEPTIONS OTHERS = 1.

RH_DETERMINE_ORG_OBJID CALL FUNCTION 'RH_DETERMINE_ORG_OBJID' EXPORTING org_object_type = object-otype act_plvar = object-plvar IMPORTING org_object_objid = object-realo EXCEPTIONS no_active_plvar = 1 no_object_id_selected = 2 OTHERS = 3.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = space fieldname = space searchhelp = searchhelp stepl = 0 value = fldval multiple_choice = set_mode TABLES return_tab = return_tab EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5.



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