on 03-25-2019 5:13 AM
Hi Experts ,
We are facing issues while creating the Subcontracting PR (not PO ) by exploding BOM. We are using the FM : BAPI_PR_CREATE , but it is not happening . While doing it manually via transaction ME51N , We can explode BOM and put the components manually and able to create PR . But it is not happening via BAPI_PR_CREATE.
Please help , what parameters we need to pass or what techniques we need to acquire to create PR via BOM explosion using BAPI_PR_CREATE. I am also passing the item category as 'L'.
Note: We are using S/4HANA system.
I had already explored all the sources in SAP . But Nothing helps , No SAP Note will help.
See the Image , for more details
Error while using the BAPI_PR_CREATE, I tried passing the Components in the tables : PRCOMPONENTS
Need urgent help
Hi All,
I resolved it myself .
Solution :
1. For the given material ( in MRP 1 View ) - make sure MRP type - ND (No planning)
2. Make sure for in BOM, Txn : CS02 , all the component should be marked as "Production Relevant"
3. While creating the PR using BAPI_PR_CREATE , Make sure you are passing Item category as L .
It worked. Thanks all for your help.
Regards
Saurabh Goel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saurabh,
Please refer below SAP notes.
https://launchpad.support.sap.com/#/notes/2643184 - BAPI_PR_CHANGE does not update the subcontracting components
https://launchpad.support.sap.com/#/notes/2660836 - BAPI is not returning the components for a subcontracting purchase requisition
Resolution:
To have the BAPI working properly with components you have to activate the business function LOG_MMFI_P2P, which will automatically activate switch MM_SFWS_CI_01.
Best Regards,
Lingaiah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lingiah,
Thanks for the reply , but all the above suggestion is related to CHANGE. As per my requirement , I need to explode bom while creating the PR while using the BAPI_PR_CREATE.
Hi Lingaiah
When using the CREATE ABAPI is it necessary to << activate the business function LOG_MMFI_P2P, which will automatically activate switch MM_SFWS_CI_01>> ?
I know that is what you wrote but because it was in reference to the BAPI_PR_CHANGE I didnt know if for the BAPI_PR_CREATE it was needed as well
Thanks in advance
Hi Saurabh,
Your Bapi for PR creation is working fine, but its not able to find any component, so basically you are facing issue while exploding BOM.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.