SAP OIUVL_READ_TCMP_DATA Function Module for Reads OIUVL_TCWC, OIUVL_TCMP, and OIUVL_TCJV
OIUVL_READ_TCMP_DATA is a standard oiuvl read tcmp data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Reads OIUVL_TCWC, OIUVL_TCMP, and OIUVL_TCJV 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 oiuvl read tcmp data FM, simply by entering the name OIUVL_READ_TCMP_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: OIUVL_TAX_CLS_LIST_PROCESS
Program Name: SAPLOIUVL_TAX_CLS_LIST_PROCESS
Main Program: SAPLOIUVL_TAX_CLS_LIST_PROCESS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function OIUVL_READ_TCMP_DATA 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 'OIUVL_READ_TCMP_DATA'"Reads OIUVL_TCWC, OIUVL_TCMP, and OIUVL_TCJV.
EXPORTING
I_TAX_CLASS = "Tax Class
I_LAND = "Country of company
I_PRI_GEO_LOC = "Primary Geographical Location
I_EFF_FROM_DT = "Effective From Date
I_EFF_TO_DT = "Effective To Date
I_MAJPD_CD = "Major Product Code
TABLES
REPODATA = "Tax Class - Well Completion
EXCEPTIONS
NONE_FOUND = 1
IMPORTING Parameters details for OIUVL_READ_TCMP_DATA
I_TAX_CLASS - Tax Class
Data type: ROIUVL_TCWC-TAX_CLASSOptional: No
Call by Reference: No ( called with pass by value option)
I_LAND - Country of company
Data type: ROIUVL_TCWC-LANDOptional: No
Call by Reference: No ( called with pass by value option)
I_PRI_GEO_LOC - Primary Geographical Location
Data type: ROIUVL_TCWC-PRI_GEO_LOCOptional: No
Call by Reference: No ( called with pass by value option)
I_EFF_FROM_DT - Effective From Date
Data type: ROIUVL_TCWC-EFF_FROM_DTOptional: No
Call by Reference: No ( called with pass by value option)
I_EFF_TO_DT - Effective To Date
Data type: ROIUVL_TCWC-EFF_TO_DTOptional: No
Call by Reference: No ( called with pass by value option)
I_MAJPD_CD - Major Product Code
Data type: ROIUVL_TCWC-MAJPD_CDOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for OIUVL_READ_TCMP_DATA
REPODATA - Tax Class - Well Completion
Data type: ROIUVL_TCWCOptional: No
Call by Reference: Yes
EXCEPTIONS details
NONE_FOUND - No records found.
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for OIUVL_READ_TCMP_DATA 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: | ||||
| lt_repodata | TYPE STANDARD TABLE OF ROIUVL_TCWC, " | |||
| lv_none_found | TYPE ROIUVL_TCWC, " | |||
| lv_i_tax_class | TYPE ROIUVL_TCWC-TAX_CLASS, " | |||
| lv_i_land | TYPE ROIUVL_TCWC-LAND, " | |||
| lv_i_pri_geo_loc | TYPE ROIUVL_TCWC-PRI_GEO_LOC, " | |||
| lv_i_eff_from_dt | TYPE ROIUVL_TCWC-EFF_FROM_DT, " | |||
| lv_i_eff_to_dt | TYPE ROIUVL_TCWC-EFF_TO_DT, " | |||
| lv_i_majpd_cd | TYPE ROIUVL_TCWC-MAJPD_CD. " |
|   CALL FUNCTION 'OIUVL_READ_TCMP_DATA' "Reads OIUVL_TCWC, OIUVL_TCMP, and OIUVL_TCJV |
| EXPORTING | ||
| I_TAX_CLASS | = lv_i_tax_class | |
| I_LAND | = lv_i_land | |
| I_PRI_GEO_LOC | = lv_i_pri_geo_loc | |
| I_EFF_FROM_DT | = lv_i_eff_from_dt | |
| I_EFF_TO_DT | = lv_i_eff_to_dt | |
| I_MAJPD_CD | = lv_i_majpd_cd | |
| TABLES | ||
| REPODATA | = lt_repodata | |
| EXCEPTIONS | ||
| NONE_FOUND = 1 | ||
| . " OIUVL_READ_TCMP_DATA | ||
ABAP code using 7.40 inline data declarations to call FM OIUVL_READ_TCMP_DATA
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 TAX_CLASS FROM ROIUVL_TCWC INTO @DATA(ld_i_tax_class). | ||||
| "SELECT single LAND FROM ROIUVL_TCWC INTO @DATA(ld_i_land). | ||||
| "SELECT single PRI_GEO_LOC FROM ROIUVL_TCWC INTO @DATA(ld_i_pri_geo_loc). | ||||
| "SELECT single EFF_FROM_DT FROM ROIUVL_TCWC INTO @DATA(ld_i_eff_from_dt). | ||||
| "SELECT single EFF_TO_DT FROM ROIUVL_TCWC INTO @DATA(ld_i_eff_to_dt). | ||||
| "SELECT single MAJPD_CD FROM ROIUVL_TCWC INTO @DATA(ld_i_majpd_cd). | ||||
Search for further information about these or an SAP related objects