![]() Item.beginSeparator : (spaces) | (2spaces) Now in order to align the Headers and Items, we should use fieldFixedLengths.Īccording to the result of test1, I changed the value of HField3. Since we know how these separators work, we can modify the configuration to get the format we want. Note: ’nl’ only works in the endSeparator, but \n can work in everywhere. Header.endSeparator doesn’t work in this structure.The first record of Item doesn’t contain beginSeparator.The last field of Head and the first field of Item is separated by the Item.fieldSeparator (=). ![]() Test1 used to test how some separators work in FCC for Hierarchical Structure. HField1 HField2 HField3 | IField1 IField2 ‘nl’ HField1 HField2 HField3 | IField1 IField2 ‘nl Let us consider a case in which the target structure is shown below.įigure 1 : Hierarchical structure in target sideĪnd the required file format is shown below. ![]() Sample Scenario with Multiple Layers of data: And we can use it to get some complex format in output file. In this article one can understand how to use FCC parameter in receiver adapter to handling hierarchical structure. In receiver channel, File Content Conversion not only helps in converting the file formats from XML which records in the same layer, but also the hierarchical ones. This is intended for all those who are familiar with the basics of “SAP PI” and File/FTP adapter.
0 Comments
Leave a Reply. |