I am getting an exception on the IC Web Client.
My requirement is to manipulate a text box value on change of the drop down field. I have create an event handler method. And was trying to fetch the drop down list value by using the entity reference object and get_property method. Below is the code in event handler.
lo_lcstatus_entity = me->typed_context->btadminh->collection_wrapper->get_current( ).
IF lo_lcstatus_entity IS BOUND.
lv_lcstatus = lo_lcstatus_entity->get_property_as_string( iv_attr_name = 'LCSTATUS' ).
But, I wonder, its returning null value and throwing run time exception. Below are are the details with screen shots.
1. Drop down on IC Service request screen. If the status drop down value is changed, then I have to change a text box value with the new value.
2. Technical Details:
4. tried to Debug the root cause. But its shows that ATTRIBUTE_REF value is coming as Initial.
If the BTAdminH attribute_ref is initial, then how the drop down values are getting populated. LCSTATUS attribute is part of the BTADMINH context node.