cancel
Showing results for 
Search instead for 
Did you mean: 

Conversion of Datatypes?

Former Member
0 Kudos

Hi

I want to convert the String Datatype (Source message) to except String (Target Message) like Char or Integer..

How do i do that...

Your suggestions will be more valuable...

Thanks in advance..

Regards,

Ramana.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ramana,

Check this help file from page 11 onwards for DataType Conversion:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/39b2e5ee-0901-0010-e09c-83f33655...

Also check this Netweaver Release Guide and search in this for datatype conversion:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/fe2896e5-0601-0010-91b8-f802a36d...

Regards,

Subhasha Ranjan

Former Member
0 Kudos

Hi Mr. Ranjan,

ThanX for your immediate response ..

Let me explain my question more elaboratively

I am doing File - XI - File scenario.

In this, suppose i have a Source (one) data type in String and i need to get this data type at Target side should be Char.

Is it possible using XI ..

Regards,

Ramana.

Former Member
0 Kudos

Hi Ramana,

First: XI is <b>not</b> validating the XSD against the values in the payload! The only thind I see is to make sure, that in the relevant CHAR fields have in deed only CHAR values.

You can do this using a UDF (User defined function) while message mapping.

Regards Mario

Former Member
0 Kudos

Mr. Mario,

Don't mine can you give me one example or any link (if you have) related to Conversion of Datatypes in XI (for UDF).

Thanks for your reply..

Regards,

Ramana.