‎2016 Mar 23 3:45 AM
Dear Expert,
I created a program to maintain material master using BAPI_MATERIAL_SAVEDATA .
Want to upload for Base UOM = MM and Weight unit = KG.
Unfortunately during upload for Basic View its failed with error "Specify the conversion factors for the unit of measure KG".
But using LSMW no such kind of this error and able to maintain. As I know LSMW using BDC.
Then why using BAPI will hit this error?
Please help is there any solution since I need it urgently.
Thanks
Liyana
‎2016 Mar 23 9:50 AM
Hi hasan,
nur liyana abu hasan wrote:
But using LSMW no such kind of this error and able to maintain. As I know LSMW using BDC.
If issue is only coming in BAPI and not in BDC/LSMW, then may be value conversion required. Kindly check the same.
Instead of KG (example. KG->SG), is there any other value maintained in SAP, if so, kindly convert the weight unit using Conversion exit..
Regards
Rajkumar Narasimman
‎2016 Mar 23 9:54 AM
Hi,
As Rajkumar said please try with conversion routine.Pass the converted value and then check.
Thanks
siva.A
‎2016 Mar 23 9:56 AM
You have to maintain the segment for alternative units (table MARM) of measures too, it is not auto created like in MM01 transaction or in a batch input recording. This has even been done if you use the BAPI method in LSMW
‎2016 Apr 01 6:54 AM
Thanks all,
Problem solved,
The marm-alt_unit must EQ to MARA-MEINS.
Regards,
Liyana