Application Development and Automation 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: 
Read only

Date in screen

Former Member
0 Likes
1,203

Hi all,

I have created a date field in a screen and declared the date type as DATS.

I need f4 for it as calender to that field .

How to provide to it.

Regards,

Madhavi

1 ACCEPTED SOLUTION
Read only

sachin_mathapati
Contributor
0 Likes
1,059

Hi ,

In screen flow logic ..

use event

PROCESS ON VALUE-REQUEST.

FIELD date

MODULE module_valuerequest_date.

An in the module use Fm 'F4_DATE' to get F4 help for date.

OR

Easy way is , give BU_DATE_CHAR in the search help field .

you will get the required help for the date field.

Regards,

Sachin M M

Hi ,

In screen flow logic ..

use event

PROCESS ON VALUE-REQUEST.

FIELD date

MODULE module_valuerequest_date.

An in the module use Fm 'F4_DATE' to get F4 help for date.

OR

Easy way is , give BU_DATE_CHAR in the search help field .

you will get the required help for the date field.

Regards,

Sachin M M

7 REPLIES 7
Read only

former_member195383
Active Contributor
0 Likes
1,059

if u declare it as type DATs the search help will automatically come,.

Read only

Former Member
0 Likes
1,059

Hi,

Instead of type DATS

Declare the data type

l_date type sy-datum

Or

L_date type ekpo-aedat.

It will take automatically.

regards,

Nandha

Read only

sachin_mathapati
Contributor
0 Likes
1,060

Hi ,

In screen flow logic ..

use event

PROCESS ON VALUE-REQUEST.

FIELD date

MODULE module_valuerequest_date.

An in the module use Fm 'F4_DATE' to get F4 help for date.

OR

Easy way is , give BU_DATE_CHAR in the search help field .

you will get the required help for the date field.

Regards,

Sachin M M

Read only

Former Member
0 Likes
1,059

Hi Madhavi,

go to any Standard Tcode for example CO11N take the f1 help on date field

then go to tech details there you get search help attached to it.

copy it and assign the search help to your field in the screen painter.

regards

Ramchander Rao.K

Read only

0 Likes
1,059

U are working on module pool screen or selection-screen.

if u are working on selecton screen then

parameters P_date like sy-datum.

using like statement in the parameters ,it will automatically aquire

1 the f1 help if exists

2 f4 help if exists

3 and field label from the data element.

sy-datum do have a f4 help.

regards

Abhinab Mishra

Read only

Former Member
0 Likes
1,059

hi,

declare the date field as sy-datum.

parameters : p_date like sy-datum.

then there is automatic check also on that field and u get calander as well.

thanks.

Read only

Former Member
0 Likes
1,059

hi, set the screen field with : 1 Show at selection , it is ok.