SAP OIUOW_COMBBNE_GET_MKT_REPS Function Module for OIUOW: select OIU_DO_MGDD









OIUOW_COMBBNE_GET_MKT_REPS is a standard oiuow combbne get mkt reps SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for OIUOW: select OIU_DO_MGDD 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 oiuow combbne get mkt reps FM, simply by entering the name OIUOW_COMBBNE_GET_MKT_REPS into the relevant SAP transaction such as SE37 or SE38.

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



Function OIUOW_COMBBNE_GET_MKT_REPS 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 'OIUOW_COMBBNE_GET_MKT_REPS'"OIUOW: select OIU_DO_MGDD
EXPORTING
F2_MGDH_NO = "Marketing Group Header No
F2_OWN_NO = "E&P Owner
F2_PART_INT_TYPE = "Participant Interest Type
F2_OWN_ISQ_NO = "Owner Interest Sequence Number
F2_MAX_EFF_FROM_DT = "Effective From Date
F2_MIN_EFF_TO_DT = "Effective To Date

TABLES
T_IOIU_SB_MGDD = "Marketing Group Determination Detail
.



IMPORTING Parameters details for OIUOW_COMBBNE_GET_MKT_REPS

F2_MGDH_NO - Marketing Group Header No

Data type: OIU_SB_MGDD-MGDH_NO
Optional: No
Call by Reference: Yes

F2_OWN_NO - E&P Owner

Data type: OIU_SB_MGDD-OWN_NO
Optional: No
Call by Reference: Yes

F2_PART_INT_TYPE - Participant Interest Type

Data type: OIU_SB_MGDD-OWN_INT_TYPE_CD
Optional: No
Call by Reference: Yes

F2_OWN_ISQ_NO - Owner Interest Sequence Number

Data type: OIU_DO_DO-OWN_ISQ_NO
Optional: No
Call by Reference: Yes

F2_MAX_EFF_FROM_DT - Effective From Date

Data type: OIU_SB_MGDD-EFF_FROM_DT
Optional: No
Call by Reference: Yes

F2_MIN_EFF_TO_DT - Effective To Date

Data type: OIU_SB_MGDD-EFF_TO_DT
Optional: No
Call by Reference: Yes

TABLES Parameters details for OIUOW_COMBBNE_GET_MKT_REPS

T_IOIU_SB_MGDD - Marketing Group Determination Detail

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

Copy and paste ABAP code example for OIUOW_COMBBNE_GET_MKT_REPS 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_f2_mgdh_no  TYPE OIU_SB_MGDD-MGDH_NO, "   
lt_t_ioiu_sb_mgdd  TYPE STANDARD TABLE OF OIU_SB_MGDD, "   
lv_f2_own_no  TYPE OIU_SB_MGDD-OWN_NO, "   
lv_f2_part_int_type  TYPE OIU_SB_MGDD-OWN_INT_TYPE_CD, "   
lv_f2_own_isq_no  TYPE OIU_DO_DO-OWN_ISQ_NO, "   
lv_f2_max_eff_from_dt  TYPE OIU_SB_MGDD-EFF_FROM_DT, "   
lv_f2_min_eff_to_dt  TYPE OIU_SB_MGDD-EFF_TO_DT. "   

  CALL FUNCTION 'OIUOW_COMBBNE_GET_MKT_REPS'  "OIUOW: select OIU_DO_MGDD
    EXPORTING
         F2_MGDH_NO = lv_f2_mgdh_no
         F2_OWN_NO = lv_f2_own_no
         F2_PART_INT_TYPE = lv_f2_part_int_type
         F2_OWN_ISQ_NO = lv_f2_own_isq_no
         F2_MAX_EFF_FROM_DT = lv_f2_max_eff_from_dt
         F2_MIN_EFF_TO_DT = lv_f2_min_eff_to_dt
    TABLES
         T_IOIU_SB_MGDD = lt_t_ioiu_sb_mgdd
. " OIUOW_COMBBNE_GET_MKT_REPS




ABAP code using 7.40 inline data declarations to call FM OIUOW_COMBBNE_GET_MKT_REPS

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 MGDH_NO FROM OIU_SB_MGDD INTO @DATA(ld_f2_mgdh_no).
 
 
"SELECT single OWN_NO FROM OIU_SB_MGDD INTO @DATA(ld_f2_own_no).
 
"SELECT single OWN_INT_TYPE_CD FROM OIU_SB_MGDD INTO @DATA(ld_f2_part_int_type).
 
"SELECT single OWN_ISQ_NO FROM OIU_DO_DO INTO @DATA(ld_f2_own_isq_no).
 
"SELECT single EFF_FROM_DT FROM OIU_SB_MGDD INTO @DATA(ld_f2_max_eff_from_dt).
 
"SELECT single EFF_TO_DT FROM OIU_SB_MGDD INTO @DATA(ld_f2_min_eff_to_dt).
 


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!