SAP Function Modules

OIUH_DURVTSEVNWBYPRWRAP SAP Function module







OIUH_DURVTSEVNWBYPRWRAP is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name OIUH_DURVTSEVNWBYPRWRAP into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: OIUH_DURVTSEVNWBYPRWRAP
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM OIUH_DURVTSEVNWBYPRWRAP - OIUH DURVTSEVNWBYPRWRAP





CALL FUNCTION 'OIUH_DURVTSEVNWBYPRWRAP' "
* CHANGING
*   sqlcode =                   "
*   cmessage =                  "
*   rows =                      "
*   table =                     " oiuh_durvtsevnwbyprxx
*   c_sev_ppa_rsn_cd =          "
*   c_sev_st_cd =               "
*   c_sev_cy_cd =               "
*   c_sev_acct_dt =             "
*   c_sev_actl_grvl_am =        "
*   c_sev_plt_vl_red_am =       "
*   c_sev_a_mmbtu_vl_am =       "
*   c_sev_grv_qy =              "
*   c_sev_prd_da_am =           "
*   c_sev_ps_base_qy =          "
*   c_sev_vl_dt =               "
*   c_sev_actl_grva_am =        "
*   c_sev_ngpa_sect_no =        "
*   c_sev_ct_btu_fac =          "
*   c_sev_schol_dist_cd =       "
*   c_sev_tax_class_cd =        "
*   c_sev_ver_no =              "
*   c_sev_user_id =             "
*   c_sev_blps_gr_vl_qy =       "
*   c_sev_blps_gr_val_am =      "
*   w_sev_sys_no =              "
  EXCEPTIONS
    WARNING = 1                 "
    GOBACK = 2                  "
    FAILED = 3                  "
    .  "  OIUH_DURVTSEVNWBYPRWRAP

ABAP code example for Function Module OIUH_DURVTSEVNWBYPRWRAP





The ABAP code below is a full code listing to execute function module OIUH_DURVTSEVNWBYPRWRAP including all data declarations. The code uses 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 original method of declaring data variables up front. 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).


DATA(ld_sqlcode) = 'some text here'.
DATA(ld_cmessage) = 'some text here'.
DATA(ld_rows) = 'some text here'.
DATA(ld_table) = 'Check type of data required'.
DATA(ld_c_sev_ppa_rsn_cd) = 'some text here'.
DATA(ld_c_sev_st_cd) = 'some text here'.
DATA(ld_c_sev_cy_cd) = 'some text here'.
DATA(ld_c_sev_acct_dt) = 'some text here'.
DATA(ld_c_sev_actl_grvl_am) = 'some text here'.
DATA(ld_c_sev_plt_vl_red_am) = 'some text here'.
DATA(ld_c_sev_a_mmbtu_vl_am) = 'some text here'.
DATA(ld_c_sev_grv_qy) = 'some text here'.
DATA(ld_c_sev_prd_da_am) = 'some text here'.
DATA(ld_c_sev_ps_base_qy) = 'some text here'.
DATA(ld_c_sev_vl_dt) = 'some text here'.
DATA(ld_c_sev_actl_grva_am) = 'some text here'.
DATA(ld_c_sev_ngpa_sect_no) = 'some text here'.
DATA(ld_c_sev_ct_btu_fac) = 'some text here'.
DATA(ld_c_sev_schol_dist_cd) = 'some text here'.
DATA(ld_c_sev_tax_class_cd) = 'some text here'.
DATA(ld_c_sev_ver_no) = 'some text here'.
DATA(ld_c_sev_user_id) = 'some text here'.
DATA(ld_c_sev_blps_gr_vl_qy) = 'some text here'.
DATA(ld_c_sev_blps_gr_val_am) = 'some text here'.
DATA(ld_w_sev_sys_no) = 'some text here'. . CALL FUNCTION 'OIUH_DURVTSEVNWBYPRWRAP' * CHANGING * sqlcode = ld_sqlcode * cmessage = ld_cmessage * rows = ld_rows * table = ld_table * c_sev_ppa_rsn_cd = ld_c_sev_ppa_rsn_cd * c_sev_st_cd = ld_c_sev_st_cd * c_sev_cy_cd = ld_c_sev_cy_cd * c_sev_acct_dt = ld_c_sev_acct_dt * c_sev_actl_grvl_am = ld_c_sev_actl_grvl_am * c_sev_plt_vl_red_am = ld_c_sev_plt_vl_red_am * c_sev_a_mmbtu_vl_am = ld_c_sev_a_mmbtu_vl_am * c_sev_grv_qy = ld_c_sev_grv_qy * c_sev_prd_da_am = ld_c_sev_prd_da_am * c_sev_ps_base_qy = ld_c_sev_ps_base_qy * c_sev_vl_dt = ld_c_sev_vl_dt * c_sev_actl_grva_am = ld_c_sev_actl_grva_am * c_sev_ngpa_sect_no = ld_c_sev_ngpa_sect_no * c_sev_ct_btu_fac = ld_c_sev_ct_btu_fac * c_sev_schol_dist_cd = ld_c_sev_schol_dist_cd * c_sev_tax_class_cd = ld_c_sev_tax_class_cd * c_sev_ver_no = ld_c_sev_ver_no * c_sev_user_id = ld_c_sev_user_id * c_sev_blps_gr_vl_qy = ld_c_sev_blps_gr_vl_qy * c_sev_blps_gr_val_am = ld_c_sev_blps_gr_val_am * w_sev_sys_no = ld_w_sev_sys_no EXCEPTIONS WARNING = 1 GOBACK = 2 FAILED = 3 . " OIUH_DURVTSEVNWBYPRWRAP
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_sqlcode  TYPE STRING ,
ld_cmessage  TYPE STRING ,
ld_rows  TYPE STRING ,
ld_table  TYPE OIUH_DURVTSEVNWBYPRXX ,
ld_c_sev_ppa_rsn_cd  TYPE STRING ,
ld_c_sev_st_cd  TYPE STRING ,
ld_c_sev_cy_cd  TYPE STRING ,
ld_c_sev_acct_dt  TYPE STRING ,
ld_c_sev_actl_grvl_am  TYPE STRING ,
ld_c_sev_plt_vl_red_am  TYPE STRING ,
ld_c_sev_a_mmbtu_vl_am  TYPE STRING ,
ld_c_sev_grv_qy  TYPE STRING ,
ld_c_sev_prd_da_am  TYPE STRING ,
ld_c_sev_ps_base_qy  TYPE STRING ,
ld_c_sev_vl_dt  TYPE STRING ,
ld_c_sev_actl_grva_am  TYPE STRING ,
ld_c_sev_ngpa_sect_no  TYPE STRING ,
ld_c_sev_ct_btu_fac  TYPE STRING ,
ld_c_sev_schol_dist_cd  TYPE STRING ,
ld_c_sev_tax_class_cd  TYPE STRING ,
ld_c_sev_ver_no  TYPE STRING ,
ld_c_sev_user_id  TYPE STRING ,
ld_c_sev_blps_gr_vl_qy  TYPE STRING ,
ld_c_sev_blps_gr_val_am  TYPE STRING ,
ld_w_sev_sys_no  TYPE STRING .

ld_sqlcode = 'some text here'.
ld_cmessage = 'some text here'.
ld_rows = 'some text here'.
ld_table = 'Check type of data required'.
ld_c_sev_ppa_rsn_cd = 'some text here'.
ld_c_sev_st_cd = 'some text here'.
ld_c_sev_cy_cd = 'some text here'.
ld_c_sev_acct_dt = 'some text here'.
ld_c_sev_actl_grvl_am = 'some text here'.
ld_c_sev_plt_vl_red_am = 'some text here'.
ld_c_sev_a_mmbtu_vl_am = 'some text here'.
ld_c_sev_grv_qy = 'some text here'.
ld_c_sev_prd_da_am = 'some text here'.
ld_c_sev_ps_base_qy = 'some text here'.
ld_c_sev_vl_dt = 'some text here'.
ld_c_sev_actl_grva_am = 'some text here'.
ld_c_sev_ngpa_sect_no = 'some text here'.
ld_c_sev_ct_btu_fac = 'some text here'.
ld_c_sev_schol_dist_cd = 'some text here'.
ld_c_sev_tax_class_cd = 'some text here'.
ld_c_sev_ver_no = 'some text here'.
ld_c_sev_user_id = 'some text here'.
ld_c_sev_blps_gr_vl_qy = 'some text here'.
ld_c_sev_blps_gr_val_am = 'some text here'.
ld_w_sev_sys_no = 'some text here'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name OIUH_DURVTSEVNWBYPRWRAP or its description.