Share this page

# sapgui_calendar_select_interval

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
calendarID | Calendar Identifier
interval | A string consisting of two dates separated by a comma: "YYYYMMDD,YYYYMMDD"
args | Optional Arguments
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.

## Return Values

This function returns LR_PASS (0) on success or LR_FAIL (1) on failure.

## Parameterization

You can parameterize all string (char type) arguments.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: