2008 Jun 01 1:27 PM
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.
2008 Jun 01 3:27 PM
Hi,
Use search help BU_DATE_CHAR or EXT_DATE
2008 Jun 01 3:27 PM
2008 Jun 01 5:12 PM
hi there
but just beside tht from program option will be there no anyway i will check n let u know
cheers
2008 Jun 01 5:31 PM
Hi,
Declare your field as :
parameters : v_date type sy-datum.
then standrad search help will come for the date.
regards
Sandeep Reddy
2008 Jun 02 3:52 AM
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
2008 Jun 02 4:38 AM
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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |