cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Dependent Requirements not being created

ramakanth_sagar
Explorer
0 Kudos
1,206

Hi,

We use an upload program to create PIR.

BAPI_REQUIREMENTS_CREATE is used in the upload program.

Issue:

The MRP does not create dependent requirements when PIR is created using program. I get the error "BOM not selected" Exception message 52.

Where as, MRP creates dependent requirement when PIR is created manually using MD61.

Please suggest a solution. Thanks

View Entire Topic
Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

The problem here is with the planned order BOM explosion. Are you sending any different parameter that could influence the BOM explosion when the PIR is created with the BAPI? Maybe a production version or the validity can be different...

I suggest you to read carefully the blog and make sure that the notes suggested are implemented on your system.

BR
Caetano

ramakanth_sagar
Explorer
0 Kudos

There is no issue with the validity and we do not use production version.

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

I can only tell that this is a problem with the BOM explosion. Which planning strategy are you using for your PIRs?

You can also try to run the BOM explosion manually on MD12.

BR
Caetano

ramakanth_sagar
Explorer
0 Kudos

It is a custom strategy. This is for Long term planning. Variant configuration with characteristic planning is used here.

Thanks

ramakanth_sagar
Explorer
0 Kudos

Why different behavior when created manually and when created using BAPI?

When MRP is run using MS02 (after PIR is uploaded using BAPI), it is reading each component but system is not creating the dependent requirements.