I have a requirement to check a condition when creating or editing a Purchase order type STO (Stock transfer order) and CCPO (Company Cross Purchase order).
- the creation date should be equal to or greater than 'dd/mm/yyyy'
- The supply Plant should be 'X'
- The Receiving Plant should be 'Y'
- Delete flag (EKOP-LOEKZ) is blank
If one of the above conditions is wrong then we have to prevent users from creating the purchase order.
Could you please show me what is User exit or BADI's or How to configure to handle the task ?