Default value in parameter is not filled correctly

Question:
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
Answer:
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
Answer:
Your production database server has wrong date !!!
Answer:
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
Answer:
Do you exec the report from SE38/SA38 or are you using a variant?

More Articles:

Internal Table - Dynamic?
Open FI enhancements.?
Can we get how many times an object changed?
Create Index key?
Need HELP on User Exit for SAPLV43D (VC01N)?
Page number in program output?