Hello, this has been probably asked already but I wasn't able to find the answer.
The situation:
I created a Report with Query Designer where the user must enter mandatory prompts. One is a date-prompt that has a default-setting of current-date -1. This was done by creating a variable with "Processing by Customer Exit" and writing the following ABAP in CMOD/EXIT_SAPLRRS0_001/INCLUDE ZXRSRU01
WHEN 'ZVAR_CUST_EB_PERIODE_RANGE'.
IF i_step = 1.
CLEAR: wa_range.
lv_date = sy-datum - 1.
e_s_range-low = lv_date.
e_s_range-high = lv_date.
e_s_range-sign = 'I'.
e_s_range-opt = 'BT'.
APPEND e_s_range TO e_t_range.
ENDIF.
And it does work.
The question:
How do I get the same functionality when I schedule the report?
In BEx Broadcaster/General Precalculation I have to select a date for this mandatory filter and each day when the schedule runs it uses this set date that I selected and not current_date -1.
Please give me some insight on this.
best regards
Alex