Dynamic prefill of date (#713)

This commit is contained in:
Gregor Wolf 2021-01-02 10:35:42 +01:00 committed by GitHub
parent 719fe85ef8
commit 41823b64c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,8 +29,8 @@ INCLUDE zdemo_calendar_classes.
DATA: lv_workdir TYPE string.
PARAMETERS: p_from TYPE dfrom DEFAULT '20190101',
p_to TYPE dto DEFAULT '20191231'.
PARAMETERS: p_from TYPE dfrom,
p_to TYPE dto.
SELECTION-SCREEN BEGIN OF BLOCK orientation WITH FRAME TITLE orient.
PARAMETERS: p_portr TYPE flag RADIOBUTTON GROUP orie,
@ -42,6 +42,8 @@ INITIALIZATION.
cl_gui_cfw=>flush( ).
p_path = lv_workdir.
orient = 'Orientation'(000).
p_from = |{ sy-datum(4) }0101|.
p_to = |{ sy-datum(4) }1231|.
START-OF-SELECTION.