cancel
Showing results for 
Search instead for 
Did you mean: 

Response Code HTTP/1.1 401 Unauthorized

Former Member
0 Kudos

Hi,

I am trying to connect SAP Customer & Contacts app via NW GW.

When i am trying to connect from Device, i am getting HTTP/1.1 401 Unauthorized response code in the SUP logs.

I'd like to mention here, that i have created the RFC connections between NW GW <-> SAP ERP using same username, but in the RFC connections logon & Security tab i selected "Trust relationship" as NO because after setting the trust relationship as YES the authorization test gets failed & i gets "No Authorization for user error code 0".

Currently, i set Trust Relationship as NO & that's why the Authorization Test getting successful.

Please Suggest.

Regards,

Shrikant

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Shrikant,

To resolve 401 Unauthorized error, check if you have assigned proper roles and authorization for the RFC user in your ERP system.

Regards

Shanthosh

0 Kudos

Hi Shrikant,

Did you tried getting data from RESTClient directly using same credentials which you are using in the application?

Regards,

Abhishek Joshi

Former Member
0 Kudos

Thanks for reply Abhishek.

Now i am able to setup the trusted relationship & authorization test is also running successful.

But while i test the RFC Connection(from NW GW) Trusting@<SID_SAPSYS>, i am getting "Error when opening RFC Connection", "service '?' Unknown".

I checked with Rest client, now i am getting following type of response:-

  1. Status Code: 200 OK
  2. Content-Encoding: gzip
  3. Content-Length: 655
  4. Content-Type: application/xml
  5. Server: SAP NetWeaver Application Server / ABAP 731
  6. Set-Cookie: MYSAPSSO2=AjQxMDMBABhTAEgAUgBJAEsAQQBOAFQATgAgACAAIAACAAYyADAAMAADABBLAEQARwAgACAAIAAgACAABAAYMgAwADEAMwAwADEAMQAwADIAMQ AwADYABQAEAAAACAYAAlgACQACRQD%2fAPowgfcGCSqGSIb3DQEHAqCB6TCB5gIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYHGMIHDAgEBMBkwDjEM MAoGA1UEAxMDS0RHAgcgEhIUB1AhMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMzAxMTAyMTA2Mjda MCMGCSqGSIb3DQEJBDEWBBS%21orhdi%21RTjOHJ9GfnaXawmNiqmTAJBgcqhkjOOAQDBC4wLAIUEXTCaeUvKnGm%21UrEV9UbdA2ByQYCFBbtOKzot60Fi0SBoH12bseTgASG; path=/; domain=.143.201.84 SAP_SESSIONID_KDG_200=JQIuzT5yKY7scp_k-1BjgpPDdi5baRHiiOpwcbx7uh8%3d; path=/
  7. dataserviceversion: 2.0
  8. x-sap-odata-extension-version: 0.9

Please Suggest,

Regards,

Shrikant

0 Kudos

Hi Shrikant,

goto TCODE

   SMGW

      -> Goto -> Parameters -> Display

And check gateway service value.

Regards,

Abhishek Joshi

Former Member
0 Kudos

The "gateway service" value is "sapgw00".

What should i need to do. I checked SERVICES file & its having values like this:-

sapdp98  3298/tcp

sapdp99  3299/tcp

sapgw00  3300/tcp

sapgw01  3301/tcp

Please Suggest.

Regards,

Shrikant.

0 Kudos

Hi Shrikant,

In SMGW --> goto --> Remote Gateways.

Check the Connection status.

Also activate trace by selecting the sapgw00 entry then click on goto --> remote gateways --> Activate trace. Try your RFC connection then in SMGW --> goto --> Trace --> Gateway --> Display Trace and check what errors are visible here.

Regards,

Abhishek Joshi

Former Member
0 Kudos

Hi Abhishek,

The Connection Status says "Connection OK".

I activated the trace & then tested the RFC connection & then i got following trace(sharing only last section of trace as its too long):-

Thu Jan 10 13:03:38 2013

***LOG Q0I=> NiPConnect2: 192.168.100.238:3301: connect (10060: WSAETIMEDOUT: Connection timed out) [nixxi.cpp 3286]

*** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 99/sock 692

    (SI_ECONN_REFUSE/10060; I4; ST; 192.168.100.238:3301) [nixxi.cpp    3286]

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

*

*  LOCATION    SAP-Gateway on host GATEWAY1 / sapgw00

*  ERROR       partner 'ECCDEMO:sapgw01' not reached

*

*  TIME        Thu Jan 10 13:03:38 2013

*  RELEASE     720

*  COMPONENT   NI (network interface)

*  VERSION     40

*  RC          -10

*  MODULE      nixxi.cpp

*  LINE        3286

*  DETAIL      NiPConnect2: 192.168.100.238:3301

*  SYSTEM CALL connect

*  ERRNO       10060

*  ERRNO TEXT  WSAETIMEDOUT: Connection timed out

*  COUNTER     49

*

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

GwTraceHdlInfo: handle = 99

HANDLE   = 99

TIME     = Thu Jan 10 13:03:17 2013

SOCKET   = 692

STAT     = NI_CONN_WAIT

TYPE     = STREAM IPv4

OUT      = 0 messages 0 bytes

IN       = 0 messages 0 bytes

LOCAL    = 0.0.0.0:50406

REMOTE   = -

OPTIONS  =

  type             = CLIENT

  net_stat         = CONNECT_TO_REM_GW_PENDING

  hostaddr         = 192.168.100.238

  accept_hostaddr  = ::

  opcode           = NORMAL_CLIENT

  conn opcode      = REMOTE_GATEWAY

  conn vers        = 0

  index            = 11

  data             = 0000000000000000

  ext_info         = 00000000077DB160

  offset           = 0

  rest_len         = 0

  snc_forced       = 0

remote gateway infos:

  hostaddr = 192.168.100.238

  service  = sapgw01

  tpname   = sapdp01

Thu Jan 10 13:03:59 2013

***LOG Q0I=> NiPConnect2: 192.168.100.238:3301: connect (10060: WSAETIMEDOUT: Connection timed out) [nixxi.cpp 3286]

*** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 100/sock 692

    (SI_ECONN_REFUSE/10060; I4; ST; 192.168.100.238:3301) [nixxi.cpp    3286]

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

*

*  LOCATION    SAP-Gateway on host GATEWAY1 / sapgw00

*  ERROR       partner 'ECCDEMO:sapgw01' not reached

*

*  TIME        Thu Jan 10 13:03:59 2013

*  RELEASE     720

*  COMPONENT   NI (network interface)

*  VERSION     40

*  RC          -10

*  MODULE      nixxi.cpp

*  LINE        3286

*  DETAIL      NiPConnect2: 192.168.100.238:3301

*  SYSTEM CALL connect

*  ERRNO       10060

*  ERRNO TEXT  WSAETIMEDOUT: Connection timed out

*  COUNTER     52

*

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

GwTraceHdlInfo: handle = 100

HANDLE   = 100

TIME     = Thu Jan 10 13:03:38 2013

SOCKET   = 692

STAT     = NI_CONN_WAIT

TYPE     = STREAM IPv4

OUT      = 0 messages 0 bytes

IN       = 0 messages 0 bytes

LOCAL    = 0.0.0.0:50411

REMOTE   = -

OPTIONS  =

  type             = CLIENT

  net_stat         = CONNECT_TO_REM_GW_PENDING

  hostaddr         = 192.168.100.238

  accept_hostaddr  = ::

  opcode           = NORMAL_CLIENT

  conn opcode      = REMOTE_GATEWAY

  conn vers        = 0

  index            = 12

  data             = 0000000000000000

  ext_info         = 00000000077DB160

  offset           = 0

  rest_len         = 0

  snc_forced       = 0

remote gateway infos:

  hostaddr = 192.168.100.238

  service  = sapgw01

  tpname   = sapdp01

Thu Jan 10 13:21:58 2013

***LOG Q0I=> NiIRead: P=50.57.219.238:62117; L=192.168.0.165:3300: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.

*** ERROR => NiIRead: SiRecv failed for hdl 85/sock 696

    (SI_ECONN_BROKEN/10054; I4; ST; P=50.57.219.238:62117; L=192.168.0.165:3300) [nixxi.cpp    5087]

Thu Jan 10 13:30:38 2013

***LOG Q0I=> NiIRead: P=50.57.219.238:3301; L=192.168.0.165:50074: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.

*** ERROR => NiIRead: SiRecv failed for hdl 94/sock 548

    (SI_ECONN_BROKEN/10054; I4; ST; P=50.57.219.238:3301; L=192.168.0.165:50074) [nixxi.cpp    5087]

Thu Jan 10 14:06:03 2013

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

*

*  LOCATION    SAP-Gateway on host GATEWAY1 / sapgw00

*  ERROR       connection to partner '69.163.149.200:56992' broken

*

*  TIME        Thu Jan 10 14:06:03 2013

*  RELEASE     720

*  COMPONENT   NI (network interface)

*  VERSION     40

*  RC          -6

*  MODULE      nixxi.cpp

*  LINE        4850

*  DETAIL      NiIRead: P=69.163.149.200:56992; L=192.168.0.165:3300

*  SYSTEM CALL recv

*  COUNTER     70

*

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

*** ERROR => GwConnectHandle: GwRead failed (NIECONN_BROKEN) [gwxxrd.c     6452]

Thu Jan 10 14:52:07 2013

GwISetGwNiTrace: trace switched on for (GATEWAY1 / sapgw00) gw_tbl[0]

Please Suggest.

Regards,

Shrikant

0 Kudos

Hi Shrikanth,

I hope your system number is 01 and not 00. If you system is 00 then sapgw00 should be used.

if your system number is 00 then follow as below:

Please check all the profile in <Installation Drive>:\usr\sap\<SID>\SYS\profile. ensure new instance number is reflecting.

Also check in your instance profile if the old number is still mentioned somewhere (maybe as a port number ex. 3600 or 3900).

Also SAP Note 1341701 - partner 'hostname:service' not reached will be helpfull.

Regards,

Abhishek Joshi

Former Member
0 Kudos

Thanks Abhishek for help.

My NW GW's system number is 00.

Also in the instance profile is found the entry like "SAPSYSTEM = 00" which seems to be correct.

I found another entry in my DEFAULT profile like "rdisp/msserv_internal = 3900".

So do i need to change the port or what?

Regards,

Shrikant

Former Member
0 Kudos

My Calling system i.e, NW GW system number is 00 & my SAP ERP System's system number is 01.

i created the RFC connection like NW_GW --> SAP_ERP

Also, i'd like to mention that(if it makes any sense to this error), My NW GW Server is in my local LAN & the SAP Server is setup on cloud. And currently, i have opened up only port 3300 & 8000 on my NW GW server's IP.

Do i need to open any other port on my NW GW system? Also, do i need to request my Cloud service provider to open any specific port also.

Regards,

Shrikant

0 Kudos

Hi Shrikant,

Did you check SAP Note?

To troubleshoot the issue try connect to hostabc2 and sapgw02 from wher
the error occurs (hostabc1):

niping -c -H hostabc2 -S 3302

Check also if the host and port are resolved to the correct value
(also on the host where the error occurs - in this example hostabc1)

> niping -v -H hostabc2

> niping -v -S sapgw02

If these tests are not successful then the config of the ports/services
that are used must be checked.

Please check above on your GW box at OS level login with <SID>adm user.

Regards,

Abhishek Joshi

Former Member
0 Kudos

Hi Abhishek,

I checked with the note & also with the steps mentioned in it.

After performing those steps i got following output:-

E:\usr\sap\KDG\DVEBMGS00\exe>niping -c -H ECCDEMO -S sapgw01

Thu Jan 10 16:27:01 2013

connect to server o.k.

*** ERROR => NiTClientLoop: NiTReadLoop (rc=-6) [nixxtst.cpp  2590]

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

*

*  ERROR       connection to partner 'ECCDEMO:sapgw01' broken

*

*  TIME        Thu Jan 10 16:27:01 2013

*  RELEASE     720

*  COMPONENT   NI (network interface)

*  VERSION     40

*  RC          -6

*  MODULE      nixxi.cpp

*  LINE        4850

*  DETAIL      NiIRead: P=50.57.219.238:3301; L=192.168.0.165:52244

*  SYSTEM CALL recv

*  COUNTER     1

*

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

E:\usr\sap\KDG\DVEBMGS00\exe>niping -v -H ECCDEMO

Hostname/Nodeaddr verification:

===============================

Hostname of local computer: GATEWAY1                         (NiMyHostName)

Lookup of hostname: GATEWAY1                                 (NiHostToAddr)

    --> IP-Addr.: 192.168.0.165

Lookup of IP-Addr.: 192.168.0.165                            (NiAddrToHost)

    --> Hostname: GATEWAY1

Lookup of hostname: ECCDEMO                                  (NiHostToAddr)

    --> IP-Addr.: 50.57.219.238

Lookup of IP-Addr.: 50.57.219.238                            (NiAddrToHost)

    --> Hostname: ECCDEMO

E:\usr\sap\KDG\DVEBMGS00\exe>niping -v -S sapgw01

Hostname/Nodeaddr verification:

===============================

Hostname of local computer: GATEWAY1                         (NiMyHostName)

Lookup of hostname: GATEWAY1                                 (NiHostToAddr)

    --> IP-Addr.: 192.168.0.165

Lookup of IP-Addr.: 192.168.0.165                            (NiAddrToHost)

    --> Hostname: GATEWAY1

Lookup of hostname: localhost                                (NiHostToAddr)

    --> IP-Addr.: 127.0.0.1

Lookup of IP-Addr.: 127.0.0.1                                (NiAddrToHost)

    --> Hostname: GATEWAY1

Servicename/Serviceport verification:

=======================================

Lookup of service: sapgw01                                   (NiServToNo)

    --> Number: 3301

Lookup of service no: 3301                                   (NiNoToServ)

    --> Service name: sapgw01

E:\usr\sap\KDG\DVEBMGS00\exe>

Also, there are entries for the said ports in my services file.

I think i need to open the port 3301 on my called sys i.e, SAP ERP sys.

Regards,

Shrikant.

0 Kudos

Hi Shrikant,

In this case, please check gateway ports on your ERP cloud instance. That port has to be opened for this to work.

Regards,

Abbishek Joshi

Former Member
0 Kudos

Hi Abhishek,

I have checked with the Cloud instance provider, & i found out that the ports 3300 & 3301 are already opened up on ERP server.

And on my calling system i.e, NW GW server, port 3300, 3600 are open.

Also i checked with the entries in the Services & Host files of both the system, which seems to be OK.

What could be the problem?

Please suggest,

Regards,

Shrikant

0 Kudos

Hi Shrikant,

After opening the ports, you are getting same error? Could you please check the same command outputs?

Regards,

Abhishek Joshi

Former Member
0 Kudos

Yes Abhishek, after opening the ports also i am getting the same error.

Can you please tell me more about "Command Outputs". I hadn't heard about it before.

Also i found another problem which may be the cause of this error.

In NW GW server there is a RFC connection created automatically i.e, "TRUSTING@<SID_SAP>", this RFC connection is not working when i tested it.

In somewhere in the forum i have read that this RFC needs to work properly. Is it so?

Regards,

Shrikant.

0 Kudos

Hi Shrikant,

By command output, i meant the output of commands which i provided you earlier and available in earlier replies.

I also have TRUSTING_<SID_SAP> on my GW box and only connectivity test is working for it.

Regards,

Abhishek Joshi

Former Member
0 Kudos

Yes i checked with that & i guess it runs fine. Please see below the output:-

E:\usr\sap\KDG\SYS\exe\uc\NTAMD64>niping -v -S sapgw00

Hostname/Nodeaddr verification:

===============================

Hostname of local computer: GATEWAY1                         (NiMyHostName)

Lookup of hostname: GATEWAY1                                 (NiHostToAddr)

    --> IP-Addr.: 192.168.0.165

Lookup of IP-Addr.: 192.168.0.165                            (NiAddrToHost)

    --> Hostname: GATEWAY1

Lookup of hostname: localhost                                (NiHostToAddr)

    --> IP-Addr.: 127.0.0.1

Lookup of IP-Addr.: 127.0.0.1                                (NiAddrToHost)

    --> Hostname: GATEWAY1

Servicename/Serviceport verification:

=======================================

Lookup of service: sapgw00                                   (NiServToNo)

    --> Number: 3300

Lookup of service no: 3300                                   (NiNoToServ)

    --> Service name: sapgw00

E:\usr\sap\KDG\SYS\exe\uc\NTAMD64>niping -v -H ECCDEMO

Hostname/Nodeaddr verification:

===============================

Hostname of local computer: GATEWAY1                         (NiMyHostName)

Lookup of hostname: GATEWAY1                                 (NiHostToAddr)

    --> IP-Addr.: 192.168.0.165

Lookup of IP-Addr.: 192.168.0.165                            (NiAddrToHost)

    --> Hostname: GATEWAY1

Lookup of hostname: ECCDEMO                                  (NiHostToAddr)

    --> IP-Addr.: 50.57.219.238

Lookup of IP-Addr.: 50.57.219.238                            (NiAddrToHost)

    --> Hostname: ECCDEMO

Regards,

Shrikant

0 Kudos

Hi Shrikant,

Just run the RFC again and paste the trace. it could be some other issue.

Regards,

Abhishek Joshi

Former Member
0 Kudos

Hi Abhishek,

I am getting following trace in my NW GW system:-

Fri Jan 18 01:03:36 2013

GwISetGwNiTrace: trace switched on for (GATEWAY1 / sapgw00) gw_tbl[0]

GwISetGwNiTrace: trace switched on for (ECCDEMO / 3301) gw_tbl[1]

Fri Jan 18 01:04:03 2013

NiIWrite: hdl 78 sent data (wrt=80,pac=1,MESG_IO)

Fri Jan 18 01:04:04 2013

NiIWrite: hdl 78 sent data (wrt=1020,pac=1,MESG_IO)

NiIRead: hdl 78 received data (rcd=622,pac=2,MESG_IO)

*** trace for (ECCDEMO / 3301) gw_tbl[1] enabled ***

GwReadFromRemGw: received 622 bytes from gw ECCDEMO / 3301 idx=1 after 1 timeouts

GwReadFromRemGw: gw ECCDEMO / 3301 idx=1 has 1 active connections

GwFiInfoConvId:  04163690 remote, ECCDEMO / 3301 (gw_id=1) dt_net=00000000072EF090 (45 bytes)

{root-id=0000000000008005BF74000000004100}_{conn-id=CA4D61E2CE1DF1AD96897071BC7BBA1F}_0

GwRemGwHandle: received data for conv_ID 04163690

Adresse   Offset  Appc-Data from Gateway

------------------------------------------------------------------------

0000000013F0A3D0  000000  06cb0200 06c40001 00000000 00000000 |................|

0000000013F0A3E0  000016  01000001 f4000000 00000008 0000850c |................|

0000000013F0A3F0  000032  00000000 00000000 30343136 33363930 |........04163690|

0000000013F0A400  000048  00006d60 00000002 0000021e 00000001 |..m`............|

0000000013F0A410  000064  00000000 00343130 33000000 00050000 |.....4103.......|

------------------------------------------------------------------------

IN:

---

ReqType     : CPIC         SysIdx  : -1     ReqLen  : 622    ReqId   : -1

CommIdx     : 5            ConnIdx : 0      ReqVer  : 6      Trace   : 0

RqType      : SAP_SEND     Prot    : INT    UID     : 1732   Mode    : 0

User        :              SapRc   : 0      AppcRc  : 0      ConvId  : 04163690

Vector      : F_V_SEND_DATA F_V_RECEIVE

Info        : SYNC_CPIC_FUNCTION WITH_GW_SAP_PARAMS_HDR R3_CPIC_LOGIN_WITH_TERM

Info3       : GW_WITH_CODE_PAGE

Timeout     : 500

GwRqDpSendTo: (ECCDEMO / 3301, gw_id=1, appc_ca_blk=52, len=622, comm_index=-1)

DpGetCpicCommIdx: found index 5 via appc_hdr

DpGetCpicCommIdx: found comm entry 5 (tid/uid/mode/conv_id/a_r: 23/1732/0/04163690/0)

GwRqDpSendTo: received data within time limit

GwListRemove: remove elem 5 from comm_wait_list

GwListRemove: 0 elems in comm_wait_list

GwRqDpSendTo: 0 clients still waiting for answers

GwListRemove: elem 5 not in comm_lookup_list

GwRqDpSendTo: 0 lookups pending

GwIsAWaitingSWP: wp 9 waiting

GwSapWpWakeUp: send answer to sap wp 9

GwSapWpWakeUp: make wp 9 owner of appc_ca_blk 52

-OUT- tid         -1            uid  -1           mode  255

-OUT- appc_ca_blk 52            len  622          rq_id 762

-OUT- wait_f_answ 0             cmd  0

NiIWrite: hdl 33 sent data (wrt=28,pac=1,MESG_IO)

NiIWrite: hdl 78 sent data (wrt=420,pac=1,MESG_IO)

NiIRead: hdl 78 received data (rcd=125,pac=2,MESG_IO)

*** trace for (ECCDEMO / 3301) gw_tbl[1] enabled ***

GwReadFromRemGw: received 125 bytes from gw ECCDEMO / 3301 idx=1 after 1 timeouts

GwReadFromRemGw: gw ECCDEMO / 3301 idx=1 has 2 active connections

GwRemGwHandle: received dt structure (version=16)

{root-id=0000000000008005BF74000000004100}_{conn-id=FE4D61E203CDF16A96897071BC7BBA1F}_0

GwFiInsertConvId: inserted 04253458, remote, ECCDEMO / 3301 (gw_id=1), dt_net=00000000072EF0D0 (45 bytes)

GwRemGwHandle: remote conversation id 04253458 stored

GwRemGwHandle: received data for conv_ID 04253458

Adresse   Offset  Appc-Data from Gateway

------------------------------------------------------------------------

0000000013F0A3D0  000000  06ca0200 06c40000 00000000 00000000 |................|

0000000013F0A3E0  000016  80000000 00000000 00000000 00000100 |................|

0000000013F0A3F0  000032  00000000 00000000 30343235 33343538 |........04253458|

0000000013F0A400  000048  00000000 00000000 00000000 00000000 |................|

0000000013F0A410  000064  00000000 00000000 00000000 00030002 |................|

------------------------------------------------------------------------

IN:

---

ReqType     : CPIC         SysIdx  : -1     ReqLen  : 125    ReqId   : -1

CommIdx     : 3            ConnIdx : 2      ReqVer  : 6      Trace   : 0

RqType      : SAP_INIT     Prot    : INT    UID     : 1732   Mode    : 0

User        :              SapRc   : 0      AppcRc  : 0      ConvId  : 04253458

Vector      :

Info        : SYNC_CPIC_FUNCTION

Info3       : GW_DIST_TRACE

GwRqDpSendTo: (ECCDEMO / 3301, gw_id=1, appc_ca_blk=52, len=125, comm_index=-1)

DpGetCpicCommIdx: found index 3 via appc_hdr

DpGetCpicCommIdx: found comm entry 3 (tid/uid/mode/conv_id/a_r: 23/1732/0/        /0)

GwIsAWaitingSWP: wp 9 waiting

GwSapWpWakeUp: send answer to sap wp 9

GwSapWpWakeUp: make wp 9 owner of appc_ca_blk 52

-OUT- tid         -1            uid  -1           mode  255

-OUT- appc_ca_blk 52            len  125          rq_id 766

-OUT- wait_f_answ 0             cmd  0

NiIWrite: hdl 33 sent data (wrt=28,pac=1,MESG_IO)

NiIWrite: hdl 78 sent data (wrt=1736,pac=1,MESG_IO)

Fri Jan 18 01:04:15 2013

NiIRead: hdl 78 received data (rcd=1430,pac=2,MESG_IO)

*** trace for (ECCDEMO / 3301) gw_tbl[1] enabled ***

GwReadFromRemGw: received 1430 bytes from gw ECCDEMO / 3301 idx=1 after 1 timeouts

GwReadFromRemGw: gw ECCDEMO / 3301 idx=1 has 2 active connections

GwFiInfoConvId:  04253458 remote, ECCDEMO / 3301 (gw_id=1) dt_net=00000000072EF0D0 (45 bytes)

{root-id=0000000000008005BF74000000004100}_{conn-id=FE4D61E203CDF16A96897071BC7BBA1F}_0

GwRemGwHandle: received data for conv_ID 04253458

Adresse   Offset  Appc-Data from Gateway

------------------------------------------------------------------------

0000000013F0A3D0  000000  06cb0200 06c40001 00000000 00000000 |................|

0000000013F0A3E0  000016  01000001 f4000000 00000008 0000850c |................|

0000000013F0A3F0  000032  00000000 00000000 30343235 33343538 |........04253458|

0000000013F0A400  000048  00006d60 00000002 00000546 00000001 |..m`.......F....|

0000000013F0A410  000064  00000000 00343130 33000000 00030002 |.....4103.......|

------------------------------------------------------------------------

IN:

---

ReqType     : CPIC         SysIdx  : -1     ReqLen  : 1430   ReqId   : -1

CommIdx     : 3            ConnIdx : 2      ReqVer  : 6      Trace   : 0

RqType      : SAP_SEND     Prot    : INT    UID     : 1732   Mode    : 0

User        :              SapRc   : 0      AppcRc  : 0      ConvId  : 04253458

Vector      : F_V_SEND_DATA F_V_RECEIVE

Info        : SYNC_CPIC_FUNCTION WITH_GW_SAP_PARAMS_HDR R3_CPIC_LOGIN_WITH_TERM

Info3       : GW_WITH_CODE_PAGE

Timeout     : 500

GwRqDpSendTo: (ECCDEMO / 3301, gw_id=1, appc_ca_blk=52, len=1430, comm_index=-1)

DpGetCpicCommIdx: found index 3 via appc_hdr

DpGetCpicCommIdx: found comm entry 3 (tid/uid/mode/conv_id/a_r: 23/1732/0/04253458/0)

make DISP owner of appc_ca_blk 52

DpRqIPutIntoQ: put elem in queue NOWP, elems=1

DpRqPutIntoQueue: put request into queue (reqtype 0, prio LOW, rq_id 769)

GwDispWakeUp: send wakeup with ni handle 9

NiIWrite: hdl 9 sent data (wrt=1,pac=1,MESG_IO)

-OUT- sender_id APPC_SERVER       tid  23    wp_ca_blk   -1      wp_id -1

-OUT- action    SEND_TO_WP        uid  1732   appc_ca_blk 52      type  NOWP

-OUT- new_stat  NO_CHANGE         mode 0     len         1430    rq_id 769

Regards,

Shrikant

0 Kudos

Hi Shrikant,

I dont see any error in the trace but i hope from RFC you got the same error i.e. "service '?' Unknown"?

Regards,

Abhishek Joshi

Former Member
0 Kudos

No, now when i am running the Authorization test for the trusted connection in SMT1, i am getting following error:-

Regards,

Shrikant.

0 Kudos

On windows C:\Windows\System32\drivers\etc.

Other unix versions /etc/services (If you're not able to find this file, let me know)

Insert the below line: (A10 is SAPSID and NN is system number (eg 00) )

sapmsA10     36NN/tcp     # SAP Message Server Port 

Regards,

Abhishek Joshi

Former Member
0 Kudos

Hi Abhishek,

These entries are already there in NW GW System in the SERVICES file.

sapmsKDG3600/tcp# SAP System Message Server Port
sapmsKD13601/tcp

Still i am getting the same error.

Regards,

Shrikant