Cotent Conversion Parameters at reciver side

hi,
i have file stucture like,
<node>
    <field1>aaa</field1>
    <field2>bbb</field2>
    <field3>ccc</field3>
    <field4>ddd</field4>
    <subnode1>
         <field5>dd</field5>
         <field6>ee</field6>
    </subnode1>
    <subnode2>
         <field7>xxx</field7>
         <subnode3>
             <field8>yyy</field8>
         </subnode3>
    </subnode2>
</node>
the required flat file is
field1,field3,field3,field4
field5,field6
field7
field8.
everytime new node starts, in flat file, new line has to come.Ive used end separator for all nodes but iam getting field1 to field6 in one row and field7,field8 are in another row.
can any one plz help me.
thanks&regards,
Sridhar

Somesware,
Take a look at this link,
http://help.sap.com/saphelp_nw2004s/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards
Bhavesh

Similar Messages

  • Regarding content conversion parameters at receiver side

    Hi
    In the recevier side I have 3 nodes.
    like HEADER,BODY,TRAILER.
    file receiver communication channel I mentioned
    RecordsetStructure*    HEADER,BODY,TRAILER
    parmeters I mentioned
    HEADER.fieldFixedLengths
    HEADER.endSeparator
    BODY.fieldFixedLengths
    BODY.endSeparator
    TRAILER.fieldFixedLenghths
    TRAILER.endSeparator.
    In runtime workbench it is showing "Channel has not been correctly initialized and cannot process messages"
    Please tell me is there any other parameters I have to mention.
    regards
    venkat.

    Venkat,
    Pls refrer the below:
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Regards,
    Sameer!

  • Give me list of content conversion parameters in sap xi

    Hello experts,
      give me the list of file content conversion parameters (like <node>.fieldSeparator)
    with their explination.
    Thanks inadvance.
    Arjun

    Hi,
    Did you checked help.sap....
    Sender Side:
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    Receiver Side:
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    also check these blogs
    File Receiver with Content Conversion By Jeya Kumar
    The specified item was not found. By Shabarish Vijayakumar
    NAB the TAB (File Adapter) By Sukumarar
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1) By Venkat Donela
    Content conversion in Sender file adapter-- 2 new useful parameters By Sukumar Natrajan
    Thanks
    SaNv...

  • "flat file" at reciver side

    Hi, Folks. If any one knows receiver end settings, to receive flat file data(no of records). Please explain me receiver settings
    Regards,
    Robert

    Hi,
    For the flat file data on the receiver side you have the do the FCC.
    <i>it is csv format only I also maintain file content conversion parameters as
    Row.fieldNames,
    Row.fieldSeparator,
    Row.endSeparator.</i>
    Instead of these parameters you have to use these ones:
    Row.addHeaderLine
    Row.fieldSeparator
    Row.endSeparator
    Regards,
    Vikas

  • Problem with end seperator in file content conversion parameters

    Hi All
    I have a proxy to file scenario, and i am writing the file using file content conversion.
    In my message type, there can be multiple object records in a single data record, as shown here:
    <Data_Record>
      <Field1>111</Field1>
      <Field2>222</Field2>
      <Object_Record>
        <Field3>333</Field3>
        <Field4>444</Field4>
      </Object_Record>
    </Data_Record>
    Recordset Structure: Data_Record, Object_Record
    Content conversion parameters:
    Data_Record.fieldseperator: ,
    Data_Record.end_seperator: 'nl'
    Object_Record.fieldseperator: ,
    Object_Record.end_seperator: 'nl'
    My requirement is, every data record should be followed by new line character and every object record should be followed by new line character:
    111,222(new line character)
    333,444(new line character)
    But, my current output is:
    111,222,333,444(new line character)
    The problem is, as the data record ends only after object record, i am getting new line character only after object record. (technically, the end tag of data record occurs only after the end tag of object record).
    Now, how can i get a new line character after data record and after object record?
    Thanks
    Chandra

    Hi Sekhar,
    We know the input which you are trying to use(in XML ).
    Can you please tell us the output which you are expecting here after using ContentConversion at receiver side.
    Regards,
    Prakash.

  • Soap parameters at target side

    Hi...All,
    i am doing rfc-soap(B2B) scenario for eBanking interfaces.
    i am using the digital certificate at soap side. what are all the paramenters are required at soap target side for my requirement..in soap target side number of parameters are there i.e(Configure user authentication,Certificate Authentication,Configure proxy, Adapter specific msg attribute, security parameters, Conversion Parameters,etc...)..
    what are all the parameters are required pls suggest me..
    regards,
    Pasi.

    Hi,
    Check with this
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
    REgards
    Seshagiri

  • What r the content conversion parameters

    Hi All
    This link contains the text file.
    http://www.census.gov/foreign-trade/d/dist.txt
    what are the content conversion parameters are required to convert that text to xml.

    Make it simple  recordset structure as below ...
    Details
            ----------->District code
            ----------->Port code
            -----------> Name
    Recordset structure   Details, *
    Details.fieldSeparator  :
    Details.endSeparator  'nl'
    Details.fieldNames :  District code, Port code, Name

  • What are the content conversion parameters

    Hi All
    This link contains the text file.
    http://www.census.gov/foreign-trade/schedules/d/dist.txt
    what are the content conversion parameters are required to convert that text to xml.

    <sen_dt>
         <prefix>
              <heads>
                   <dc>               
                   <pc>
                   <name>
              <main>
                   <dcno>
                   <pcno>
                   <name1>
    <rec_dt>
         <prefix>
              <District_code>             District code      optional
              <port_code>              port code          1
              <name>                   name              
         <main>
              <District_code_no>
              <port_code_no>
              <name1>
    content conversion
         document name:<sen_dt>
         document namespace:http::----
         document offset:--
         recordset name:input
         recordset structure:heads,1,main,*
         recordset sequence:Ascending
         recordset per message:----
         keyfield name:---
    prefix.fieldfixedlengths:---
    prefix.endSeparator:---
    prefix.fieldNames;---
    prefix.keyFieldvalue:--
    prefix.keyFieldlnStructure:---
    main.fieldFixedLengths:9,
    main.fieldSeparator:|
    main.endSeparator:'nl'
    main.fieldNames:district code,port code,name
    main.keyFieldValue:
    main.keyFieldlnStructure:

  • What are the content conversion parameters for this structure

    Hi All,
    The below file is the text file. what are the content conversion parameters are required and what is the structure to create in the IR to convert into xml.
    Schedule D - District/Port List (by District Code) [Produced13APR11]
    District |    Port      |    Name
    Code     |    Code      |
    01       |              |    PORTLAND, ME
             |    0101      |    PORTLAND, ME
             |    0102      |    BANGOR, ME
             |    0103      |    EASTPORT, ME
             |    0104      |    JACKMAN, ME
             |    0105      |    VANCEBORO, ME
             |    0106      |    HOULTON, ME
             |    0107      |    FORT FAIRFIELD, ME
             |    0108      |    VAN BUREN, ME
             |    0109      |    MADAWASKA, ME
             |    0110      |    FORT KENT, ME
             |    0111      |    BATH, ME
             |    0112      |    BAR HARBOR, ME
             |    0115      |    CALAIS, ME
             |    0118      |    LIMESTONE, ME
             |    0121      |    ROCKLAND, ME
             |    0122      |    JONESPORT, ME
             |    0127      |    BRIDGEWATER, ME
             |    0131      |    PORTSMOUTH, NH
             |    0132      |    BELFAST, ME
             |    0152      |    SEARSPORT, ME
             |    0181      |    LEBANON AIRPORT
             |    0182      |    MANCHESTER USER FEE AIRPORT, NH
    02       |              |    ST. ALBANS, VT
             |    0201      |    ST. ALBANS, VT
             |    0203      |    RICHFORD, VT
             |    0206      |    BEECHER FALLS, VT
             |    0207      |    BURLINGTON, VT
             |    0209      |    DERBY LINE, VT
             |    0211      |    NORTON, VT
             |    0212      |    HIGHGATE SPRINGS/ALBURG

    since in this case you dont seem to have a key value to figure out what your header is, it is better to go for a two level mapping. i.e first read all the data - each line as an xml tag. and in the first mapping group it as required and then use it for your original mapping.
    Regards,
    Ninu

  • File Content Conversion Parameters in FIle Adapter

    Hi
    I am doing a scenario - XML file to Text file using File content conversion parameters in Receiver File Adapter Channel.
    I given FCC Parameters like:
    DATA.addHeaderLine - '0'
    DATA.fieldSeparator - ,
    DATA.endSeparator - 'nl'
    But im getting error in Receiver File Adapter as - fieldSeparator not specified.
                 i would be greatful if any one help me.
    Regards
    Rajesh

    Hi Rajesh,
    There are lot of blogs which explain File Content Conversion in different scenarios:-
    /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
    I hope this helps.
    Regards.
    Praveen

  • File Adapter Reciver Side: FCC Convetion Problum in PI 7.1

    Hi Experts
    XML Structure
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:mt_idoc2file xmlns:ns0="http://ns_idoc2file">
    - <REC>
    - <ROW>
      <MATNR>CPF30007</MATNR>
      <MTART>ROH</MTART>
      <MBRSH>F</MBRSH>
      <MAKTX>25 lbs. geschn. Karotten</MAKTX>
      <MEINS>LBR</MEINS>
      </ROW>
      </REC>
      </ns0:mt_idoc2file>
    i am traying to convert this xml to txt format in PI 7.1 . i am unable to conveting structure in TXT . i am getting the error .
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'REC.fieldFixedLengths' or 'REC.fieldSeparator' is missing"
    FCC Parameter what i have given.
    Record Struture :ROW,REC
    ROW.filedName   :MATNR,MTART,MBRSH,,MAKTX,MEINS
    ROW.filedSeparator:,
    ROW.endSeparator  :nl
    ROW.fieldFixedLengths:12,20,21,20,10
    Please any one help me out from this issu.
    Thanks and Regards
    G.Praveen Kumar
    Edited by: praveen.tecnics on Sep 30, 2010 2:37 AM

    Hi,
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:mt_idoc2file xmlns:ns0="http://ns_idoc2file">
    - <REC>
    - <ROW>
    <MATNR>CPF30007</MATNR>
    <MTART>ROH</MTART>
    <MBRSH>F</MBRSH>
    <MAKTX>25 lbs. geschn. Karotten</MAKTX>
    <MEINS>LBR</MEINS>
    </ROW>
    </REC>
    </ns0:mt_idoc2file>
    FCC Parameter what i have given.
    Record Struture :ROW,REC
    ROW.filedName :MATNR,MTART,MBRSH,,MAKTX,MEINS
    ROW.filedSeparator:,
    ROW.endSeparator :nl
    ROW.fieldFixedLengths:12,20,21,20,10
    Can you please change your data type as per this XML
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:mt_idoc2file xmlns:ns0="http://ns_idoc2file">
    - <ROW>
    <MATNR>CPF30007</MATNR>
    <MTART>ROH</MTART>
    <MBRSH>F</MBRSH>
    <MAKTX>25 lbs. geschn. Karotten</MAKTX>
    <MEINS>LBR</MEINS>
    </ROW>
    </ns0:mt_idoc2file>
    Dont put REC, logically its nt required also.
    Now use the same FCC u have specified, it will work, remeber to change the MM accordinly also...
    Babu

  • Content conversion parameters for fixed length file

    Hi,
    Hey i have a small doubt.My input is like this
    99443  123213  232234  12312    127544  23423
    Here i have four recorsetnames namely HEADER1,HEADER2,HEADER3,HEADER4,HEADER5,HEADER6 all the recordsets are of same size but the lengths of the fields in it vary so i specified the following parameters
    HEADER1.fieldFixedLengths=1,3,1
    HEADER1.fieldNames=value1,value2,value3
    HEADER1.endseperator=" "
    HEADER2.fieldFixedLengths=1,3,2
    HEADER2.fieldNames=value1,value2,value3
    HEADER2.endseperator=" "
    MY OUPUT XML STRUCTURE SHOULD BE like this
    <header1>
    <value1>9<\value1>
    <value2>944<\value2>
    <value3>3<\value3>
    <\header1>
    <header2>
    <value1>1<\value1>
    <value2>232<\value2>
    <value3>13<\value3>
    <\header2>
    Is the content conversion parameters i specified enough for that. I wanted to know how would it know the begin of the next recordset(ie the seperation between the two recordsets) .Please help me its vey urgent
    Thanks in advance
    Sriandh

    Are header 1 fields always going to occur first , then header 2 and so on?
    By default file adapters do not support Nested Strcutures and so if the sequence is going to be the same and all of these have an occurence of 1..1 then things will work.
    But if there is going to be an occurnece of *  then you will need to use KeyFields.
    Regards
    Bhavesh

  • Upload flat file (Content Conversion Parameters)

    Hello,
    I am still trying to upload a flat text file to XI. Its a non separator file.
    Here the error message from the XI adaper engine:
    Sender Adapter v1508 for Party '', Service 'IXI_FileSystem_CSV':
    Configured at 15:36:12 2005-08-03
    Initialization error: Conversion initialization failed with java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: <b>
    Mandatory parameter 'CONTROL.keyFieldValue': no value found</b>
    Here all my settings:
    Message protocol: File Content Conversion
    Document name: CMA_FILEINPUT1
    Document namespace: http://www.xyz/ogsd
    Recordset name: RECORD
    Recordset structure: CONTROL,1,SEGMENT,*
    <b>Key Field Name: SEGMENT.DUMMYKEY</b>
    Key Field Type: String (cs) -> default
    Fields:
    CONTROL.fieldNames:TABNAM,MANDT,DOCNUM,DOCREL,....
    CONTROL.fieldFixedLengths:10,3,16,4,2,1,1,...
    SEGMENT.fieldNames:DUMMYKEY,DUMMY,LOCATIONID,...
    SEGMENT.fieldFixedLengths:12,51,10,18,4,10,
    SEGMENT.keyFieldValue:E2BPBULOCM03 (string that occurs in the first field DUMMYKEY of SEGMENT)
    The message type looks like this:
    CMA_MSGTYP1                1:1
      RECORD                   1:1
        CONTROL                1:1
          TABNAM
          MANDT...
        SEGMENT                0:unbounded
          DUMMYKEY
          DUMMY
          LOCATIONID...
    Why do i get that error message? How to fill Key field name correctly? In my opinion i dont need key fields for CONTROL because of the occurence of one.
    Any idea?

    Thanks to all. So "Key Field Name" is just symbolic?
    Here are my new settings:
    Message protocol: File Content Conversion
    Document name: CMA_FILEINPUT1
    Document namespace: http://www.xyz.de/ogsd
    Recordset name: RECORD
    Recordset structure: CONTROL,1,SEGMENT,*
    <b>Key Field Name: KF</b>
    Key Field Type: String (cs) -> default
    Fields:
    CONTROL.fieldNames:TABNAM,MANDT,DOCNUM,DOCREL,....
    CONTROL.fieldFixedLengths:10,3,16,4,2,1,1,...
    SEGMENT.fieldNames:DUMMYKEY,DUMMY,LOCATIONID,...
    SEGMENT.fieldFixedLengths:12,51,10,18,4,10,
    <b>SEGMENT.keyFieldValue:E2BPBULOCM03 (from DUMMYKEY)
    CONTROL.keyFieldValue: HRETZU (from TABNAM) </b>
    Both key fields are the first entries in the substructures.
    Now this error is coming up:
    Sender Adapter v1508 for Party '', Service 'IXI_FileSystem_CSV':
    Configured at 16:41:24 2005-08-03
    Last message processing started 16:41:24 2005-08-03, Error: Conversion of complete file content to XML format failed around position 0 with java.lang.Exception: ERROR converting document line no. 2 according to structure 'SEGMENT':java.lang.Exception: Consistency error: field(s) missing - specify 'lastFieldsOptional' parameter to allow this
    last retry interval started 16:41:24 2005-08-03
    length 30,000 secs
    What is that for a new parameter(lastFieldsOptional)?

  • Content Conversion Parameters

    I am trying doing content conversion text file to text file with one communication channel emisor on the 'Content Conversion' parameters shown below:
    Document Name: mt_DatosMaestros
    Document Namespace:urn:Bais:DatosMaestros
    Recordset Structure: mt_actividad_comprador,,mt_canal,,mt_clase_ruta_dist,,mt_clase_ruta_prevta,,mt_cuenta_clave,,mt_forma_pago,,mt_franquicia,,mt_int_comp,,mt_jefe_com,,mt_nivel_socioec,,mt_prog_lealtad,,mt_sector,,mt_subcanal,,mt_tamano_cte,,mt_tipo_venta,,mt_zona,,mt_categoria,,mt_empaque,,mt_familia,,mt_lanzamiento,,mt_lista_precios,,mt_marca,,mt_presentacion,,mt_propietario,,mt_retornabilidad,,mt_sabor,,mt_segmento,,mt_tamano,,mt_tipo_articulo,,mt_Listas_prec,,mt_promotor,,mt_exclusivo,,mt_estado,,mt_municipio,,mt_ciudad,,mt_tipoentrega,,mt_modoventa,,mt_tiempoent,,mt_Tipo_Visita,*     
    Recordset Sequence: Variable
    Recordsets per Message: 1
    Key Field Name: tipo
    Key Field Type: Integer
    The parameters I used are shown below:
    mt_actividad_comprador.fieldSeparator ;
    mt_actividad_comprador.fieldNames     tipo,idioma,actividad,desccorta,descmedia,desclarga
    ignoreRecordsetName true
    mt_actividad_comprador.keyFieldValue 14
    mt_actividad_comprador.keyFieldInStructure ignore
    mt_canal.fieldSeparator ;
    mt_canal.fieldNames tipo,idioma,canal,desccorta,descmedia,desclarga
    mt_canal.keyFieldValue 15
    mt_canal.keyFieldInStructure iggnore     
    mt_clase_ruta_dist.fieldSeparator ;
    mt_clase_ruta_dist.fieldNames tipo,idioma,claserutadist,desccorta,descmedia,desclarga
    Above i done but i dont know how send this datos to text file for each Recordset Structure according
    to keyFieldValue and with one communication channel receptor
    I do not want multi-channel receptors i need that the channel receptor write different text files according to keyFieldValue someone can help me?
    Thanks

    Raj
    the structure I mentioned above was an example actually I have not finished the emisor channel
    this is the source file (LCRECVTAS03.csv):
    D56,0000040382,181.154,CU,225.299,CU,-19.6
    D56,0000040388,527.757,CU,628.123,CU,-16.0
    D56,0000040396,347.057,CU,324.896,CU,6.8
    D56,0000040398,159.600,CU,246.674,CU,-35.3
    D56,0000040410,380.983,CU,489.303,CU,-22.1
    D56,0000040414,78.380,CU,45.000,CU,74.2
    D56,0000040416,177.274,CU,188.187,CU,-5.8
    D56,0000040418,94.121,CU,180.041,CU,-47.7
    D56,0000040423,89.467,CU,205.812,CU,-56.5
    D56,0000040437,189.252,CU,238.311,CU,-20.6
    D56,0000040442,100.029,CU,108.019,CU,-7.4
    D56,0000040445,140.207,CU,154.544,CU,-9.3
    D56,0000040447,120.543,CU,141.820,CU,-15.0
    D56,0000040450,169.213,CU,191.566,CU,-11.7
    D56,0000040458,128.838,CU,234.496,CU,-45.1
    this is the text file (Clients.txt) on how you want it:
    00403820022500181.D56
    00403880062800528.D56
    00403960032500347.D56
    00403980024700160.D56
    00404100048900381.D56
    00404140004500078.D56
    00404160018800177.D56
    00404180018000094.D56
    00404230020600089.D56
    00404370023800189.D56
    00404420010800100.D56
    00404450015500140.D56
    00404470014200121.D56
    00404500019200169.D56
    00404580023400129.D56
    00404600012400097.D56
    00404610020800225.D56
    00404640032100088.D56
    Thanks Raj  !!

  • Regarding content conversion parameters

    Hi,
        Can anyone send me a blog that completely explains in detail about each and every content conversion parameters?Need complete info about ALL those parameters
    Thanks in Advance

    Hi Rambabu,
    Try to implement scenarios in these weblogs...it cover almost all type of scenarios
    /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/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    Also go through this :
    Converting File Content in the Sender Adapter:
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/frameset.htm
    Converting File Content in the Receiver Adapter:
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Thanks,
    Maheshwari.

Maybe you are looking for

  • New TimeCapusle Update fixes Xbox360 issue

    I updated my Time Capsule Airport software a few days ago when the update came out. Today I turned on the Xbox and it signs me in to Xbox Live. The xbox is not hard wired into the Time Capsule, I set up the wireless network months ago but never could

  • Storage and memory problems on a new mac. PLEASE HELP

    I had a macbook pro 5 years ago and backed everything up to my time machine. i just bought a new mac book pro yesterday. I only wanted to transfer my music and photo files over, and i somehow managed to do that but i think i made a mistake somewhere

  • Are there still no other payment-methods in germany?

    Hello, Searching the Adobe-Sites many old statements can be found which claim that other payment methods then CreditCard will be added to CC. It is okay for me to pay for a whole year and I really would like to pay via giro transfer or debit. It is a

  • GL display for inventory account which are not defined as line item display

    Hi All, We have inventory gl accounts which are auto post accounts , these accounts get posted when grn is done. these accounts are not defined as line item display accounts, but if we execute the T code: FS10 we get the gl balance display and not li

  • Exchange 2010 - Exchange 2013 permanent coexsistence to avoid migration of Public Folders

    Hi Guys, I was hoping to get some opinions/ advices regarding the case explained below. The company I work for has a medium-sized Exchange 2010 infrastructure that consists of several geographically dispersed 2-node DAGs and corresponding CASArrays.