on 05-18-2011 5:34 AM
Hi All,
I have a Z date field and it is Dats 8 in DDIC and in the field properties it is declared as an input field and if the date calender automatically appears as a F4 help on the date. But my case F4 help is not appearing. How can I bring the F4 help against the date field.
Regards
Tapavijaya
You can try to change the get_p method of the attribute.
CASE iv_property.
WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
rv_value = cl_bsp_dlc_view_descriptor=>IF_BSP_DLC_VIEW_DESCRIPTOR~FIELD_TYPE_EINPUT.
ENDCASE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Anu suggestions?
Regards
Tapavijaya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I too, am facing the same situation. Is there some one who can help in getting the F4 for Date field. In my case, even standard Date fields do not have F4 calendar help !!
@Tapavijaya :
I tried using this is GET_M_<field> method : I am not sure it will help you or not , but you can try.
In case you have already solved it please let me know.
DATA: attr TYPE CRMT_EXPECT_END.
DATA: dref TYPE REF TO data.
GET REFERENCE OF attr INTO dref.
metadata = cl_crm_uiu_bt_date_tools=>get_m_date( ir_model_binding = me
iv_attribute_path = attribute_path
iv_attribute_name = 'DUE_DATE' ). "#EC NOTEXT
* no_getter = 1 ).
*
* metadata ?= if_bsp_model_binding~get_attribute_metadata(
* attribute_ref = dref
* attribute_path = attribute_path
* name = 'DUE_DATE' "#EC NOTEXT
** COMPONENT =
* no_getter = 1 ).
Regards,
Neelanjana TK
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.