Skip to Content
0
Former Member
Feb 04, 2011 at 03:15 PM

Problem with xml.addHeaderLine in Module

458 Views

Hi experts,

Iu2019m trying to add a header line using the module and not in the FCC. As specified in SAP HELP. I need only to add:

xml.addHeaderLine 3

xml.headerLine u2018TESTu2019

But is not working. It generate the file but without the headerline. This is an structXML2Plain

EX

XML2Plain Transform.Class com.sap.aii.messaging.adapter.Conversion

XML2Plain Transform.ContentType text/xml;charset=utf-8

XML2Plain xml.conversionType StructXML2Plain

XML2Plain xml.addHeaderLine 3

XML2Plain xml.headerLine u2018TESTu2019

XML2Plain xml.recordsetStructure NameA,NameB,NameC

XML2Plain xml.NameA.fieldFixedLengths 3,3

XML2Plain xml.NameB.fieldFixedLengths 3,3,3

XML2Plain xml.NameC.fieldFixedLengths 5

the links of help:

http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm

http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/686e687f2a6d12e10000000a1553f6/content.htm

Thanks