cancel
Showing results for 
Search instead for 
Did you mean: 

Inbound IDOC_AAE Receiver channel issue

Former Member
0 Kudos

Hi Friends,

I am facing while posting idocs to SAP ECC from PO single stack system.  Below is error that I am facing.

"Error while sending idoc :com.sap.conn.jco.JCoException: (104) JCO_ERROR_SYSTEM_FAILURE: No service for system Constant, client 120 in Integration Directory (raised by system******) Message 601 of class IDOC_ADAPTER type A, Par[1]: Constant, Par[2]: 120"

Below steps I tried as per the sdn blogs to fix the issue.

1. PI Logical system assigned to Sender Component also ECC Logical System assigned to Business System of ECC under Adapter Specific Identifier.

2. NWA settings are created correctly

3. Port & Partner Profiles are created in ECC.

4. We are passing control record values in mapping.

SNDPOR - Not sure what I have to pass

SNDPRN - ***CLNT100

RCVPOR - Passing the port which created in ECC

RCVPRN - ***CLNT120

Can you please help me to get it resolved.  I am working on Single stack first system.

Thanks,

Satish.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Sathish,

please try as below in Advanced Tab of your IDoc receiver channel

You can mention all the control record fields under IDoc control Headers

if the channel was running in the past then go to the existed IDoc in SAP and find the control record information.

Regards,

Pavan

Former Member
0 Kudos

Hi Bhavesh,

I tried with SAPXID & SAPPYD as port values but no use getting the same error.

Hi Pavan,

I tried to pass the TRFC as SNDPOR but no use.

Thanks,

Satish.

bhavesh_kantilal
Active Contributor
0 Kudos

Can you please share the output of your mapping that contains the IDoc control record?

Also please share the message log of the processing with the error..

Regards

Bhavesh

Former Member
0 Kudos

Hi,

Below error I am receiving when I pass TRFC as SNDPOR.

Transmitting the message to endpoint <local> using connection AFW failed, due to: com.sap.aii.af.idoc.exception.IDOCAdapterException: Error while sending idoc :com.sap.conn.jco.JCoException: (104) JCO_ERROR_SYSTEM_FAILURE: No service for system TRFC, client 120 in Integration Directory (raised by system PYD|****) Message 601 of class IDOC_ADAPTER type A, Par[1]: TRFC, Par[2]: 120

Same like when pass SAPXID as SNDRPOR

Transmitting the message to endpoint <local> using connection AFW failed, due to: com.sap.aii.af.idoc.exception.IDOCAdapterException: Error while sending idoc :com.sap.conn.jco.JCoException: (104) JCO_ERROR_SYSTEM_FAILURE: No service for system SAPXID, client 120 in Integration Directory (raised by system PYD|ahecdsap01) Message 601 of class IDOC_ADAPTER type A, Par[1]: SAPXID, Par[2]: 120

Below is the control record values generating in target payload

MANDT:120

DOCNUM:0000000000000001

IDOCTYP:COSMAS01

CIMTYP:null

MESTYP:COSMAS

SNDPOR:SAPXID

SNDPRT:LS

SNDPRN:XIDCLNT100

RCVPOR:SAPPI_AAE

RCVPRT:LS

RCVPRN:PYDCLNT120

Thanks,

Satish.

bhavesh_kantilal
Active Contributor
0 Kudos

So here is what is happening, because you have selected the option  -Control Record in IDoc XML as Mandatory , The idoc adapter validates the Control Record values against your Sender Business Component. As your sender Business Component does not contain this info it fails.

What I would suggest is - change this to Not Mandatory.


Once this is done, your IDoc Partner Info will be taken from the Sender Business Component and Receiver Business System.

Typically your current set up should work as-is but give this a shot and let us know how this goes.

Regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

I tried as per you mentioned but getting the same error.

JCO_ERROR_SYSTEM_FAILURE: No service for system SAPXID, client 120 in Integration Directory (raised by system PYD|****) Message 601 of class IDOC_ADAPTER type A, Par[1]: SAPXID, Par[2]: 120

I am confirming again the mapping part & configuration part which I did.  Below values which I have hard coded in mapping.

SNDPOR:SAPXID

SNDPRT:LS

SNDPRN:XIDCLNT100

RCVPOR:SAPPI_AAE

RCVPRT:LS

RCVPRN:PYDCLNT120

and in the idoc receiver channel under advance settings

I have put Control Record in XML - Not Mandatory

I have checked the option - Apply Sender from Payload

Thanks,

Satish.

Former Member
0 Kudos

Hi Bhavesh,

I am not able to fix the issue.  Can you please check my last reply.

Thanks,

Satish.

bhavesh_kantilal
Active Contributor
0 Kudos

Unfortunately I am out of ideas,

Can you please - share a screen shot of the IDoc control record rather than just text so we can see if something else would be wrong?

This should be the output of your mapping in the runtime and not from ESR..

Regards,

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

Please find the output.

<?xml version="1.0" encoding="UTF-8"?>

-<COSMAS01>

-<IDOC BEGIN="1">

-<EDI_DC40 SEGMENT="1">

<TABNAM>EDI_DC40</TABNAM>

<MANDT>120</MANDT>

<DIRECT>2</DIRECT>

<IDOCTYP>COSMAS01</IDOCTYP>

<MESTYP>COSMAS</MESTYP>

<SNDPRT>LS</SNDPRT>

<SNDPRN>XIDCLNT100</SNDPRN>

<RCVPRT>LS</RCVPRT>

<RCVPRN>PYDCLNT120</RCVPRN>

<CREDAT>20160519</CREDAT>

<CRETIM>184552</CRETIM>

</EDI_DC40>

-<E1CSKSM SEGMENT="1">

<MANDT>120</MANDT>

<KOKRS>AMR1</KOKRS>

<KOSTL>0200/7500</KOSTL>

<DATBI>99991231</DATBI>

<DATAB>20160101</DATAB>

<ERSDA>20160519</ERSDA>

<BKZER>X</BKZER>

<BUKRS>AAMT</BUKRS>

<ABTEI>PRHR</ABTEI>

<KOSAR>A</KOSAR>

<VERAK>AMR</VERAK>

<WAERS>USD</WAERS>

<LAND1>US</LAND1>

<NAME1>TULSA MAINTENANCE BASE</NAME1>

<NAME2>SR VP</NAME2>

<NAME3>TUL</NAME3>

<ORT01>TULSA</ORT01>

<ORT02>TULSA</ORT02>

<STRAS>3900 N Mingo Road</STRAS>

<PSTLZ>741165000</PSTLZ>

<REGIO>OK</REGIO>

<KHINR>1140</KHINR>

-<E1CSKTM SEGMENT="1">

<LTEXT>TULSA MAINTENANCE BASR VP E</LTEXT>

</E1CSKTM>

</E1CSKSM>

</IDOC>

</COSMAS01>

Thanks,

Satish.

bhavesh_kantilal
Active Contributor
0 Kudos

SNDPOR and RCVPOR are not mapped and missing in the xml.

Former Member
0 Kudos

Hi Bhavesh,

If I pass Sender Port value as SAPXID(which created in ECC) I am getting the below error.

JCO_ERROR_SYSTEM_FAILURE: No service for system SAPXID, client 120 in Integration Directory (raised by system PYD|****) Message 601 of class IDOC_ADAPTER type A, Par[1]: SAPXID, Par[2]: 120


Thanks,


Satish.

nitindeshpande
Active Contributor
0 Kudos

Hello Satish,

Have you created Logical system in your ECC system? If yes, then please maintain the same under Business System -> Adapter Specific Identifiers

Regards,

Nitin

bhavesh_kantilal
Active Contributor
0 Kudos
  • Have you created a Sender Business System corresponding to your ECC System in the SLD?
  • Has it been imported into the Integration Directory?
  • Is it used as your Sender System for the Integrated Configuration?

Note: Do not use a Sender Business Component for a ECC system. You need to have a Sender Business System. If you are using a Business Component - things like R/3 System ID and Client will not be displayed and hence your configuration will not work..

Regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

Yes Business System created for ECC in SLD and imported the same into ID.  Also added Logical System for Business System under Adapter Specific Identifier.  And I am using Business Component for Sender side and added the PI logical system name manually for Sender Component.

Thanks,

Satsh.

bhavesh_kantilal
Active Contributor
0 Kudos

If it is a Sender Business System created in the SLD, why would you need to manually assign the Logical System name in the Adapter Specific Attributes? It has to be populated automatically.

Is this a WebASABAP Business System that is associated with the correct Technical System? Can you share a screen shot of this?

Also, in the SLD, check if the Technical System for ECC and the corresponding Client has the correct Logical System Name.

Regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

As I mentioned Business System created for Receiver not for sender.  For Receiver Business System logical system populated automatically.  And for Sender Business Component I have given PI logical system name manually.

Thanks,

Satish.

former_member186851
Active Contributor
0 Kudos

Hello Sathish

Check the below discussion and see if it helps

SAP PI7.3 IDOC AAE&amp;nbsp; : JCO_ERROR_SYSTEM_FAI... | SCN

bhavesh_kantilal
Active Contributor
0 Kudos

My bad - I had thought this error to be occurring in ECC in SM58.

  • Can you share the IDoc Receiver Adapter Settings?
  • Can you share the Sender Business Component & Receiver Business System Adapter Specific Attributes Settings?
  • Can you share the EDI_DC40 settings of your IDoc XML?

This will help understand the issue better and corresponding resolution..

Regards

Bhavesh

bhavesh_kantilal
Active Contributor
0 Kudos

Just to add in the IDOC_AAE please share the settings in the Advanced Tab.

Former Member
0 Kudos

Hi Bhavesh,

Please find the below values that I am passing in Control Record

SNDPOR - Not sure what I have to pass

SNDPRN - ***CLNT100

RCVPOR - Passing the port which created in ECC

RCVPRN - ***CLNT120

Also please find the screenshots attached.

Idoc receiver channel settings

Sender Business Component Settings

Receiver Business System Settings

I have confusion about sender port value, I am not sure what I have to pass.

Please let me know if you need any other details.

Thanks,

Satish.

bhavesh_kantilal
Active Contributor
0 Kudos
  • SNDPOR - Should be SAP<SID>. If your PO Server has SID  "POD", then SAPPOD
  • RCVPOR - Should be SAP<SID>, If your ECC Server has SID "ECD", then SAPECD.
  • Your Receiver Business System and Sender Business System are the same? Atleast your screen shot is the same.
  • In your IDoc Receiver Channel, as you have selected Control Record in IDoc XML as Mandatory, make sure all these fields described in this link are set are required, The Control Record Fields of the IDoc Adapter (AAE) - Advanced Adapter Engine - SAP Library

Field Name

Description

MANDT

Client

SNDPOR

Sender port

The following valueas are possible:

  • port = SAP+System_ID 

    If the value of the SNDPRT field is not LS, MANDT and SNDPRT determine sender service.

  • port <> SAP+System_ID 

    If the value of the SNDPRT field is not LS, the field directly determines sender service.

SNDPRN

Sender partner number

SNDPRT

Sender partner type. The possible options for this field are:

  • Logical system (LS) 
  • Customer (KU) 
  • Vendor (LI) 
  • User(US) 

SNDPFC

Sender partner function (optional field)

RCVPOR

Receiver Port

RCVPRN

Receiver partner number

RCVPRT

Receiver partner type. The possible options for this field are:

  • Logical system (LS) 
  • Customer (KU) 
  • Vendor (LI) 
  • User(US) 

RCVPFC

Receiver partner function (optional field)

MSGTYP

Message type

IDOCTYP

Idoc type

CIMTYP

CIM type

Former Member
0 Kudos

Hi Bhavesh,

Sender side I am using Business Component and It is BusComp_SAPFI and Receiver is Business System is PYDCLNT120.

You mean to say SenderPort value should be SAPXID and receiver should be SAPPYD.

Thanks,

Satish.

bhavesh_kantilal
Active Contributor
0 Kudos
  • If XID is your PI's SID then SAPXID for SNDPOR
  • if PYD is your receiver system SID, then SAPPYD for RCVPOR
  • Also make sure remaining fields in the IDoc control record as I have pointed in the table above from help.sap.com are also filled in correctly.

Regards,

Bhavesh