Skip to Content

Selection-Screen F4-help for Predefined Date Type 'd'

Sep 25, 2017 at 10:50 AM


avatar image

Apparently if a (selection) screen element is defined using the predefined ABAP-Type 'd', the automatic date help is not displayed. Tbh, i came across this problem for the first time today, when defining a utility report (for PoC purposes).

  p_date1 TYPE d, " Without default 'date' help
  p_date2 TYPE dats. " With default 'date' help

I checked on the internet found that this problem is there since ages. However i couldn't find any relevant SAP documentation.

I have the following questions:

  • Why this restriction for 'd'?
  • Is this defined somewhere in the ABAP documentation? If not, shouldn't it be?



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Raymond Giuseppi
Sep 25, 2017 at 11:18 AM

The online documentation (Hierarchy of the Search Help Call) states that 'The calendar help and time help are automatically provided for fields with data type DATS and TIMS'. So not automatic for TYPE D but for TYPE DATS.

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Thanks for the link.

I was assuming that since DATS is internally assigned to 'D', the calendar-help for 'D' should also be provided automatically.


IMHO the main point is that TYPE d is only an Abap type, when TYPE dats is a ddic type.


Exactly, i get your point. I was under the assumption, that's all :-/