on 2016 Jan 21 7:09 AM
When the user select a value from f4 drop down list the dependent fields should get cleared, can anyone please tell me how to achieve this?
Example if the user select the value from the country field it dependent fields like state,region,district,city should get cleared.
Thanks & Regards,
Rajkumar
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.