12-01-2008 10:45 AM
my requirement is , in sales report they may sell in CV or EA. but in sales report all data should come in EA only. can any body tell how to do ?? is there any function module for that?
12-01-2008 10:49 AM
Hi !
Please use the conversion factor VBAP-UMZIZ and VBAP-UMZIN to display the sales Unit in Base Unit
12-01-2008 10:53 AM
Hello,
You can use "MATERIAL_UNIT_CONVERSION". For this you must be having material no. (MARA-MATNR), base UoM of the material (MARA-MEINS).
Hope this helps.
BR,
Suhas
12-01-2008 10:57 AM
12-01-2008 11:02 AM
Hello,
Plz check the FM documentation. the FM returns you the converted qty. Use the FM as below:
1. Get the Base UoM (BUoM) from MARA for all the materials in the sales order.
2. If the qty is EA in the sales order DONOT use the FM.
3. If qty is CV, then use the FM:
a. Use the FM MATERIAL_UNIT_CONVERSION to convert the qty from CV to BUoM. (KZMEINH = 'X')
b. Use MATERIAL_UNIT_CONVERSION to convert from BUoM to EA.
NB: Using this FM you can convert the qty from/to BUoM.
BR,
Suhas
Edited by: Suhas Saha on Dec 1, 2008 12:08 PM
12-02-2008 9:09 AM
thanks mate. what i saw all material is having EA as basic unit of measure. i used VBAP table ad firoz said. done. thanks again.
Edited by: chandramani kumar on Dec 2, 2008 10:10 AM
Edited by: chandramani kumar on Dec 2, 2008 10:11 AM
12-02-2008 9:11 AM
thanks mate. what i saw all material is having EA as basic unit of measure. i used VBAP table ad firoz said. done. thanks again.
12-01-2008 11:01 AM
Hi,
in such cases u need to call the Conversion exit if exists for that field which itself is a Function Module.
go to Domain->in the Definition->Convers.Routine->double click-->give you the Two Func Modules 1 for input and other for output,in ur program you call Output one before displaying that field.
For UOM use CONVERSION_EXIT_CUNIT_OUTPUT.
Regards,
Neha
Edited by: Neha Shukla on Dec 1, 2008 4:32 PM