cancel
Showing results for 
Search instead for 
Did you mean: 

How can files be picked up sequentienly

Former Member
0 Kudos

I have four files in one folder:

1. ORG.dat

2. PERS.dat

3. JOB.dat

4. TRAIN.dat

now I want the four files be picked up according to the order above by sender file adapter, and also make sure PI to pick up the next file after the previous file was processed successfully

How can I implement this in PI?

Really appreciate any suggestions.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

This can be done if using NFS:-

Processing sequence is the parameter.

if using FTP, use script.

Regards,

Krishna Chauhan

Former Member
0 Kudos

Thank you very much Krishna.

1. Yes, I did see the processing sequence parameter "By Name"option, so the files are picked up alphbetically, correct?

2. But now the order of my four files are not arranged alphbetically, and that is how the client provide us the files. How can pick them in the order above?

Answers (1)

Answers (1)

former_member184681
Active Contributor
0 Kudos

Hi,

First of all, double-posting the same problem (here: http://scn.sap.com/thread/3163244) won't help you get the solution from the Community.

Now, are the files getting created in that particular order, as you mentioned them? If yes, then you can set "Processing Sequence" = "By Date" on the Processing tab page of the sender Communication Channel configuration to have them processed in the correct order.

If you are not sure about the creation sequence - can you at least influence the names of the files? If the sequence was alphabetical, you could use "Processing Sequence" = "By Name" at least.

Finally, to get the messages processed one by another, you can set the Quality of Service to Exactly Once In Order (QoS = EOIO) in the sender file CC.

Hope this helps,

Greg

Former Member
0 Kudos

Hi Greg.

There are two scenarios in my end, I guess it is the same problem. Sorry for using up the space in for forum. Also I appologize I marked your answer as helpful,  I meant to mark it as Correct answer.

Thank you for the suggestion, it did solve my problem. Really appreciated.

former_member184681
Active Contributor
0 Kudos

I'm happy to hear it helped you And no need to apologize, just bear that in mind in the future .

I believe that you are also free to modify the points assignment, as required.