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

Material Master Conversion

Former Member
0 Likes
596

Hi,

I am using a Bapi 'BAPI_MATERIAL_SAVEDATA' for Material Master Conversion. Here I am passing the values which includes Basic unit of measure as "TDR" and Alt. unit of measure as "TWE" along with conversion factor X as "10" and Y as "1". But the Bapi is giving an error: "The alternative unit of measure is the same as the base unit of measure".

But When I am doing the same with MM01 transaction. It is working fine.

Can you please help me for this?? It's an urgent requirement??

Regards,

Gulzar.

1 ACCEPTED SOLUTION
Read only

mandar_shete
Active Participant
0 Likes
573

Hi,

Have you checked whether the conversion is required before passing the Units to BAPI...

Try this

CONVERSION_EXIT_CUNIT_INPUT

CONVERSION_EXIT_CUNIT_OUTPUT

3 REPLIES 3
Read only

mandar_shete
Active Participant
0 Likes
574

Hi,

Have you checked whether the conversion is required before passing the Units to BAPI...

Try this

CONVERSION_EXIT_CUNIT_INPUT

CONVERSION_EXIT_CUNIT_OUTPUT

Read only

christian_wohlfahrt
Active Contributor
0 Likes
573

Hi Gulzar!

Try to use the iso-code fields (BASE_UOM_ISO, ALT_UNIT_ISO) for units. They have to be unique and not language dependent. Sometimes this is a problem, but with iso-code no confusion of SAP is possible.

Maybe this helps - in general it has to be possible (like your manual test showed).

Regards,

Christian

Read only

Former Member
0 Likes
573

Hello Gulzar,

have a look at the SAP Note 739090. This is a program correction which might help you.