Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

XML Date issue with proxy

Former Member

Hi

We are using XSD in PI, to build our inbound proxy( PI to ECC) This XSD has given by 3rd party.

For all the date fields, they have use xs:date

While generating the proxy we are getting 3 formats DATS, XSDDATE_D, XSDDATE_ISO in inbound proxy.

The sender service is sending as YYYY-MM-DD HH:MM:SS. This is causing the proxy to give syntax error while loading the data.

I read the forum and saw talking about XSDDATE_local etc.. Please advice how can i load this date format in ABAP, I tried all 3 format coming & it is not working.


Thanks!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

If anyone has any updates or have faced the issue, please advice.

From PI the XS:Date is coming in YYYY-MM-DD HH:MM:SS. format.


We need to handle this in ABAP and it is crashing because the date has 3 formats DATS, XSDDATE_D, XSDDATE_ISO in inbound proxy.

Thanks!

3 REPLIES 3

Former Member
0 Kudos

Thanks for those who read. Appreciate your response on this.

Former Member
0 Kudos

If anyone has any updates or have faced the issue, please advice.

From PI the XS:Date is coming in YYYY-MM-DD HH:MM:SS. format.


We need to handle this in ABAP and it is crashing because the date has 3 formats DATS, XSDDATE_D, XSDDATE_ISO in inbound proxy.

Thanks!

0 Kudos

We asked third party to change the data type and not it is coming as requires.

Thanks!