SAP Function Modules

OIURV_READ_EXMP_FEDERAL SAP Function module - Read exemption processing for federal entity







OIURV_READ_EXMP_FEDERAL 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 OIURV_READ_EXMP_FEDERAL into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM OIURV_READ_EXMP_FEDERAL - OIURV READ EXMP FEDERAL





CALL FUNCTION 'OIURV_READ_EXMP_FEDERAL' "Read exemption processing for federal entity
  EXPORTING
    i_vltxns_ds =               " oiurv_doc_dtl_bk  VL transaction
  IMPORTING
    e_mfr_um =                  " oiurep_salestype-mfring_uom_amt  Production:  MMS-2014 - Manufacturing UOM Amount
    e_mfr_um_cur =              " oiurep_salestype-mfring_uom_cur  Production:  MMS-2014 - Manufacturing UOM Amount CURR
    e_mfr_um_pc =               " oiurep_salestype-mfrer_uom_pc  MMS-2014 - Manufacturer UOM Percent
  EXCEPTIONS
    IO_ERROR = 1                "               NO RECORD FOUND
    .  "  OIURV_READ_EXMP_FEDERAL

ABAP code example for Function Module OIURV_READ_EXMP_FEDERAL





The ABAP code below is a full code listing to execute function module OIURV_READ_EXMP_FEDERAL 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_e_mfr_um  TYPE OIUREP_SALESTYPE-MFRING_UOM_AMT ,
ld_e_mfr_um_cur  TYPE OIUREP_SALESTYPE-MFRING_UOM_CUR ,
ld_e_mfr_um_pc  TYPE OIUREP_SALESTYPE-MFRER_UOM_PC .

DATA(ld_i_vltxns_ds) = 'Check type of data required'. . CALL FUNCTION 'OIURV_READ_EXMP_FEDERAL' EXPORTING i_vltxns_ds = ld_i_vltxns_ds IMPORTING e_mfr_um = ld_e_mfr_um e_mfr_um_cur = ld_e_mfr_um_cur e_mfr_um_pc = ld_e_mfr_um_pc EXCEPTIONS IO_ERROR = 1 . " OIURV_READ_EXMP_FEDERAL
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "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_e_mfr_um  TYPE OIUREP_SALESTYPE-MFRING_UOM_AMT ,
ld_i_vltxns_ds  TYPE OIURV_DOC_DTL_BK ,
ld_e_mfr_um_cur  TYPE OIUREP_SALESTYPE-MFRING_UOM_CUR ,
ld_e_mfr_um_pc  TYPE OIUREP_SALESTYPE-MFRER_UOM_PC .

ld_i_vltxns_ds = 'Check type of data required'.

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 OIURV_READ_EXMP_FEDERAL or its description.