‎2010 Feb 08 7:17 PM
Hi,
Iam facing the following problem while saving a date field in custome table
i have a date field zdate in which the value is 02082010.
now when i try to insert this value in the custom table it is getting updated as 20/10/0208 , but it should be 08/02/2010
How can i correct it..
Regards
Kumar
‎2010 Feb 08 7:20 PM
just before saving u might have to use a string reverse FM and then save it..
CALL FUNCTION 'STRING_REVERSE'
EXPORTING
STRING = p_string
LANG = sy-langu
IMPORTING
RSTRING = r_string
EXCEPTIONS
TOO_SMALL = 1
OTHERS = 2
.
‎2010 Feb 08 7:27 PM
Moderator message - Please see before posting - post locked
Date questions are generally not allowed.
Rob