SAP ISU_SRVPROD_GET_REF_OBJECT Function Module for
ISU_SRVPROD_GET_REF_OBJECT is a standard isu srvprod get ref object SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 isu srvprod get ref object FM, simply by entering the name ISU_SRVPROD_GET_REF_OBJECT into the relevant SAP transaction such as SE37 or SE38.
Function Group: EEWM_SV_SPR
Program Name: SAPLEEWM_SV_SPR
Main Program: SAPLEEWM_SV_SPR
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_SRVPROD_GET_REF_OBJECT 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 'ISU_SRVPROD_GET_REF_OBJECT'".
EXPORTING
I_IWERK = "
I_SVOBJ_ID = "
I_SVOBJ = "
IMPORTING
E_EQUIMASTER = "
E_EQUITIME = "
E_EQUITEXT = "
E_EQUILOCATION = "
E_EQUISALES = "
E_T399A = "
EXCEPTIONS
NO_REF_OBJECT = 1 SRVPROD_EXISTS_NOT = 2
IMPORTING Parameters details for ISU_SRVPROD_GET_REF_OBJECT
I_IWERK -
Data type: T399A-IWERKOptional: No
Call by Reference: No ( called with pass by value option)
I_SVOBJ_ID -
Data type: T399A-SVOBJ_IDOptional: No
Call by Reference: No ( called with pass by value option)
I_SVOBJ -
Data type: T399A-SVOBJOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISU_SRVPROD_GET_REF_OBJECT
E_EQUIMASTER -
Data type: BAPI_EQUIOptional: No
Call by Reference: No ( called with pass by value option)
E_EQUITIME -
Data type: BAPI_EQUZOptional: No
Call by Reference: No ( called with pass by value option)
E_EQUITEXT -
Data type: BAPI_EQKTOptional: No
Call by Reference: No ( called with pass by value option)
E_EQUILOCATION -
Data type: BAPI_ILOAOptional: No
Call by Reference: No ( called with pass by value option)
E_EQUISALES -
Data type: BAPI_EQSDOptional: No
Call by Reference: No ( called with pass by value option)
E_T399A -
Data type: T399AOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_REF_OBJECT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SRVPROD_EXISTS_NOT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_SRVPROD_GET_REF_OBJECT 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_iwerk | TYPE T399A-IWERK, " | |||
| lv_e_equimaster | TYPE BAPI_EQUI, " | |||
| lv_no_ref_object | TYPE BAPI_EQUI, " | |||
| lv_e_equitime | TYPE BAPI_EQUZ, " | |||
| lv_i_svobj_id | TYPE T399A-SVOBJ_ID, " | |||
| lv_srvprod_exists_not | TYPE T399A, " | |||
| lv_i_svobj | TYPE T399A-SVOBJ, " | |||
| lv_e_equitext | TYPE BAPI_EQKT, " | |||
| lv_e_equilocation | TYPE BAPI_ILOA, " | |||
| lv_e_equisales | TYPE BAPI_EQSD, " | |||
| lv_e_t399a | TYPE T399A. " |
|   CALL FUNCTION 'ISU_SRVPROD_GET_REF_OBJECT' " |
| EXPORTING | ||
| I_IWERK | = lv_i_iwerk | |
| I_SVOBJ_ID | = lv_i_svobj_id | |
| I_SVOBJ | = lv_i_svobj | |
| IMPORTING | ||
| E_EQUIMASTER | = lv_e_equimaster | |
| E_EQUITIME | = lv_e_equitime | |
| E_EQUITEXT | = lv_e_equitext | |
| E_EQUILOCATION | = lv_e_equilocation | |
| E_EQUISALES | = lv_e_equisales | |
| E_T399A | = lv_e_t399a | |
| EXCEPTIONS | ||
| NO_REF_OBJECT = 1 | ||
| SRVPROD_EXISTS_NOT = 2 | ||
| . " ISU_SRVPROD_GET_REF_OBJECT | ||
ABAP code using 7.40 inline data declarations to call FM ISU_SRVPROD_GET_REF_OBJECT
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 IWERK FROM T399A INTO @DATA(ld_i_iwerk). | ||||
| "SELECT single SVOBJ_ID FROM T399A INTO @DATA(ld_i_svobj_id). | ||||
| "SELECT single SVOBJ FROM T399A INTO @DATA(ld_i_svobj). | ||||
Search for further information about these or an SAP related objects