2011 May 03 1:56 PM
Hi, people.
I´m creating materials thru BAPI_MATERIAL_SAVEDATA.
I´m passing the corresponding values of weight and volume in table UNITSOFMEASURE: GROSS_WT, VOLUME and VOLUMEUNIT (and filling its corresponding table UNITSOFMEASUREX)
The material is created correctly. But, when I go to transaction MM03 to see the material, I don´t see these values updated in Basic Data 1 or any other place.
Could you tell me why, please?
Thank u so much!
2011 May 03 2:53 PM
Hello SAPNuno,
Are you filling the values for the base unit of measure? If so, then you should fill in the measurements in structure CLIENTDATA and CLIENTDATAX.
Kind Regards,
Rae Ellen Woytowiez
2011 May 03 2:30 PM
Hi,
Hope that you are calling "BAPI_TRANSACTION_COMMIT" after calling your BAPI - BAPI_MATERIAL_SAVEDATA.
If not call the BAPI_TRANSACTION_COMMIT to save the material in the database.
Regards,
Harish
2011 May 03 2:53 PM
2011 May 03 2:53 PM
Hello SAPNuno,
Are you filling the values for the base unit of measure? If so, then you should fill in the measurements in structure CLIENTDATA and CLIENTDATAX.
Kind Regards,
Rae Ellen Woytowiez
2011 May 03 3:01 PM
Hi, Rae:
In fact, I´m filling structure CLIENTDATA, CLIENTDATAX (with values base_uom, base_uom_iso), and tables UNITSOFMEASURE and UNITSOFMEASUREX (with values gross_wt, volume, volumeunit).
I´m filling the field UNITSOFMEASURE-DEL_FLAG with 'X'. Has anything to do with this? If I don´t fill it, BAPI returns me an error: "Specify unit of measure".
I´m really lost, people...
2011 May 03 3:07 PM
Are you converting UOM to German first. For example the UOM PC (in English) needs to be converted to ST (in German). Look in table T006a for translations.
Kind Regards,
Rae Ellen Woytowiez
2011 May 03 3:01 PM
2011 May 03 3:07 PM
Hi, Raymond:
Yes, I did. They don´t give me relevant information abou it, and returns me messages type S and H, telling me that the material was created successfully.
2011 May 03 3:08 PM
2011 May 03 3:26 PM
One important question: Is obligatory filling the fields UNITSOFMEASURE-ALT_UNIT and UNITSOFMEASURE-ALT_UNIT_ISO (with its corresponding X)?
Because to create materials in my SAP system, I´ve understood that is not mandatory and that´s why I was not filling them in the BAPI.
But now, I´ve filled them and gross weight, volume and volume unit are correctly informed in transaction MM03.
2011 May 03 3:48 PM
Well, people. Here we go with my solution.
First of all, thank all of you very much. Undoubtly, I wouldn´t have been able to get the solution by my own without your help.
So, to fix my problem, I´ve filled alternative unit with the same value in base unit in my BAPI structures.
Thru this way, values in fields Gross weight, Volume and Volume Unit are correctly updated. And, aditionally, we´re able to check the conversions in additional data->Units of measure (which contains the same units, base and alternative).
I hope I´m clear enough.
Once more, thank you very much for your help, people.
Best regards.
2014 Jun 30 1:39 PM