Content conversion - endSeparator and fieldSeparator with unusual separators

Hi Experts.
I have a problem with the content conversion of a file due to delimiters.
The problem is that the field separators and end line separators are:
fieldSeparator ¿ (ASCII hexadecimal code BF).
endSeparator  ¨  (ASCII hexadecimal code A8).
It seems like if the channel is not recognizing these characters.
1. If I use the character directly in content conversion:
    I get all the file data in the first field of my message:
    <Field1>xxxxxx¿sssssss¨xxxxxx¿sssssss¨<Field1>
2. If use ASCII Hexadecimal code in content conversion
    '0xBF'
    '0xA8'
     I get this error in communication channel:
    Conversion initialization failed: java.lang.Exception: java.lang.NumberFormatException: Value out of range. Value: "BF" Radix: 16
Any idea about how to solve this? Is that even possible to handle this kind of files with this unusual separators?
Thanks a lot in advance.
Christian.

Hi Jens.
Thank you so much for the information.
The thing is that I'm not working with module SimplePlain2XML and I'm doing the conversion directly from content conversion. Do you think that could be the same problem as using SimplePlain2XML module?
Btw, I'm working in 7.31.11.0 environment.
Many thanks.
Christian.

Similar Messages

  • File Content Conversion (receiver) and special characters

    Hi all,
    I have a scenario that has a file receiver channel with content conversion. The record structure in the flat file is field-width delimited (hence no field separator) and the parameter 'fieldLengthTooShortHandling' has the value 'Cut' because the receiving system needs only specific widths for the fields. Hence if the field value exceeds the length permitted, the extra characters are clipped.
    I observed that some characters are not handled properly while creating the text file. For example, one of the fields contained a "minus" character (not the hyphen). The flat file was created successfully. I opened the file in notepad and found that the "minus" character has appeared correctly and the column count in that record was as expected. However when the same file was opened in Textpad, the minus character was displayed as â | |  ('a' with caret, bar, bar) So, all the fields after this field were shifted ahead by 2 characters and hence the total column count of the record had gone beyond the actual one.
    All this started due to the error reported by the receiver system which processes the flat file. Due to shift of characters in the flat file, the processing failed. Moreover that system cannot process the special characters (like minus or non-Latin accented characters etc.) So although there is no issue in XI interface as such, I just want to know if anyone has more informtion on why the characters are displayed differently as mentioned above.
    Regards,
    Shankar

    Define data type like
    order_recordset
    order_row 1..unbound
    f1
    f2
    All are same except communication channel configuration,
    Message Protcol : File content select, then below you got additional parameters.
    there you fill
    Document name : Your sender message type.
    Document namespace : Give your scenario namespace
    Recordset name : order_recordset ( mentioned in the data type)
    Recordset structure : order_row, *
    Name Value
    order_recordset.fieldSeparator : 'nl'
    order_row.fieldSeparator : ,
    order_row.endSeparator : 'nl'
    based on your text file you fill the above parameter values.

  • Content Conversion without a fieldSeparator

    Good day, I would like to know is there a way to use file content conversion in the receiver adapter but not specifying a delimiter? I have to convert an idoc to a flatfile. The flatfile should have no delimiters in. Everything works fine but only if I have a parameter .fieldSeparator and the value as space of somthing. Is there some way to bypass this?

    Hi,
    Just check out the below thread for this :-
    File Receiver with Content Conversion
    For more on FCC please refer these:-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    The specified item was not found. - FCC
    File Content Conversion for Unequal Number of Columns - FCC
    Content Conversion (Pattern/Random content in input file) - FCC
    XI in the role of a FTP - FCC

  • Sender FILE Adapater Content Conversion: Header and Item Data

    Hi
    I need to pick a file and do the content conversion. The XML structure which should be formed should be in the below format. I have a CSV file which needs to be converted.
    Kindly suggest how can I maintain parameters for Header and Item level data in Recordset structure.
    How can I specify in Recordset parameter which is Header(Customerno, Doc type and Address) and Item level(Line Item) data.
      <?xml version="1.0" encoding="UTF-8" ?>
      <customernumber></customernumber>
      <documenttype></documenttype>
    - <Address>
            <name1></name1>
            <name2></name2>
      </Address>
    - <LineItem>
            <material>100016</material>
            <amount>1000</amount>
    </LineItem>

    Hi Swetank,
    The file after conversion should have one Header and you can have any number of line items.
    Once you choose File Content Conversion in the message protocol header while configuring the Sender File Adapter, you get the following enteries in the Content Conversion Parameters:
    Document Name
    Document Namespace
    Document Offset
    Recordset Name
    Recordset Namespace
    Recordset Structure
    Recordsets per Message
    Key Field Name
    To maintain the Header information, Some entries are mandatory, i.e.
    Recordset Name: Here please specify the name of the structure. It is included in the XML schema.
    Recorset Structure: Here you need to enter the sequence and the number of substructures. Since Header is one but you can have many Line items, you will write:
    customernumber,1,documenttype,1,Address,1,LineItem,*
    this format is clearly explained in the link provided by Divya.
    And in the Additional fields you need to write the name of fields corresponding to different Recorset Structures and also add some property to it, like fixed lengths, use some separators etc.
    and Most important field is:
    Key Field Name: If you specified a variable number of substructures for Recordset Structure, in other words, at least one substructure has the value ‘*’, then the substructures must be identified by the parser from their content. This means that a key field must be set with different constants for the substructures. In this case, you must specify a key field and the field name must occur in all substructures.
    Here you need to enter LineItem as it is the only Recordset Structure with an *.
    I hope this solves your problem,
    Thanks and Regards,
    Varun Joshi

  • Content Conversion - JDBC and JMS

    Can we use File Content Conversion with JDBC and JMS ?

    Hi,
    How To Use the Content Conversion Module in JMS Adapter - https://websmp106.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000582377&
    check this for JMS content conversion:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    Check the how to guide provided by prabhu and also this link on the XMl To TeXtCoversion Module,
    http://help.sap.com/saphelp_nw04/helpdata/en/44/748d595dab6fb5e10000000a155369/content.htm
    Ref How To Use the Content Conversion Module in JMS Adapter -
    https://websmp106.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000582377&
    See this weblogs which was shown with examples:
    How to use SAP's WebAS J2EE's JMS Queue in Exchange Infrastructure
    Sync/Async communication in JMS adapter without BPM (SP19)
    Async/Sync Communication using JMS adapter without BPM (SP 19)
    Exploring JMS and SAP-XI JMS Adaper
    Configuring the sender JMS adapter
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/content.htm
    Configuring the receiver JMS adapter
    http://help.sap.com/saphelp_nw2004s/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/content.htm
    Check JMS Adapter section of this blog by Sravya:
    Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part III
    Also information related to Provider-specific settings are available
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/frameset.htm
    Plz do refer the following threads:
    JMS Content Conversion - no CR/LF
    Message (Data) getting lost after JMS Content Conversion(Sender)
    Message (Data) getting lost after JMS Content Conversion(Sender)
    Message (Data) getting lost after JMS Content Conversion(Sender)
    Regards,
    Vinod.

  • Content Conversion: Header and Item

    Hi everybody,
    as the parameters are not explained detailed, I have to ask you:
    I have a file as follws:
    SENDER;RECEIVER   //this line occurs only once
    1111;2222   //this line occurs only once
    ARTICELNUMBER;AMOUNT//this line occurs only once
    444;10//this line occurs unbounded
    555;20
    The result should look like this (line 1 and 3 have to be ignored!)
    <ORDER>
    *     <HEAD>*
    *          <SENDER>1111</SENDER>*
    *          <RECEIVER>2222</RECEIVER>*
    *     </HEAD>*
    *     <ITEM>*
    *          <ARTICELNUMBER>444</ARTICELNUMBER>*
    *          <AMOUNT>10</AMOUNT>*
    *     </ITEM>*
    *          <ITEM>*
    *          <ARTICELNUMBER>555</ARTICELNUMBER>*
    *          <AMOUNT>20</AMOUNT>*
    *     </ITEM>*
    </ORDER>
    What parameters and which values do I need?
    Thanks a lot,
    Regards Mario

    Hi,
    Check some links on FCC,hope they may help u out.
    File content conversion sites
    /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/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /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/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/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Regards,
    phani

  • SAPu2019s content server (DMS) and EDMS with ECC 5.0

    Hi all,
    I am in the process of setting up SAPu2019s content server (DMS) and would really appreciate some insights as what version I should be installing.
    We are currently running ECC 5.0 (640).
    I am also interested in utilizing the Easy DMS functionality and would also really appreciate some insight on that as well (version etc).
    Please advise?
    Regards,
    Iqbal

    Hi Iqbal,
    unfortunately I'm not a Content Server expert. From DMS point of view I would recommend you to use always the latest Content Server patch level (see SAP note 514500). For the decision on the content server I would recommend you to contact your local consulting organisation which will support you in finding the right content server for your business requirements.
    Regarding EasyDMS and the version you should use I can provide you the following suggestion. General there are currently three versions of EasyDMS which are 6.0, 7.0 and 7.1.
    If you would like to run EasyDMS on Windows 7 PCs too, then you have to use version 7.1 because only this version supports Windows 7. Otherwise I would recommend you to run the latest patch level of verison 7.0
    Further I can recommend you to read through the following notes which provide useful information on EasyDMS:
    990018 - EasyDMS 6.0 Restriction Note
    903827 - FAQ for Easy DMS 6.0
    1273919 - SAP Easy Document Management 7.0 Restriction Note
    1276709 - SAP Easy Document Management 7.0 FAQ Note
    1467697 - SAP Easy Document Management 7.1 Restriction Note
    1465763 - SAP Easy Document Management 7.1 FAQ Note
    Best regards,
    Christoph

  • I upgraded to Keynote 6.2.2 and deleted the old Keynote application. Now all the content is gone and replaced with question marks

    Lost all content and now my lectures are reduced to slides with some text and question marks were images/content used to be. Incredibly frustrating. How can I get my content back?

    Re-install iWorks 09 and you will be up and running again.

  • Content based routing and XML with multiple objects

    I have some structure:
    <contracts>
      <contract>
         <department>1</department>
      </contract>
      <contract>
         <department>1</department>
       </contract>
      <contract>
         <department>2</department>
       </contract>
    </contracts>
    I need to route contract to 2 system based on <department> value:
    contracts/department = 1 --> System1
    contracts/department = 2 --> System2
    Will XI split my XML (based on Content Routing rules in ID) into 2 structures (with departmet=1 and department=2 accordingly) ?
    Or I have to perform 1ToN mapping? I don't like it bacause it will be diffucult to monitor hundred of messages.

    Alternatively if you donot like 1:n mapping and BPM.
    Create two message mappings in the IR
    1.Source :<contracts>
    <contract>
    <department>1</department>
    </contract>
    <contract>
    <department>1</department>
    </contract>
    <contract>
    <department>2</department>
    </contract>
    </contracts>
    Target:
    <contracts>
    <contract>
    <department>1</department>
    </contract>
    <contract>
    <department>1</department>
    </contract>
    Basically mapping generates a target structure which has only department 1.
    2.Same like step1 but the mapping should generate the XML with department = 2.
    Once requires steps are done in the ID , do the content based routing in the reciever determination and give the appropraite message mapping in the interface determination.
    That should your problem and also you will like doing it as it does not involve any split level mapping..:)

  • I used someone else's computer to update my iPhone and when it was done all of my content was gone and replaced with the computer owner's content.  Can I get my stuff back?

    My boyfriend wanted to update his iPhone so I let him use my computer/iTunes to do it because he does not have his own.  When we plugged his phone in it brought up his name to select and then we began the update.  After it was done and his phone came back up it had deleted most of his info he had like contacts and replaced it with my contact list.  Is there anyway to get his info back and restored to his phone?  Help!!

    You can only sync to 1 iTunes library on one computer.
    If you sync to another, you get what happened to you.
    If you have not backed it up on your computer, where you originally synced to, you are out of luck.
    If you did backup up, read this:
    http://support.apple.com/kb/ht1766

  • How to retrieve UoM-conversion Numerator and Denominator with 5 digits?

    Hi,
    in pricing i am using condition base formula to fill the condition amount and condition base value.
    Condition amount might be a price per UoM which is different from the order uom.
    konv-kbetr konv-waers / konv-kpein konv-kmein (e.g. 1.200 USD / 1 LB )
    Thus i also convert my base quantity to konv-kmein.
    Using UNIT_CONVERSION_SIMPLE i retrieve the used DENOMINATOR and NUMERATOR which i want to pass over to
    KONV-KUMNE and KONV-KUMZA.
    Problem is that KONV-KUMNE and KONV-KUMZA are DEC5_0, while the Conversion factors defined in customizing (T006-ZAEHL and T006-NENNR) have 10 decimals, and these are the values passed back by UNIT_CONVERSION_SIMPLE.
    Standard pricing somehow manages to derive 5 digits denominator and numerator even if the conversion is customized using larger numbers.
    Anyone an idea how to do that??
    Thanks for any help! Kind Regards,
    Guido
    Edited by: Guido76 on May 25, 2010 3:42 PM

    Hi,
    in pricing i am using condition base formula to fill the condition amount and condition base value.
    Condition amount might be a price per UoM which is different from the order uom.
    konv-kbetr konv-waers / konv-kpein konv-kmein (e.g. 1.200 USD / 1 LB )
    Thus i also convert my base quantity to konv-kmein.
    Using UNIT_CONVERSION_SIMPLE i retrieve the used DENOMINATOR and NUMERATOR which i want to pass over to
    KONV-KUMNE and KONV-KUMZA.
    Problem is that KONV-KUMNE and KONV-KUMZA are DEC5_0, while the Conversion factors defined in customizing (T006-ZAEHL and T006-NENNR) have 10 decimals, and these are the values passed back by UNIT_CONVERSION_SIMPLE.
    Standard pricing somehow manages to derive 5 digits denominator and numerator even if the conversion is customized using larger numbers.
    Anyone an idea how to do that??
    Thanks for any help! Kind Regards,
    Guido
    Edited by: Guido76 on May 25, 2010 3:42 PM

  • Problem with file content conversion in receiver file adapter

    Hi All
    I have a problem with file content conversion in receiver file adapter.
    This is my recordset structure: Header_Record,1,Claim_Record,*,Check_Rec,1
    These are the content conversion parameters:
    Header_Record.fieldSeparator = ,
    Header_Record.endSeparator = 'nl'
    Claim_Record.fieldSeparator = ,
    Claim_Record.endSeparator = 'nl'
    Check_Rec.fieldSeparator = ,
    Check_Rec.endSeparator = 'nl'
    In SXMB_MONI, i can see that the data is correctly extracted from proxy, and correctly mapped to receiver message, and i see a checkered flag (success).
    But, Adapter status is RED with the following error message:
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '1.fieldFixedLengths' or '1.fieldSeparator' is missing
    In communication channel monitoring, i get the following error message:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages
    What is going wrong here? Can anyone please tell me?
    Thanks
    Chandra

    Posted in Incorrect forum.
    Posted again in Process Integration forum

  • Problem with Sender Adapter File Content Conversion

    Hi all!
    I have a question about file content conversion in sender file adapter.
    I have file like:
    {field1
    field2
    field3
    field4
    $
    {field5
    field6
    field7
    field8
    And i need to get file like:
    <dealings>
    <deal>
    <field1>{field1</field1>
    <field2>field2</field2>
    <field3>field3</field3>
    <field4>field4</field4>
    <field5>-}*</field5>
    </deal>
    <deal>
    <field1>{field5</field1>
    <field2>field6</field2>
    <field3>field7</field3>
    <field4>field8</field4>
    <field5>-}*</field5>
    </deal>
    </dealings>
    I put content conversion parameters:
    deal.fieldSeparator = $
    deal.fieldNames = field1,field2,field3,field4,field5
    And i get a file like:
    <ns:mt_swift_file>
    <dealings>
    <deal>
    <field1>{field1</field1>
    </deal>
    <deal>
    <field1>field2</field1>
    </deal>
    <deal>
    <field1>field3</field1>
    </deal>
    <deal>
    <field1>field4</field1>
    </deal>
    <deal>
    <field1>-}*</field1>
    </deal>
    <deal>
    <field1/>
    </deal>
    <deal>
    <field1>{field5</field1>
    </deal>
    <deal>
    <field1>field6</field1>
    </deal>
    <deal>
    <field1>field7</field1>
    </deal>
    <deal>
    <field1>field8</field1>
    </deal>
    <deal>
    <field1>-}*</field1>
    </deal>
    </dealings>
    </ns:mt_swift_file>
    What i do wrong?
    As i understand, XI put string to a separate tag after symbol 'nl', but how can i get structure without unnecessary tags?

    Hi,
    Check some links for FCC
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    File Receiver with Content Conversion
    Content Conversion (Pattern/Random content in input file)
    NAB the TAB (File Adapter)
    Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
    How to send a flat file with various field lengths and variable substructures to XI 3.0
    Content Conversion (Pattern/Random content in input file)
    NAB the TAB (File Adapter)
    File Content Conversion for Unequal Number of Columns
    Content Conversion ( The Key Field Problem )
    The specified item was not found.
    File Receiver with Content Conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Regards,
    Phani

  • Content conversion problem

    Hi gurus
    I sem to have a really silly problem
    I'm only getting the FIRST field  on file content conversion and no new line
    here's a part of the XML file from the payload manifest
    <?xml version="1.0" encoding="UTF-8" ?>
    - <rfc:Z_XI_005_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
    - <IP_CUSTOMER_HEADER>
    - <item>
      <CUSTOMERID>100853</CUSTOMERID>
      <COMPANY>Bram Van Tuyl Coldstore</COMPANY>
      <SHORT_NAME>VAN TUYL</SHORT_NAME>
      <SALES_REGION>EUROP</SALES_REGION>
      </item>
      </IP_CUSTOMER_HEADER>
      </rfc:Z_XI_005_RFC>
    I've defined the following parameters in the content conversion
    Recordset sructure   item
    content conversion parameters
    item.fieldSeparator       ;   (a semi colon)
    item.endSeparator      'nl'  
    if I look in my file all i get is
    100853
    where's the rest of the data ????
    When I don't use content conversion   xml file is generated correctly.
    Any ideas
    I am at 100% loss to see what's wrong here as this should be an EASY automatic conversion.
    (the input structure is all character)..
    Max pts to anyone who solves this
    Cheers
    jimbo

    the file is identical
    payload from  inbound message
    for example
    <rfc:Z_XI_005_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
    - <IP_CUSTOMER_HEADER>
    - <item>
      <CUSTOMERID>1000001</CUSTOMERID>
      <COMPANY>One-time ship-to</COMPANY>
      <SHORT_NAME>ONE-TIME</SHORT_NAME>
      <STREET />
      <STREET2 />  .......
    Paylioad under Receiver Grouping
    <rfc:Z_XI_005_RFC xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
    - <IP_CUSTOMER_HEADER>
    - <item>
      <CUSTOMERID>1000001</CUSTOMERID>
      <COMPANY>One-time ship-to</COMPANY>
      <SHORT_NAME>ONE-TIME</SHORT_NAME>
      <STREET />
      <STREET2 />
    etc
    text file 100001;1000001........  etc
    There's no Payload that I can see under the response (checkered flag) where it says processed successfully.
    cheers
    jimbo

  • Skipping the content conversion if the input file is an xml file.

    Hi,
    My source folder contains both text files and xml files.
    I want to skip the content conversion if the input file is an xml file and the same Content conversion as to work if the input file is a text file.
    Is there any way to achieve this?
    Regards
    Divia

    Hi,
    I think u hv to create 2 separate Communication Channels.............. 1 for XML (without Content Conversion), & other for TXT with Content Conversion.
    In 1st CC give file name as *.xml & in 2nd give file name as *.txt
    Thanks,
    Maheshwari

Maybe you are looking for