on 04-25-2016 3:42 PM
Hello,
on clicking a link in a list ATS, there will opened a new page. Before I set the Parameter FPM_EDIT_MODE as 'R' to lo_fpm->mo_app_parameter. But in method GET_DATA of the called form UIBB IV_EDIT_MODE is 'E'.
What is the Problem?
Greetings
Hi Stefan,
you should not change the global parameter FPM_EDIT_MODE. This is evaluated at application start. Actually I am not quite sure what you really want to achieve, but if you only want to switch to an editable page, you should simply use a page with page type "Edit Page".
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.
This is the setting:
- Start Page (Einstiegsseite)
- On Clicking a global toolbar button a Main Page (Hauptseite) is calling, edit mode is E, all fields are input ready
- After Save the OVP is setting back to Start Page
If I click on this create button a second time, the Main Page is displayed with edit mode R.
It seems that event FPM_SAVE sets edit mode to R. But unfortunately this is not desired.
Hi Stefan,
If the switch back to display mode after FPM_SAVE is not desired you can add the event parameter FPM_KEEP_EDIT_MODE = X to the save event. This can also be done in the configuration.
But please note that the cancel event will switch to display mode in any case. You may also add a standard edit button (event id FPM_EDIT) for such cases.
Best regards
Jens
Hi Jens,
THX for answer.
Do you have an ideea for this too:
- Start Page click on Link to Action will open the default details page. All fields are not input ready. After clicking the button EDIT there switch to edit mode E. All nice.
- Leave this page over button cancel, the start page with List UIBB is calling
- After clicking the link column a second time the details page will open in edit mode.
How can I "reset" the Action clicking on button EDIT, so every click on link colum open the details page with edit mode R?
Hi Stefan,
So you can either switch to the cancel event and throw FPM_GOTO_START right after this by code, or you may try to use the button with FPM_CANCEL and maintain the attribute for "Target Page" (or "Target Content Area") in the attributes panel in FLUID: Here you can enter the page id of your start page (if this is already available in the your system).
Let me just remark that the behavior you are implementing is not quite standard. Usually you would navigate explace from the search result list to the main page.
Regards, Jens
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.