Skip to Content
avatar image
Former Member

File Content Conversion Issue

Hi @,

In my file I am getting structure as continous stream separated by brackets with some header and trailer info .In between business data is coming.

Now my requirement is to get the data .Also I want substructure within a structure

Example:(kjshdkh)(jkdshak)(kjdhkj)(ABCDEFGH)(kljhklhk)

I have to retreive data from 1,2,3 header also .NOw i wish to get the structure from 4th block like (A)(B)(C)(/C)(/B)(/A) something like this but i am unable to get the substructure within substructure through File Content conversion .PLease help

Regards,

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Mar 30, 2007 at 01:45 PM

    Hi Abhi,

    Please try using these blogs...

    https:///people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapterhttps [original link is broken]:///people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter

    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns

    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file /people/harrison.holland5/blog/2006/12/20/xi-configuration-for-mdm-integration--sample-scenario

    /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

    Thanks and Regards,

    Chandu.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Chandu,

      I have tried these blogs already but not able to get the kind of solution hint iam looking for .

      Any other way possible to get the desired result. I have already gone through the following blogs

      /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1

      /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2

      /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30

      /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file

      /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

      /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter

      /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns

      /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem

      /people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter

      /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter

      Any other

  • avatar image
    Former Member
    Mar 30, 2007 at 01:51 PM

    Hi Abhi,

    we can create many sub structures with in a structure.

    specify the parameter RecordsetStructure in content conversion as

    RecordsetStructure: sub1,,sub2,

    you also can specify the appropirate filed seperator to get each field seperately.

    detailed configuration steps are mentioned in the below blog

    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30

    Kind Regards

    Francis

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 30, 2007 at 01:55 PM

    Hi,

    >>>>><i>i am unable to get the substructure within substructure through File Content conversion </i>

    U can not get substructure thr content conversion.

    this u have handle that at mapping only.

    Thanks,

    Maheshwari.

    Add comment
    10|10000 characters needed characters exceeded