on 04-19-2016 1:48 AM
Hi PI/PO Experts
I have a requirement to read 5 files with different names from a server. I need to read the files in sequence.
We have created a synchronous interface which reads a file from a server using http_aae adapter (receiver comm channel). I have to extend the interface to read 4 more files.
So its like
Source -> Request -> Target a, Target b, Target c
Target a, Target b, Target c -> Response - > Source
All a,b,c have the same structure
Do I need to create separate channels for each file or can it be achieved using the same comm channel? Also how the files can be read sequentially? Do I need a BPM to achieve this?
Kindly advise.
Regards
Sonal
I assume you are using a HTTP Get in your HTTP_AAE adapter.
- What is your source system?
- What do you do with the responses? Do you need to combine the Response from each of the HTTP calls into a single response and send it back to the Source. If yes, then you will have to use a BPM.
- Whether you use a single communication channel or multiple depends on whether your receiver system is the same. if your receiver system is the same, you can set the HTTP URL Dynamically using Adapter Specific Message Attributes in your Mapping and use the same channel.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks everyone for your response.
I tackled this by creating 5 comm channels and a BPM. BPM would be used to send the request and the responses received would be sequentially inserted in the target JDBC tables by the BPM
Bhavesh, yes the receiver system is the same. Creating HTTP URL dynamically is a good idea too. May try that next time. So awarding you points for helpful answer.
Regards
Sonal
Hi Sonal,
If you are using SFTP or File adapter one channel is enough. Other than this you need to create individual channels.
Regards,
Papi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sonal,
Your requirement is not clear, at least for me. You need to read several files from a server, therefore you dont need to do it in a receiver channel, you can do it form example with a sender SOAP-AXIS ().
Where do you need to deposit that files?, in ECC via proxy?, in a file server?. Do you want to start in a ECC and to retrieve the files?, in this way you can have one scenario and via dynamic configuration to retrieve the different files.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sonal,
What is your sender??SFTP or FTP?
You can try sequence processing the channels
Check the below links
https://help.sap.com/saphelp_nw73/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
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.