cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with bobj rfc

Former Member
0 Kudos

Hello,

The RFC BOBJ_XXXX is not working.

We were getting below rfc with our initial rfc config and bobj team were successfully able to start their service for registering the program id. But the program is still not registered in smgw

Connection Error

Error when opening an RFC connection

ERROR: Program id not registered

Location : SAP GATEWAY on host ...../sapgw00

Detail: TP program id not registered

Component : SAP-Gateway

Counter : 42730

Module : gwr3cpic.c

Line:1871

Return Code:679

SUBRC:

Release:701

Time:

version :2

But since the time we changed the gateway host and service we get diff error:

Connection Error

Error when opening an RFC connection

ERROR: CPIC program connection ended (read error)

LOCATION: SAP-Server vxxxcs01_xxx_00 on host vxxxcs01(wp 3)

COMPONENT: CPIC

COUNTER: 22

MODULE:

LINE:

RETURN CODE: 223

SUBRC: 0

RELEASE: 701

VERSION:

The corresponding wp trace shows :

A *** ERROR => RFC ======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=17 thRc=223

CPIC program connection ended (read error)

[abrfcio.c 8175]

A *** ERROR => RFC Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501

The corresponding sm21 shows :

Operating system call getpeername failed (error no. 76 )

Communication error, CPIC return code 017, SAP return code 223

> CPI-C function: CMINIT(SAP)

The corresponding gw trace :

*****************************************************************************

*

  • LOCATION SAP-Gateway on host vxxcs01.xxxxx.com / sapgw00

  • ERROR connection to partner 'vxxxcs01:3600' broken

*

  • TIME Thu Feb 23 11:24:58 2012

  • RELEASE 701

  • COMPONENT NI (network interface)

  • VERSION 38

  • RC -6

  • MODULE nixxi.cpp

  • LINE 4205

  • DETAIL NiIRead

  • SYSTEM CALL recv

  • COUNTER 70155

*

*****************************************************************************

GwTraceHdlInfo:

***LOG Q0I=> NiISolveSockAddr: getpeername (76: Socket is not connected) [nixxi.cpp 1787]

      • ERROR => NiISolveSockAddr: SiGetPeerName failed for hdl 577 / sock 691

(SI_EINVAL/76; UD; ST) [nixxi.cpp 1787]

      • ERROR => NiIGetSockName: NiISolveSockAddr failed (rc=-8) [nixxi.cpp 4545]

****************************************************************************************

We checked with network team and they say everything works fine.

Please advice.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Nicky,

Is that program which you are trying to connect is responding?

If not try restarting that service and do a connection test.

Regards

Vivek

Former Member
0 Kudos

Hello Vivek,

Thanks for quick response.

Please can you explain what do you mean by responding ?

Its tcp/ip connection and the activation type is "Registered server program " in rfc config and program id is "BOBJ_PROG_xxxxx"

Former Member
0 Kudos

Nicky,

You may have to check that program which you are trying to connecting using TCP/IP RFC is working.

I feel it may not be responding so you may need to check that program which you mentioned is active.

Regards

Vivek

Former Member
0 Kudos

Hello,

When BOBJ team runs their script which they generally do to register the program id , it activates the program id .

/bwcepub -aBOBJ_PROG_xxx01 -gxxxxcs01 -xsapgw00

But the program id is still not seen in smgw