Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8644

Re: Conversion of Chinese flat file (GB18030) to XML in SAP PI 7.11

$
0
0

Hi Debashis,

 

As per your requirement only way to create this using FCC is KeyFieldValue.

 

I am not sure whether you have any keyFieldvalue defined or not in the incoming file. If it has then you can use that to identify Title, Header,ITEM and create your target structure else you have two ways to handle this -

 

1. Define only single parameter in sender DT and Target like below -

    Source

    Record    -  0.unbound

         Text   -  0.1

 

   Target

    Record   - 0.unbound

        Title   -0.1

            TitleFieldValue - 0.unbound

        Header - 0.1

            HeaderFieldValue - 0.unbound

        ITEM - 0.unbound

            ITEMFieldValue - 0.unbound

 

Using simple FCC put your whole file content in Text parameter and then write a UDF to extract the values there and populate in the target side using multiple result List


2. Else use JAVA Mapping.


Thanks,

Apu


Viewing all articles
Browse latest Browse all 8644

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>