2014 May 15 11:18 AM
I'm working on the conversion amount in SAP (for exempl: convert L15 to TM). There is a transaction 'O3QCITEST' in SAP that do this type of conversion it connect to the function group 'OIB_QCI_TEST' The problem is that I want the called transaction from my ABAP program and get result but still I can not do that. I tried: call transaction ...! but i can't get the return liste. submit 'OIB_QCI_TEST' but is not a program. its been two weeks since I'm working on this problem but still not get the result. in my program ABAO i want to give the MATNR (Material number) WERKS(Division) LGORT(Magasin) DATUM(Date) TRQNT(Value to convert) TRUOM(Unit from value toconvert), and i want get the result because I want to use it in the ABAP Progra. I would like to convert TM to L15 and L15 to TM and get the result in My ABAP programs
2014 May 15 11:35 AM
This is a bit technical in nature. you may need to post your query in ABAP space for appropriate responses.
2014 Jun 17 7:17 AM
Try to use FM OIB_QUANTITY_CONVERSION.
For using this FM you must fill two tables (parameters -CT_PARAM and target unit -CT_ADQTY).
To fill table of parameters try to use FM OIB_QCI_DEFAULTS (to get QCI default values) and FM OIB_QCI_MOVE_STRUC_TO_ITAB (with I_DDIC_REFERENCE = OIB_A11).
KR,
Sergey
2014 Jun 17 9:02 AM
Hi Samir,
You can use FM MD_CONVERT_MATERIAL_UNIT for units conversion for a material.
2014 Jun 17 9:19 AM
I think it is not correct to use this FM. This case relates to a quantity conversion that depends of material parameters (temperature, density)