User-Exit or Customer-Exit for ME21Transaction
i am working on purchase order release strategy.Version 4.7E
The requirement is 'without reference to purchase requestion(PR) Purchase Order should not be created.
I found out one badi-ME_PROCESS_PO_CUST and i have implemented it.
It is working fine for ME21N transaction.It Is fine.
But when i create PO through me21 it is not being triggered.
For that i found a function-exit EXIT_SAPMM06E_017and i have implemented it.
It giving a proper Message that ''without reference to purchase requestion(PR) Purchase Order should not be created.
Now the problem is The message is coming only after all item details are entered
in the PO.So the screen is being disabled.if i click on cancel button all details are lost.
Is it possible to show this message on first-screen itself.
Can any body tell me suitable user-exit OR Customer-EXIT for this.