Configuring IDoc Logging Directory
To configure an IDoc logging directory:
- Procedure
-
Click the Advanced tab of your subscription service
-
From the Destination list, select Log to file.
-
From the Format list, select the appropriate format. The format can either be
None
orXML
. IfNone
is selected then the actual IDoc data is written to the file. No metadata is provided and the IDoc data is only provided. IfXML
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. -
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
-
TRA property
adr3.IDocLogDirectory
. -
Log IDoc to Directory field in TIBCO designer project.
-
Current working directory.