Skip to Content
0
Former Member
Sep 25, 2012 at 02:04 PM

Make field editable after entity is locked.

21 Views

Hi!!

My requirement is to display two editable field in entity after entity is locked.

LR_ADMINH_ENTITY ?= me->typed_context->btadminh->collection_wrapper->get_current( ).

CHECK LR_ADMINH_ENTITY is BOUND.

CALL METHOD LR_ADMINH_ENTITY->if_bol_bo_property_access~get_properties

IMPORTING

es_attributes = ls_adminh.

*****Condition here****

IF LV_Condition is 'X'

lv_locked = LR_ADMINH_ENTITY->lock( ).

ENDIF.

***********

but for same condition i would like to make two fields editable in adminh contextnode on header overview after entity got locked.

Please advise.