on 04-08-2016 10:21 AM
Hi Experts,
could you please look in to this issue and provide me the solution.
working on SAP PO and IDOC to JDBC.
source : yymmdd and target i need to get dd.mm.yy
And i have used TRANSFORMDATE function and i kept source date: yymmdd and target date : dd.mm.yy
in channel level i kept the timestamp as: dd.MM.yyyy HH:mm:ss
ERROR:
Unable to execute statement for table or stored procedure. TABLE NAME(Structure StatementName) due to java.text.ParseException: Unparseable date: "08.04.2016"
Thanks ,
Abhilash.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Abhilash,
It is clearly because of Date format.
The data format should match the date format of the JDBC table field.
We had the same issue then changed the date format then it worked.
Which database your trying to hit?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhilash,
Like suggestion i always do a dummy scenario with two mapping XSLT. The first one i set a SELECT with all the fields that i know the table has them, for the response you can do a simply XSLT to copy all the message (xsl:copy-of-select "/"). In this way you can check the table formats, like the date format and to do in your real scenario the insert/updater/update_insert correctly.
Regards.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.