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

Dependent Requirements not being created

ramakanth_sagar
Explorer
0 Kudos
1,216

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
rupesh_brahmankar
Active Contributor
0 Kudos

Hello,

If you are using the Variant configuration with characteristic planning,

You need to create planned independent requirements with configuration data for BAPI  BAPI_REQUIREMENTS_CREATE you must fill the REQUIREMENTS_CHAR_IN table

Please refer consulting nowt 825202 - BAPI_REQUIREMENTS_CREATE w/ configuration data (consulting)

Best Regards,

R.Brahmankar

ramakanth_sagar
Explorer
0 Kudos

Hi Brahmakar,

I think this note does not apply for our SAP version 6.4.

Thanks

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

There must be some difference between both planned orders. Please share screenshots of the planned order created to cover the different PIRs.


BR
Caetano

ramakanth_sagar
Explorer
0 Kudos

Hi Caetano,

Yes, there is a difference. The configuration button is not coming when I upload using BAPI.

Below, first one when the PIR is created manually and second one when PIR created using program.

Thanks

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

The solution for this issue has been already provided by on his last answer. You must you must fill the REQUIREMENTS_CHAR_IN table when creating PIRs on your BAPI, so that the configuration is available on the planned order.

In addition, the code corrections from note 825202 may be already implemented on your system, however, this note provides relevant information about this BAPI and you should read it carefully.

Best regards
Caetano Almeida