2012 Mar 30 10:03 AM
dear all,
i tried to create a material using bapi_material_savedata, i gave base unit of measure as bag and po_unit as can,
now i need to do conversion of this, like 2 bag = 1 can.
where should i do this in bapi. im getting this message.
E MM 059 Closed shipping material: allowed packaging volume must <= to tare volume
regards,
chinta
2012 Mar 30 10:13 AM
2012 Mar 30 10:21 AM
thak you,, i did the same, but i got this error:
E MM 059 Closed shipping material: allowed packaging volume must <= to tare volume
now i need help here.. so pls give in detail...what i have to do here.
regards
chinta
2012 Mar 30 10:37 AM
if you are populating the CLIENTDATA-CLOSED_BOX, Then do check the following
1) Make sure you are populating VOLUME, VOLUMEUNIT in UNITSOFMEASURE, UNITSOFMEASUREX for the BASE UNIT OF MEASURE populated in CLIENTDATA. This will be the volume for base unit of measure.
2) Make sure the CLIENTDATA-ALLWD_VOL is less than the volume populated in step 1.
2012 Mar 30 11:19 AM
hi gaurav,
thanks for the reply. i was unsuccessful while trying to create a material with client data-closed box 'x' but i was successful doing the same without closed box checked in..
now pls could you help me if i have more than two alt units what to do. i tried to do the same uom table by giving another unit but im getting the same message which i posted earlier.
thanks once again.
chinta
2012 Mar 30 12:02 PM
I would suggest you one thing.open any material in mm02 ->basic data 1. Select Additional Data Button -> Unit of Messure. Populate the values you want using bapi and save it. Do you get any error? if yes then correct it. If not go to MARAM with that material. Makes sure you pouplate the similar data in UNITSOFMEASURE, UNITSOFMEASUREX.
It should work for sure.
P.S. : - Please do mark any helpful answer if you find so . New SCN makes life easier for any one facing such problem in future.
2012 Mar 30 10:19 AM
You have posted two problems
1) Unit of measure -> to pouplate alt unit of measure you need to populate tables UNITSOFMEASURE, UNITSOFMEASUREX ( fields ALT_UNIT, ALT_UNIT_ISO, NUMERATOR, DENOMINATR) . For checking what values to post check MARM entry for any material for which alt unit of measure is poulated
2) the error message MM059 -> Are you using CLOSED_BOX in CLIENTDATA? If yest the packageing volume MARA-ERVOL should be less than MARA-VOLUM
2012 Mar 30 12:10 PM
Try this (assuming volumne as 30 L (ltr))
CLIENTDATA-ALLWD_VOL = 30
CLIENTDATA-PACK_VO_UN = 'L'
and UNITOFMEASURE internal table like this
| ALT_UNIT | NUMERATOR | DENOMINATR | VOLUME | VOLUMEUNIT |
|---|---|---|---|---|
| BAG | 30 | L | ||
| CAN | 1 | 2 |
and ofcourse don't forget to fill CLIENTDATAX and UNITOFMEASUREX internal table
Regards,
Pawan.
Message was edited by: Pawan Kesari
2012 Mar 30 1:37 PM
hi pawan,
i wd tell you what i did.
after taking gaurav's suggestion, i got a material from sap and used same data to create a new material including the uoms. but i got this error :
E M3 647 Maintain the conversion factor for the alternative unit CCM
and then i tried your idea but still the same error, brother..
i need help here.
2012 Mar 30 3:08 PM
What values are passed in UNITOFMEASURE and UNITOFMEASUREX internal table. Could you reply with the value and repective fields?