Default value in parameter is not filled correctly
Hello SAP masters,
I have a little problem with parameters.
We declared a parameter with default sy-datum .
When we start the program, the value of the parameter is not SY-datum.
Example : parameters : p_cpudt like mkpf-cpudt default sy-datum no-display.
In our dev. and test system, the parameter is filled with sy-datum.
In our production system, the parameter is filled with the date of 2 days ago.
The dataelement of mkpf-cpudt has no parameter id.
Why is the parameter in prod system not filled with sy-datum ????
Thanks in advance,
Best regards,
Yoolb
Is your production system held on a different server to DEV/TEST ?
And if so, what does the operating system fro this server report the time as being ?
Dr Sidewalk
Your production database server has wrong date !!!
Sorry for the inconvenience,
The problem was in the variant.
The report variant was changed and they put the date of 2 days ago in the cpudt field.
Thanks anyway for trying to find a solution.
Best regards,
Yoolb
Do you exec the report from SE38/SA38 or are you using a variant?