SAP OIUVL_READ_TPAH_DATA Function Module for Reads table OIUVL_TPAH









OIUVL_READ_TPAH_DATA is a standard oiuvl read tpah 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 table OIUVL_TPAH 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 tpah data FM, simply by entering the name OIUVL_READ_TPAH_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function OIUVL_READ_TPAH_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_TPAH_DATA'"Reads table OIUVL_TPAH
EXPORTING
I_BUKRS = "Company code
I_VNAME = "Joint Venture
I_DOI_NO = "Division of Interest
I_OWN_NO = "E&P Owner
I_EFF_FROM_DT = "Effective From Date
I_EFF_TO_DT = "Effective To Date
I_W_VNAME = "Joint Venture
I_W_DOI_NO = "Division of Interest
I_W_OWN_NO = "E&P Owner

IMPORTING
E_COUNT = "

TABLES
REPODATA = "Tax Processing Allowance - Header

EXCEPTIONS
NONE_FOUND = 1
.



IMPORTING Parameters details for OIUVL_READ_TPAH_DATA

I_BUKRS - Company code

Data type: ROIUVL_TPAH-BUKRS
Optional: No
Call by Reference: No ( called with pass by value option)

I_VNAME - Joint Venture

Data type: ROIUVL_TPAH-VNAME
Optional: No
Call by Reference: No ( called with pass by value option)

I_DOI_NO - Division of Interest

Data type: ROIUVL_TPAH-DOI_NO
Optional: No
Call by Reference: No ( called with pass by value option)

I_OWN_NO - E&P Owner

Data type: ROIUVL_TPAH-OWN_NO
Optional: No
Call by Reference: No ( called with pass by value option)

I_EFF_FROM_DT - Effective From Date

Data type: ROIUVL_TPAH-EFF_FROM_DT
Optional: No
Call by Reference: No ( called with pass by value option)

I_EFF_TO_DT - Effective To Date

Data type: ROIUVL_TPAH-EFF_TO_DT
Optional: No
Call by Reference: No ( called with pass by value option)

I_W_VNAME - Joint Venture

Data type: ROIUVL_TPAH-VNAME
Optional: No
Call by Reference: No ( called with pass by value option)

I_W_DOI_NO - Division of Interest

Data type: ROIUVL_TPAH-DOI_NO
Optional: No
Call by Reference: No ( called with pass by value option)

I_W_OWN_NO - E&P Owner

Data type: ROIUVL_TPAH-OWN_NO
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for OIUVL_READ_TPAH_DATA

E_COUNT -

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

TABLES Parameters details for OIUVL_READ_TPAH_DATA

REPODATA - Tax Processing Allowance - Header

Data type: ROIUVL_TPAH
Optional: 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_TPAH_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:
lv_e_count  TYPE I, "   
lv_i_bukrs  TYPE ROIUVL_TPAH-BUKRS, "   
lt_repodata  TYPE STANDARD TABLE OF ROIUVL_TPAH, "   
lv_none_found  TYPE ROIUVL_TPAH, "   
lv_i_vname  TYPE ROIUVL_TPAH-VNAME, "   
lv_i_doi_no  TYPE ROIUVL_TPAH-DOI_NO, "   
lv_i_own_no  TYPE ROIUVL_TPAH-OWN_NO, "   
lv_i_eff_from_dt  TYPE ROIUVL_TPAH-EFF_FROM_DT, "   
lv_i_eff_to_dt  TYPE ROIUVL_TPAH-EFF_TO_DT, "   
lv_i_w_vname  TYPE ROIUVL_TPAH-VNAME, "   
lv_i_w_doi_no  TYPE ROIUVL_TPAH-DOI_NO, "   
lv_i_w_own_no  TYPE ROIUVL_TPAH-OWN_NO. "   

  CALL FUNCTION 'OIUVL_READ_TPAH_DATA'  "Reads table OIUVL_TPAH
    EXPORTING
         I_BUKRS = lv_i_bukrs
         I_VNAME = lv_i_vname
         I_DOI_NO = lv_i_doi_no
         I_OWN_NO = lv_i_own_no
         I_EFF_FROM_DT = lv_i_eff_from_dt
         I_EFF_TO_DT = lv_i_eff_to_dt
         I_W_VNAME = lv_i_w_vname
         I_W_DOI_NO = lv_i_w_doi_no
         I_W_OWN_NO = lv_i_w_own_no
    IMPORTING
         E_COUNT = lv_e_count
    TABLES
         REPODATA = lt_repodata
    EXCEPTIONS
        NONE_FOUND = 1
. " OIUVL_READ_TPAH_DATA




ABAP code using 7.40 inline data declarations to call FM OIUVL_READ_TPAH_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 BUKRS FROM ROIUVL_TPAH INTO @DATA(ld_i_bukrs).
 
 
 
"SELECT single VNAME FROM ROIUVL_TPAH INTO @DATA(ld_i_vname).
 
"SELECT single DOI_NO FROM ROIUVL_TPAH INTO @DATA(ld_i_doi_no).
 
"SELECT single OWN_NO FROM ROIUVL_TPAH INTO @DATA(ld_i_own_no).
 
"SELECT single EFF_FROM_DT FROM ROIUVL_TPAH INTO @DATA(ld_i_eff_from_dt).
 
"SELECT single EFF_TO_DT FROM ROIUVL_TPAH INTO @DATA(ld_i_eff_to_dt).
 
"SELECT single VNAME FROM ROIUVL_TPAH INTO @DATA(ld_i_w_vname).
 
"SELECT single DOI_NO FROM ROIUVL_TPAH INTO @DATA(ld_i_w_doi_no).
 
"SELECT single OWN_NO FROM ROIUVL_TPAH INTO @DATA(ld_i_w_own_no).
 


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!