on 01-21-2016 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
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.
Hi Deshetti,
The way I see more feasible to achieve this is "programming" in the main field GET_V method, and erase data from the company manually,
For example GET_V_Country should thence interact with the BOL entity where the data you want to change and delete them when the value is changed so that when you select a new value the page will reload and delete data dependent fields in the view are,
You must do debbug for operation ...
Follow link for example:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
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.