on 05-19-2009 3:35 AM
I am working on Proxy to SOAP in PI 7.1 version
I have input date as 2009-05-14T17:00:00-07:00 from ECC and I need to split the date as 2009-05-14 and time as 17:00
please find the error in mapping below
Compilation of MM_ECC_to_ISO_ClaimSearch_Req successful Unparseable date: "2009-05-14T17:00:00-07:00" com.sap.aii.mappingtool.tf7.FunctionException: Unparseable date: "2009-05-14T17:00:00-07:00" at com.sap.aii.mappingtool.flib7.DateTransformer.convertDate(DateTransformer.java:72) at com.sap.aii.mappingtool.flib7.DateTransformer.getValue(DateTransformer.java:37) at com.sap.aii.mappingtool.flib7.If.getValue(If.java:35)
Please let me know how can I get rid of this error
Thanks
PR
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
For the XI/PI this is not a valid date format. What is the type of your source field and your target fields?
When do you get this error?
You should split the string an ommit the "T".
Your string 2009-05-14T17:00:00-07:00 should be splitted with offset 0, length 10 into date target field and offset 11, length 5 into time field.
Regards,
Volker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have input date as 2009-05-14T17:00:00-07:00 from ECC and I need to split the date as 2009-05-14 and time as 17:00
Have logic as below:
Source -- Substring(0...10) -- output will be 2009-05-14----------dateTransform(if needed)----------> Target
Source-- Substring(11...16)-- output will be 17:00 -------Target
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Source_Date ---> Substring (0..9) -> DateTrans(under properties set you desired pattern)-> Target_Date
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> I am working on Proxy to SOAP in PI 7.1 version
>
> I have input date as 2009-05-14T17:00:00-07:00 from ECC and I need to split the date as 2009-05-14 and time as 17:00
>
> please find the error in mapping below
>
> Compilation of MM_ECC_to_ISO_ClaimSearch_Req successful Unparseable date: "2009-05-14T17:00:00-07:00" com.sap.aii.mappingtool.tf7.FunctionException: Unparseable date: "2009-05-14T17:00:00-07:00" at com.sap.aii.mappingtool.flib7.DateTransformer.convertDate(DateTransformer.java:72) at com.sap.aii.mappingtool.flib7.DateTransformer.getValue(DateTransformer.java:37) at com.sap.aii.mappingtool.flib7.If.getValue(If.java:35)
>
>
> Please let me know how can I get rid of this error
>
> Thanks
> PR
You need to convert the source date format into that of target date format....you need to use standard DateTransform function available in Messaeg Mapping......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello PR,
Use a "substring" function to cut the field into two then use the "dateTrans" function to transform each into the required output.
Regards,
Glenn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.