on 01-08-2019 6:58 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can give them a single end point and in PI can use one interface with multiple operations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi SJ,
Stateless interface with multiple operations do not work?
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are in the correct SP as mentioned in the below blog, you can follow this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.