Skip to Content
author's profile photo Former Member
Former Member

Scheduling File adapter

Hi,

Is there any way to schedule a file adapter to read a file through FTP at a particular time everyday, say 8 PM everyday?

Some ways to schedule the message have been discussed on this forum earlier with or without a BPM, however those solutions are not at the adapter level. The message is read at regular polling intervals and transmitted at a particular time. What we want to do is poll the FTP server at a given time..

Any ideas??

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Jan 13, 2006 at 12:47 PM

    Hi,

    a few ways:

    1. you can set pool interval to 1 day and start the adapter at 8 o'clock

    2. you can use FTP call (by proxy for example)

    this way you can sechdule something that will start the BPM (abap report for example) - but with this approach you don't use adapter you have to write the code in java (if you use java proxies) but you get total and nice control of file adpater start status

    Regards,

    michal

    -


    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 13, 2006 at 12:49 PM

    Hi,

    Not sure at adapter level, but did you have a glance at this from sxmb_adm

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

    Regards,

    Anirban.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 13, 2006 at 12:50 PM

    Michal,

    Can you try out wether you can de-activate the adapter through module processor or some other way and activate at 8.00?

    That will be useful to many..:)..just a request..:)

    Add a comment
    10|10000 characters needed characters exceeded

    • hi,

      In all of our projects in which we had to

      schedule file adapter we've been using proxies

      this is very easy:

      you have to create an inobund proxy and call from it

      the outbound proxy

      not much coding for a java devleoper

      about the adapter and module:

      I don't know what could start the process.... a dummy file? if so is it good?

      sure we could try to stop processing in the process

      method of the adapter module but will it hold the resources for such a long time? if so do we want it?

      I strongly suggest using proxies - this way you can control your flow from any place (standard WAS jobs for instance)

      but there are workarounds:)

      - you could put file in one folder (temporary)

      - use a scheduled abap raport to start a flow in XI

      that would end invoking a java proxy (which will copy the file from Temporary to destination folder )

      - then the file adapter picks up the file

      - if the proxy cannot copy the file then it can call an error and inform someone

      Regards,

      michal

      -


      <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 01:43 PM

    Hi,

    this Link should help you.

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d458a870-0601-0010-caab-b99c79741964

    If one of you can provide a sample for an java proxy with ftp function it will be very helpful for all new proxy developer.

    I found a lot of questions about how to implement more functionality into an ftp sender adapter. The answer is java proxy but how to implement?

    Thanks Daniel

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 01:48 PM

    hi,

    you can do that with adapter scheduling. please go tru th link below...

    Adapter Scheduling - Hail SP 19 😊

    /people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-

    Scheduling messages in SAP XI using SAP_XI_ADMINISTRATOR tcode

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

    hope this helps.

    kvr

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.