cancel
Showing results for 
Search instead for 
Did you mean: 

MDG 7 - CL_FPM_FORM_UIBB_ASSIST_GL2->MV_EDIT_MODE suddenly becomes 'R' during pop-up window event FPM_OPEN_DIALOG

Former Member
0 Kudos

Hello experts,

I'm a novice ABAPer and have little or no experience in webdynpro. There is a custom pop-up window with radio-buttons at some screen during customer creation in our MDG 7 system. During creation I have no problems but during change mode, the pop-up window's edit mode suddenly becomes 'R' (read-only) during the event FPM_DIALOG_OPEN. During creation, the edit mode is at constant 'E' (edit mode). When the edit mode is at 'R', the radio buttons are disabled. If I force debug CL_FPM_FORM_UIBB_ASSIST_GL2->MV_EDIT_MODE to "E", the radio buttons are enabled.

Any ideas on what to do with this issue?

Thanks in advanced,

Jack Rockefeller

Accepted Solutions (0)

Answers (2)

Answers (2)

anantharaman_r
Employee
Employee
0 Kudos

Hi,

In the Form UIBB (GL2), you can set in GET_DEFINITION the following:

es_options-transactional_mode = 'E'.

this should help.

Regards,

Ananth.

Gowtham
Contributor
0 Kudos

Hi Jack,

Kindly make sure the login user has enough authorizations to Edit the customer and find the place when the mode is set to the parameter CL_FPM_FORM_UIBB_ASSIST_GL2->MV_EDIT_MODE it will help you to sort out the issue.

- Gowtham

Former Member
0 Kudos

Anyway, I found the issue. The dialog box is triggered depending on some condition triggered during FPM_REFRESH. The problem is, during "CHANGE" mode, the global edit mode is default to "R" (read-only) and then standard FPM keeps a list of UIBBs that are in EDIT mode (CL_FPM method IF_FPM~GET_UIBB_EDIT_MODE). This dialog box just contains a set of radio buttons and an OK button. How do I set this to EDIT mode so that it will be in the list of UIBBs? Is there a setting or config? Or do I have to code this somewhere?

COMPONENT - FPM_FORM_UIBB_GL2

CONFIG_ID - ZMD_XXXXX

Thanks in advanced,

Jack