‎2008 Dec 17 4:36 PM
Hi all,
The user is calling the RFC enabled Function Module from an external system. Am not sure of the which system.
The date format they are expecting is DD-MM-YYYY. But they have an issue stating that this the format is getting chnged to MM-DD-YYYY. It got changed very recently.
And more over SAP system is maintaing the correct date format MM/DD/YYYY
Please give me suggestions what could have went wrong.
‎2008 Dec 17 4:41 PM
you can use
WRITE sy-datum TO: date_short,
date_long,
date_mask DD/MM/YY.
‎2008 Dec 17 4:41 PM
you can use
WRITE sy-datum TO: date_short,
date_long,
date_mask DD/MM/YY.
‎2008 Dec 17 4:45 PM
Check the code in RFC..it must be modifie or altered.
If SAP is storing correctly qand they are getting it wrong then its only the code.
‎2008 Dec 17 5:03 PM
//And more over SAP system is maintaing the correct date format MM/DD/YYYY
sap standard date notation is yyyymmdd
and the system displays the date based on user settings . SU3 usr profile, and USR01 table .
what is the mapping procedure hte external system is using to parse this date field.if its ok from ur end wait till they do the parsing from external sys.
best way to parse is to maintain the sap std notation in yyyymmdd and this makes easy to change the date either to mm-dd-yyyy or dd-mm-yyyy .