on 06-14-2007 12:37 PM
When an Idoc is written to the file port the structure has the segment names and control info in addition to the Idoc contents.
Is there a way to pass the Idoc to XI directly and have the file adapter create the the Idoc so it looks just like the Idoc written directly from sap via the file port?
Mark, In the Content Conversion in the Receievr File adapter, add the field,
SegmentName.addHeaderLine with value as 1. This will add the column name to the field value.
+NameA.addHeaderLine
Specify whether the text file will have a header line with column names. The following values are permitted:
· 0 No header line
· 1 Header line with column names from the XML document
· 2 As for 1, followed by a blank line
· 3 Header line is stored as NameA.headerLine in the configuration and is applied
· 4 As for 3, followed by a blank line
Note
This specification is only permitted if exactly one structure is defined.
+http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply, but I don't think we are adding a header line to the file, especially since there are multiple segments each having different names (PAYEXT Idoc).
What I need is the data that prefixes the data when the Idoc is written to the file port to be geneated by the file adapter. There are no column names written in from the file port.
For example:
E2IDKU1 210000000000086247000000100000001PEXEXTENDED E2EDK03 2100000000086247000000200000002011200703021551
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.