ISH_OM_FAC_DATA_GET is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name ISH_OM_FAC_DATA_GET into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
N_OM_OU_BU
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISH_OM_FAC_DATA_GET' "IS-H: Get Facility Data for Building Unit
* EXPORTING
* i_objid = " hrobjid Object ID
* it_objid = " hrobject_t Table Type PLVAR, OTYPE; OBJID
* i_bauid = " bauid IS-H: Identification of Building Unit
* it_bauid = " ish_t_ishid Table Type for ISHIDs
* i_begdt = " sydatum Field of Type DATS
* i_enddt = " sydatum Field of Type DATS
IMPORTING
et_p6092 = " ish_t_p6092
et_tn11a = " ish_t_tn11a ISH-OM: Table Type for TN11A
EXCEPTIONS
NOTHING_FOUND = 1 " No data found for imported building IDs
INTERNAL_ERROR = 2 " Internal error while fetching data for imported building IDs
. " ISH_OM_FAC_DATA_GET
The ABAP code below is a full code listing to execute function module ISH_OM_FAC_DATA_GET including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_et_p6092 | TYPE ISH_T_P6092 , |
| ld_et_tn11a | TYPE ISH_T_TN11A . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_et_p6092 | TYPE ISH_T_P6092 , |
| ld_i_objid | TYPE HROBJID , |
| ld_et_tn11a | TYPE ISH_T_TN11A , |
| ld_it_objid | TYPE HROBJECT_T , |
| ld_i_bauid | TYPE BAUID , |
| ld_it_bauid | TYPE ISH_T_ISHID , |
| ld_i_begdt | TYPE SYDATUM , |
| ld_i_enddt | TYPE SYDATUM . |
This function module is used to read facility data for building unit
information analogous to the IS-H database table TN11A.
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ISH_OM_FAC_DATA_GET or its description.
ISH_OM_FAC_DATA_GET - IS-H: Get Facility Data for Building Unit ISH_OM_DFLAG_SET - IS-H: Set the Deletion Flag of OU / BU ISH_OM_DETAILSCREEN_ICONS - ISH: Maintain Icons on Tab Pages ISH_OM_DETAILSCREEN_CREATE - IS-H: Generate Detail Screen ISH_OM_DETAILSCREEN_CHANGE_OBJ - IS-H: Detail Screen Change ISH_OM_DEPT_ABOVE_NURS_GET - IS-H: Determination of Dept. OU Above Nursing OU