Configuring IDoc Logging Directory

To configure an IDoc logging directory:

    Procedure
  1. Click the Advanced tab of your subscription service

  2. From the Destination list, select Log to file.

  3. From the Format list, select the appropriate format. The format can either be None or XML. If None is selected then the actual IDoc data is written to the file. No metadata is provided and the IDoc data is only provided. If XML is selected then the IDoc is written to the file in XML format and the metadata for the function module, the adapter instance, invoked is used when writing to the file.

  4. In the Log IDoc To Directory field, enter the directory in which these files are to be saved.

    Note:

    Validation of the directory is not done during design time. If this field is not populated, the ASCII text file will be logged in the current working directory of the adapter.

    Each of the IDocs is written to a unique file. The name of the file is created according to the following syntax:

    Filename = IDocType_DateTimeStamp_IDocCount.IDoc

    For example, MATMAS01_20030825114438762_1.IDoc

    These ASCII files can be manually replayed if necessary. For more information, see Advanced Tab.

    If no directory is supplied in the Log IDoc to Directory field then the adapter either uses the TRA property adr3.IDocLogDirectory or the current working directory. The following is the logical order for the previous precedences:

    Procedure
  1. TRA property adr3.IDocLogDirectory.

  2. Log IDoc to Directory field in TIBCO designer project.

  3. Current working directory.