cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc InBound Scenario...Error 56 in SAP PI...

Former Member
0 Kudos

Hello Guru's,

My scenario is to send a IDOC to MQ server using JMS Adapter which is an Asynchronous Inbound Scenario.

IDOC is Debmas which is extended to DEBMASEXT and it is in released status.

I have done following configuration for IDOC :

R3 side :

1. Created a Port (SAP+Instance Number)

2. Created a Logical System

3. Have Linked the port to Logical system

4. Given the proper Message type DEBMAS with basic type as DEBMAS07 and extension as DEBMASEXT

when i execute the idoc from R3 i get the susccesful message using Tcode WE05.

XI side :

1. Created a Port (SAP+Instance Number)

2. Created a Logical system

3. Have linked the port to logical system.

After execution for result or transaction, SXMB_MONI shows no result, whereas WE05 shows all the idocs are in error with code 56 "IDOCS ADDED with Error"

"External segment name E2KNA1M005 cannot be interpreted"

In tcode WE19 when i execute the Idoc manually for Inbound processing it gives the error Recipuent port is not valid.

Have added, deleted and have done all the manipulations with Metadata in IDX2, but still the error Persist.

Any help would be appreciated.

Thanks & Regards,

akshay

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member201264
Active Contributor
0 Kudos

Hi Akshay,

Please compare your configuration with this link.

http://www.saptechnical.com/Tutorials/XI/FileToIDoc/Index.htm

Regards,

Sreeni.

former_member201264
Active Contributor
0 Kudos

Hi,

Also see docs from SDN:

http://wiki.sdn.sap.com/wiki/display/profile/2007/05/11/File+To+IDOC

http://wiki.sdn.sap.com/wiki/display/profile/2007/05/11/File+To+IDOC+-+Part2+(Configuration)

Try  to search in SDN, you may get a lot related to your query.

Regards,

Sreeni.

Former Member
0 Kudos

Hi,

Thanks for the reply.

Have used the same port as identified in WE21.

But still it gives the same error. what would be the inbound and outboud parameters for partner profile in SAP XI. As Debmas is not available in XI. I am trying to insert the line item in WE82 but it gives error for extension 'It is not available in check table EDCIM'.

Any solution would be helpful.

Thanks & regards,

akshay

Former Member
0 Kudos

Akshay,

You need to first create logical system of XI system in ECC.

Add message & IDOC type to outbound parameter in partner profile of XI system.

Make sure to add the below configuration in XI -

Create RFC destination for sender system ECC in SM59 of Type 3.

Create port for sender system ECC and associate this with RFC destination. This setting is required to retrieve IDOC metadata in IDX2 transaction using RFC destination ECC. This name should be same as the logical system of ECC maintained.

Regards,

Ashish

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi Akshya,

During distribution model genetation, port from ECC is PI is automatically created by the system.

For that you need to identify that port name in WE21.

once you identified the name of the port, remove the one you created & replace with the one which is system generated.

Regards,

Ashish

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi AKshay,

You need make sure that IDoc gets created with 03 status , i.e IDoc created without errors.

It looks some problem with port, check your PORT configuration and assign correct RFC destination.

Test RFC destination connection.

Thank you,

Raj