Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

RFC Error: Error when converting a numeric field to XML

$
0
0

Hi,

I am trying to solve this runtime error when executing my service from firefox rest client.

I have an entity called Expense Period (ExpPeriod) which has 3 integer fields, zmonth (abap type int2 mapped to Edm.Int16), zyear(abap type int2 mapped to Edm.Int16) and totalamount (CURR13 mapped to Edm.Decimal) in my properties in service builder.

 

Runtime artifacts are being generated and but it shows following error in response body:

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <errorxmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
  3.   <code>/IWFND/CM_BEC/026</code>
  4.   <messagexml:lang="en">RFC Error: Error when converting a numeric field to XML.</message>
  5.   <innererror>
  6.     <transactionid>1B5E32E30AD8F1F4BCAE00155D087807</transactionid>
  7.     <errordetails/>
  8.   </innererror>
  9. </error>

 

Capture.JPG

Any ideas?


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>