cancel
Showing results for 
Search instead for 
Did you mean: 

Send File Sequentially

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Answers (3)

Answers (3)

former_member398373
Participant
0 Kudos

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.

iaki_vila
Active Contributor
0 Kudos

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.

former_member186851
Active Contributor
0 Kudos

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

https://scn.sap.com/thaead/2022388