Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

F4 help icon on DATS field

Former Member
0 Kudos
1,200

Hello Experts!!!

I have a field "date" on my screen which was created using Screen Painter. Its an I/O field having the format DATS. When I call this screen and press F4 on the date field, the calendar appears as a pop-up. My problem is the F4 icon doesn't appear at the end of this Date field. What needs to be done for the F4 icon to appear?Thanks in advance!!

Cheers!

Smitha

1 ACCEPTED SOLUTION

Former Member
613

Hello Smitha,

Go to SE51

In the attributes of the field

<b>Possible entries as 2(From drop down list)</b>

Regards,

VAsanth

8 REPLIES 8

Former Member
0 Kudos
613

Hi,

Try using F4_DATE function module for this field.It displays a calendar in a popup window and allows user to choose a date, or it can be displayed read only.

Hope this helps.

Reward if helpful.

Regards,

Sipra

0 Kudos
613

Hi,

create that date date field as like this.

data:date1(8) type c.

rgds,

bharat.

Former Member
0 Kudos
613

Hi Smitha,

While designing the field in the screen painter please refer to any of the data element in the filed properties.

Regs,

Venkat Ramanan

Former Member
614

Hello Smitha,

Go to SE51

In the attributes of the field

<b>Possible entries as 2(From drop down list)</b>

Regards,

VAsanth

0 Kudos
613

Hello Vasanth,

I have the same issue. I have a field type DATS in a table control in a screen layout and for that a calendar opens on pressing F4 but the F4 icon is not visible. I tried doing your way but not effective. May be i did some mistake. Can you please elaborate how to do it? Thanks in advance.

0 Kudos
613

Yes, it works.

  1. Go to your Screen>Layout it will show you the screen painter.
  2. Then, double-click on your field it will show you a new popup
  3. Below, go to Attributes>Program and look for Possible Entries and choose you required option

former_member194669
Active Contributor
0 Kudos
613

Hi,

While defining the field in the screen , please give reference a date field from any SAP table ie VBAK-BUDAT. Then system automatically give you the F4 functionality.

aRs

Former Member
0 Kudos
613

Hello All!!

Thanks for the replies. Now I am able to get an icon on the Date field! I used Vasanth's method.

Thanks and Regards,

Smitha