cancel
Showing results for 
Search instead for 
Did you mean: 

Scheduling the file adapter

Former Member
0 Kudos

Hi,

i know that file adapter can't be schedualed, however my customer want to send me a message that a file has arrived and only then to wake XI to proccess it.

I don't want to use BPM.

Any thought of a workaround?

Accepted Solutions (0)

Answers (4)

Answers (4)

danny_deroovere
Participant
0 Kudos

Communication channel scheduling is available as of SPS19.

To define your schedule, start the runtime workbench.

Click on Integration Server > Adapter Engine > Communication Channel Monitoring

Click on Availability Time Planning (righ hand upper corner)

A new window opens in which you can define several availability periods (one-time, daily, weekly, monthly) and associate each period with one or more communication channels.

Kr,

Danny De Roovere

former_member583013
Active Contributor
0 Kudos

Hi,

I guess I have been seeing many requirements for 'scheduling XI messages' especially 'adapter-level scheduling'.

'Adapter-level scheduling' ability is not currently available in SAP NW XI.

What you can do is, make use of the 'Event-driven message processing' feature of SAP NW XI. What it means is, the adapter would pick up the message and it will be held in the XI pipeline for 'delayed message processing'. Then from the central scheduler you can send a trigger to XI to process the message.

Here is a recorded Presentation on this topic:

https://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/fd89cdb5-0b01-0010-6289-ac0ad1c...

Here is a recorded Demo on how this can be configured using 'SAP Central Job Scheduling by Redwood' (any other central scheduler that is certified for BC-XBP can also be used):

https://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c0cfd2b5-0b01-0010-a8bd-c140d07...

The recordings are available in the following Job Scheduling page (SDN -> SAP NetWeaver -> Plantform & Operations -> Administration -> SAP NW Central Job Scheduling by Redwood)

https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/abb91c2a-0b01-0010-6ca6-9f0f62268454#idawk... [original link is broken]

In the future you can expect something along the lines of 'a maintenance window at the Adapter/Channel level'. If and when this is made available, it may be possible to activate/deactivate the file adapter (i.e., the communication channel) from the central scheduler.

Hope it is helpful.

Thanks,

Venky Varadadesigan

Product Manager

SAP NetWeaver

M +1/832-287-2135

mailto:venkata.varadadesigan@sap.com

http://www.sap.com

Former Member
0 Kudos

Hi Udi,

Will stopping and starting a communication channel (instead of scheduling an adapter) solve your problem?

I have a similar requirement, and my plan is to have the communication channel stopped until an external event happens. Once the external event is triggered, I will start the communication channel which will check the file system every few seconds, (reading the files that the customer has placed in the directory) until I stop the communication channel again.

Starting and stopping a communication channel directly from RWB is available as of XI 3.0 SP17 and PI 7.0 SP 8. See /people/sap.user72/blog/2006/06/04/starting-stopping-of-communication-channel-from-rwb for details.

Maybe this is what Venky had in mind when he wrote:

> In the future you can expect something along the

> lines of 'a maintenance window at the Adapter/Channel

> level'. If and when this is made available, it may be

> possible to activate/deactivate the file adapter

> (i.e., the communication channel) from the central

> scheduler.

Hope this helps

Farshad

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Udi,

This document deals with Scheduling a File Adapter with a BPM.

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d458a870-0601-0010-caab-b99c79741964">Scheduling File Adapter - Part I</a>

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4f61fddf-0601-0010-7ab5-fb749538f6ab">Scheduling File Adapter - Part II</a>

Am not sure if any other work around is possible without a BPM. Any work around to avoid an Adapter Scheduling will have to use a BPM as it will have to be stateful message processing.

regards,

bhavesh

Former Member
0 Kudos

Udi

Since you dont have a scheduling option inbuilt, I do have a suggestion create a script which you can schedule by the OS to rename ur source file(to the one being polled by File adapter) based on the event being triggered by the client.

But how do you expect your client to send u a message for file pickup?

Former Member
0 Kudos

Check this weblog aswell..

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

Former Member
0 Kudos

HI,

If you are using file adapter then you decide the polling time only polling interval.

But you can control the time to process the message. Please take a look at event driven message processing

http://help.sap.com/saphelp_nw04/helpdata/en/7a/00143f011f4b2ee10000000a114084/content.htm

Regards

Vijaya