sapgui_calendar_focus_date

Example: sapgui_calendar_focus_dateCalendar Functions

Sets focus to a date on a calendar.

int sapgui_calendar_focus_date( const char *description, const char *calendarID, const char *date, [args,] LAST ) ;
description User entered text to aid in understanding script
calendarIDObject ID Strings
date A date string of format "YYYYMMDD"
outParamName Parameter to store output
argsOptional Arguments
LAST A marker indicating the end of the argument list. Not required if Optional Arguments are used.

sapgui_calendar_focus_date sets focus to a date on a calendar. This function is automatically recorded when selecting a date from a calendar. However, the function that actually returns the date is sapgui_calendar_select_interval.

If the date used in the call to sapgui_calendar_focus_date is different from the date in the call to sapgui_calendar_select_interval, the value used in sapgui_calendar_select_interval is returned to the object from which the calendar was called and the date used in the call to sapgui_calendar_focus_date is discarded.

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.