cancel
Showing results for 
Search instead for 
Did you mean: 

Query in Code

Former Member
0 Kudos

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.

Regards,

Vijay.

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Vijay,

The code in the event OnInputProcessing is,

Flag = '0'.

case event->id.

when 'Button ID'.

Flag = '1'.

endcase.

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....

Regards,

Jbs.

Answers (0)