cancel
Showing results for 
Search instead for 
Did you mean: 

Using one RDI interface (type SAPRDI) with multiple ports (WE20)

Former Member
0 Kudos

We are using the print workbench together with the standard IDOC message type SAPRDI.

Currently one output port has been defined (output IDOC's to a file).

Now a second port needs to been added for output IDOC's to a RFC-destination.

How can you configure the IDOC process in a way that form A is routed to a file and form B is routed to a RFC-destination?

I have seen some info on message or output controle, but no details on how to configure this.

Currently WE20 is configured with LS LOGSYS-RDI, and WE21 is configured with PORT_RDI.

Also BD64 is configured .

Just some extra info:

- WE20 --> partner LOGSYS-RDI refers to SAPRDI --> refers to destination port PORT_RDI

- WE21 --> port PORT_RDI is configure as output to file

- BD64 --> link between LOGSYS-RDI and SAPRDI

The target example:

- form A output as IDOC (message type SAPRDI) --> destination port to file

- form B output as IDOC (message type SAPRDI) --> destination port to RFC

Any help would be great!!

Edited by: W. van Veen on Jul 8, 2011 11:26 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

As I did not find any other solution, I created an enhancement implementation on MASTER_IDOC_DISTRIBUTE.

Before executing the standard code, the enhancement is executed. The enhancement fills field MESCOD.

This way I can have two outbound message types. One without message variant filled, this one uses receiver port 'file'.

And one with the message variant filled, this one uses receiver port 'trfc'.

The field MESCOD is filled based on the contect of the IDOC!