Skip to Content
Former Member
Mar 23, 2008 at 12:41 AM

How to identify that the call to a BAdI is coming from SAPGUI


Hi All,

In the current project involving SAPCRM 5.0 (both GUI and PCUI), we need to display a pop-up asking the user whether he would like to go ahead with the changes in both GUI and PCUI.

The function module 'Popup-to-confirm' was used in a BAdI implementation and it worked fine in GUI but caused problems in PCUI. So this code was commented out as of now.

Could you let me know as to how should we differentiate the call being placed to a BAdI is from GUI or from PCUI so that we could ensure that the pop-up gets displaced in GUI atleast as of now and does not get populated/cause errors in PCUI as of now?

Else please let me know what is the correct way of displaying a pop-up in both GUI and PCUI in CRM 5.0?


Ravi Kiran