Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Query in Code

Hi all,

I have a requirement which requires me to display a Pop Up with the message 'You are now adding a Business Partner' in IC Web Client.

I wrote the code for the Pop Up in the view layout and was successful able to get the Pop Message.

But when the user clicks or the second time the Pop Up does not appear though it is executed.

Can anyone please suggest some way by whch i can get the Pop Up every time when I click the button.



Edited by: Balasubramanian Vijay on Sep 10, 2008 12:17 PM

Former Member
Former Member replied


The code in the event OnInputProcessing is,

Flag = '0'.

case event->id.

when 'Button ID'.

Flag = '1'.


The code in the layout is,

<% if flag ='1'. %>

call pop up box.

<% endif. %>

How the above code will works:

when the user click on Button, action is in the event OnInputProcessing,

Event->id is "button's id", then Flag = '1'.

In the Layout, IF condition is true, then your Pop-up code will execute.

Flag = '1' only when user clicks on Button, in all remaining cases, Flag = '0'.

Try this....



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question