on 05-18-2016 7:20 AM
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
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.
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.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
Hello Sathish
Check the below discussion and see if it helps
SAP PI7.3 IDOC AAE&nbsp; : JCO_ERROR_SYSTEM_FAI... | SCN
My bad - I had thought this error to be occurring in ECC in SM58.
This will help understand the issue better and corresponding resolution..
Regards
Bhavesh
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.
Field Name | Description |
---|---|
MANDT | Client |
SNDPOR | Sender port The following valueas are possible:
|
SNDPRN | Sender partner number |
SNDPRT | Sender partner type. The possible options for this field are:
|
SNDPFC | Sender partner function (optional field) |
RCVPOR | Receiver Port |
RCVPRN | Receiver partner number |
RCVPRT | Receiver partner type. The possible options for this field are:
|
RCVPFC | Receiver partner function (optional field) |
MSGTYP | Message type |
IDOCTYP | Idoc type |
CIMTYP | CIM type |
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.