I have on selection screen of the program the file name which uploading our stock.
It looks like this:
PARAMETER: p_name LIKE epsf-epsfilnam
REPLACE 'DD' WITH sy-datum+6(2) INTO p_name.
REPLACE 'MM' WITH sy-datum+4(2) INTO p_name.
REPLACE 'YYYY' WITH sy-datum+0(4) INTO p_name.
for example this is ok for today, but how I can set that the program will check sy-datum - 1day? This means, I want to have yesterday date written here...
Thanks for the answer