Skip to Content
Former Member
Mar 29, 2010 at 08:30 AM

How to change gross weight and weight unit using BAPI_MATERIAL_SAVEDATA


Hi, I'm trying to do a program to edit gross weight and unit of weight.

I'm trying to do this using BAPI_MATERIAL_SAVEDATA and using the table "unitsofmeasure" to pass the values.

this is the right way to do it?

so far im not being able to chage the material...i dont know why.

here is my code so far: [|]

wa_mara is selected previously from an existing material and I change its gross weigth and unit of weight during the program

If anyone could tell me what i'm missing i would apreciate, tks

Edited by: RagnaRock on Mar 29, 2010 10:34 AM