cancel
Showing results for 
Search instead for 
Did you mean: 

Two different Interface map to one Interface

Former Member
0 Kudos

Hallo together

I search a solution to Map two different Interface to one.

What ist the best way. I think i start with BPM and with a Interfacemapping with two Out Interface.

Example of the Interface.

Outbound Interface M1

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

<resultset>

<row>

<KSNR>1</KSNR>

<KSBEZ>bezeichnung</KSBEZ>

<KSKAD1>adresse</KSKAD1>

<KSKAD2>1</KSKAD2>

<KSADR1>adresse1</KSADR1>

<KSADR2>adresse2</KSADR2>

<KSSTR>1</KSSTR>

<KSPLZ>1</KSPLZ>

<KSORT>ort</KSORT>

<KSLAND>1</KSLAND>

<KSTEL>1</KSTEL>

<KSFAX>1</KSFAX>

<KSVRAN>1</KSVRAN>

<KSNTEL>1</KSNTEL>

<KSOEF1>1</KSOEF1>

<KSOEF2>1</KSOEF2>

<KSRTAN>1</KSRTAN>

<VSTNR>1</VSTNR>

<UPDATE_IDENT />

</row>

</resultset>

Outbound Interface M2

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

<ns1:FileXML_MT xmlns:ns1="urn://ValoraFileCopy">

<FileName>test</FileName>

<Base64 />

</ns1:FileXML_MT>

Inbound Interface M3

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

<ns1:M_DP xmlns:ns1="urn://ValoraFileCopy">

<FileName>test</FileName>

<ns1:Base64>

<ns1:D_DPid>1</ns1:D_DPid>

<ns1:D_DPName>bezeichnung</ns1:D_DPName>

<ns1:D_DPAdress>adresse</ns1:D_DPAdress>

<ns1:D_DPTown>ort</ns1:D_DPTown>

<ns1:D_DPZipCode>1</ns1:D_DPZipCode>

<ns1:D_Adress1>adresse1</ns1:D_Adress1>

<ns1:D_Adress2>adresse2</ns1:D_Adress2>

</ns1:Base64>

</ns1:M_DP>

Thanks allo fro help

Regards Thomas Neuhaus

Accepted Solutions (1)

Accepted Solutions (1)

cdumont69
Contributor
0 Kudos

Hello,

You don't need BPM for the mapping. You can use the graphical mapping with 2 inbound messages and 1 outbound message.

http://help.sap.com/saphelp_erp2004/helpdata/en/4f/ef761a5ecfb1418b79896e10fe4c57/frameset.htm

Regards,

Chris

Message was edited by: Christophe DUMONT

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Thomas,

I think the best solution to this scenario will be the Fork and Join method using a BPM.

U can find an illustration of the same in SAP Basis SWCV.

Cheers,

Divya

Former Member
0 Kudos

Hello Thomas,

Actually when you plan to merge two messages, they have to wait for each other somehow. The only way to create this kind of dependency (stateful processing) is by using ccBPM. So you definitely need ccBPM (with a transformation step with a 2:1 mapping).

Best regards

Joachim

Former Member
0 Kudos

Hi Thomas,

You don't need BPM.

You can map these interfaces with a single interface through simple interface mapping supported by appropriated message mapping.

I did a similar scenario where i mapped three incoming files to a single file and it is working fine.

I hope it helps,

Thanks & Regards,

Varun Joshi

Former Member
0 Kudos

Hi Thomas,

As long as your mapping is simple you dont need bpm.......if the inbound inteface contains all the fields of the outbound one then no bpm is essential.You can do this by selecting the intefaces from the mapping editor from the messages tab.

regrads

Priyanka

udo_martens
Active Contributor
0 Kudos

Hi Thomas,

yes u need BPM. Look 2 "merge" example. Create a datatype for both of ur interfaces, let just the fields from other message empty.

Regards,

Udo

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

try the BPM approach

since you have to different messages comming to XI you have to use BPM

Regards,

michal