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: 

ABAP Function for Material Unit of measure check

SimoneMilesi
Active Contributor
0 Kudos
539

Hi Gurus,

i need to find a FM, a sequence of FM or anything else that return the same list (in internal tables whould be great!) like when i try to change the UM on a material but there are some open items  and i got "DISPLAY ERRORS".

i need this because using BAPI_MATERIAL_SAVEREPLICA i got only the message "The base unit of measure cannot be changed; choose "Display errors".

BT

4 REPLIES 4

Former Member
0 Kudos
131

Hi,

Try this FM..'MD_CONVERT_MATERIAL_UNIT'

                 

Thanks and Regards

Srimanta

0 Kudos
131

No, that function convert a material's quantity regarding the unit of measure. It does nothing like the report i need.

PeterJonker
Active Contributor
0 Kudos
131

Use /h and then click DisplayErrors and use debugging to find out how SAP is doing it.

0 Kudos
131

This was my 1st try before coming here and found the function, but it retrieves informations from memory and the memory area is not filled when i use the BAPI.

Anyway i solved otherwise.