on 2005 Jul 21 2:40 AM
JCO Example2.java use.
JCO.addClientPool(xxxxxx);
repository = JCO.createRepository("MYRepository", SID);
IFunctionTemplate ftemplate = repository.getFunctionTemplate("FUNCTION_NAME");
JCO.Function function = new JCO.Function(ftemplate);
JCO.Client client = JCO.getClient(SID);
client.execute(function);
JCO.Attributes a = client.getAttributes();
System.out.println("Connection attributes:
" +
"----
-
" + a);
>Connection attributes:
-
-
DEST: wj
OWN_HOST: wj
PARTNER_HOST: xx.xx.xx.xx
SYSTNR: 00
SYSID: DEV
CLIENT: 300
USER: WJ02
LANGUAGE: 3
ISO_LANGUAGE: KO
OWN_CODEPAGE: 8500
OWN_CHARSET: EUC_KR
OWN_ENCODING: KSC_5601
OWN_BYTES_PER_CHAR: 2
PARTNER_CODEPAGE: 8500
PARTNER_CHARSET: EUC_KR
PARTNER_ENCODING: KSC_5601
PARNER_BYTES_PER_CHAR: 2
OWN_REL: 640
PARTNER_REL: 620
PARTNER_TYPE: 3
KERNEL_REL: 640
TRACE:
RFC_ROLE: C
OWN_TYPE: E
CPIC_CONVID: 09601662
but
SAP Communication Error message?
what do you mean?
CPIC/SAP Return Code??????
-
-
R49 communication error, CPIC return code 020, SAP return code 223
R5A > Conversation ID: 00677468
R64 > CPI-C function: CMSEND(SAP)
task 40019 . 0 D0 dialog process No. 0
user WJ02
client 300
terminal xx.xx.xx.xx
session 1
problem class K SAP Web AS Problem
developer class STSK
module name thxxhead
line 6707
error text 020223
È£Ãâ±â ThRecei
»çÀ¯/È£Ãâ CPIC-Er
entry type m ( Error unction,Module,Row) )
message ID R4 9
º¯¼öºÎºÐ 020223 ThReceiCPIC-
-
-
however..
other funcation call success
IFunctionTemplate ftemplate = repository.getFunctionTemplate("FUNCTION_NAME2");
FUNCTION_NAME2 : Success
FUNCTION_NAME : Commuicatino Error ??
SAP Problem?
JCO Problem?
a difficult affair to manage !
I am facing similar problem.Can you please tell me how to solve it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I found the same problem, can you please tell me how to solve it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.