1 Reply Latest reply: Sep 1, 2010 4:44 PM by Richard Brünning RSS

How to set the Edit Mode of a View

Johannes Schnatz
Currently Being Moderated

Hi Experts,

 

I would like to set a complete assigment block of a component to "not editable" / "read only"!

 

In doing so, I have redefined method do_prepare_output. I have created a reference to IF_BSP_WD_VIEW_GROUP_CONTEXT. The interface provides a number of methods such as:

 

IS_VIEW_IN_DISPLAY_MODE
SET_VIEW_EDITABLE

 

However, there is no method SET_VIEW_NOT_EDITABLE! This is what I need.. i need to set one view to not editable..

 

That is, removing the view from the table EDITABLE_VIEWS_TAB in class CL_BSP_WD_VIEW_GROUP_CONTEXT (implementation of IF_BSP_WD_VIEW_GROUP_CONTEXT)..

 

Anybody out there how know how to do that??

 

THANKS!! Johannes

Actions