Skip to Content
author's profile photo Former Member
Former Member

Regarding File Content Conversion

Hello

I am able to convert a xml file to a flat file using ';' as a separator parameter. Now if i want an o/p file with space as the separator and also a fixed row length for the data that i have to generate is it possible to specify these in the content conversion parameters? Please let me know if it is possible to specify the field length that i require and also the parameter to use space as a separator.

Regards

Sharat

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2006 at 09:21 AM

    Hi Sharat,

    Have you gone through this. It clearly explains about the File content conversion parameters.

    Converting file content in the sender adapter.

    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2006 at 09:33 AM

    Hi,

    Refer this link to get details about all parameters that can be used for File content conversion in Receiver Adapter.

    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm

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

    Regards,

    Uma

    Message was edited by: Uma Maheswari

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2006 at 10:17 AM

    Hi Sharat,

    Use this parameter for your content conversion in the reciever file communication channel.

    structure.fieldSeparator = '0x20'

    this is the hexadecimal conversion for space.

    I guess this works out.

    Regards,

    Dhana

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 10, 2008 at 08:15 AM

    Hi,

    Regarding FCC parameters here are some most often used content conversion parameters listed below :

    Be sure to use the following parameters

    Say DETAILS is the record set name :

    DETAILS.endSeparator = 'nl'

    DETAILS.fieldNames=a,b,c,d ... so on

    DETAILS.fieldSeparator (here a blank space between quotes ex: ' ' will do in case u want the separator to be a blank space.)

    DETAILS.addHeaderLine = 0

    DETAILS.fixedFieldLengths = 10,10

    are some important parameters for the basic conversion.

    Award points if helpful

    Regards : Deepika Kuppachari

    Edited by: K Deepika on Apr 10, 2008 10:15 AM

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.