on 01-30-2012 8:12 AM
Hi,
which kind of data type I have to choose in the PI 7.1 , when I expect in my APAB Proxy an type QUANT or DEC (17,4)?
Thanks
You have to use xsd:decimal. Refer to http://help.sap.com/saphelp_nw04/helpdata/en/de/705c3c3806af06e10000000a11402f/content.htm.
Regards, Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For xsd:decimal, specify the totalDigits and fractionDigits in Details field of your data type. You can define the total length and number of decimal places there. I successfully used this type in many of my scenarios. Your ABAP Proxy class in ECC will have DEC 17 4 type, for instance, depending on the values you provide in Details.
Hope this helps,
Greg
You can use simple string type itself. If you want to customise decimal and fraction digits at PI side, you might do it using standard function formatnumber.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you are not having any xml validation in PI, always use 'string' as xsd type. In your proxy structure also you will see it as 'string' type.
If it is an inbound proxy, you can always put string value into a dec or quant field of SAP, same is applicable for outbound proxy also where you will put quant/dec value into sting datatype of proxy structure.
Amol Bharti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can define as XSD string. Also you can handle it with standard functions given in mapping editor.
Regards,
Vinit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.