cancel
Showing results for 
Search instead for 
Did you mean: 

Convertng between XSD Data Types and ABAP Data Types

Former Member
0 Kudos

Hi,

I´am receiving data in my SAP Backend System through an ABAP Server Proxy. In my Interface I have a numerical field with length 14. I define that field as type xsd:integer in XI. When receiving data in SAP Backend it is converted to INT4 with length 10. This results in an overflow error.

Which xsd data type should I use?

Regards,

Morten

Accepted Solutions (0)

Answers (2)

Answers (2)

nikhil_bose
Active Contributor
0 Kudos

You can use xsd:decimal which can store upto 18 digits.

But restrictions are there:

• fractionDigits

• totalDigits

refer: http://www.w3schools.com/schema/schema_dtypes_numeric.asp

in ABAP :

AQS_SGNUMB

KNOBJ

you can search data types in SE11->data types->specify the datatype and length, it will return you with those using same length.

regards,

nikhil bose

Former Member
0 Kudos

Use String. If length <= 65535 and pattern = \d+, NUMC with length = totalDigits