on 2012 Dec 28 6:04 AM
Hi All,
I have a requirement where I have two fields. One is drop-down and other is input field(mandatory field). Based on the dropdown value input field gets populated automatically. But error message still shown in the message bar since it is an mandatory field. User need to press enter to remove this error.
I am trying to use server round trip in p_method of input field using fp_server_name but the property server name is not set for input field. How can I remove this error message without pressing Enter and is there any other way how can I trigger server round trip.
Thanks
Lalit
Hi Lalit,
You can try to delete this particular message based on the message number if your input filed is having a value in do_prepare_output( ) of the view.
Regards
Vinod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lalit,
Put the following code in the GET_P_XXXX method of the drop-down field attribute:
CASE iv_property.
*****
WHEN IF_BSP_WD_MODEL_SETTER_GETTER=>FP_SERVER_EVENT.
rv_value = 'CHANGE_EVENT'.
ENDCASE.
Thanks,
Vinay Kumawat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lalit,
In GET_P_XXX method use fp_server_event OR fp_on_click instead of fp_server_name to trigger round trip on select of dropdown.
CASE iv_property.
WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
rv_value = cl_bsp_dlc_view_descriptor=>field_type_picklist.
WHEN if_bsp_wd_model_setter_getter=>fp_server_event.
rv_value = 'Dummy_Event'.
ENDCASE.
Regards
Rajarama U
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 | |
1 | |
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.