SAP OIUPR_TYPIFICATION_NORMALIZE Function Module for Typification Normalization
OIUPR_TYPIFICATION_NORMALIZE is a standard oiupr typification normalize SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Typification Normalization 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 oiupr typification normalize FM, simply by entering the name OIUPR_TYPIFICATION_NORMALIZE into the relevant SAP transaction such as SE37 or SE38.
Function Group: OIU_CHEMICAL_ANALYSIS
Program Name: SAPLOIU_CHEMICAL_ANALYSIS
Main Program: SAPLOIU_CHEMICAL_ANALYSIS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function OIUPR_TYPIFICATION_NORMALIZE 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 'OIUPR_TYPIFICATION_NORMALIZE'"Typification Normalization.
EXPORTING
TYP_ID = "Typification Identification Number
* I_GAS_MOLVOL_MOL_U = "Unit of measurement
* I_GAS_MOLVOL_VOL_U = "Unit of measurement
TYP_DT = "Effective from date
UMRSL = "Oil conversion group
* I_VOLRATIO_GAS_U = "Unit of measurement
* I_VOLRATIO_LIQ_U = "Unit of measurement
* I_MOLWEIGHT_U = "Unit of measurement
* I_GHVAL_U = "Unit of measurement
* I_MOLVOL_MOL_U = "Unit of measurement
* I_MOLVOL_LIQ_U = "Unit of measurement
IMPORTING
E_GHVAL_U = "Unit of measurement
E_NM_VOLRATIO_LG = "Ratio of liquid to gaseous volume of component
E_NM_VOLRATIO_GL = "Ratio of gaseous to liquid volume of component
E_NM_GAS_HEAT_VAL = "Gas comp. heat. value,superior, id. react. fuel as ideal gas
E_NM_LIQ_GAL_LBMOL = "Standard volume
E_NM_LIQ_LBMOL_GAL = "Standard volume
E_NM_GAS_MOLVOL_RATIO = "Standard volume
E_VOLRATIO_LG_U = "Unit of measurement
E_VOLRATIO_GL_U = "Unit of measurement
E_MOLWEIGHT_U = "Unit of measurement
E_MOLVOL_MOL_U = "Unit of measurement
E_MOLVOL_LIQ_U = "Unit of measurement
E_GAS_MOLVOL_MOL_U = "Unit of measurement
E_GAS_MOLVOL_VOL_U = "Unit of measurement
E_NM_MASS = "Molecular weight of natural gas:return value from AGA c-code
EXCEPTIONS
ERRORS_FOUND = 1
IMPORTING Parameters details for OIUPR_TYPIFICATION_NORMALIZE
TYP_ID - Typification Identification Number
Data type: OIU_PR_CHATH-TYP_IDOptional: No
Call by Reference: No ( called with pass by value option)
I_GAS_MOLVOL_MOL_U - Unit of measurement
Data type: MSEHIOptional: Yes
Call by Reference: No ( called with pass by value option)
I_GAS_MOLVOL_VOL_U - Unit of measurement
Data type: MSEHIOptional: Yes
Call by Reference: No ( called with pass by value option)
TYP_DT - Effective from date
Data type: OIU_PR_CHATH-EFF_FROM_DTOptional: No
Call by Reference: No ( called with pass by value option)
UMRSL - Oil conversion group
Data type: OIB01-UMRSLOptional: No
Call by Reference: No ( called with pass by value option)
I_VOLRATIO_GAS_U - Unit of measurement
Data type: MSEHIOptional: Yes
Call by Reference: No ( called with pass by value option)
I_VOLRATIO_LIQ_U - Unit of measurement
Data type: MSEHIOptional: Yes
Call by Reference: No ( called with pass by value option)
I_MOLWEIGHT_U - Unit of measurement
Data type: MSEHIOptional: Yes
Call by Reference: No ( called with pass by value option)
I_GHVAL_U - Unit of measurement
Data type: MSEHIOptional: Yes
Call by Reference: No ( called with pass by value option)
I_MOLVOL_MOL_U - Unit of measurement
Data type: MSEHIOptional: Yes
Call by Reference: No ( called with pass by value option)
I_MOLVOL_LIQ_U - Unit of measurement
Data type: MSEHIOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for OIUPR_TYPIFICATION_NORMALIZE
E_GHVAL_U - Unit of measurement
Data type: MSEHIOptional: No
Call by Reference: Yes
E_NM_VOLRATIO_LG - Ratio of liquid to gaseous volume of component
Data type: OIU_STD_VOLOptional: No
Call by Reference: Yes
E_NM_VOLRATIO_GL - Ratio of gaseous to liquid volume of component
Data type: OIU_STD_VOLOptional: No
Call by Reference: Yes
E_NM_GAS_HEAT_VAL - Gas comp. heat. value,superior, id. react. fuel as ideal gas
Data type: OIU_HEAT_VALOptional: No
Call by Reference: Yes
E_NM_LIQ_GAL_LBMOL - Standard volume
Data type: OIU_STD_VOLOptional: No
Call by Reference: Yes
E_NM_LIQ_LBMOL_GAL - Standard volume
Data type: OIU_STD_VOLOptional: No
Call by Reference: Yes
E_NM_GAS_MOLVOL_RATIO - Standard volume
Data type: OIU_STD_VOLOptional: No
Call by Reference: Yes
E_VOLRATIO_LG_U - Unit of measurement
Data type: MSEHIOptional: No
Call by Reference: Yes
E_VOLRATIO_GL_U - Unit of measurement
Data type: MSEHIOptional: No
Call by Reference: Yes
E_MOLWEIGHT_U - Unit of measurement
Data type: MSEHIOptional: No
Call by Reference: Yes
E_MOLVOL_MOL_U - Unit of measurement
Data type: MSEHIOptional: No
Call by Reference: Yes
E_MOLVOL_LIQ_U - Unit of measurement
Data type: MSEHIOptional: No
Call by Reference: Yes
E_GAS_MOLVOL_MOL_U - Unit of measurement
Data type: MSEHIOptional: No
Call by Reference: Yes
E_GAS_MOLVOL_VOL_U - Unit of measurement
Data type: MSEHIOptional: No
Call by Reference: Yes
E_NM_MASS - Molecular weight of natural gas:return value from AGA c-code
Data type: OIU_ENERGYOptional: No
Call by Reference: Yes
EXCEPTIONS details
ERRORS_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for OIUPR_TYPIFICATION_NORMALIZE 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_typ_id | TYPE OIU_PR_CHATH-TYP_ID, " | |||
| lv_e_ghval_u | TYPE MSEHI, " | |||
| lv_errors_found | TYPE MSEHI, " | |||
| lv_e_nm_volratio_lg | TYPE OIU_STD_VOL, " | |||
| lv_i_gas_molvol_mol_u | TYPE MSEHI, " | |||
| lv_e_nm_volratio_gl | TYPE OIU_STD_VOL, " | |||
| lv_i_gas_molvol_vol_u | TYPE MSEHI, " | |||
| lv_e_nm_gas_heat_val | TYPE OIU_HEAT_VAL, " | |||
| lv_e_nm_liq_gal_lbmol | TYPE OIU_STD_VOL, " | |||
| lv_e_nm_liq_lbmol_gal | TYPE OIU_STD_VOL, " | |||
| lv_e_nm_gas_molvol_ratio | TYPE OIU_STD_VOL, " | |||
| lv_typ_dt | TYPE OIU_PR_CHATH-EFF_FROM_DT, " | |||
| lv_e_volratio_lg_u | TYPE MSEHI, " | |||
| lv_umrsl | TYPE OIB01-UMRSL, " | |||
| lv_e_volratio_gl_u | TYPE MSEHI, " | |||
| lv_e_molweight_u | TYPE MSEHI, " | |||
| lv_i_volratio_gas_u | TYPE MSEHI, " | |||
| lv_e_molvol_mol_u | TYPE MSEHI, " | |||
| lv_i_volratio_liq_u | TYPE MSEHI, " | |||
| lv_i_molweight_u | TYPE MSEHI, " | |||
| lv_e_molvol_liq_u | TYPE MSEHI, " | |||
| lv_i_ghval_u | TYPE MSEHI, " | |||
| lv_e_gas_molvol_mol_u | TYPE MSEHI, " | |||
| lv_i_molvol_mol_u | TYPE MSEHI, " | |||
| lv_e_gas_molvol_vol_u | TYPE MSEHI, " | |||
| lv_e_nm_mass | TYPE OIU_ENERGY, " | |||
| lv_i_molvol_liq_u | TYPE MSEHI. " |
|   CALL FUNCTION 'OIUPR_TYPIFICATION_NORMALIZE' "Typification Normalization |
| EXPORTING | ||
| TYP_ID | = lv_typ_id | |
| I_GAS_MOLVOL_MOL_U | = lv_i_gas_molvol_mol_u | |
| I_GAS_MOLVOL_VOL_U | = lv_i_gas_molvol_vol_u | |
| TYP_DT | = lv_typ_dt | |
| UMRSL | = lv_umrsl | |
| I_VOLRATIO_GAS_U | = lv_i_volratio_gas_u | |
| I_VOLRATIO_LIQ_U | = lv_i_volratio_liq_u | |
| I_MOLWEIGHT_U | = lv_i_molweight_u | |
| I_GHVAL_U | = lv_i_ghval_u | |
| I_MOLVOL_MOL_U | = lv_i_molvol_mol_u | |
| I_MOLVOL_LIQ_U | = lv_i_molvol_liq_u | |
| IMPORTING | ||
| E_GHVAL_U | = lv_e_ghval_u | |
| E_NM_VOLRATIO_LG | = lv_e_nm_volratio_lg | |
| E_NM_VOLRATIO_GL | = lv_e_nm_volratio_gl | |
| E_NM_GAS_HEAT_VAL | = lv_e_nm_gas_heat_val | |
| E_NM_LIQ_GAL_LBMOL | = lv_e_nm_liq_gal_lbmol | |
| E_NM_LIQ_LBMOL_GAL | = lv_e_nm_liq_lbmol_gal | |
| E_NM_GAS_MOLVOL_RATIO | = lv_e_nm_gas_molvol_ratio | |
| E_VOLRATIO_LG_U | = lv_e_volratio_lg_u | |
| E_VOLRATIO_GL_U | = lv_e_volratio_gl_u | |
| E_MOLWEIGHT_U | = lv_e_molweight_u | |
| E_MOLVOL_MOL_U | = lv_e_molvol_mol_u | |
| E_MOLVOL_LIQ_U | = lv_e_molvol_liq_u | |
| E_GAS_MOLVOL_MOL_U | = lv_e_gas_molvol_mol_u | |
| E_GAS_MOLVOL_VOL_U | = lv_e_gas_molvol_vol_u | |
| E_NM_MASS | = lv_e_nm_mass | |
| EXCEPTIONS | ||
| ERRORS_FOUND = 1 | ||
| . " OIUPR_TYPIFICATION_NORMALIZE | ||
ABAP code using 7.40 inline data declarations to call FM OIUPR_TYPIFICATION_NORMALIZE
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 TYP_ID FROM OIU_PR_CHATH INTO @DATA(ld_typ_id). | ||||
| "SELECT single EFF_FROM_DT FROM OIU_PR_CHATH INTO @DATA(ld_typ_dt). | ||||
| "SELECT single UMRSL FROM OIB01 INTO @DATA(ld_umrsl). | ||||
Search for further information about these or an SAP related objects