get_selection

Frontend Support

Windows

HTML

Java

u

u

u

Use this method to return the date range selected by the user in the calendar control.

This method returns the same information as the parameters of the date_selected event. However, it can often be more efficient to use this method to retrieve the selection once "on demand" when you really need it, rather than to register the date_selected event and have it triggered each time the user makes a selection. This is especially true under SAPGUI for HTML, where each event causes a potentially-unnecessary round trip.

CALL METHOD calendar->get_selection
           IMPORTING date_begin = date_begin
                     date_end = date_end.

Parameter and Type

Meaning

date_begin
TYPE CNCA_UTC_DATE

The beginning date of the selection

date_end
TYPE CNCA_UTC_DATE

The end date of the selection

selection_table

Not yet implemented