SAP ISH_OM_INFTY_OU_GET Function Module for Infotypes for organizational units are being read
ISH_OM_INFTY_OU_GET is a standard ish om infty ou get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Infotypes for organizational units are being read processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for ish om infty ou get FM, simply by entering the name ISH_OM_INFTY_OU_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: N_OM_RH
Program Name: SAPLN_OM_RH
Main Program: SAPLN_OM_RH
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_OM_INFTY_OU_GET pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'ISH_OM_INFTY_OU_GET'"Infotypes for organizational units are being read.
EXPORTING
* I_OBJID = "Object ID
* IT_OBJECTS = "Table with Objects
* I_DATE = "Read On
* I_READ_INFTY_BUF = ' ' "Use IS-H Infotype Buffer
* I_READ_DB = ' ' "Read Directly from Database
I_REQ_INFTY = "Structure to Select Required Infotypes
* I_F4_MODE = ' ' "
IMPORTING
E_INFTY_OU = "Structure with Infotypes for Organizational Units
EXCEPTIONS
INTERNAL_ERROR = 1
IMPORTING Parameters details for ISH_OM_INFTY_OU_GET
I_OBJID - Object ID
Data type: HROBJIDOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_OBJECTS - Table with Objects
Data type: HROBJECT_TOptional: Yes
Call by Reference: Yes
I_DATE - Read On
Data type: SYDATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
I_READ_INFTY_BUF - Use IS-H Infotype Buffer
Data type: ISH_ON_OFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_READ_DB - Read Directly from Database
Data type: ISH_ON_OFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_REQ_INFTY - Structure to Select Required Infotypes
Data type: RNREQINFTY_OUOptional: No
Call by Reference: No ( called with pass by value option)
I_F4_MODE -
Data type: ISH_ON_OFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISH_OM_INFTY_OU_GET
E_INFTY_OU - Structure with Infotypes for Organizational Units
Data type: RNINFTY_OUOptional: No
Call by Reference: Yes
EXCEPTIONS details
INTERNAL_ERROR - Internal error occurred.
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISH_OM_INFTY_OU_GET Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_i_objid | TYPE HROBJID, " | |||
| lv_e_infty_ou | TYPE RNINFTY_OU, " | |||
| lv_internal_error | TYPE RNINFTY_OU, " | |||
| lv_it_objects | TYPE HROBJECT_T, " | |||
| lv_i_date | TYPE SYDATUM, " | |||
| lv_i_read_infty_buf | TYPE ISH_ON_OFF, " SPACE | |||
| lv_i_read_db | TYPE ISH_ON_OFF, " SPACE | |||
| lv_i_req_infty | TYPE RNREQINFTY_OU, " | |||
| lv_i_f4_mode | TYPE ISH_ON_OFF. " SPACE |
|   CALL FUNCTION 'ISH_OM_INFTY_OU_GET' "Infotypes for organizational units are being read |
| EXPORTING | ||
| I_OBJID | = lv_i_objid | |
| IT_OBJECTS | = lv_it_objects | |
| I_DATE | = lv_i_date | |
| I_READ_INFTY_BUF | = lv_i_read_infty_buf | |
| I_READ_DB | = lv_i_read_db | |
| I_REQ_INFTY | = lv_i_req_infty | |
| I_F4_MODE | = lv_i_f4_mode | |
| IMPORTING | ||
| E_INFTY_OU | = lv_e_infty_ou | |
| EXCEPTIONS | ||
| INTERNAL_ERROR = 1 | ||
| . " ISH_OM_INFTY_OU_GET | ||
ABAP code using 7.40 inline data declarations to call FM ISH_OM_INFTY_OU_GET
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_i_read_infty_buf) | = ' '. | |||
| DATA(ld_i_read_db) | = ' '. | |||
| DATA(ld_i_f4_mode) | = ' '. | |||
Search for further information about these or an SAP related objects