I want to give a pop to confirm while saving PR&PO,for the optionbutton NO
i want give warning message by "pop-up to confirm" in PR while saving it.if the person press 'yes' then it should allow to save ,and if pressed 'no' then remains the previous screen in edit mode.
For 'yes' there is no prob. its getting saved going to display mode .
but for 'no' dont know how to get previous screen values in edit mode.similiarly i have to do the same for PO.
i am using badi "ME_PROCESS_REQ_CUST" method "POST" for PR.
And "ME_PROCESS_PO_CUST" method "CHECK" for PO
please provide your valuable ideas.