‎2007 Jul 12 12:03 PM
.hi i created a custom field(type date) in screen painter and i want that field to have a calendar popup upon F4,any clues?
thanks,
zry
‎2007 Jul 12 12:07 PM
Hi,
If tou create a Variable like,
data : date like sy-datum.
means, the calender ouput will display when you press the F4 button.
Thanks,
Reward If Helpful.
‎2007 Jul 12 12:07 PM
Hi,
If tou create a Variable like,
data : date like sy-datum.
means, the calender ouput will display when you press the F4 button.
Thanks,
Reward If Helpful.
‎2007 Jul 12 12:10 PM
HI,
check the following program.
doing the same.
REPORT Z_TEST2 .
data : RETURN_TAB LIKE DDSHRETVAL occurs 0 .
DATA : BEGIN OF ITAB OCCURS 0,
MONTH like t510s-DAYMO,
END OF ITAB.
PARAMETERS : month(2).
AT SELECTION-SCREEN ON VALUE-REQUEST FOR month.
do 53 times.
itab-month = sy-index.
append itab.
enddo.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'MONTH'
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'MONTH'
VALUE_ORG = 'S'
TABLES
value_tab = ITAB
return_tab = return_tab.
or
try this.
POPUP_CALENDAR_SDB
<b>Reward points</b>
Regards
‎2007 Jul 12 12:12 PM
hi,
declare the custom field of type ( any database table field of date type).
the F4 help will come automatically when u press F4.
For Example: custom field type vbak-erdat.