4 weeks ago - last edited 3 weeks ago
Hello everyone,
I’m currently implementing the BAdI PRCG_DOC_ITEM_CONDITION_AMOUNT in SAP S/4HANA Cloud Public Edition. My goal is to include custom logic for calculating the condition type TPE1.
Here’s what I’ve done so far:
However, when I test the BAdI during pricing execution, I get the following unexpected error message:
“Enhancement identifier for routine number 3009999 must exist.”
Based on the error details, you recommend implementing the PRCG_DOC_CONDITION_AMOUNT BADI alongside the previous BADI and assigning it the same routine. But I haven't seen this implementation in the examples.
I’ve already double-checked the enhancement ID and configuration, but I couldn’t find any additional details or documentation related to this specific error.
Has anyone faced a similar issue with this BAdI or the linkage between the enhancement ID and the routine number in the configuration? Any insights or troubleshooting steps would be greatly appreciated.
Thanks in advance for your help!
Best regards,
Request clarification before answering.
Good day @Adrianqui192
Thank you for your question.
Based on your screenshots, the error regarding enhancement identifier happens in public cloud when you don’t properly link your defined BAdI or if it is not recognised in SSSCUI. There are steps to manage it:
1. First is to ensure your BAdI implementation has FORMULAR equals TPEI, then ensure the status is set to published and your extension point ID is PRCG_DOC_ITEM_CONDITION_AMOUNT. This can be achieved in your custom logic app. Ensure you create
2. Secondly, in you SSCUI, ensure you create a new routine with the Enhancement Identifier TPEI. You can achieve this by following the 3 steps required creation.
3. Thereafter, assign the routine in your pricing procedure under the condition type and re-publish the BAdI.
Once concluded, the pricing engine will call your custom routine when condition type is processed.
Have a look at these links for more details.
Custom Logic: Condition Amount
How to configure a Routine for SSCUI 102430 and 102808
Let me know if you have any questions.
Best regards
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris1973. I've tried to replicate the steps you recommended, but the same error continues to occur. Based on the error details, you recommend implementing the PRCG_DOC_CONDITION_AMOUNT BADI alongside the previous BADI and assigning it the same routine. Have you also worked on a similar case where both BADIs needed to be implemented at the same time (PRCG_DOC_CONDITION_AMOUNT and PRCG_DOC_ITEM_CONDITION_AMOUNT)?
Yes, I have. Let me provide more context to my previous message.
In public cloud both BadIs participate in the calculation framework, this means if only one is implemented the system might still show the enhancement error. This is because the enhancement ID has not been registered across both contexts. The solution is to implement both BadIs with the same enhancement ID.
Let me know if you have any questions.
Best regards
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 30 | |
| 17 | |
| 16 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.