Open topic with navigation
|Example: sapgui_calendar_select_interval||Calendar Functions|
Selects a date or range of dates.
int sapgui_calendar_select_interval( const char *description, const char *calendarID, const char *interval, [args,] LAST );
|description||User entered text to aid in understanding script|
|interval||A string consisting of two dates separated by a comma: "YYYYMMDD,YYYYMMDD"|
|LAST||A marker indicating the end of the argument list. Not required if Optional Arguments are used.|
sapgui_calendar_select_interval returns an interval of dates from a calendar to the control that had focus when the calendar pop-up was called. It is equivalent to setting the text of the control to a date string without showing the calendar.
If a single date is selected the two dates in interval are the same.
This function returns LR_PASS (0) on success or LR_FAIL (1) on failure.
You can parameterize all string (char type) arguments.