Ansicht
Dokumentation

OIB_QCI_CONV_SIMPLE_MULT_RFC - Function module to convert a source quantity to multiple target quantities

OIB_QCI_CONV_SIMPLE_MULT_RFC - Function module to convert a source quantity to multiple target quantities

BAL_S_LOG - Application Log: Log header data   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module can be utilized to convert a given quantity I_QUANTITY (floating point format) to the corresponding quantity E_QUANTITY (floating point format) for a requested target unit of measure I_TARGETUOM. You have to pass the source unit of measure(I_UOM) and quantity (I_QUANTITY) ( floating point format) and the target unit of measure(I_TARGETUOM) to the function module.

The function module is not yet RFC enabled. The function checks if a conversion group for which a conversion is requested has been released for such a remote function call. The function module is currently NOT released for customers.

SAP does not deliver any function groups that are released for RFC access. Customers may want to do so in their system after they have verified that no license agreement will be violated by doing so (e.g. with providers of third party software products for quantity conversion).

Depending on the complexity of the conversion, you have to provide the following additional information:

For an HPM material (MARA-CMETH = '1'), you may have to pass the parameter structure I_PARAMETERS( OIB_A04 ). Use function module OIB_QCI_READ_CONV_PARAMETERS "Read HPM conversion default parameters" to determine these or fill the parameters "by hand" from your application. The parameters are required as soon as the logic decides that a call to the QCI has to be performed and the API c-codes are called.
For a standard material (MARA-CMETH = ' ') or TDP (Excise duty relevant only) material (MARA-CMETH = '2'), the conversion group is not required and will be ignored and the parameters are also not relevant. For these materials you have to pass the material number ( I_MATERIAL ) information.

If you pass the conversion group AND material number information, the conversion group data will be adjusted based on the material and plant data before the conversion is performed. For HPM materials, the plant data has to be passed then as well in order to allow to check that the data is consistent.

Example

Notes

Further information





Parameters

CT_QUANTITIES
ET_RETURN
IT_PARAMETERS
I_CONVERSIONGROUP
I_DEF
I_MATERIAL
I_MATERIAL_LONG
I_PARAMETERS
I_PLANT
I_QUANTITY
I_UOM

Exceptions

Function Group

OIB_QCI_SERVICES_RFC

Fill RESBD Structure from EBP Component Structure   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2607 Date: 20240523 Time: 122302     sap01-206 ( 63 ms )