ISH_OM_ADR_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_ADR_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_ADR_GET' "IS-H: Get Organizational Unit Information
* EXPORTING
* i_orgid = " ish_om_id ID of Mapping Between IS-H and OM
* i_bauid = " ish_om_id ID of Mapping Between IS-H and OM
* i_object = " hrobject Object
* i_begdt = " sydatum Field of Type DATS
* i_enddt = " sydatum Field of Type DATS
* i_read_db = " ish_on_off IS-H: Boolean Data Type for ON (= "X") and OFF (= " ")
IMPORTING
et_p1028 = " ish_t_p1028 Table Type for Infotype 1028
et_p1032 = " ish_t_p1032 Table Type for Infotype 1032
et_p6083_exp = " ish_t_p6083_exp Table Type for HRP6083
et_nadr = " ish_t_nadr ISH-OM: Table Type for NADR
et_nadr2 = " ish_t_nadr2 ISH-OM: Table Type for NADR2
EXCEPTIONS
NOTHING_FOUND = 1 " No data found for imported org. IDs
INTERNAL_ERROR = 2 " Internal error while fetching data for imported org. IDs
. " ISH_OM_ADR_GET
The ABAP code below is a full code listing to execute function module ISH_OM_ADR_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_p1028 | TYPE ISH_T_P1028 , |
| ld_et_p1032 | TYPE ISH_T_P1032 , |
| ld_et_p6083_exp | TYPE ISH_T_P6083_EXP , |
| ld_et_nadr | TYPE ISH_T_NADR , |
| ld_et_nadr2 | TYPE ISH_T_NADR2 . |
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_p1028 | TYPE ISH_T_P1028 , |
| ld_i_orgid | TYPE ISH_OM_ID , |
| ld_et_p1032 | TYPE ISH_T_P1032 , |
| ld_i_bauid | TYPE ISH_OM_ID , |
| ld_et_p6083_exp | TYPE ISH_T_P6083_EXP , |
| ld_i_object | TYPE HROBJECT , |
| ld_et_nadr | TYPE ISH_T_NADR , |
| ld_i_begdt | TYPE SYDATUM , |
| ld_et_nadr2 | TYPE ISH_T_NADR2 , |
| ld_i_enddt | TYPE SYDATUM , |
| ld_i_read_db | TYPE ISH_ON_OFF . |
This function module is used to read infotypes analogous to the IS-H
database tables NADR and NADR2.
...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_ADR_GET or its description.