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

bapi_material_savedata and material master change log

Former Member
0 Likes
902

Hi,

The BAPI_MATERIAL_SAVEDATA is called to extend a part number to a storage location and change MRP4 Re-order point qty and Replenishment qty.

The material master (MM03) correctly shows that the part number was extended successfully and the Re-order point qty and Replenishment qty are reflected correctly in MRP4.

However, when I view the Change Documents (menu-Environment-Display Changes), only the extension to storage location is listed. There is no record for the quantities.

Is this as expected? Is there something that can be done to enable recording of the quantities as well?

Because it's a new part number in the storage location, I expect to see the usual as below, but there's none.

old value / new value

0 / 02

0 / 10

Many thanks,

Huntr

Hi,

The BAPI_MATERIAL_SAVEDATA is called to extend a part number to a storage location and change MRP4 Re-order point qty and Replenishment qty.

The material master (MM03) correctly shows that the part number was extended successfully and the Re-order point qty and Replenishment qty are reflected correctly in MRP4.

However, when I view the Change Documents (menu-Environment-Display Changes), only the extension to storage location is listed. There is no record for the quantities.

Is this as expected? Is there something that can be done to enable recording of the quantities as well?

Because it's a new part number in the storage location, I expect to see the usual as below, but there's none.

old value / new value

0 / 02

0 / 10

Many thanks,

Huntr

2 REPLIES 2
Read only

madhu_vadlamani
Active Contributor
0 Likes
704

Hi Hunt,

There is little confusion whether bapi updated or not.Did you check with your mm consultant about the configuration settings.

Regards,

Madhu

Read only

Former Member
0 Likes
704

Hi,

The solution is to call the bapi twice: once to create the mrp view and once to change the values in the view.

The first call will generate a Create event in the document log and the second call will generate a field Change event.

Thanks,

Reyleene