Skip to Content
avatar image
Former Member

Regarding Processing Modes

Hello,

What makes the differences if we use processing mode

like

test/Archive/set to read only/Delete/Binary.

Thank you

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jun 18, 2008 at 11:59 AM

    Processing Mode

    Archive

    Files that have been successfully processed are moved to an archive directory.

    To add a time stamp to a file name, select the Add Time Stamp indicator.The time stamp has the format yyyMMdd-hhMMss-SSS. The time stamp ensures that the archived files are not overwritten and it enables you to sort them according to the time that they were received.Under Archive Directory, enter the name of the archive directory.If you want to archive the files on the FTP server, set the Archive Files on FTP Server indicator. If you do not set the indicator, the files are archived in the Adapter Engine file system.

    Delete

    Successfully processed files are deleted.

    Test

    Files are not processed.Only use this mode to test the configurations of the file/FTP adapter or the Integration Engine/PCK. It is not suitable for productive operation.

    Set to Read-Only

    Successfully processed files are given this attribute. Only writable files are processed. This selection is only available for the File System (NFS) transport protocol.

    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 18, 2008 at 11:59 AM

    Hi,

    file.processingMode=<processingMode>

    Once the filesu2019 contents have been sent to the Integration Engine, specify how you want them to be processed.

    There are five possible processing types for processingMode: delete, archive, archiveWithTimestamp, setAttribute, or test.

    delete means that successfully processed files should be deleted.

    archive and archiveWithTimestamp mean that successfully processed files are moved to an archive directory.

    In archive mode, the file name is copied unchanged. If a file with the same name already exists in the archive directory, it is overwritten.

    In the archiveWithTimestamp mode, a time stamp including the date and time is added to the file name. The format of the time stamp is yyyyMMdd-hhMMss-SSS_, where yyyy specifies a year and SSS the number of milliseconds. As a result, files can be sorted according to the time they entered the archive directory, irrespective of the file name. This also stops files with the same name being overwritten.

    In the case of both processing types, the archive directory must be specified using the following parameters:

    ■ file.archiveDir=<archiveDir>

    This parameter is mandatory for these processing types.

    setAttribute means that successfully processed files are given the attribute read only. This means that only files you can write to are processed.

    test means that successfully sent files will not be processed.

    Caution

    This means that files are sent again as a new message if the file/FTP adapter is restarted or if the time period specified in file.pollInterval is exceeded. This mode is exclusively of use when testing the configuration of the file/FTP adapter or the Integration Engine, and not for production operation.

    All informations could be found here:

    http://help.sap.com/saphelp_nw04/helpdata/en/0d/00453c91f37151e10000000a11402f/frameset.htm

    Regards

    Patrick

    Edited by: Patrick Koehnen on Jun 18, 2008 2:01 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 18, 2008 at 11:59 AM

    Hi,

    Refer the processing mode section in the below link.

    http://help.sap.com/saphelp_nw04s/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm

    Processing Mode

    ○ Archive

    Files that have been successfully processed are moved to an archive directory.

    ■ To add a time stamp to the file name, select Add Time Stamp.

    The time stamp has the format yyyMMdd-hhMMss-SSS. The time stamp ensures that the archived files are not overwritten and it enables you to sort them according to the time that they were received.

    ■ Under Archive Directory, enter the name of the archive directory.

    ■ If you want to archive the files on the FTP server, choose Archive Files on FTP Server. If the indicator is not set, the files are archived in the Adapter Engine file system.

    ○ Delete

    Successfully processed files are deleted.

    ○ Test

    Files are not processed.

    Only use this mode to test the configurations of the file/FTP adapter or the Integration Engine/PCK. It is not suitable for productive operation.

    ○ Set to Read-Only

    Successfully processed files are given this attribute. Only writable files are processed.

    This selection is only available for the File System (NFS) transport protocol.

    chirag

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 18, 2008 at 12:03 PM

    Hi,

    Processing Mode

    Archive:

    Files that have been successfully processed are moved to an archive directory.

    To add a time stamp to a file name, select the Add Time Stamp indicator.

    The time stamp has the format yyyMMdd-hhMMss-SSS. The time stamp ensures that the archived files are not overwritten and it enables you to sort them according to the time that they were received.

    Under Archive Directory, enter the name of the archive directory.

    If you want to archive the files on the FTP server, set the Archive Files on FTP Server indicator. If you do not set the indicator, the files are archived in the Adapter Engine file system.

    Delete:

    Successfully processed files are deleted.

    Test:

    Files are not processed.

    Only use this mode to test the configurations of the file/FTP adapter or the Integration Engine/PCK. It is not suitable for productive operation.

    Set to Read-Only:

    Successfully processed files are given this attribute. Only writable files are processed. This selection is only available for the File System (NFS) transport protocol.

    Archive Source Files with Errors:

    To archive source files where a permanent error occurred during processing, set the indicator.

    A permanent error occurs either during the conversion of the file content, or in a module in the module processor.

    More information: MessageTransformBean, Migrating Dispatcher Classes

    Specify the Directory for Error Archiving.

    To add a time stamp to the archived file, select Add Time Stamp.

    Process Read-Only Files (for transport protocol File System (NFS))

    Set the indicator if you want to also transfer files that are locked by other applications.

    Only set this indicator if you are sure that no data will be lost.

    regards

    mahesh.

    Add comment
    10|10000 characters needed characters exceeded