on 12-10-2014 4:42 AM
Hello All,
I have created abap proxy to File Adapter scenario in PI 7.1 and I am using Content Conversion in the File Adapter to convert the payload structure to flat text file. The input Structure is simple as follows:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Test xmlns:ns0="http://test.com">
<Filename/>
<DTL>
<Name/>
<ID/>
</DTL>
</ns0:MT_Test>
And in Receiver file content conversion I am using the following parameter
DTL.addHeaderLine 0
DTL.FieldNames Name,ID
DTL.fieldSeparator ,
DTL.endSeparator 'nl'
DTL.fieldContentFormatting nothing
And I am using variable substitution to get the filename.
Please help in removing the blank header line
Hi Ramya,
1. Please try to use the FCC parameters as suggested in the following links and check if it works.
Create another node, under that node(FileNode) create one filename element like Filename. Use content conversion like below
FileNode.fieldFixedLengths 0
FileNode.fixedLengthTooShortHandling Cut
FileNode.endSeparator '0'
2. Else go for Dynamic Config option
(Adapter-Specific Message Attributes and Dynamic Configuration)
Regards,
Azhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.