cancel
Showing results for 
Search instead for 
Did you mean: 

Value help for Z date field not appearing

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi All,

Anu suggestions?

Regards

Tapavijaya

Former Member
0 Kudos

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