Hi All,
I have a scenario where I create a PO via ME21N Tcode or change a PO via ME22N, if the PO line item Tax Codes are not unique then there must be a Pop Up while saving the PO. Pop up will have 2 buttons 'Continue' and 'Cancel'.
Cancel button must stop the PO processing at the same screen and user must be able to make changes desired and then save them. I do not have a idea how to achieve this functionality where I can stop the PO processing at the current screen.
Currently I used Error Message which did stop the PO processing at the current screen but there was a additional pop up after pressing Save button saying that 'PO Header Data is still faulty'. Please help me with Cancel button functionality.
I have used ME_PROCESS_PO_CUST enhancement spot and method used is PROCESS_HEADER.
Thanks & Regards
Amit Sharma