Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3189

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

$
0
0

I think it is better not to implement the BOL interaction directly in the get_v, but implement an event in the get_p.

 

CASE iv_property

WHEN if_bsp_wd_model_setter_getter=>fp_server_event.

     rv_value = [your event]

ENDCASE.

 

Your event could be for instance 'CLEARDEPENDENTFIELDS'

 

You can then catch this event in the event handler of the implementation class by adding the event in the event handler node.

 

In the event I would clear the fields.

 

Check the following links for example code.

 

http://blog.acorel.nl/2010/08/add-buttons-to-view.html

http://blog.acorel.nl/2010/08/field-properties-modification-using.html

http://blog.acorel.nl/2014/11/implement-event-handler-in-crm.html

 

This will only work for ddlb fields, as for standard input fields you cannot force a roundtrip.

 

 

Regards,

Pieter


Viewing all articles
Browse latest Browse all 3189

Trending Articles



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