Hello Olav,
Thanks a lot for your piece of code... It works fine.
It works fine when it runs "alone", but when I but it into my own call of BAPI_MATERIAL_SAVEDATA, the same error always occurs !
Incredible.. I tried to call two time the BAPI, one time with my own data, and a second time with only the modification of the brut weight... I don't understand WHY only this damned weight isn't updated in my own program, and why it works fine in yours !
(I check the "X" values, the field used, the internal tables, etc...)...
There must be something different, but what ?
I'm going mad...