cancel
Showing results for 
Search instead for 
Did you mean: 

outbound IDOC_AAE interface

deva_gembali2
Participant
0 Kudos

Hi Experts,

    I have a scenario like outbound IDOC to file ,here one IDOC but 4 different receiver files based order type , file will be generated.

Can we work on different interfaces for each target file but only one IDOC type. Based on my knowledge, outbound same outbound IDOC type can't be used in different interfaces,am i right ?

Please advise me which process is better to work ? Multi mapping or BPM?

Regards,

Vasudeva

Accepted Solutions (1)

Accepted Solutions (1)

nabendu_sen
Active Contributor
0 Kudos

Hi Deva,

You can achieve this by Enhanced Receiver Determination. You need to use XPath at RCV Determination in ID. Check below:

http://scn.sap.com/community/pi-and-soa-middleware/blog/2006/06/07/customise-your-xpath-expressions-...

http://scn.sap.com/people/abhishek.salvi/blog/2009/07/15/sap-pi71-receiver-determination-xpath-and-y...

Dont need BPM at least with the above requirement.

Answers (2)

Answers (2)

Former Member
0 Kudos

We have also have same kind of scenario.Just create the different message mappings and operational mappings corresponding to MM.

Then create the different communication channels of diffferent recievers and now in integrated configuration in receivers interfaces tab go to the Xpath and select the particular field in the IDoc and give the condition depending upon the receiver.

Then in receiver tab give the communication channel names according to the Operational mappings and Business components.

former_member184789
Active Contributor
0 Kudos

Hi,

Multimapping should help you out for this. You will have to add the four message types corresponding tothe four files in signature tab in message mapping.Similarly in operation mapping, you will add the four interfaces on target side. This is when you need to send IDoc to all four interfaces simultaneously. If you need a condition based routing that if one field of IDoc say RCVPRN is RCV1 then send to receiver 1, if it is RCV2 then send to receiver2 etc., then create four operation mappings individually. Based on condition based routing, the IDoc will be sent to the receiver. For multimapping, go through:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90dcc6f4-0829-2d10-b0b2-c892473f1....

And BPM is needed when you have n:1mapping, no need for it for 1:n mapping like in your case. Please correct me if I misunderstood your requirement.

deva_gembali2
Participant
0 Kudos

Hi,

    Here, i have to use as collect all IDOCs and send to file .

If i change 0-unbound ,then idoc will be changed to external definition, but this process is not workable.

So,how can work at source side to collect all idocs without BPM ?

deva

former_member184789
Active Contributor
0 Kudos

Ohh...I thought you were having 1:4 mapping...Didn't know you were having 4:1 mapping. Yes, you will have to go for BPM for this.