on 06-11-2008 9:30 AM
Hi all,
I'm writing a JCO Server application where I define a function template with three tables each with a number of character fields.
It seems that I need to set the length of each field to the double of the corresponding field of the SAP function.
For example, the field COD_ZONE should be a char(2) (valid value: B1) and then I need to set the char length to 4 otherwise a truncated value is received.
It looks like a double-byte character set is set in SAP environment, but it should not be the case.
Do you have any idea ?
Thanks for helping
Answer was ok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
is your SAP system unicode? if so, you have other function definitons than in an non-unicode enviroment
regards franz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes,
we have unicode environment.
That means that I can't use following definition ?
fmeta = new JCO.MetaData("FUNC");
fmeta.addInfo("TABLE", JCO.TYPE_TABLE, 2, 0, 0, 0, "HEADER");
repository.addFunctionInterfaceToCache(fmeta);
JCO.MetaData tableMeta = new JCO.MetaData("HEADER");
tableMeta.addInfo("OBJECT_ID", JCO.TYPE_CHAR, 2, -1, 0);
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.