on 2016 Feb 10 4:13 PM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Hello,
Could you share the ABAP code where the following structures are filled:
REQUIREMENT_PARAM
REQUIREMENTS_SCHEDULE_IN
You can also try to execute the BAPI in SE37. Your program should fill the same info that you fill when the BAPI is executed in SE37.
Kind Regards,
Mariano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 29 | |
| 14 | |
| 14 | |
| 6 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.