OIU_CALC_PROD_TRACT_GRI 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 OIU_CALC_PROD_TRACT_GRI into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
OIU_GRI_CALCULATIONS
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'OIU_CALC_PROD_TRACT_GRI' "Calculate Producer Tract GRI
EXPORTING
i_bukrs = " oiu_do_trgri-bukrs Company code
i_unit_vname = " oiu_do_trgri-unit_vname Unit Venture
i_tr_no = " oiu_do_trgri-tr_no Tract Number
i_vname = " oiu_do_trgri-vname Joint venture
i_doi_no = " oiu_do_trgri-doi_no Division of interest (DOI)
i_majpd_cd = " oiu_do_trgri-majpd_cd Major Product Code
i_sales_dt = " oiu_do_trgri-sales_dt Process Date
i_own_no = " oiu_do_trgri-own_no E&P Owner
i_own_int_type_cd = " oiu_do_do-own_int_type_cd Participant Interest Type
i_int_seq_no = " oiu_do_trgri-int_seq_no Owner Interest sequence number
i_mk_rep_no = " oiu_sb_mgdd-mk_rep_no Marketing Representative No
i_mk_rep_isq_no = " oiu_sb_mgdd-mk_rep_isq_no Marketing Representative Interest Sequence No
i_tr_gri_pc = " oiu_do_trgri-gri_pc Gross Revenue Interest Decimal
i_tr_part_factor = " oiu_do_tr-tr_part_fact_pc Tract Participation Factor Decimal
i_matnr = " oiurv_doc_dtl_bk-matnr Material Number
IMPORTING
i_gri_pc = " oiu_do_trgri-gri_pc Gross Revenue Interest Decimal
EXCEPTIONS
INVALID_PARAMETER = 1 "
. " OIU_CALC_PROD_TRACT_GRI
The ABAP code below is a full code listing to execute function module OIU_CALC_PROD_TRACT_GRI 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_i_gri_pc | TYPE OIU_DO_TRGRI-GRI_PC . |
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_i_gri_pc | TYPE OIU_DO_TRGRI-GRI_PC , |
| ld_i_bukrs | TYPE OIU_DO_TRGRI-BUKRS , |
| ld_i_unit_vname | TYPE OIU_DO_TRGRI-UNIT_VNAME , |
| ld_i_tr_no | TYPE OIU_DO_TRGRI-TR_NO , |
| ld_i_vname | TYPE OIU_DO_TRGRI-VNAME , |
| ld_i_doi_no | TYPE OIU_DO_TRGRI-DOI_NO , |
| ld_i_majpd_cd | TYPE OIU_DO_TRGRI-MAJPD_CD , |
| ld_i_sales_dt | TYPE OIU_DO_TRGRI-SALES_DT , |
| ld_i_own_no | TYPE OIU_DO_TRGRI-OWN_NO , |
| ld_i_own_int_type_cd | TYPE OIU_DO_DO-OWN_INT_TYPE_CD , |
| ld_i_int_seq_no | TYPE OIU_DO_TRGRI-INT_SEQ_NO , |
| ld_i_mk_rep_no | TYPE OIU_SB_MGDD-MK_REP_NO , |
| ld_i_mk_rep_isq_no | TYPE OIU_SB_MGDD-MK_REP_ISQ_NO , |
| ld_i_tr_gri_pc | TYPE OIU_DO_TRGRI-GRI_PC , |
| ld_i_tr_part_factor | TYPE OIU_DO_TR-TR_PART_FACT_PC , |
| ld_i_matnr | TYPE OIURV_DOC_DTL_BK-MATNR . |
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 OIU_CALC_PROD_TRACT_GRI or its description.
OIU_CALC_PROD_TRACT_GRI - Calculate Producer Tract GRI OIU_CALC_PRODUCER_GRI - Calculate Gross Revenue Interest (GRI) OIU_CALC_AVAIL - Calculates owner availability at an availability point OIU_BRGP_WRITE_DOCUMENT - CHDO OIU_BRGP => Gen. by RSSCD000 OIU_BEARER_GROUP_WK_UPDATE_DB - Updates OIU_DO_BGUC & OIU_DO_BR tables OIU_BEARER_GROUP_UPDATE_DB - Update Actual bearer group tables in database