on 12-03-2014 5:58 PM
Hi PI Experts,
I am working on Receiver FCC where we required header line, tab delimiter as a field separator and new line as a end separator.
I have provided below Content Conversion Parameters in communication channel, but i am not getting header line in target file.
Content Conversion Parameters
****************************************
Recordset Structure Header,LineItem
Header.addHeaderLine 3
Header.headerLine HeaderField1,HeaderField2,HeaderField3,HeaderField4........................
Header.fieldSeparator '0x09'
Header.endSeparator 'nl'
LineItem.fieldSeparator '0x09'
LineItem.endSeparator 'nl'
Please correct me, if i am configuring wrong.
PFA screen shots of FCC parameters and mapping structure.
Thank you,
Chakradhar N
Hi Chakradhar,
If you have one Header line you can't have Header with 0..unbounded cardinality in the XML. Have you try to set 0..1 like the cardinality?.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chakradhar
Please check the following thread which has the same situation as yours.
Re: addHeaderLine FCC parameter not working with complex receiver structure in PI 7.31
The last reply by Beena refers to an important note in the SAP Help documentation.
This specification is only permitted if exactly one structure is defined.
Since you are having more than one structure in your Recordset Structure, addHeaderLine is not applicable. This is also consistent with behavior of MessageTransformBean which allows that parameter only for simple transformation.
Rgds
Eng Swee
Hi Eng Swee,
Thanks for the clarification.
Could you please suggest me how can we get header line, if we have more than one structure in Recordser Structure.
Is that we have to take duplicate subtree in mapping level and pass the header field names using constant.
Please suggest me.
Thanks in advance.
Thank you,
Chakradhar N
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.