SAP OIUX3_TX_TX2_LOADER Function Module for Tax Reporting - Driver to Load Tax Gas Transaction Tables (FUPRO Entry)
OIUX3_TX_TX2_LOADER is a standard oiux3 tx tx2 loader SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Tax Reporting - Driver to Load Tax Gas Transaction Tables (FUPRO Entry) 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 oiux3 tx tx2 loader FM, simply by entering the name OIUX3_TX_TX2_LOADER into the relevant SAP transaction such as SE37 or SE38.
Function Group: OIUX3_TX_LOAD
Program Name: SAPLOIUX3_TX_LOAD
Main Program: SAPLOIUX3_TX_LOAD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function OIUX3_TX_TX2_LOADER 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 'OIUX3_TX_TX2_LOADER'"Tax Reporting - Driver to Load Tax Gas Transaction Tables (FUPRO Entry).
EXPORTING
P_TABNAME = "Table name
P_DOC_NO = "volumes document number
P_DOC_YEAR = "Document year
TABLES
P_VLTXNS_TB = "Valuation Transactions Level 1 - Vltxns
P_VLTXNS4M_TB = "Valuation Tax Marketing Detail
P_TFRMLAU_TB = "Valuation Formula Alternate Use
P_RUNTKT_TB = "Valuation Transaction - Run Ticket
P_ZEROVOL_TB = "Valuation Transactions Level 1 - Zero Volume
P_JEINTF_TB = "Revenue Document Concept - JEINTF temp table
P_VLTXNS2_TB = "Valuation Transaction Level 2 -Volume
P_VLTXNS2U_TB = "Valuation Document Concept - Volume Unit
P_VLTXNS3_TB = "Valuation Transaction Level 3 - Formula
P_VLTXNS3M_TB = "Valuation Transactions Level 3 - Marketing Detail
P_VLTXNS3T_TB = "Valuation Transactions Level 3 - Formula Tax Detail
P_VLTXNS4_TB = "Valuation Tax Header
P_VLTXNS4E_TB = "Valuation Tax Exempt Detail
P_VLTXNS4D_TB = "Valuation Tax Master Detail
EXCEPTIONS
IO_ERROR = 1
IMPORTING Parameters details for OIUX3_TX_TX2_LOADER
P_TABNAME - Table name
Data type: OIU_CM_SN_NR-TABNAMEOptional: No
Call by Reference: Yes
P_DOC_NO - volumes document number
Data type: OIURV_DOC_DTL_BK-DOC_NOOptional: No
Call by Reference: Yes
P_DOC_YEAR - Document year
Data type: OIURV_DOC_DTL_BK-DOC_YEAROptional: No
Call by Reference: Yes
TABLES Parameters details for OIUX3_TX_TX2_LOADER
P_VLTXNS_TB - Valuation Transactions Level 1 - Vltxns
Data type: OIURV_DOC_DTL_BKOptional: No
Call by Reference: No ( called with pass by value option)
P_VLTXNS4M_TB - Valuation Tax Marketing Detail
Data type: OIURV_DOC_TAXMKTOptional: No
Call by Reference: No ( called with pass by value option)
P_TFRMLAU_TB - Valuation Formula Alternate Use
Data type: OIURV_DOC_FRMLAUOptional: No
Call by Reference: No ( called with pass by value option)
P_RUNTKT_TB - Valuation Transaction - Run Ticket
Data type: OIURV_DOC_RUNTKTOptional: No
Call by Reference: No ( called with pass by value option)
P_ZEROVOL_TB - Valuation Transactions Level 1 - Zero Volume
Data type: OIURV_DOC_DTL_ZEOptional: No
Call by Reference: No ( called with pass by value option)
P_JEINTF_TB - Revenue Document Concept - JEINTF temp table
Data type: OIURV_DOC_JEINTFOptional: No
Call by Reference: No ( called with pass by value option)
P_VLTXNS2_TB - Valuation Transaction Level 2 -Volume
Data type: OIURV_DOC_VOLDTLOptional: No
Call by Reference: No ( called with pass by value option)
P_VLTXNS2U_TB - Valuation Document Concept - Volume Unit
Data type: OIURV_DOC_VOLUNTOptional: No
Call by Reference: No ( called with pass by value option)
P_VLTXNS3_TB - Valuation Transaction Level 3 - Formula
Data type: OIURV_DOC_FRMHDROptional: No
Call by Reference: No ( called with pass by value option)
P_VLTXNS3M_TB - Valuation Transactions Level 3 - Marketing Detail
Data type: OIURV_DOC_FRMMKTOptional: No
Call by Reference: No ( called with pass by value option)
P_VLTXNS3T_TB - Valuation Transactions Level 3 - Formula Tax Detail
Data type: OIURV_DOC_FRMTAXOptional: No
Call by Reference: No ( called with pass by value option)
P_VLTXNS4_TB - Valuation Tax Header
Data type: OIURV_DOC_TAXHDROptional: No
Call by Reference: No ( called with pass by value option)
P_VLTXNS4E_TB - Valuation Tax Exempt Detail
Data type: OIURV_DOC_TAXEMPOptional: No
Call by Reference: No ( called with pass by value option)
P_VLTXNS4D_TB - Valuation Tax Master Detail
Data type: OIURV_DOC_TAXDTLOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
IO_ERROR - No Record Found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for OIUX3_TX_TX2_LOADER 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_io_error | TYPE STRING, " | |||
| lv_p_tabname | TYPE OIU_CM_SN_NR-TABNAME, " | |||
| lt_p_vltxns_tb | TYPE STANDARD TABLE OF OIURV_DOC_DTL_BK, " | |||
| lt_p_vltxns4m_tb | TYPE STANDARD TABLE OF OIURV_DOC_TAXMKT, " | |||
| lt_p_tfrmlau_tb | TYPE STANDARD TABLE OF OIURV_DOC_FRMLAU, " | |||
| lt_p_runtkt_tb | TYPE STANDARD TABLE OF OIURV_DOC_RUNTKT, " | |||
| lt_p_zerovol_tb | TYPE STANDARD TABLE OF OIURV_DOC_DTL_ZE, " | |||
| lt_p_jeintf_tb | TYPE STANDARD TABLE OF OIURV_DOC_JEINTF, " | |||
| lv_p_doc_no | TYPE OIURV_DOC_DTL_BK-DOC_NO, " | |||
| lt_p_vltxns2_tb | TYPE STANDARD TABLE OF OIURV_DOC_VOLDTL, " | |||
| lv_p_doc_year | TYPE OIURV_DOC_DTL_BK-DOC_YEAR, " | |||
| lt_p_vltxns2u_tb | TYPE STANDARD TABLE OF OIURV_DOC_VOLUNT, " | |||
| lt_p_vltxns3_tb | TYPE STANDARD TABLE OF OIURV_DOC_FRMHDR, " | |||
| lt_p_vltxns3m_tb | TYPE STANDARD TABLE OF OIURV_DOC_FRMMKT, " | |||
| lt_p_vltxns3t_tb | TYPE STANDARD TABLE OF OIURV_DOC_FRMTAX, " | |||
| lt_p_vltxns4_tb | TYPE STANDARD TABLE OF OIURV_DOC_TAXHDR, " | |||
| lt_p_vltxns4e_tb | TYPE STANDARD TABLE OF OIURV_DOC_TAXEMP, " | |||
| lt_p_vltxns4d_tb | TYPE STANDARD TABLE OF OIURV_DOC_TAXDTL. " |
|   CALL FUNCTION 'OIUX3_TX_TX2_LOADER' "Tax Reporting - Driver to Load Tax Gas Transaction Tables (FUPRO Entry) |
| EXPORTING | ||
| P_TABNAME | = lv_p_tabname | |
| P_DOC_NO | = lv_p_doc_no | |
| P_DOC_YEAR | = lv_p_doc_year | |
| TABLES | ||
| P_VLTXNS_TB | = lt_p_vltxns_tb | |
| P_VLTXNS4M_TB | = lt_p_vltxns4m_tb | |
| P_TFRMLAU_TB | = lt_p_tfrmlau_tb | |
| P_RUNTKT_TB | = lt_p_runtkt_tb | |
| P_ZEROVOL_TB | = lt_p_zerovol_tb | |
| P_JEINTF_TB | = lt_p_jeintf_tb | |
| P_VLTXNS2_TB | = lt_p_vltxns2_tb | |
| P_VLTXNS2U_TB | = lt_p_vltxns2u_tb | |
| P_VLTXNS3_TB | = lt_p_vltxns3_tb | |
| P_VLTXNS3M_TB | = lt_p_vltxns3m_tb | |
| P_VLTXNS3T_TB | = lt_p_vltxns3t_tb | |
| P_VLTXNS4_TB | = lt_p_vltxns4_tb | |
| P_VLTXNS4E_TB | = lt_p_vltxns4e_tb | |
| P_VLTXNS4D_TB | = lt_p_vltxns4d_tb | |
| EXCEPTIONS | ||
| IO_ERROR = 1 | ||
| . " OIUX3_TX_TX2_LOADER | ||
ABAP code using 7.40 inline data declarations to call FM OIUX3_TX_TX2_LOADER
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 TABNAME FROM OIU_CM_SN_NR INTO @DATA(ld_p_tabname). | ||||
| "SELECT single DOC_NO FROM OIURV_DOC_DTL_BK INTO @DATA(ld_p_doc_no). | ||||
| "SELECT single DOC_YEAR FROM OIURV_DOC_DTL_BK INTO @DATA(ld_p_doc_year). | ||||
Search for further information about these or an SAP related objects