Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Gather multiple files according to file name

Hi experts,

I have a question about the file sender adapter.

Is it possible to gather multiple files from a directory according to file name. For example, I have 3 files:

- 10000-20120827.DAT

- 10000-20120826.DAT

- 10001-20120827.DAT

Can I configure the interface in a way it bundle all the files starting with the same 5 first characters? (So it bundles the first two files)

I hope the question is clear enough. If not, let me know.

Thanks,

Koen

Tags:
Former Member
replied

Hi Koen,

this is not possible in PI standard,

You can

- create an adapter module. The adapter has to read files with same starting file name into one message.

- create a Business Process and make use of ASMA header field "FileName" in mapping time.

- create a operation system command before processing. The script will bundle the files with same first file name characters. Assumedly the most easy solution.

Regards,

Udo

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question