on 10-26-2012 10:33 AM
HI All,
My requitement is as below:
I have a field on my Web UI. and upon filling the field with some value, and Upon Clicking Enter on the screen i have to perform some logic..
for that i have checked the GET_P method of that attribute :
if_bsp_wd_model_setter_getter=>fp_
but i dint find any method...
Can any one pls sugget me how to accomplish this ..
is there any other way say by using HTMLB Tags.. pls help !!
Kindly Help ASAP...
HI Santosh,
If you are explicitly clicking on enter after filling the input field , then a server round trip gets triggered . You need not place any code in GET_P_XX to get this done.
You can place your logic in either SET_XXX method or DO_PREPARE_OUTPUT or DO_FINISH_INPUT depending upon your requirement.
Regards,
Nithish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nithish/Santosh,
Even I am struck with the same error. Can you please check the below Query.....
And set_method is not triggering here
In Quote creation component "BT115QH_SLSQ/Details", Partner data is flowing from "BTPARTNERSET " to "Parties involved" assignment block.
All the data related to BP is flowing from header data to "Parties Involved" assignment block.
After populating if I change any Business Partner name in header then the "parties involved" assignment block is also changing with the same BP name. But the problem is the record has BP ID, BP address etc which is not updated..... Once I press enter on that particular BP name then the record is updating to the related BP ID & Address.
Now how can I achieve this without pressing enter?
Below is the code of Get_P method of a BP name field in "parties Involved" assignment block.
method GET_P_PARTNER_NO_DESCR.
CASE iv_property.
WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
IF iv_display_mode EQ abap_true.
IF cl_crm_uiu_bt_partner=>check_link(
ir_collection_wrapper = collection_wrapper
iv_index = iv_index ) EQ abap_true.
rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.
RETURN.
ENDIF.
ENDIF.
rv_value = cl_bsp_dlc_view_descriptor=>field_type_input.
WHEN if_bsp_wd_model_setter_getter=>fp_sortable.
rv_value = 'TRUE'. "#EC NOTEXT
WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
rv_value = 'TOPARTNER'. "#EC NOTEXT
ENDCASE.
endmethod.
suggest me how to do the above requirement without performing action "Enter" manually.
Thanks & Regards,
Harry.
User | Count |
---|---|
5 | |
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.