on 12-11-2007 5:16 PM
Hi,
I have an issue while reading table S066 and especially field OEIKW. I never get the negative sign...
Here is a part of my code:
String oeikw = table.getField("OEIKW").getString();
Does anyone have an idea?
thanks in advance.
Stephane.
Hi,
The type Binary Coded Decimal(BCD) is taken as Bigdecimal in java. In the followed document it is termed as the same and in the standard code of my application also it is retrieved as same.
Hope it works for u.
Regards,
Sateesh Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
try to achieve in different ways.
like
table.getString(FIELDNAME);
table.getValue(FIELDNAME);
and typecast to string.
Also you can get the type of the value with getType() method.
Regards,
Sateesh Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I get the same results with the 3 different ways and the type returned by the RFC with JCO is BCD whereas it is a CURR in SAP.
Have you ever heard about such kind of issue?
I have read on the web (http://help.sap.com/saphelp_nw04/helpdata/en/a5/3ec9ea4ac011d1894e0000e829fbbd/content.htm)
that CURR should never be used as is but I dont know whether JCO supports BAPICURR_D or BAPICUREXT, if this can help...
I am a bit new to SAP so I apologize if my explanation is not good.
thank you.
Regards,
Stephane Decoppet.
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.