2025 Feb 12 7:44 AM - edited 2025 Feb 12 9:03 AM
Hi Experts,
I am using BADI ME_PROCESS_PO_CUST with method PROCESS_ITEM to update UMSON & KNTTP fields and method PROCESS_ACCOUNT to update SAKTO & KOSTL fields during PO creation.
The system throws an error 'Data from Business Add-In ME_PROCESS_PO_CUST not adopted' in ME21N because of this badi implementation.
I also noticed that the error only occurs if PROCESS_ACCOUNT method is implemented and if I remove this method implementation then I dont get the error.
I already checked SAP notes and community blogs related to this topic but I dont see a solution.
It would be great if someone could post solution to this.
Below is the code snippet for both snippets.
Regards,
Sparsh
Request clarification before answering.
Usually these messages come from an infinite loop. I suppose the item change triggers an account update, which triggers an item update, until the program safely stops the loop and reverse the change, so the message.
Make sure your code does not use the set_data method when no value is actually changed (should be in the not posted process_account method as process_item already partially check this)
" but exact check should look like
ls_item-knttp NE 'K' or ls_item-umson EQ abap_false
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
58 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.