cancel
Showing results for 
Search instead for 
Did you mean: 

SAP IDOC - XI - NON SAP IDOC (tRFC)

Former Member
0 Kudos

Hi all,

our scenario is as follows:

1) SAP ERP 2005 send an IDOC to XI (NW04S, 7.0)

2) XI dos nothing, just routing. So no mapping or stuff like that

3) XI should send the IDOc to a non SAP System via a tRFC (registered program id)

a) IDOC can be sent to XI and for test we introduced a file adapter. The IDOC is written to the file system successfully.

b) tRFC is registered connection test ok to the NON SAP System.

c) SLD is maintained with a NON SAP technical and a business system

d) Which adapter to use?

- IDOC Adapter (following error)

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

- <!-- Call Adapter

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_INV_RCV_SERV</SAP:Code>

<SAP:P1>BS_OS_N_SEEBURGER</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Receiver service BS_OS_N_SEEBURGER cannot be converted into an ALE logical system</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

- RFC Adapter (following error)

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

- <!-- Technical Routing of Response

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="OUTBINDING">CO_TXT_ROUTING_BACK_ERROR</SAP:Code>

<SAP:P1>P_OS_EBV_511158_RECEIVER,BS_OS_N_SEEBURGER</SAP:P1>

<SAP:P2>,BS_OS_OSQ_300,,</SAP:P2>

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Error occurred during back-routing Error in communication channel</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

If I set the IDXNOALE the message is succesfully processed but not received by the NON SAP system which is connected to the same tRFC.

I do not know how to set this scenario, any ideas?

Thanks

BR Markus

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Jan,

for this scenario you have to create a receiver idoc adapter.

The data you need to set in it are IDOC port and RFC destination.

For the IDoc port you should use the port you have already created in IDX1.

The only issue is that in IDX1 when you create a port you are forced to associate an RFC destination of type 3 and you cannot use a TCP/IP port (the one you have created in SM59 that points to non SAP).

Anyway this is not a problem because in the adapter you can specify the RFC destination to be used, so in IDX1 use the RFC dest. of the system from which you can download the idoc metadata.

Then in the idoc adapter specify the RFC destination to your non sap system.

Hope it helps,

Kind Regards,

Sergio

Former Member
0 Kudos

Hi all,

at first thanks for the fast reply.

I do not use any kind of mapping, so the message should be prozessed through without any changes.

So two questions:

1) Where to set the exactly once, ...?

2) Where to set the return paramaters?

Inside the SLD the logical system name is configured. I had the settings maintained like Sergio wrote it.

I changed my configuration to the following:

- No Party

- No Business System

- Creation of a Business Service with the same Logical System as configured in the Bus of SLD

-> Everything works all right

So I created the scenario with No Party but again with the Bus and everything was all right, so.

I had any error in the first scenario but I do not know which one, too many thing changed during the process of problem solving.

Thanks a lot anyway.

BR Markus

udo_martens
Active Contributor
0 Kudos

Hi Markus,

>>>Receiver service BS_OS_N_SEEBURGER cannot be converted into an ALE logical system

Go at IB Directory to your bus system and configure adapter specific identifier. Put any value. Or give a logical system name for your bus system at SLD and reimport.

>>>>Error occurred during back-routing Error in communication channel

Plz control the channel and the interfaces. IDocs are basically asynchronous (Exactly Once). They cant have a response.

Regards,

Udo

Former Member
0 Kudos

Hi,

The non-SAP system whichayou are making a call to is it synchronous call.

If it is then you need to configure for the Return paramters?

If its IDoc to RFC then I guess you will need to use BPM

Regards

Vijaya