Skip to Content
0
Former Member
Jun 11, 2008 at 08:30 AM

JCO Server - function template definition

39 Views

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