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 field in module pool

Former Member
0 Likes
2,281

hi all,

i want to have date field in module pool with F4 help. m keeping format as DATS. but still its not taking F4 help for taking date from calender...how shud i do it.

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
1,654

Call this FM -

CALL FUNCTION 'F4_DATE'

EXPORTING

DATE_FOR_FIRST_MONTH = DATE

DISPLAY = HELPDISP

IMPORTING

SELECT_DATE = DATE

EXCEPTIONS

OTHERS = 4.

Regards,

Amit

Reward all helpful replies.

5 REPLIES 5
Read only

amit_khare
Active Contributor
0 Likes
1,655

Call this FM -

CALL FUNCTION 'F4_DATE'

EXPORTING

DATE_FOR_FIRST_MONTH = DATE

DISPLAY = HELPDISP

IMPORTING

SELECT_DATE = DATE

EXCEPTIONS

OTHERS = 4.

Regards,

Amit

Reward all helpful replies.

Read only

0 Likes
1,654

thanks Amit but where to write this code i mean which process.....

Read only

0 Likes
1,654

thanks Amit but where to write this code i mean which process.....

Read only

0 Likes
1,654

Process on value-request.

Field <required-field>

Module xxx. (write you code..)

Read only

0 Likes
1,654

Hi ,

actualy there is no need for writing any code

instead of of taking the field from program take it from dictionary

say u can give TRDIR-udat for the field name and check the box `from dictionary'.

This will allow you to get the calendar without coding...

If u want to code write in

PROCESS on value request.