on 08-31-2016 7:42 AM
hello everyone,
I need solution to the scenario in which i need to pick 3 files with same name but with different extention.
the conditions are
At sender end..
1) Transfer the 1st file if only second file in available at the sender directory.
2) Send the 2nd file if only 3rd file is available.
The checks at the receiver end are..
1) put the second file if 1st file is present.
2) put the 3rd file if 2nd file is present.
Hi Wasim,
we had a requiremnt to pick the .dat file only if .trg was there in the source ditectory for that I have created two ICO's
1 st ICO to check the existence of the trigger file and if trigger file exists it will start the actual channel
sender channel with *.trg and reciver HTTP channel which exteranally starts the actual sender channel which picks both .dat and .trg file .
2nd ICO:
ICO to transfer the files to the external systems and to stop the polling of the file channel in delete mode once the trigger file is transmitted.
Create a sender channel which picks all the files and two reciver channel one to send files to the receiving system and another HTTP reciver channel which extranally stops the actual sender channel.
check maintain order at run time.
Controlling a Communication Channel Externally - Process Integration Monitoring - SAP Library
Hope it may ring some bells.
Thanks & Regards,
Akhila
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you dont acutally need 2 ICO here this is quite easy to handle uaing additional file option in sender channel using parameter:
<Filename>.namepart and <Filename>.optional
Specifying Additional Files in the Sender File Adapter - Advanced Adapter Engine - SAP Library
Hi Md!
1. How can you transfer first file if only second file is available? Where will you get it?
2. The same question.
3. When do you need to send third file?
Please clarify your requirement.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Evgeniy,
In sender system i have three files
a.xml
a.dat
a.txt
1) while sending a.xml i need to check whether a.dat is available on the sender system.
2) similarly while sending a.dat i need to check if a.txt is present in the sender system and also
if a.xml has already been sent to the receiver system i.e whether a.xml is there in the receiver directory.
3) while sending a.txt no check is there in the sender side, i just need to check a.dat is available at the receiver directory or not.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.