I have a scenario in SRM Client in which i need to trigger a workflow using a Badi "BBP_PCO_WFL_BADI" whenever there is a change in Quantity and Delivery Date requested in PO.
The standard workflow templates WS14500019, WS14500007, WS14500001 are disabled so that the approval from the agents (including Buyer) for the particular group is enabled.
I am stuck at How to validate the corresponding field for the quantity and the Delivery date between SRM and SUS PO and POR respectively and put the code in method START_WORKFLOW for the Implementaion in Badi.
I am only able to find following things from the SRM client:
Table used: bbp_pdigp
Quantity: BBP_MNG Types DATS
Delivery Date: EINDT Types DATS
Can someone please help me out with the sample code or the logic for it?
Is it necessary to validate the fields or it can be checked in background using some workflow item?