cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple sender to one receiver without BPM

sapviswanadh
Explorer
0 Kudos

Hi Experts,

I'm new to PO.I have a scenario like multiple senders to one receiver. Example like Sender A,B,C,D and Receiver Z.

A,B,C,D are all different structures and Z side they are using Common IDOC structure.

Scenario:REST--->PO--->IDOC. Currently we are using PO 7.5. Could u please provide step by step.

Thanks,

venkat

Accepted Solutions (1)

Accepted Solutions (1)

anupam_ghosh2
Active Contributor
0 Kudos

Hi Sj venky,

It is difficult if not impossible to implement this scenario without BPM.

You need to follow these steps

1. Create a REST to idoc scenario

2. In step 1 sender should be configured to sender A

3. Create a java mapping using DOM parser. or an UDF.

4. The algorithm of java mapping/UDF will be like this

(a) REST look up to sender B

(b) Initial Request from sender A in form of XML needs to be saved in a Document

(c) The request from sender B also in form of xml has to combined/appended with request payload obtained in step (b).

(d) Repeat steps (b) and (c) for senders C and D.

(e) In case of any exception is raised while doing REST lookup's handle them properly and issue proper log.

(f) Write the combined payload to target xml structure.

5. There will be second message mapping to write combined payload to idoc

Regards

Anupam

sapviswanadh
Explorer
0 Kudos

Hi Anupam,

Thank u for the reply. #Helpful

Thanks,

venkat

Answers (3)

Answers (3)

sugata_bagchi2
Active Contributor
0 Kudos

you can give them a single end point and in PI can use one interface with multiple operations.

markangelo_dihiansan
Active Contributor
0 Kudos

Hi SJ,

Stateless interface with multiple operations do not work?

Regards,

Mark

Muniyappan
Active Contributor
0 Kudos

If you are in the correct SP as mentioned in the below blog, you can follow this.

https://archive.sap.com/documents/docs/DOC-74431