on 2022 Sep 10 1:01 AM
Hi All,
I need to upsert a long value to Successfactors through SAP CPI.I am trying to convert the value 145.86 to long through xslt as below:
<cust_1><xsl:value-of select="xs:decimal(SUI)"/></cust_1>
or
Message Mapping:
Have the element cust_1 as xs:long.
but both these mappings returns only as String and getting the error on upsert as below:
Request Payload Parsing Failed for one of the reason: (1) Either the OData metadata content available in the server is outdated OR (2) The request payload seems to be incorrect. Error Details : Parsing exception for XML node <cust_1>, com.sap.gateway.core.ip.processor.exception.ODataProcessingException: Cannot convert 145.86 to java.lang.Long, java.lang.NumberFormatException: For input string: "145.86"
Can anyone let me know how to convert this to long through sap cpi?
Request clarification before answering.
User | Count |
---|---|
70 | |
21 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.