on 09-10-2013 6:54 AM
Dear All,
We are facing RFC error, while creating the TCP/IP connection with Portal.
We created JCO Rfc and also give same program id in TCP/IP connection.
While test the the connection getting below error.
===========ERROR================
Error Details | program state check for conversation 84774966 / CPIC-CALL: 'ThSAPCMRCV' : cmRc=2 |
Error Details | ERROR: program state check for conversation 84774966 |
Error Details | LOCATION: SAP-Gateway on host vbiwprd / sapgw00 |
Error Details | DETAIL: program sapgw00 on host vbiwprd called function SEND_DATA in state INI |
Error Details | COMPONENT: SAP-Gateway |
Error Details | COUNTER: 39093 |
Error Details | MODULE: gwr3cpic.c |
Error Details | LINE: 3617 |
Error Details | RETURN CODE: 471 |
Error Details | SUBRC: 0 |
Error Details | RELEASE: 701 |
Error Details | TIME: Tue Sep 10 11:05:17 2013 |
Error Details | VERSION: 2 |
=====================
Kindly suggest.
---
Thanks & Regards,
Vijay
Hi,
As of 720 kernel, registration of external server program is controlled by profile parameters gw/acl_mode, gw_reg_info and gw/sec_info.
For security reasons, SAP has made it mandatory to use gw/reg_info and gw/sec_info to allow any external program to get registered on host.
So, entries of the host wanting to register program in gateway, has to be maintained in the file reg_info and sec_info.
Location of these files is maintained using gw/reg_info and gw/sec_info profile parameter.
If the files are created without any entries, then no external server is allowed to register external programs. If files are created then entries for the servers has to be maintained.
If the files are not created, then parameter gw/acl_mode can be used to control registration of external programs on the system.
gw/acl_mode = 0 will allow registration of external server program
gw/acl_mode = 1 will not allow registration of external server programs and you need to maintain reg_info and sec_info files.
More information about the same can be found in below SAP notes :
Note 1408081 - Basic settings for reg_info and sec_info
Note 1069911 - GW: Changes to the ACL list of the gateway (reginfo)
Also check,
http://scn.sap.com/message/14361571
Hope it helps.
Regards,
Himanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay,
For TCP error you should check if there is any firewall blocking port 3300.
You can test host name resolution and port access
From Portal server ping vbiwprd , if successfull
then telnet vbiwprd 3300 to check if the port is being blocked.
Regards
Dev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay
Kindly refer the SAP Note 1683087 - GW: Connection termination between work prozess and GW
Note 1124079 - Connection error in the gateway
Regards
Sriram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you attach screenshot with technical settings for created rfc from SM59?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vijay,
From portal server , please check below command
telnet vbiwprd 3300(gateway port number)
Provide your feedback.
With Regards
Ashutosh Chaturvedi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
There should be an RFC from the ABAP stack as Registered Server Program with a program ID.
There should be a JCo RFC created in the J2EE system again with the program ID.
Start the JCo RFC in the Visual Admin.
Regards
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijaykumar,
Please check the repository configuration tab in Jco RFC destinations for the application server host, client, user and password details of the abap stack system.
regards
kartik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Vijay,
could you please provide gateway trace dev_rd after doing connection test.
BR
Aj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Atul,
After testing the connection, below are the dev_rd.
*****************************************************************************
Wed Sep 25 11:32:40 2013
***LOG S7E=> GwICheck_Conversation, state error (0701) [gwr3cpic.c 3594]
***LOG S74=> GwICheck_Conversation, state error ( vbiwprd) [gwr3cpic.c 3601]
***LOG S0I=> GwICheck_Conversation, state error ( sapgw00) [gwr3cpic.c 3609]
***LOG SA2=> GwICheck_Conversation, conv Id (81966654) [gwr3cpic.c 3615]
Wed Sep 25 11:34:04 2013
***LOG Q0I=> NiIRead: recv (73: Connection reset by peer) [nixxi.cpp 4446]
*** ERROR => NiIRead: SiRecv failed for hdl 80 / sock 165
(SI_ECONN_BROKEN/73; I4; ST; 173.16.6.251:1289) [nixxi.cpp 4446]
***LOG S23=> GwIDisconnectClient, client disconnected (282) [gwxxrd.c 12031]
***LOG S74=> GwIDisconnectClient, client disconnected ( MUM-3010) [gwxxrd.c 12042]
***LOG S0R=> GwIDisconnectClient, client disconnected () [gwxxrd.c 12077]
***LOG S0I=> GwIDisconnectClient, client disconnected ( EXCEL) [gwxxrd.c 12090]
*****************************************************************************
*
* LOCATION SAP-Gateway on host vbiwprd / sapgw00
* ERROR connection to partner '173.16.6.251:1289' broken
*
* TIME Wed Sep 25 11:34:04 2013
* RELEASE 701
* COMPONENT NI (network interface)
* VERSION 38
* RC -6
* MODULE nixxi.cpp
* LINE 4446
* DETAIL NiIRead
* SYSTEM CALL recv
* ERRNO 73
* ERRNO TEXT Connection reset by peer
* COUNTER 62416
========
---
Thanks
Vijay
Hi Vijay,
In JCO connection ensure that you are maintaining ABAP stack hostname in the gateway parameters.
Additionally in SM59 also you define abap stack hostname in the gateway parameters.
Please check and revert back with your configuration details.
Regards,
Deepak Kori
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
can you please check the below two parameters.
Set parameter gw/keepalive and gw/reg_keepalive to 0 as per SAP Note 1388694
Can you also explain what functionality is this JCO RFC about.
Thanks
Rishi abrol
User | Count |
---|---|
93 | |
10 | |
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.