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

Re: Auto clearing the values in the fields based on f4 drop down list value.

$
0
0

Hi Irfan,

 

Thanks for your kind reply and very sorry for the delay.

 

Please find the below code which i used :

 

1) In Get_P method of attribute.

 

method GET_P_COUNTRY.

case iv_property.

when if_bsp_wd_model_setter_getter=>fp_server_event.

  rv_value = 'CLEAR'.

endcase.

 

2) In the event handler.

 

method EH_ONCLEAR.

 

DATA: current TYPE REF TO if_bol_bo_property_access.


current ?= me->typed_context-><context node name>->collection_wrapper->get_current( ).

 

 

    if current is bound.

 

current->set_property(

             iv_attr_name = 'STATE'                        

             iv_value     = ' ' ).

         current->set_property(

             iv_attr_name = 'CITY'                      

             iv_value     = ' ' ).

 

endmethod.

 

Please let me know do i need to make any changes further .

 

Thanks & Regards,

Rajkumar


Viewing all articles
Browse latest Browse all 7775

Trending Articles