on 05-28-2015 11:25 AM
Hello experts,
I have created a FPM OVP application and I'm using the built in display/edit functionality. The application starts in display mode, all fields are read only, and to edit the data the user has to press the "Edit" button.
Now I would like to add a dialog in a popup window to ask some data from the user. So the fields in this dialog should be editable either in display or edit mode. I'm using a form GUIBB for this.
I did some research, and the local edit mode seems to be the right approach. Documentation recommends to add a "Local edit button" to switch the GUIBB into local edit mode. But I would like to set the GUIBB to local edit mode automatically when the dialog is opened, without the need to press a button.
It there a way to do this? I experimented with firing the event FPM_LOCAL_EDIT, but this was without any effect.
Thanks,
Karsten
Hi Karsten,
if this is a Form UIBB (GL2), you can set in GET_DEFINITION the following:
ES_OPTIONS-TRANSACTIONAL_MODE = IF_FPM_GUIBB_CONSTANTS=>GC_TRANSACTIONAL_MODE-NON_TRANSACTIONAL_ALWAYS_EDIT.
(Hope you are on a sufficiently high release.) Then you don't need local edit. However, please note that then the OVP does not logically switch to edit mode if such a UIBB is processed, i.e. the "Save" button stays inactive. But as you wished to have the popup editable in display mode I suppose that you don't enter transactional data here so this is probably precisely what you need.
Best regards
Jens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.