Skip to Content
avatar image
Former Member

Problem connecting to SAP via SNC

Hi,

I am facing the following error when trying to connect to SAP via SNC

Attributes:

Exception in thread "main" com.sap.conn.jco.JCoException: (102) RFC_ERROR_COMMUNICATION: connection closed without message (CM_NO_DATA_RECEIVED)

at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:455)

at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1114)

at com.sap.conn.jco.rt.ClientConnection.connect(ClientConnection.java:659)

at com.sap.conn.jco.rt.PoolingFactory.init(PoolingFactory.java:103)

at com.sap.conn.jco.rt.ConnectionManager.createFactory(ConnectionManager.java:171)

at com.sap.conn.jco.rt.DefaultConnectionManager.createFactory(DefaultConnectionManager.java:44)

at com.sap.conn.jco.rt.ConnectionManager.getFactory(ConnectionManager.java:160)

at com.sap.conn.jco.rt.RfcDestination.initialize(RfcDestination.java:754)

at com.sap.conn.jco.rt.RfcDestination.getAttributes(RfcDestination.java:615)

at com.sap.conn.jco.rt.RfcDestination.getAttributes(RfcDestination.java:26)

at StepByStepClient.step1Connect(StepByStepClient.java:76)

at StepByStepClient.main(StepByStepClient.java:306)

Caused by:

RfcException: [System <empty>|172.26.144.74/00]

message: connection closed without message (CM_NO_DATA_RECEIVED)

Return code: RFC_CLOSED(6)

error group: 102

key: RFC_ERROR_COMMUNICATION

at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:1984)

at com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:140)

at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1107)

... 10 more

Caused by: com.sap.conn.rfc.exceptions.RfcGetException: connection closed without message (CM_NO_DATA_RECEIVED)

at com.sap.conn.rfc.engine.RfcGet.rfcget_gethead(RfcGet.java:335)

at com.sap.conn.rfc.engine.RfcGet.rfcget_run(RfcGet.java:39)

at com.sap.conn.rfc.engine.RfcGet.ab_rfcget(RfcGet.java:22)

at com.sap.conn.rfc.engine.RfcRcv.ab_rfcreceive(RfcRcv.java:30)

at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:1899)

... 12 more

Caused by:

>RfcIoException:

message: connection closed without message (CM_NO_DATA_RECEIVED)

Return code: RFCIO_ERROR_DEALLOCATED(10)<

at com.sap.conn.rfc.engine.RfcIoOpenCntl.ab_rfcread(RfcIoOpenCntl.java:653)

at com.sap.conn.rfc.engine.RfcGet.rfcget_gethead(RfcGet.java:331)

... 16 more

sapparam: sapargv(argc, argv) has not been called!

sapparam(1c): No Profile used.

sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

Please hel me to resolve this issue,

Regards,

Karthik Ravoori

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Aug 09, 2011 at 12:17 PM

    Hi Karthik,

    sapparam: sapargv(argc, argv) has not been called!

    sapparam(1c): No Profile used.

    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

    Please ensure that the parameter SAPSYSTEMNAME is set and maintained correctly.

    Regards,

    Varun

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 10, 2011 at 06:28 AM

    Hi,

    I have set the SAPSYSTEMNAME explicity in RZ10 of the Instance profile but still I am getting this error.

    Regards

    Karthik Ravoori

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 12, 2011 at 06:39 AM

    Hi,

    You can update the ST - PI and ST-A/PI tools. then u will try

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 12, 2011 at 12:01 PM

    Hi,

    Please check with your Saprouter in the DMZ and also SAPROUTTAB file under the folder SApROUTER then can you check that the firewall is not blocking or not?

    Add comment
    10|10000 characters needed characters exceeded