SAP Function Modules

GHO_QCI_CONVERSION SAP Function module - Perrofm QCI Conversion







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

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


Pattern for FM GHO_QCI_CONVERSION - GHO QCI CONVERSION





CALL FUNCTION 'GHO_QCI_CONVERSION' "Perrofm QCI Conversion
  EXPORTING
    is_bus_key =                " gho_s_bus_key  Business Key for Tank Silo Integration
    it_mp_details =             " gho_t_mp_char  Table Type Measurmenet POint with characterisitics and UOM
  IMPORTING
    et_imrg_std =               " gho_t_imrg_std  Table Type for Standardized Values
    et_message =                " bapiret2_t    Return parameter table
    .  "  GHO_QCI_CONVERSION

ABAP code example for Function Module GHO_QCI_CONVERSION





The ABAP code below is a full code listing to execute function module GHO_QCI_CONVERSION 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_et_imrg_std  TYPE GHO_T_IMRG_STD ,
ld_et_message  TYPE BAPIRET2_T .

DATA(ld_is_bus_key) = 'Check type of data required'.
DATA(ld_it_mp_details) = 'Check type of data required'. . CALL FUNCTION 'GHO_QCI_CONVERSION' EXPORTING is_bus_key = ld_is_bus_key it_mp_details = ld_it_mp_details IMPORTING et_imrg_std = ld_et_imrg_std et_message = ld_et_message . " GHO_QCI_CONVERSION
IF SY-SUBRC EQ 0. "All OK 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_et_imrg_std  TYPE GHO_T_IMRG_STD ,
ld_is_bus_key  TYPE GHO_S_BUS_KEY ,
ld_et_message  TYPE BAPIRET2_T ,
ld_it_mp_details  TYPE GHO_T_MP_CHAR .

ld_is_bus_key = 'Check type of data required'.
ld_it_mp_details = '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 GHO_QCI_CONVERSION or its description.