cancel
Showing results for 
Search instead for 
Did you mean: 

Global value in sap mdg fpm : mv_fpm_edit_mode

0 Kudos
132

Hi Experts,

I have a doubt as below.

For example, we have some 5 custom blocks in sap mdg for customer.

When we do the global edit in the OVP page of sap mdg for customer, parameter mv_fpm_edit_mode holds value to 'E' only to few blocks in get_data...and not for all the blocks.

Do i need to do some settings so that the parameter mv_fpm_edit_mode  holds as 'E' whenever user does the global edit.

Kindly suggest me the same. thanks.

Regards,

Karthik S

View Entire Topic
J_R
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Karthik,

UI Building Blocks (UIBBs) that are provided by the Floorplan Manager (FPM) UI framework , so-called "General UIBBs" (GUIBBs), for example a Form, List, or a Tree GUIBB, do get the information whether they are in display or edit mode via the parameter IV_EDIT_MODE in the feeder class method GET_DATA.
Free-style UIBBs that are not provided by the FPM, but have been created by an application area or a customer, do not automatically get this information as they do not have feeder methods, but only the methods of the WD interface IF_FPM_UI_BUILDING_BLOCK. However, such free-style UIBBs (and by the way GUIBBs as well) can always get the information about their edit mode state by calling method IF_FPM~GET_UIBB_EDIT_MODE, passing over the UIBB instance key and the respective window (interface view).

I hope these explanations will help a little bit...

Best regards,
Jens

0 Kudos
Hi Jens, Thanks for the suggestion and if i want to segregate in process_event, Can i know is there any global variable for EDIT so that i can differentiate ?
J_R
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Karthik, at time point PROCESS_EVENT, the global edit mode is not yet updated in the central FPM runtime instance. So, calling method IF_FPM~GET_UIBB_EDIT_MODE will not necessarily give you reliable result. Best regards, Jens