SAP OIUCA_GET_PERCENT_RETURN Function Module for Get Percent Return to Producer









OIUCA_GET_PERCENT_RETURN is a standard oiuca get percent return 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 Percent Return to Producer 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 oiuca get percent return FM, simply by entering the name OIUCA_GET_PERCENT_RETURN into the relevant SAP transaction such as SE37 or SE38.

Function Group: OIUCA_GET_PERCENT_RETURN
Program Name: SAPLOIUCA_GET_PERCENT_RETURN
Main Program: SAPLOIUCA_GET_PERCENT_RETURN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function OIUCA_GET_PERCENT_RETURN 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 'OIUCA_GET_PERCENT_RETURN'"Get Percent Return to Producer
EXPORTING
I_PROD_DT = "E&P: Measurement Point Volumetric Data
I_MATNR = "Material number
I_DN_NO = "Delivery network number
* I_WL_NO = "Well ID Number
* I_WC_NO = "Well Completion Number
* I_MP_NO = "Measurement point number
I_BUKRS = "Company code
I_VNAME = "Joint Venture
I_DOI_NO = "Division of Interest
I_CT_NO = "Contract Number

IMPORTING
E_RET_LSE_PC = "Return the leased percent
.



IMPORTING Parameters details for OIUCA_GET_PERCENT_RETURN

I_PROD_DT - E&P: Measurement Point Volumetric Data

Data type: OIU_SA_DT
Optional: No
Call by Reference: Yes

I_MATNR - Material number

Data type: MATNR
Optional: No
Call by Reference: Yes

I_DN_NO - Delivery network number

Data type: OIU_DN_NO
Optional: No
Call by Reference: Yes

I_WL_NO - Well ID Number

Data type: OIU_WL_NO
Optional: Yes
Call by Reference: Yes

I_WC_NO - Well Completion Number

Data type: OIU_WC_NO
Optional: Yes
Call by Reference: Yes

I_MP_NO - Measurement point number

Data type: OIU_MP_NO
Optional: Yes
Call by Reference: Yes

I_BUKRS - Company code

Data type: BUKRS
Optional: No
Call by Reference: Yes

I_VNAME - Joint Venture

Data type: JV_NAME
Optional: No
Call by Reference: Yes

I_DOI_NO - Division of Interest

Data type: OIU_DOI_NO
Optional: No
Call by Reference: Yes

I_CT_NO - Contract Number

Data type: OIU_CT_NO
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for OIUCA_GET_PERCENT_RETURN

E_RET_LSE_PC - Return the leased percent

Data type: OIUCA_RET_LSE_PC
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for OIUCA_GET_PERCENT_RETURN 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_prod_dt  TYPE OIU_SA_DT, "   
lv_e_ret_lse_pc  TYPE OIUCA_RET_LSE_PC, "   
lv_i_matnr  TYPE MATNR, "   
lv_i_dn_no  TYPE OIU_DN_NO, "   
lv_i_wl_no  TYPE OIU_WL_NO, "   
lv_i_wc_no  TYPE OIU_WC_NO, "   
lv_i_mp_no  TYPE OIU_MP_NO, "   
lv_i_bukrs  TYPE BUKRS, "   
lv_i_vname  TYPE JV_NAME, "   
lv_i_doi_no  TYPE OIU_DOI_NO, "   
lv_i_ct_no  TYPE OIU_CT_NO. "   

  CALL FUNCTION 'OIUCA_GET_PERCENT_RETURN'  "Get Percent Return to Producer
    EXPORTING
         I_PROD_DT = lv_i_prod_dt
         I_MATNR = lv_i_matnr
         I_DN_NO = lv_i_dn_no
         I_WL_NO = lv_i_wl_no
         I_WC_NO = lv_i_wc_no
         I_MP_NO = lv_i_mp_no
         I_BUKRS = lv_i_bukrs
         I_VNAME = lv_i_vname
         I_DOI_NO = lv_i_doi_no
         I_CT_NO = lv_i_ct_no
    IMPORTING
         E_RET_LSE_PC = lv_e_ret_lse_pc
. " OIUCA_GET_PERCENT_RETURN




ABAP code using 7.40 inline data declarations to call FM OIUCA_GET_PERCENT_RETURN

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.

 
 
 
 
 
 
 
 
 
 
 


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!