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

Create MRP views in material master

Flavio
Active Contributor
0 Likes
935

Hi Friends,

I am successfully creating materials using MATERIAL_MAINTAIN_DARK, without any MRP view.

On some of these materials, and based on certain conditions, I should create MRP1, MRP2 and MRP4 views, but not MRP3.

Do you think it is possible? and how?

Thanks a lot for your help and support.

Flavio

3 REPLIES 3
Read only

Former Member
0 Likes
748

HI

Use BAPI_MATERIAL_SAVEDATA. In this all fields available.

Regards,

Raghu.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
748

can you check BAPI_MATERIAL_SAVEDATA

BAPIMATHEAD holds the fields for different view.

Just fill it based on the conditions.

Read the function module documentation

Read only

0 Likes
748

Thank you for your replies.

I still have one doubt: if I flag MRP_VIEW in BAPIMATHEAD, I do believe all views (including MRP3) will be created, isn't it?

Thanks again

Flavio