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: 

Function module or bapi for updating MVER table material consumption

Former Member
0 Kudos

Hi friends,

Iam looking for a bapi or function module which basically updated he MVER table.

I tried to search forum before posing this question , but i found the functional stuff rather than the technical point..

As we know its not corect to update standrd table using modify or update.. rather its better o update it using standard function module or bapii..

I tried to debugg the standrad transaction MM02 to find out where exactly this MVER table gets updaed...

i found a function module MATERIAL_UPDATE_ALL which basically updates all the changes into database in the material master transaction..

But in this function module i need which FM or bapi will update the MVER table.

Regards

Kumar

1 ACCEPTED SOLUTION

SimoneMilesi
Active Contributor
0 Kudos

Give a look at FM MATERIAL_ARRAY_UPDATE_RETAIL_2

9 REPLIES 9

SimoneMilesi
Active Contributor
0 Kudos

Give a look at FM MATERIAL_ARRAY_UPDATE_RETAIL_2

0 Kudos

Hi simone,

when i put a break point in the function module at the update mver table , its not stoping at that point but the entry is updating in the table , which indicates this function module is not trigering at all when the update is made for MVER table.

Any further help on this

Regards

Kumar

0 Kudos

Hi simone,

Your answer worked for me at last the function module MATERIAL_ARRAY_UPDATE_RETAIL_2

updated the MVER table.

Thanks for your help

Regards

Kumar

kesavadas_thekkillath
Active Contributor
0 Kudos

Check MB_UPDATE_MATERIAL_CONSUMPTION

0 Kudos

No luck Keshav..

Its not stopping in that FM also.

Regards

Kumar

0 Kudos

Did you try executing that fm ?

0 Kudos

Yes already done that.

Regards

Kumar

kesavadas_thekkillath
Active Contributor
0 Kudos

Also try mver_maintain_dark

0 Kudos

yes check all the function module which are related to MVER table.

mver_maintain_dark

mver_update_all

mver_array_update

etc.

Let me know if you find anuthing which works.

Thanks for your valuable time keshav.

Regards

Kumar