mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 13:46:17 +08:00
Dynamic prefill of date (#713)
This commit is contained in:
parent
719fe85ef8
commit
41823b64c9
|
@ -29,8 +29,8 @@ INCLUDE zdemo_calendar_classes.
|
||||||
|
|
||||||
DATA: lv_workdir TYPE string.
|
DATA: lv_workdir TYPE string.
|
||||||
|
|
||||||
PARAMETERS: p_from TYPE dfrom DEFAULT '20190101',
|
PARAMETERS: p_from TYPE dfrom,
|
||||||
p_to TYPE dto DEFAULT '20191231'.
|
p_to TYPE dto.
|
||||||
|
|
||||||
SELECTION-SCREEN BEGIN OF BLOCK orientation WITH FRAME TITLE orient.
|
SELECTION-SCREEN BEGIN OF BLOCK orientation WITH FRAME TITLE orient.
|
||||||
PARAMETERS: p_portr TYPE flag RADIOBUTTON GROUP orie,
|
PARAMETERS: p_portr TYPE flag RADIOBUTTON GROUP orie,
|
||||||
|
@ -42,6 +42,8 @@ INITIALIZATION.
|
||||||
cl_gui_cfw=>flush( ).
|
cl_gui_cfw=>flush( ).
|
||||||
p_path = lv_workdir.
|
p_path = lv_workdir.
|
||||||
orient = 'Orientation'(000).
|
orient = 'Orientation'(000).
|
||||||
|
p_from = |{ sy-datum(4) }0101|.
|
||||||
|
p_to = |{ sy-datum(4) }1231|.
|
||||||
|
|
||||||
START-OF-SELECTION.
|
START-OF-SELECTION.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user