Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error DeepEntityInsert:The argument 1,000.000 cannot be interpreted as a number

I am developing a deep entity insert requirement on SAP Trading Contracts.  I am using the procedure within the Gateway Client to do a Get of an individual Trading Contract using getEntity (right side), and then copying the HTTP Response XML to the HTTP Request side (left side)

I then execute a POST with the proper URL (..../TradingContractSet).

I commented out the TKONN DB Key across the XML.

When I Execute the Request, I get an error in the log saying "The argument 1,000.000 cannot be interpreted as a number".

When I scan my XML, I do not have a "1,000.000" value anywhere in the XML.  Nor do I have any number fields that contain a comma.

As part of this process of "copying XML from Response to Request", is there anything that needs to be done to the decimal fields such that that are interpreted correctly?  Or does anyone know what this error message is telling me?

Thanks!

Kevin

Former Member
replied

Hi Kevin,

This is data type mismatch issue. The Gateway framework expects the decimal fields with quotes.

Try passing "1000.000".

Also, if not working then fire the Get call with data format as Json and use the same as request and share the snap shot .

BR.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question