Skip to Content
0
Former Member
Dec 26, 2016 at 12:27 PM

How to disable/enable Field in a view in Web UI?

1563 Views Last edit Sep 05, 2017 at 05:24 PM 2 rev

Hello Experts,

I am new to BSP programming and this is in regards to SAP CRM Web UI. When i click on a line item of a contract to check details. The DO_PREPARE_OUTPUT runs and sets the views. Now, on the conditions view (attached here snap1.png) we get all the mapped condition types along with details like price. This is the STRUCT.KBETR_PRT Attribute of Context Node CONDLINE.

I have to disable this field for all the users. Then there is a button 'Manuellt_Avbokad' on top of this view. On click of this button, the field 'Price' should be enabled.

Please help me understand this.

What I have done: I have disabled the field in GET_I*. Then on press of the button 'Manuellt_Avbokad' I authorise and then I am not able to enable the field since the View is already there and there is no way I know which can help me refresh this view by passing a flag or something that denotes that the button was pressed.

Please help.

Thanks in advance,

Amit

Attachments

snap1.png (111.7 kB)