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

SEARCH HELP FOR DATE

Former Member
0 Likes
5,534

Hi Gurus,

I have a screen containing fields from an internal table. As I cannot use the 'from dictionary' option in the screen painter attributes, (since internal table field is not in ABAP dictionary), I'm not able to display the search help for a field of type DATS. How can i access the stabdard date search help for my type DATS internal table screen fields?

assistance will be rewarded.

thanx in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,129

Hi,

Use search help BU_DATE_CHAR or EXT_DATE

Hi Gurus,

I have a screen containing fields from an internal table. As I cannot use the 'from dictionary' option in the screen painter attributes, (since internal table field is not in ABAP dictionary), I'm not able to display the search help for a field of type DATS. How can i access the stabdard date search help for my type DATS internal table screen fields?

assistance will be rewarded.

thanx in advance.

5 REPLIES 5
Read only

Former Member
0 Likes
3,130

Hi,

Use search help BU_DATE_CHAR or EXT_DATE

Read only

Former Member
0 Likes
3,129

hi there

but just beside tht from program option will be there no anyway i will check n let u know

cheers

Read only

Former Member
0 Likes
3,129

Hi,

Declare your field as :

parameters : v_date type sy-datum.

then standrad search help will come for the date.

regards

Sandeep Reddy

Read only

pole_li
Active Participant
0 Likes
3,129

Hi,

Try this:

On your customizing screen flow,

PROCESS ON VALUE-REQUEST.

Field T_ZT-SDATE " your date field

module create_dateselect.

In your main program:

module create_dateselect.

data:p_date like sy-datum.

CALL FUNCTION 'F4_DATE'

EXPORTING

holiday_calendar_id = 'CN'

display = ' '

IMPORTING

select_date = p_date

EXCEPTIONS

OTHERS = 4.

t_zt-sdate = p_date.

endmodule.

Regards,

Pole

Read only

Former Member
0 Likes
3,129

Change your internal table DATS field data type to DATUM or use type SY-DATUM, in your internal table definition to get the search help for date.