Skip to Content
author's profile photo
Former Member

regarding FILE adapter

hi all,

we are working on file to Idoc interface.

we need to get the file based on the date. the name of the file will be in the format of "YYYYMMDD.EXT". And the processed file will be kept under the same folder, it will not be deleted or archived.

in this case how do we capture the latest file?

We are using the Processing mode is "BY DATE" in the adapter.

thanks in advance.

karthick.c

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Oct 06, 2005 at 08:51 AM

    Hi,

    Quote from SAP help :

    <i>If you select By Date, files are processed according to their time stamp in the file system, starting with the oldest file.</i>

    I would suggest that in conjunction to 'By Date', you use the Processing Mode 'Set to Read Only', and do not check the 'Process Read-Only Files' indicator. This will ensure that as each file is processed, it is set to Read-only and that no file that has been processed will be picked up again.

    Cheers

    Manish

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi manish,

      *we are using FTP mode. in this option the Processing Sequence option is not available. so we can not define "BY NAME" or "BY DATE".

      *even in NFS mode if we select the processing mode as "Set to Read only" then "Process Read-Only Files" indocator dissappears.

      how it would be achieved?