on 05-24-2013 1:37 PM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.