SAP ESH_OM_ODP_SYSREL_EXT_RFC Function Module for Get sysrel extensions









ESH_OM_ODP_SYSREL_EXT_RFC is a standard esh om odp sysrel ext rfc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get sysrel extensions 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 esh om odp sysrel ext rfc FM, simply by entering the name ESH_OM_ODP_SYSREL_EXT_RFC into the relevant SAP transaction such as SE37 or SE38.

Function Group: ESH_OM_ODP
Program Name: SAPLESH_OM_ODP
Main Program: SAPLESH_OM_ODP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function ESH_OM_ODP_SYSREL_EXT_RFC 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 'ESH_OM_ODP_SYSREL_EXT_RFC'"Get sysrel extensions
EXPORTING
I_ODP_ID = "
I_SEMANTICS = "
I_SYSREL = "
* I_AREA = "
* I_SYSTEM_ID = "
* I_SYSTEM_CLIENT = "

IMPORTING
ET_SYSREL_TOP = "

EXCEPTIONS
FAILED = 1
.



IMPORTING Parameters details for ESH_OM_ODP_SYSREL_EXT_RFC

I_ODP_ID -

Data type: ESH_OM_COTYPNA-ODP_ID
Optional: No
Call by Reference: No ( called with pass by value option)

I_SEMANTICS -

Data type: ESH_S_OM_AOTYPNA_EXT-SEMANTICS
Optional: No
Call by Reference: No ( called with pass by value option)

I_SYSREL -

Data type: ESH_E_OM_SYSREL
Optional: No
Call by Reference: No ( called with pass by value option)

I_AREA -

Data type: ESH_E_OM_AREA
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SYSTEM_ID -

Data type: SY-SYSID
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SYSTEM_CLIENT -

Data type: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ESH_OM_ODP_SYSREL_EXT_RFC

ET_SYSREL_TOP -

Data type: ESH_T_OM_SYSREL_EXT
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

FAILED -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ESH_OM_ODP_SYSREL_EXT_RFC 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_failed  TYPE STRING, "   
lv_i_odp_id  TYPE ESH_OM_COTYPNA-ODP_ID, "   
lv_et_sysrel_top  TYPE ESH_T_OM_SYSREL_EXT, "   
lv_i_semantics  TYPE ESH_S_OM_AOTYPNA_EXT-SEMANTICS, "   
lv_i_sysrel  TYPE ESH_E_OM_SYSREL, "   
lv_i_area  TYPE ESH_E_OM_AREA, "   
lv_i_system_id  TYPE SY-SYSID, "   
lv_i_system_client  TYPE SY-MANDT. "   

  CALL FUNCTION 'ESH_OM_ODP_SYSREL_EXT_RFC'  "Get sysrel extensions
    EXPORTING
         I_ODP_ID = lv_i_odp_id
         I_SEMANTICS = lv_i_semantics
         I_SYSREL = lv_i_sysrel
         I_AREA = lv_i_area
         I_SYSTEM_ID = lv_i_system_id
         I_SYSTEM_CLIENT = lv_i_system_client
    IMPORTING
         ET_SYSREL_TOP = lv_et_sysrel_top
    EXCEPTIONS
        FAILED = 1
. " ESH_OM_ODP_SYSREL_EXT_RFC




ABAP code using 7.40 inline data declarations to call FM ESH_OM_ODP_SYSREL_EXT_RFC

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.

 
"SELECT single ODP_ID FROM ESH_OM_COTYPNA INTO @DATA(ld_i_odp_id).
 
 
"SELECT single SEMANTICS FROM ESH_S_OM_AOTYPNA_EXT INTO @DATA(ld_i_semantics).
 
 
 
"SELECT single SYSID FROM SY INTO @DATA(ld_i_system_id).
 
"SELECT single MANDT FROM SY INTO @DATA(ld_i_system_client).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!