cancel
Showing results for 
Search instead for 
Did you mean: 

File Sender Adapter.

Former Member
0 Kudos

Hi All,

In my Client requirement

Many source text files will come in source folder at different

time intervals of the day till 8:00 pm.

I need to append all these text files into one text file

and send to target folder at 8:00 pm

One solution:

let the source text files will come in source folder at different time intervals of the day till 8:00 pm.

Append the text source files into one big text file to one intermediate folder

XI will poll this intermediate folder each day at 8:00 pm

(86400 seconds)

Please let me know if the above solution is ok?

Regards

<Moderator note: Subject edited. Please do not use 'Urgent'. See the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] for further info.>

Edited by: Mike Pokraka on Jul 28, 2008 5:11 PM

Accepted Solutions (1)

Accepted Solutions (1)

santhosh_kumarv
Active Contributor
0 Kudos

Hi,

With the Availability Times all the functionality of the file channel remains same except that the file channel will only be started during the configure time and will be active till the duration specified.

Do the following:

File Adapter Scheduling:

1. Go to Runtime Workbench -> Component Monitoring -> Communication Channel Monitoring

2. Locate the link Availability Time Planning on the top right corner of your Communication Channel Monitoring page.

3. In Availability Time Planning, choose the Availability time as daily and say create.

4. Provide the details like the At(time) 20:00:00 For(Duraton) 15 min

5. Select the communication channel, go to the Communication Channels tab and filter and add the respective channel (File Sender).

6. Once all the above has been done 'Save' the changes.

Thanks

SaNv...

Former Member
0 Kudos

Hi Santosh/ Prateek

Full points to all of you!!

Only One query:

Since the communication channnel wll start with time I have given Planning Avalablity Times

so what time value should I give in Poll Interval (seconds) parameter of Comminication Channel ?

Regards

Former Member
0 Kudos

Hi

you can give any time.

that just picks the file in that specified time and process that file at the particular scheduled time.

Thanks,

Madhu

santhosh_kumarv
Active Contributor
0 Kudos

Hi,

Since your file would be available by 8.00PM plan the availabilty time to schedule the adapter between 8:00 PM to 8:15 or so...

Specify the polling interval as 60 second...

It can be anything but not 0.

Thanks

SaNv...

Former Member
0 Kudos

Hi Santosh,

As said by you:

I will plan the availabilty time to schedule the adapter between 8:00 PM to 8:15 PM (duration)

I will give polling interval as 60 second

Regards

Answers (3)

Answers (3)

Former Member
0 Kudos
santhosh_kumarv
Active Contributor
0 Kudos

Hi,

You are right...

You can schedule the file adapter for polling everyday

By Shabarish Vijayakumar

Thanks

SaNv...

prateek
Active Contributor
0 Kudos

Yes. The solution u r thinking is correct and performance-wise feasible. Handling the collection part in XI using BPM would be too resource consuming.

Regards,

Prateek

Former Member
0 Kudos

Thanks Prateek.

There is some concept for Scheduling with File Adapter.

Do you have any blogs for that?

Regards

santhosh_kumarv
Active Contributor
0 Kudos

>>Do you have any blogs for that?

Check my reply...

Thanks

SaNv...

Former Member
0 Kudos

Hi Santosh,

Thanks for your reply.

One more thing

Suppose my Sender file adapter name is F_Send

I need to schedule it daily at 8:00 pm (means sender file adapter should poll after 24 hours daily at 8:00 pm).

Can you pls expian me the settings I need to do in this

and what value I need to give in Poll(sec) for sender file adapter?

Regards

prateek
Active Contributor
Former Member
0 Kudos

Hi Prateek,

2 question:

1, So with this Avalibality Times I am not required to make

Intermediate folder. I can directly poll with the source folder?

2. When I do the settings in Avalablity Times for polling source folder only after 24 hours each day , do I need to give anything in Poll Interval (seconds) parameter of Sender File Adapter?

Regards

prateek
Active Contributor
0 Kudos

1. Still the intermediate folder approach is better. So use Planning Availablity Times for communication channel polling the intermediate folder.

2. Yes, the communication channel is started at the time mentioned in Planning Availability Time. Then the communication channel will behave in the same manner.

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek,

For Point 1 -- fine.

For Point 2 -- Since the communication channnel wll start what time I will give in Planning Avalablity Times so in Poll Interval (seconds) of Comminication Channel I will give

0 seconds . Is it ok?

Regads

prateek
Active Contributor
0 Kudos

No. Don't provie 0. Provide say 10 secs.

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek,

How does 0 or 10 seconds makes a difference?

Pls explain

Regards