cancel
Showing results for 
Search instead for 
Did you mean: 

MRP AREA Creation after or during BAPI_MATERIAL_SAVEDATA

0 Kudos
484

Hi ABAP-ers,

I'm trying to create material by using FM BAPI_MATERIAL_SAVEDATA.

Now, i want to create any MRP areas (with any data inside) but I don't know how to do it.

Please, do you know what is the right way to do it?

Thank you!!!

Accepted Solutions (0)

Answers (1)

Answers (1)

Oscar_DC
Active Contributor
0 Kudos

Hi Antonio,

I'm very old school. I prefer creating the master record and then modifying it to add the areas. But, I'm a functional analyst, not a developer.

I prefer doing it this way because It is quite common for users to pick parameters for MRP areas which are unfeasible (like an MRP Type of V1 and a reorder point of 0 for example), you'll get plenty of errors and you won't be able to create your records.

I gave a spec to one of our developers and he used FM MD_MRP_LEVEL_CHANGE_DATA to create & modify the MRP areas. Alternatively you could use program RMMDDIBE but the program doesn't allow you to enter different values for the MRP areas, so you could try to do a BDC recording for it.

0 Kudos

Hi Oscar,

thank you for your reply.

I will try in this way!

best regards.

Oscar_DC
Active Contributor
0 Kudos

Sounds good, please update the question when you're done, let us know what worked best for you and close the question ! Thanks!

0 Kudos

Hi Oscar,

I've tried to use FM MD_MRP_LEVEL_CHANGE_DATA but I can't create MRP areas data on existing material.

The return of FM don't give me any error, I try also to add a BAPI_TRANSACTION_COMMIT after the FM, but nothing.

Do you have any sample code to show me how to call the FM?

I think that are something wrong in the parameter of the FM when I call it.

Thank you!

Oscar_DC
Active Contributor
0 Kudos

Hi Antonio,

Sorry - I cant' easily get to the program right now. I think that there are a couple of OSS notes that discuss that specific FM. Thanks!