Badis while creating & approving the shopping cart
I have the following scenario to be implemented:
While creating the shopping cart, the following checks needs to be performed :
The combination of Material and WBS element needs to be checked with the other line items of the same shopping cart as well as with the previous shopping carts items to determine if it is a duplicate. In case it is duplicate, it should throw an error for the user asking him to enter the reason for duplication in a new field (new field needs to be added to shopping cart). In case of duplicates it shouldnu2019t allow further processing of the shopping cart unless the user enters the reason in the text field.
When the approval work flow is triggered, the approvers should be provided with the information messages, if the shopping cart contains the additional field (newly created field) filled-in. How to pop-up the information message at the time of approving the shopping cart.. Any BADI serves this purpose ?
Can any body suggest me the BADIs & logic that mostly fit this scenario.
Thanks & regards,