cancel
Showing results for 
Search instead for 
Did you mean: 

convert into xs:date

Former Member
0 Kudos

Hi

I want to send date to webservice (ED) in XI.How can i convert my string to xs:date before mapping?

Thanks,

Archana

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

In some case you can use an Adapter Module, but if I understood your direction

do not allow this:

From the official help.sap.com:

http://help.sap.com/saphelp_nw04/helpdata/en/cd/5af7c0c994e24fb0d0088443513de2/content.htm

<i>SOAP Adapter

In the sender adapter, you cannot add your own modules.

In the receiver adapter, if you want to add your own modules to process the request message, you add them before the module specified below; if you want to add your own modules to process the response message, you add them after the following module:

sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean</i>

Regards,

Sandro

former_member189558
Contributor
0 Kudos

Hi Archana,

in XI -- XML understands String..

so you do not need to convert string to date before mapping...

Inside mapping if you want to use the date transformation functions you can use them if you are aware of the source format .. eg mmddyyyy....

If you want to use dynamic date convertion then you have to go for a UDF....

Cheers,

Himadri