Application Development and Automation 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: 
Read only

MEINS problem in BAPI_MATERIAL_SAVEDATA

Former Member
0 Likes
633

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
Read only

Former Member
0 Likes
472

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.

Read only

Former Member
0 Likes
472

Hi Sridher,

Check this

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