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

Function module or bapi for updating MVER table material consumption

Former Member
0 Likes
3,194

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

SimoneMilesi
Active Contributor
0 Likes
2,086

Give a look at FM MATERIAL_ARRAY_UPDATE_RETAIL_2

9 REPLIES 9
Read only

SimoneMilesi
Active Contributor
0 Likes
2,087

Give a look at FM MATERIAL_ARRAY_UPDATE_RETAIL_2

Read only

0 Likes
2,086

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

Read only

0 Likes
2,086

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

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
2,086

Check MB_UPDATE_MATERIAL_CONSUMPTION

Read only

0 Likes
2,086

No luck Keshav..

Its not stopping in that FM also.

Regards

Kumar

Read only

0 Likes
2,086

Did you try executing that fm ?

Read only

0 Likes
2,086

Yes already done that.

Regards

Kumar

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
2,086

Also try mver_maintain_dark

Read only

0 Likes
2,086

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