cancel
Showing results for 
Search instead for 
Did you mean: 

File Adapter

Former Member
0 Kudos

Hi

I have a scenario file rfc webservice rfc,My scenario is working fine,I have an issue like i will be getting different files at different times.If i get three files at a time my bpm is getting triggered at a time for all the files,i want to trigger my bpm one file first finish of the process & go for the next file..

Can any one please give me the solution how to configure in file adapter..

Thanks

sriram

Accepted Solutions (0)

Answers (4)

Answers (4)

MichalKrawczyk
Active Contributor
0 Kudos

if the number of files that you receive

is not constant (3)

just can set the file adapter to work in EOIO mode

and don't use the BPM

just file to WS

so the process will use one queue and even if

all of your files will be picked up at once

they will be processed one by one - as they will only use one queue

Regards,

michal

Former Member
0 Kudos

Thanks for the response

I am not sure how to use java proxy in my scneario,can you pelase brief me how to work.

Moorthy,My first file have to finish the process then it has to go for next file even the link which u have send dint help me out.

Thanks

sriram

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>>>I am not sure how to use java proxy in my scneario,can you pelase brief me how to work

the proxy is just a java program

that will import the second file

one the first will finish processing

and then the third one when the second will finish

and then the new BPM will be started

with the first file again

Regards,

michal

moorthy
Active Contributor
0 Kudos

Hi,

If you have 3 different file names, then we can have 3 recieve steps in the BPM. So first file will start the process. Second and 3rd Recieve step will receive other 2 files...with 3 receiver determinations..

i.e first file to BPM

2nd fiel to BPM

3rd file to BPM..

Is this will solve the problem..

Regards,

moorthy

moorthy
Active Contributor
0 Kudos

Hi Sriram,

<i>i want to trigger my bpm one file first finish of the process</i>

>>>>is this means, you need to complete the entire process before getting the second file again..

There is no Standard way probably.

Probably you can try this-

/people/alexander.bundschuh/blog/2006/01/04/scheduling-messages-in-sap-xi

Regards,

Moorthy

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

this is not possible in standard as file adapter cannot work

be started by BPM

one way would be to create a java proxy that would

pull the file into the XI when the first file would

finish processing and the same to pull the third file

Regards,

michal

moorthy
Active Contributor
0 Kudos

Hi Michal,

Just wanted to know..if we use Java proxy, is this will not create new instance of BPM for the next file ?

Please let me know..

regards,

moorthy

MichalKrawczyk
Active Contributor
0 Kudos

hi,

no as the file adapter will only pick one file

then the proxy will pick the second one

(sync proxy in a BPM) and then the third one

also sync proxy in BPM

I assume they have different names of course

if the files are big you can also do the same

with async java proxies which would be more

efficient and I'd go for that from the beggining

so no the new BPM instance will only be

create when a new "first" file will be uploaded

BTW

I assue the number of files per "one process" is constant

(3)

Regards,

michal