Skip to Content
0
Former Member
Jun 11, 2013 at 07:36 PM

Exception while getting the drop down value on an Event

34 Views

Hi Gurus,

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' ).

ENDIF.

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:

3. Exception

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.

Please advice.

Thanks,

Kiran Vemula.