SAP OIUREP_FG1_SELECT_WCDVLH Function Module for Select from OIU_PR_WCDVLH
OIUREP_FG1_SELECT_WCDVLH is a standard oiurep fg1 select wcdvlh SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Select from OIU_PR_WCDVLH 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 oiurep fg1 select wcdvlh FM, simply by entering the name OIUREP_FG1_SELECT_WCDVLH into the relevant SAP transaction such as SE37 or SE38.
Function Group: OIUREP_FG1
Program Name: SAPLOIUREP_FG1
Main Program: SAPLOIUREP_FG1
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function OIUREP_FG1_SELECT_WCDVLH 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 'OIUREP_FG1_SELECT_WCDVLH'"Select from OIU_PR_WCDVLH.
EXPORTING
I_WL_NO = "Well ID number
I_WC_NO = "Well Completion Number
I_AGENCY = "Agency for Reporting
I_BEG_DT = "Effective From Date
I_END_DT = "Effective To Date
* I_CLEAR_IND = ' ' "Deletion indicator
TABLES
T_WCDVLH_TB = "Regulatory Reporting Structure for WCDVLH select
T_REP_RANGE = "
IMPORTING Parameters details for OIUREP_FG1_SELECT_WCDVLH
I_WL_NO - Well ID number
Data type: OIU_WL_NOOptional: No
Call by Reference: Yes
I_WC_NO - Well Completion Number
Data type: OIU_WC_NOOptional: No
Call by Reference: Yes
I_AGENCY - Agency for Reporting
Data type: OIUREP_AGENCYOptional: No
Call by Reference: Yes
I_BEG_DT - Effective From Date
Data type: OIU_EFF_FROM_DTOptional: No
Call by Reference: Yes
I_END_DT - Effective To Date
Data type: OIU_EFF_TO_DTOptional: No
Call by Reference: Yes
I_CLEAR_IND - Deletion indicator
Data type: LOEVMDefault: SPACE
Optional: Yes
Call by Reference: Yes
TABLES Parameters details for OIUREP_FG1_SELECT_WCDVLH
T_WCDVLH_TB - Regulatory Reporting Structure for WCDVLH select
Data type: ROIUREP_WCDVLHOptional: No
Call by Reference: Yes
T_REP_RANGE -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for OIUREP_FG1_SELECT_WCDVLH 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_wl_no | TYPE OIU_WL_NO, " | |||
| lt_t_wcdvlh_tb | TYPE STANDARD TABLE OF ROIUREP_WCDVLH, " | |||
| lv_i_wc_no | TYPE OIU_WC_NO, " | |||
| lt_t_rep_range | TYPE STANDARD TABLE OF OIU_WC_NO, " | |||
| lv_i_agency | TYPE OIUREP_AGENCY, " | |||
| lv_i_beg_dt | TYPE OIU_EFF_FROM_DT, " | |||
| lv_i_end_dt | TYPE OIU_EFF_TO_DT, " | |||
| lv_i_clear_ind | TYPE LOEVM. " SPACE |
|   CALL FUNCTION 'OIUREP_FG1_SELECT_WCDVLH' "Select from OIU_PR_WCDVLH |
| EXPORTING | ||
| I_WL_NO | = lv_i_wl_no | |
| I_WC_NO | = lv_i_wc_no | |
| I_AGENCY | = lv_i_agency | |
| I_BEG_DT | = lv_i_beg_dt | |
| I_END_DT | = lv_i_end_dt | |
| I_CLEAR_IND | = lv_i_clear_ind | |
| TABLES | ||
| T_WCDVLH_TB | = lt_t_wcdvlh_tb | |
| T_REP_RANGE | = lt_t_rep_range | |
| . " OIUREP_FG1_SELECT_WCDVLH | ||
ABAP code using 7.40 inline data declarations to call FM OIUREP_FG1_SELECT_WCDVLH
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.| DATA(ld_i_clear_ind) | = ' '. | |||
Search for further information about these or an SAP related objects