Delivery Note Duplication check in MIGO transaction.
Dear all
We have used user exit EXIT_SAPMM07M_001 to achieve the above requirement i.e a Goods Receipt cannot be posted with the same Delivery note number for a vendor, material & movement type (101 in this case) in a particular year.
However when there are any return deliveries the same is returned via movement type 122 and based on quality approval can be taken back for emergency production requirement via MIGO transaction with Action subsequent delivery wrt. the return delivery document. Since this transaction also uses 101 movement type, system does not permit posting the Goods Receipt and gives an error message Delivery note already posted.
Is there a way where we can restrict the check based on ACTION. Please advise which other user exist I can use to achieve this.
Regards,
VRM
Hi Manjunath
Just an idea:
Can you use reason for movement type in your MIGO transactions ??
Try to control from Reason for movement type in your user exit.
Thanx
Prasad
Dear Prasad
Thanks for your reply. The idea proposed should work but not full proof. The clients requirement is they do not want to permit a second GR for the same item, same vendor in a particular year so that the vendor does not get paid twice.
Using a reason type. I can post GR for the saem item, same vendor in a year more than once based on the reason type logic. Hence this may not work.
Please let me know if there is any other way/exit to achieve this.
Cheers,
VRM