SAP OIUH_DIRVTTPPNWRAP Function Module for
OIUH_DIRVTTPPNWRAP is a standard oiuh dirvttppnwrap SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 oiuh dirvttppnwrap FM, simply by entering the name OIUH_DIRVTTPPNWRAP into the relevant SAP transaction such as SE37 or SE38.
Function Group: OIUH_DIRVTTPPNWRAP
Program Name: SAPLOIUH_DIRVTTPPNWRAP
Main Program: SAPLOIUH_DIRVTTPPNWRAP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function OIUH_DIRVTTPPNWRAP 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 'OIUH_DIRVTTPPNWRAP'".
CHANGING
* SQLCODE = "
* C_TPPN_MAJ_PD_CD = "
* C_TPPN_PD_CD = "
* C_TPPN_EFF_FROM_DT = "
* C_TPPN_EFF_TO_DT = "
* C_TPPN_EFF_TO_DT_CD = "
* C_TPPN_ST_CD = "
* C_TPPN_ST_RPT_NO = "
* C_TPPN_ST_PRDR_CD = "
* C_TPPN_TAX_PAY_CD = "
* C_TPPN_PLT_PRCS_CD = "
* CMESSAGE = "
* C_TPPN_OIL_CLASS_CD = "
* C_TPPN_GAS_CD = "
* C_TPPN_ST_FL_CD = "
* C_TPPN_ALLOC_PC = "
* C_TPPN_ENTY_CD = "
* C_TPPN_EXIN_DEC_AM = "
* C_TPPN_REEXIN_DEC_AM = "
* C_TPPN_SCHOL_DIST_CD = "
* C_TPPN_USER_ID = "
* ROWS = "
* TABLE = "
* C_TPPN_MP_NO = "
* C_TPPN_WL_NO = "
* C_TPPN_WC_NO = "
* C_TPPN_PR_NO = "
* C_TPPN_DOI_NO = "
EXCEPTIONS
WARNING = 1 GOBACK = 2 FAILED = 3
CHANGING Parameters details for OIUH_DIRVTTPPNWRAP
SQLCODE -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_MAJ_PD_CD -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_PD_CD -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_EFF_FROM_DT -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_EFF_TO_DT -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_EFF_TO_DT_CD -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_ST_CD -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_ST_RPT_NO -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_ST_PRDR_CD -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_TAX_PAY_CD -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_PLT_PRCS_CD -
Data type:Optional: Yes
Call by Reference: Yes
CMESSAGE -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_OIL_CLASS_CD -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_GAS_CD -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_ST_FL_CD -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_ALLOC_PC -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_ENTY_CD -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_EXIN_DEC_AM -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_REEXIN_DEC_AM -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_SCHOL_DIST_CD -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_USER_ID -
Data type:Optional: Yes
Call by Reference: Yes
ROWS -
Data type:Optional: Yes
Call by Reference: Yes
TABLE -
Data type: OIUH_DIRVTTPPNXXOptional: Yes
Call by Reference: Yes
C_TPPN_MP_NO -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_WL_NO -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_WC_NO -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_PR_NO -
Data type:Optional: Yes
Call by Reference: Yes
C_TPPN_DOI_NO -
Data type:Optional: Yes
Call by Reference: Yes
EXCEPTIONS details
WARNING -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
GOBACK -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for OIUH_DIRVTTPPNWRAP 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_sqlcode | TYPE STRING, " | |||
| lv_warning | TYPE STRING, " | |||
| lv_c_tppn_maj_pd_cd | TYPE STRING, " | |||
| lv_c_tppn_pd_cd | TYPE STRING, " | |||
| lv_c_tppn_eff_from_dt | TYPE STRING, " | |||
| lv_c_tppn_eff_to_dt | TYPE STRING, " | |||
| lv_c_tppn_eff_to_dt_cd | TYPE STRING, " | |||
| lv_c_tppn_st_cd | TYPE STRING, " | |||
| lv_c_tppn_st_rpt_no | TYPE STRING, " | |||
| lv_c_tppn_st_prdr_cd | TYPE STRING, " | |||
| lv_c_tppn_tax_pay_cd | TYPE STRING, " | |||
| lv_c_tppn_plt_prcs_cd | TYPE STRING, " | |||
| lv_goback | TYPE STRING, " | |||
| lv_cmessage | TYPE STRING, " | |||
| lv_c_tppn_oil_class_cd | TYPE STRING, " | |||
| lv_c_tppn_gas_cd | TYPE STRING, " | |||
| lv_c_tppn_st_fl_cd | TYPE STRING, " | |||
| lv_c_tppn_alloc_pc | TYPE STRING, " | |||
| lv_c_tppn_enty_cd | TYPE STRING, " | |||
| lv_c_tppn_exin_dec_am | TYPE STRING, " | |||
| lv_c_tppn_reexin_dec_am | TYPE STRING, " | |||
| lv_c_tppn_schol_dist_cd | TYPE STRING, " | |||
| lv_c_tppn_user_id | TYPE STRING, " | |||
| lv_rows | TYPE STRING, " | |||
| lv_failed | TYPE STRING, " | |||
| lv_table | TYPE OIUH_DIRVTTPPNXX, " | |||
| lv_c_tppn_mp_no | TYPE OIUH_DIRVTTPPNXX, " | |||
| lv_c_tppn_wl_no | TYPE OIUH_DIRVTTPPNXX, " | |||
| lv_c_tppn_wc_no | TYPE OIUH_DIRVTTPPNXX, " | |||
| lv_c_tppn_pr_no | TYPE OIUH_DIRVTTPPNXX, " | |||
| lv_c_tppn_doi_no | TYPE OIUH_DIRVTTPPNXX. " |
|   CALL FUNCTION 'OIUH_DIRVTTPPNWRAP' " |
| CHANGING | ||
| SQLCODE | = lv_sqlcode | |
| C_TPPN_MAJ_PD_CD | = lv_c_tppn_maj_pd_cd | |
| C_TPPN_PD_CD | = lv_c_tppn_pd_cd | |
| C_TPPN_EFF_FROM_DT | = lv_c_tppn_eff_from_dt | |
| C_TPPN_EFF_TO_DT | = lv_c_tppn_eff_to_dt | |
| C_TPPN_EFF_TO_DT_CD | = lv_c_tppn_eff_to_dt_cd | |
| C_TPPN_ST_CD | = lv_c_tppn_st_cd | |
| C_TPPN_ST_RPT_NO | = lv_c_tppn_st_rpt_no | |
| C_TPPN_ST_PRDR_CD | = lv_c_tppn_st_prdr_cd | |
| C_TPPN_TAX_PAY_CD | = lv_c_tppn_tax_pay_cd | |
| C_TPPN_PLT_PRCS_CD | = lv_c_tppn_plt_prcs_cd | |
| CMESSAGE | = lv_cmessage | |
| C_TPPN_OIL_CLASS_CD | = lv_c_tppn_oil_class_cd | |
| C_TPPN_GAS_CD | = lv_c_tppn_gas_cd | |
| C_TPPN_ST_FL_CD | = lv_c_tppn_st_fl_cd | |
| C_TPPN_ALLOC_PC | = lv_c_tppn_alloc_pc | |
| C_TPPN_ENTY_CD | = lv_c_tppn_enty_cd | |
| C_TPPN_EXIN_DEC_AM | = lv_c_tppn_exin_dec_am | |
| C_TPPN_REEXIN_DEC_AM | = lv_c_tppn_reexin_dec_am | |
| C_TPPN_SCHOL_DIST_CD | = lv_c_tppn_schol_dist_cd | |
| C_TPPN_USER_ID | = lv_c_tppn_user_id | |
| ROWS | = lv_rows | |
| TABLE | = lv_table | |
| C_TPPN_MP_NO | = lv_c_tppn_mp_no | |
| C_TPPN_WL_NO | = lv_c_tppn_wl_no | |
| C_TPPN_WC_NO | = lv_c_tppn_wc_no | |
| C_TPPN_PR_NO | = lv_c_tppn_pr_no | |
| C_TPPN_DOI_NO | = lv_c_tppn_doi_no | |
| EXCEPTIONS | ||
| WARNING = 1 | ||
| GOBACK = 2 | ||
| FAILED = 3 | ||
| . " OIUH_DIRVTTPPNWRAP | ||
ABAP code using 7.40 inline data declarations to call FM OIUH_DIRVTTPPNWRAP
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.Search for further information about these or an SAP related objects