cancel
Showing results for 
Search instead for 
Did you mean: 

Sequential processing of files

Former Member
0 Kudos

Hi Experts,

I have a requirement that MDM server will place files with a timestamp. Now, PI should pick up files based on the timestamp.

Now, as far as I know SAP PI picks up files in a random order.So, would it be possible for SAP PI to pick up files in the sequential order and syndicate the files to receiver in the same Time-stamp order.

For, whether instead of using a MDM Adapter in the sender we could use a File adapter and give the below details fro it to work.

1. Processing Sequence - by Date.

2. Check Adapter Specific Attributes and check Source File Timestamp. Let me know.

Regards,

Aniruddha

Accepted Solutions (1)

Accepted Solutions (1)

naveen_chichili
Active Contributor
0 Kudos

Hi,

It is possible using adapter paameters if it id NFS ...

Processing Sequence (for transport protocol File System (NFS))

If you used placeholders when specifying the file name, define the processing sequence of the files:

○ By Name: Files are processed alphabetically by file name.

○ By Date: Files are processed according to their time stamp in the file system, starting with the oldest file

If FTP you need to go with script

Regards,

Naveen.

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Thanks all for your help, MDM Adapter wont serve the purpose here.

Regards,

Aniruddha

Former Member
0 Kudos

Yes, the above options should work.

With MDM adapter directly fetches the data from the MDM tables, hence no option of fetching data by timestamp..Go with the file adapter.

Former Member
0 Kudos

Hi Debashis,

Thanks so much for your continuous help, can you please let me know whether anyway we can use a MDM Adpater in this case to work?

Regardsm

Aniruddha

former_member854360
Active Contributor
0 Kudos

Hi you can use file adapert with the below options. It will server your purpose

1. Processing Sequence - by Date.

2. Check Adapter Specific Attributes and check Source File Timestamp.