cancel
Showing results for 
Search instead for 
Did you mean: 

how to process files sequentially ?

former_member207622
Contributor
0 Kudos

Hi Folks

i have a requirement in which i have three files placed on the server in random order and i have to bring them and process sequentially in the order a-b-c i cannot use processing sequence due to nature of filenames

my source structure is same for all the files and for target proxy i need data in the same order a-b-c

please provide any solution to this .. Can we do it without BPM.. and IF BPM how ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Ninad,

You have the option of processing the files by date and by name options. If you have three files c, a, b and if they put in the order c,a,b then if you use option with date then it will pickup in that order. If you put the option with name then a,b,c will be picked in that sequence only. So please try to test it and update accordingly.

Regards,

---Satish

Former Member
0 Kudos

Hi Ninad,

I am sorry for wrong post.

What ever satheesh suggests thats correct.

But that should work only in the NFS but not FTP.

In the processing Sequence option you cal select the name, but it picks the files in the order for that particular poll interval only.

for your referrence

http://help.sap.com/saphelp_nw04/helpdata/en/96/f04142099eb76be10000000a155106/frameset.htm

Regards

Ramesh

Former Member
0 Kudos

Hi Ninad,

According to my knowledge its not possible because we don't know when the files come to the server.

Based on the poll interval the XI/PI picks the file, In that interval suppose b,c,d,a,... files come to the server randomly at that time you need to pick the file in a,b,c,d,... order then you have to write the user defined module.

Check this links for module development

http://help.sap.com/saphelp_nw04/helpdata/en/96/f04142099eb76be10000000a155106/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/cd/5af7c0c994e24fb0d0088443513de2/content.htm

Regards

Ramesh