cancel
Showing results for 
Search instead for 
Did you mean: 

How to get confirmation popup while confirming PO

Former Member
0 Kudos

Hi Friends,

I have requirement is

right now while confirming PO, as soon as we click on Confirm button, it is getting confirmed. But they want to have one confirmation popup after click on Confirm button like

" DO YOU WANT TO CONFIRM " with YES or NO buttons

if we click on YES button it should get confirmed. otherwise not.

Can anybody help me how to achieve that.

Thanks friends,

Ramana Gorrepati.

Accepted Solutions (1)

Accepted Solutions (1)

Ramki
Active Contributor
0 Kudos

Hi Ramana

This will be a modification to HTM page (Do it only if it is essential)

You need somebody with Javascript knowledge to do this. Right click on the 'confirm' button, and see properties.

You will see a JavascriptOkcode (something like javascript:SetOkCode('EDIT_PRESSED'). Note down the OK code (in the example here 'EDIT_PRESSED').

You can also find the corresponding html by right clicking on the page and 'view source'. Most probably your htm page will be in internet service BBPPCO01.

In SE80, in that html for the OKcode, you will have to add a javascript for popup also.

best regards

Ramki

Former Member
0 Kudos

Hi Ramakrishna,

I did same, right click on confirmation button and I collected that BUTTON_SAVE and I found the same in HTML template and added JavaScript code

Thanks for your help.

Thanks,

Ramana Gorrepati.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Which SRM version are you using ? I am not sure, there is any BADI available, by which you can do this.

<u>I agree with Ramkrishna, you need to go for HTML Template modification of the Internet Service - BBPCF02 / BBPCF03 using SE80 Transaction.

Since standard HTML templates uses Javascript validation, therefore you need to code your logic in the relevant HTML Template. </u>

Do let me know incase you face any issues.

Hope this will help.

Regards

- Atul

Former Member
0 Kudos

Hi Atul,

Thanks for your help. It was helpful answer for me

Thanks,

Ramana Gorrepati.

Former Member
0 Kudos

Hi Atul/Ramkrishna,

I have similar requirement where I need to show a custom message on clicking Shopping cart line item delete Icon.

We already have one message for confirmation, saying "do you want to delete item" , I need to either modify it or create another confirm message after that.

Would you please help me in this case. I will be creating a new post for the same.

Appreciate your help in this case.

Thanks,

Gaurav