cancel
Showing results for 
Search instead for 
Did you mean: 

POPUP in FOX CODE ?

Former Member
0 Kudos

Hi,

My project has a web interface and the logic for it is written in fox code in BPS0. I wish to give a warning message to the user whenever certain condition is met.

I tried POPUP_TO_CONFIRM  function module in the FOX code, but when the condition met, no popup came and it resulted in a dump.

Can anyone help me with this. If this is not the right way, then what is ?

You help will be appreciated !!

Thanks and Regards,

Nikhil

Accepted Solutions (0)

Answers (1)

Answers (1)

Anand71
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Anand,

Thanks for your input.

The second link that you have provided is what I want. A 'prompt message from FOX code'. However the thread doesn't clearly specifies if its possible or not.

My requirement is also to give a popup message and asking user for input. If user clicks on 'YES', the remaining FOX formula should be executed or else if he presses 'NO', it should exit.

Something similar to what we do in ABAP using function module..

Regards,

Nikhil

0 Kudos

Hi,

this is not possible since web interfaces using BSP technology, one cannot send dynpro based pop-ups in BSP based applications.

You should variable techniques instead, i.e. provide variables for the end user; these variable have to be set before the planning function can be processed. This is also a better user interface.

Warning messages indicate that some functionality in the application is not straightforward. Maybe you can implement a check method in your application. If this check fails (the case you want to treat as a warning) you don't allow to process the FOX, but allow it in a second call. Maybe a planning sequence is helpful here, the first (exit?) function does the check and the second the FOX.

Regards,

Gregor

Former Member
0 Kudos

Hi Gregor,

Thanks for the help !! Really appreciate it.

Regards,

Nikhil