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: 

Proxy data type XSDDATETIME_Z from XSD datetime

Former Member
0 Kudos

Hello all, I am a PI configuration resource and do not know about ABAP so I am coming here for some insight.

I have created a Proxy using a WSDL for the end point. The WSDL uses a datetime datatype.

This datatype is converted to a XSDDATETIME_Z in the proxy which is a DEC 15 type.

My ABAP resource says that is not a valid format for him to use for a date time. He wants me to make a custom copy of the WSDL and change to a STRING then use a mapping to get the Proxy data into the inbound message format.

I am not in agreement as I believe the format would not exist in ABAP if it wasn't useful. He says there is no conversion routine for this data type.

Can you help me educate him on how to populate this field with ABAP code? Or is he correct that I should setup a different format for the proxy?

 

Thank you kindly,

Tadd Bryan

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Michael Greer provided the correct solution on another post:


data : a(30) type c,

     b(30) type c.

a = '2010-07-16T07:30:00+03:00'

concatenate a0(4) a5(2) a8(2) a11(2) a14(2) a17(2) into b.

Target value will be in variable b.

1 REPLY 1

Former Member
0 Kudos

Michael Greer provided the correct solution on another post:


data : a(30) type c,

     b(30) type c.

a = '2010-07-16T07:30:00+03:00'

concatenate a0(4) a5(2) a8(2) a11(2) a14(2) a17(2) into b.

Target value will be in variable b.