Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: Different view becoming editable for Edit button of another view

$
0
0

Code to edit the View B

 

TRY.
lr_controller ?= me->comp_controller.
lr_entity ?= lr_controller->typed_context->builheader->collection_wrapper->get_current( ).
IF lr_entity->lock( ) EQ abap_true.
activity = '2'. " edit
me->view_group_context->set_view_editable( me ).

ELSE.
activity = '3'. " display
ENDIF.
CATCH cx_sy_move_cast_error.
activity = '1'. " create
CATCH cx_sy_ref_is_initial.
ENDTRY.


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>