cancel
Showing results for 
Search instead for 
Did you mean: 

Display popup message on SRM portal

Former Member
0 Kudos

Hi,

I need to display a popup message on the SRM portal while doing a PO confirmation. Can you please guide me how to do it?

Do I need to modify the templates or can it be done using a BADI?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Anu,

I dont think that you can display a pop-up message in the web. But for issuing an error message in PO confirmation you can use the BBP_DOC_CHECK_BADI.

Thanks,

Pradeep

Former Member
0 Kudos

Hi Pradeep,

I have tried the BADI you have mentionned and it does display my error message.

The problem is that the error message must be displayed when i click on the "Confirm" or "Control" button in the portal. But these two buttons are used everywhere for confirmation.

Is there a field for goods movement in the portal?

Thanks in advance for your help.

Former Member
0 Kudos

Hi,

Try using CHANGE badi.

See these related threads also for more pointers:

BR,

Disha.

Former Member
0 Kudos

Hi Disha,

Thanks for your reply.

I have gone through the threads and the sample code also. But i still don't understand how to display a pop up using those two BADIs.

Can u please help?

Thanks.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Anu,

The BBP_DOC_CHECK BADI will definitely work. Please make sure you have completed the logic as below:

IF FLT_VAL = 'BUS2203' AND ( IV_MODE = 'T' OR IV_MODE = 'U' ).

* Populate your message into this table ET_MESSAGES

ENDIF.

Regards

Kathirvel

Former Member
0 Kudos

Hi Kathirvel,

Thanks for your reply. I have added these lines of code and it works fine. But my requirements are to display a popup message.

Thanks for the help.

Former Member
0 Kudos

Hi Anu,

Unfortunately that would be very much complex and also involve standard template changes to add the script.

I would suggest to go with the error messages, as it is a very much advisable alternative.

Hope this clarifies.

Regards

Kathirvel