‎2011 Mar 11 5:36 PM
Dear All,
I am on ECC 6.0 , my profile parameters for date is set to 2nd option ( MM/DD/YYYY). When I call the FM CONVERT_DATE_TO_INTERNAL , I get an error stating "Enter a valid date (for example, 03/11/2011 ) .
When I change my profile parameter to 1st option , DD.MM.YYYY , it works fine , could some one throw some light on this issue , any note which could fix this problem ? I tried 1379084 but , it's the same .... Thanks !!
Best Regards,
Srinivas...
‎2011 Mar 11 5:39 PM
works fine in ECC 6.0, NetWeaver 7.01, unless your input value is NOT in proper format MM/DD/YYYY. Verify your input value and try this in se37 test tool.
‎2011 Mar 11 6:13 PM
Perfect , I've checked the program as how the date is being filled before passing it to the FM ... In all the cases ( irrespective of what format the date is set in the profile parameter ) the date is set in the format 03.11.2011
But what I understood from the FM CONVERT_DATE_TO_INTERNAL , if we have the user profile set to 03/11/2011 (2nd option ) we have to pass the date in the same format , if the profile is set to 03.11.2011(1st option) , we have to pass it in the same way , else we get an error .... Thanks a lot for the information , only after your message I checked the code and found the problem by executing the FM in SE37 .... Thanks !!
Best Regards,
Srinivas Gummadi.
‎2011 Mar 11 5:44 PM
After changing the SU3 Parameters (To MM/DD/YYYY), LOG OFF and LOGIN AGAIN and then try to execute the FM in SE37