cancel
Showing results for 
Search instead for 
Did you mean: 

File Sender Adapter - Multiple Source Directory

Former Member
0 Kudos

Hi all,

I have the following file to IDoc Scenaraio:

The source file might be in any of 3 directories in source system and so created file sender adapter as follows:

File access parameters:

Source Directory : Directory1

File Name : Filename*.XML

Addiontal Directory:

Directory2 Filename*.XML

Directory3 Filename*.XML

The porblem we are facing is the file adapter is picking the file from Directory1& 2 and not from Directory3.

If the change Directory Order in adapter as follows:

File access parameters:

Source Directory : Directory3

File Name : Filename*.XML

Addiontal Directory:

Directory2 Filename*.XML

Directory1 Filename*.XML

... then file from Directory 2 & 3 is getting processed and not from Directory1.

Any thoughts on this will be greatly appreciated.

Thanks

Sarat.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks for all your replies.

Actually, there was a cache issue, once we refreshed, the issue is resolved.

As most of you mentioned BPM is not required for this scenario.

Thanks

Sarat.

Former Member
0 Kudos

How did u resolve w/o BPM.

Could u please tell me. I also have the similar kind of scenario.

-Naveen.

Former Member
0 Kudos

Source Directory: List your first directory

Check Advanced Selection for Source File box , give rest of directories here.

STALANKI
Active Contributor
0 Kudos

Why use BPM for this?

Instead write an abap program to pick from any of 3 directories in source directory and place it in the shared XI folder and configure your file adapter pointing to XI shared folder...shecdule the abap report for every 5 min..

Wanna know more /people/sravya.talanki2/blog/2005/08/23/sender-xi-ftp-adapter-with-regular-path-expression-150-abap

Or write OS level scripts for doing same.

Former Member
0 Kudos

Hi

Try to use BPM Fork step in integration processes with necessary branches three.So tat the step will wait until three messages received.But otherwise also it should work.Also BPM is not tat wel adviced since its time consumin step.

Regards

Victoria.

stefan_grube
Active Contributor
0 Kudos

In my test (SPS 16) it works.

Maybe you apply the latest patch, if you are beyond SPS 16.

Regards

Stefan