‎2005 Nov 22 4:30 PM
i declare "keydate LIKE bgmkobj-gwlen"
and i get 01.01.2000
like 00.20.0101
any idea?
‎2005 Nov 22 4:37 PM
I have checked your code
data : keydate LIKE bgmkobj-gwlen.
keydate = '20000101'.
write keydate.
I getting 01.01.2000 which is correct.. check how you assigned to keydate.
‎2005 Nov 22 4:34 PM
‎2005 Nov 22 4:36 PM
‎2005 Nov 22 4:34 PM
Hi Please
paste your code.
if i am correct you are getting out put in this format 00.20.0101 not 01.01.2000
regards
vijay
‎2005 Nov 22 4:35 PM
Hi,
GWLEN is format char8 and on system side like this
"20000101"...
Use FM CONVERT_DATE_TO_INTERNAL / EXTERNAL to change formats.
hope this helps otherwise keep asking!
Regards Matt
‎2005 Nov 22 4:36 PM
Hi Yehiel,
May be date is in different format.
use write statement like
write date to keydate.
Use function modules 'CONVERT_DATE_TO_INTERNAL'
and move to keydate.
Hope this will help you.
Thanks&Regards,
Siri.
‎2005 Nov 22 4:37 PM
I have checked your code
data : keydate LIKE bgmkobj-gwlen.
keydate = '20000101'.
write keydate.
I getting 01.01.2000 which is correct.. check how you assigned to keydate.
‎2005 Nov 22 4:38 PM
Hi!
How do you fill keydate? With move, via dynpro...
Regards,
Christian
‎2005 Nov 22 4:50 PM