on 09-04-2012 12:48 PM
Hi ,
I am using SOAP to RFC synchronous scenario in which I have to deal with decimal values. The remote function module used have an "amount" FIELD of decimal datatype. eg: 9876543.87 .
Whereas I am using the same xsd:decimal in the Data type in PI. When we pass the decimal value in webservice, it doesn't execute.
The concern is as we are taking decimal datatype in Remote function module in R/3 system, so which related datatype need to be taken in PI or what else needs to be done.
Please suggest....
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>The concern is as we are taking decimal datatype in Remote function module in R/3 system, so which related datatype need to be taken in PI or what else needs to be done
The easiest approach is using string. You might also try using xsd:double or xsd:float over here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello everybody...
Seem to have the same issue here except that formatNum doesn't work for me - used both approaches ('.' or ',') and any possible combination but I always end up with a mapping error eventhough that message mapping testing works just fine. Seems like I have a specific problem with xsd: decimal - I got these from SXMB_MONI:
A name contained an invalid character. Error processing resource 'file:///C:/Documents and Settings/gkamp/Local Settings/Te...
<?xml version="1.0"?><ns1:MT_Material xmlns:ns1="http://www.sap-press.com/pi/training/ZZ"><BRGEW>1.200<...
Missing character seems to be the closing tag ">"
</SAP:Error>
I get the error whatever format I choose in the formatNum, even with integer data.
Any ideas?
Thanks in advance
Greg
PS: SLD Cache looks OK
Hi,
most easy is to use data type string. If you need to convert with leading zeros or decimal separator use standard function formatNum.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.