Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

MEINS problem in BAPI_MATERIAL_SAVEDATA

Former Member
0 Kudos

Hi ,

I am using the BAPI_MATERIAL_SAVEDATA to create a material.

And I am passing the MEINS ( Base Unit of Measure) values from my table, but here I am getting the following error "not a valid unit of weight". I heared that there is a function module which is used to convert the MEINS values internaly for BAPI.

How to resolve this issue?? pls help.

Thanks,

Sridhar.

2 REPLIES 2

Former Member
0 Kudos

Hi,

It's called conversion routines.

Use the folllwing FM's to convert the data.

CONVERSION_EXIT_CUNIT_INPUT

CONVERSION_EXIT_CUNIT_OUTPUT

Hope this resolves ur problem.

RSS.

Former Member
0 Kudos

Hi Sridher,

Check this

[Link|http://sap-img.com/abap/bapi-to-copy-materials-from-one-plant-to-another.htm]