cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Delay in File Adapter

Former Member
0 Kudos

Hi All,

I have a file to ABAP proxy asynchronous scenario.

In the source directory i have 2 xml files. The second XML file should be picked up by the file adapter only after processing the First file by the ABAP proxy.

I know about setting delay in Mapping. But this wont suffice my requirement.

Appreciate your help in this

Keerthi

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Solved

Former Member
0 Kudos

Hi Keerthika,

If you would like to process the second after when the first file is processed, then you need to go ahead with BPM because it will send an acknowledgement to initiate the next file to be processed.

Instead of going with BPM, I recommend to keep the Quality of Service as " Exactly Once in Order". This will help you to process the files in sequntial order and if one of the message fails, the remaining messages will be in Queue.

Thanks,

Former Member
0 Kudos

I really wonder how come "msecs to wait ..." will help in maintaining file sequencing. And solution with BPM is not a good option.

Use a script to handle this. If you want the files to be picked up in a sequence based on time stamp or any other sorting method, it can be achieved using scripts.

Former Member
0 Kudos

Hi Keerthika,

Check the below blog:

http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/4463

Havent tried it but from the above statement (and the test screenshot) it looks like the files are picked/ processed with an interval of 10s.

Thanks,

former_member192079
Participant
0 Kudos

hi

The second XML file should be picked up by the file adapter only after processing the First file by the ABAP proxy.

The requirement seems not about "sequence based on time stamp or any other sorting method,

: a successful execution of 1st file by proxy, need to trigger the 2file pickup...

Regards,

ashu

Former Member
0 Kudos

Yes Ashu is correct.

Appreciate if anyone provides the solution for this requirement

Keerthi

former_member192079
Participant
0 Kudos

Hi,

do'nt thing so wait modification will work...

try it with the help of BPM

file is in Asyn Mode.

So 2 message will be there for 2 file, now it can be handled in BPM, that if proxy return OK acknowledgement for 1st message,

then 2 mapping should executed.

File1 -{BPM receive step -> transformation-> Sync Send -> if proxy respone ok , Block->then 2 transformation else leave the 2nd file message}.

Regards

Ashu

RKothari
Contributor
0 Kudos

Hi,

Check the Advance mode option of Msecs to Wait Before Modification Check on Advance tab of file adapter.

Enter the time (mSecs), it should insert delay in second file processing.

-Rahul