Sender Side:  File Content Conversion

I have a text file, with following values. 
AAA056070144AEA056070144AACTESTPO271+(.......sequence continues)
Length of TAG (Like AAA, AEA,AAC etc) is fixed (i.e.3 ). Length of the Values coming after TAG are not fixed. Field Separator is '+'.
Source structure is
DT_OrdersFromECHO
|_   ECHO_SO
       |_ Value
My requirement is  after FCC, I sud get
ECHO_SO
       |_ Value : AAA056070144
ECHO_SO
       |_ Value :     AEA056070144
ECHO_SO
       |_ Value :     AACTESTPO271        
If I mention  field Separator and filed Names ,it gives an error
Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 1 according to structure 'ECHO_SO':java.lang.Exception: ERROR in configuration / structure 'ECHO_SO.': More elements in file csv structure than field names specified!
How can i achieve it?

Hi Snehal,
>AAA1234AEA12345BAA3456BAD345678CAA9876+CAD13445
So you will have only one line in the input file which have all the records separated by + sign. Right?
If this is the case then you cannot use FCC of the sender file channel. because at a time the fields or the values are not fixed..
So I will suggest you to read the file into PI (without FCC) and then break it into
TAG : AAA
Value: 1234
TAG : AEA
Value: 12345
TAG : BAA
Value: 3456
either using XSLT of java mapping.. So your interface mapping will have this mapping as 1st and your normal (source to targte conversion) mapping as 2nd
Regards
Suraj

Similar Messages

  • 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

  • Doubt regarding Sender adapter file content conversion to RFC

    Hi Experts,
    Below is the my Source and  Target XML structure ( i have creaated source structure same as target RFC structure),  This scenario is working fine when i give XML file as input. File -> XI -> RFC , xml file is able to update the information in R3.
    How should i configure sender file adapter for file content conversion for above structure(in this case input is fixed lenth text), and i could able to change source structure according to our req, without changing target RFC strucuture.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_HSA_IDNumber xmlns:ns0="urn:passhe.com/UpdateIdNumberISA32">
       <COMMIT_I>X</COMMIT_I>
       <IDENTIFICATION>
          <STUDENT>6500001191</STUDENT>
          <ID_TYPE>FS0030</ID_TYPE>
          <ID_NUMBER>testxml</ID_NUMBER>
          <VALID_FROM>20070421</VALID_FROM>
          <VALID_TO>20091231</VALID_TO>
       </IDENTIFICATION>
      </ns0:MT_HSA_IDNumber>
    I have configured sender file adapter with FCC like :
    Document name as: MT_HSA_IDNumber
    Document name space as: urn:passhe.com/UpdateIdNumberISA32
    Record structure as: COMMIT_I,1,IDENTIFICATION,1
    COMMIT_I.fieldNames : COMMIT_I
    COMMIT_I.fieldFixedlengths: 1
    IDENTIFICATION.fieldNames: STUDENT,ID_TYPE,ID_NUMBER,VALID_FROM,VALID_TO
    IDENTIFICATION.fieldFixedlengths: 12,6,60,8,8
    i am getting error like this: even when i change source structure like below metioned:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_HSA_IDNumber xmlns:ns0="urn:passhe.com/UpdateIdNumberISA32">
       <COMMIT>
          <COMMIT_I>X</COMMIT_I>
       </COMMIT>
       <IDENTIFICATION>
          <STUDENT>6500001191</STUDENT>
          <ID_TYPE>FS0030</ID_TYPE>
          <ID_NUMBER>idnumber1</ID_NUMBER>
          <VALID_FROM>20070421</VALID_FROM>
          <VALID_TO>20091231</VALID_TO>
       </IDENTIFICATION>
    </ns0:MT_HSA_IDNumber>
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'COMMIT_I.fieldFixedLengths' or 'COMMIT_I.fieldSeparator' is missing Consistency check: no. of arguments in 'COMMIT_I.fieldFixedLength' does not match 'COMMIT_I.fieldNames' (0 <> 1)
    Please help me out
    thanks
    dhanush

    Hi Dhanush,
    Try giving the Sender FCC this way for the source structure you have mentioned above.
    Record structure as: COMMIT,1,IDENTIFICATION,1
    COMMIT.fieldNames : COMMIT_I
    COMMIT.fieldFixedlengths: 1
    Hope this helps.
    Thanks and Regards,
    Induja

  • Sender adapter: File content conversion suggestion

    Hi all,
      I require your suggestion on File content conversion with Sender File adapter. I am having a scenario where I would be getting multiple orders data i.e., header and item information in a single file. Suppose, we have given a chance to design the source structure. So, which would be the better way for having the source structure so that it would be easy for file content conversion and mapping. Is it like Method 1 or Method II?
    Method I:
       Orderno,FieldA,FieldB,FieldC
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,FieldA,FieldB,FieldC
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,FieldA,FieldB,FieldC
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
    Method II:
       Orderno,FieldA,FieldB,FieldC
       Orderno,FieldA,FieldB,FieldC
       Orderno,FieldA,FieldB,FieldC
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
       Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
      If you suggest method I, can you let me know how the content conversion parameters look like?
    Thanks in Advance,
    Adithya K
    Message was edited by:
            Adithya K

    Adithya,
    Looking at your input file I think a structure as below would be better.
    <Order_Data>
      <Orderno>
          <Orderno/>
          <FieldA/>
          <FieldB/>
          <FieldC/>
      </Orderno>
      <Items>
          <Orderno/>
          <OrderItem/>
          <Field1/>
          <Field2/>
          <Field3/>
          <Field4/>
          <Field5/>
      </Items>
    </Order_Data>
    Content Conversion Parameters for this would be:
    RecordSet Structure        OrderData,,Orderno,1,items,
    OrderData.fieldNames       Orderno,items
    OrderData.fieldSeparator   'nl'
    OrderData.endSeparator    'nl'
    Orderno.fieldNames          Orderno,FieldA,FieldB,FieldC
    Orderno.fieldSeparator       ,
    Orderno.endSeparator       'nl'
    items.fieldNames              Orderno,OrderItem,Field1,Field2,Field3,Field4,Field5
    items.fieldSeparator           ,
    Items.endSeparator           'nl'
    ignoreRecordsetName        true
    Depending on which are your key fields you will  have to put two more parameters:
    Orderno.keyFieldValue
    items.keyFieldValue
    Hope this would be of some help.
    Thanx,
    Manju.

  • Sender Adapter File Content Conversion - question

    Hi!
    Could you help me to make xml-file from csv?
    I have file like:
    12345#254#9765#89654
    55#9066#77127#47
    And i need file like:
    <dealings>
            <deal>
                    <field1>12345</field1>
                    <field2>254</field2>
                    <field3>9765</field3>
                    <field4>89654</field4>
            </deal>
            <deal>
                    <field1>55</field1>
                    <field2>9066</field2>
                    <field3>77127</field3>
                    <field4>47</field4>
            </deal>
    </dealings>
    I haven't key fields - all fields are accidental. And lengths of all fields are accidental.
    How to put content conversion parameters?
    Thank you.

    HI
    File Content prameters for the Sender Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    File content conversion sites
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Please see the below links for file content conversion..
    The specified item was not found. - FCC
    The specified item was not found. - FCC
    File Content Conversion for Unequal Number of Columns
    File Content Conversion for Unequal Number of Columns - FCC
    Content Conversion (Pattern/Random content in input file)
    Content Conversion (Pattern/Random content in input file) - FCC
    XI Configuration for MDM Integration - Sample Scenario - FCC - MDM
    XI in the role of a FTP
    XI in the role of a FTP
    File content conversion sites
    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
    Please see the below links for file content conversion..
    The specified item was not found. - FCC
    The specified item was not found. - FCC
    cheers

  • Sender Adapter File Content Conversion

    Hi everyone,
    Can someone help me out here?
    For some reasons, out of the fields declared, only 20 gets filled!
    Scenario, I've configured the file sender adapter with file content conversion.  It's picking up an fixed length ASCII file.
    Here are the Content Converion Parameters:
    Document Name:  MT_Site
    Recordset Name: Rootnode
    Recordset Structure: Site,*
    Recordset Sequence: Ascending
    Site.fieldNames= Site_Number,Participant_Number,OPIS_Terminal,ntework_list,tax_code1,tax_code2,tax_code3,tax_code4,CFN_Product,CFN_Product_1,CFN_Product_2,CFN_Product_3,CFN_Product_4,CFN_Product_5,CFN_Product_6,CFN_Product_7,CFN_Product_8,CFN_Product_9,Name,Address,City,Province_state,Region,Filler
    Site.fieldFixedLengths= 6,4,4,6,2,2,2,2,2,2,2,2,2,2,2,2,2,2,30,26,26,2,1,1
    Site.processFieldName= fromConfiguration
    Site.lastFieldsOptional= YES
    Site.endSeparator= 'nl'
    So only the first 20 fields gets filled!
    Thanks for your help on this!

    check if the number of characters in the file matches the total in the content conversion for one record line.
    if ur message type has three fields a1,b1,c1 of length 10,10,5 respectivvely and the same is maintained in CC, if u have the file data as 123456789abcdef the data for <b>a1</b> will be 123456789a and for <b>B1</b> it will be bcdef and no data for C.....hence this check
    Message was edited by:
            Prabhu  S

  • File content conversion query

    hi,
    i have sender and received side -file content conversion.
    in sender communication channel -
    Recordset structure is -> Header,1,Detail,*
    Message type structure is
    MT1 has 2 subnodes Header and Detail.
    In my message type,there is no field identical in Header and Details. All fields are different.
    (1) Is Key Field Name mandatory in this case ? If I am not giving Key field name,sender channel gives error. How to resolve it ?
    (2) Input file comes from customer and in the input file there is no specific data to identify header and detail. 1st line shud be header and other lines shud be Detail ,they say. If no identification coming in incoming data,how can we set the key field name ?
    rgds

    Hi SAP PI,
                          For this moment try this.
    Let the file content is like this
    03456451     TESTDATABC 7645649 8746464
    12344       60042
    45678        60043
    You try reading the file like this
    <MT_S>
         <RECORDSET>
             <ROW>
                      <field1>03456451</field1>
                      <field2>TESTDATABC 7645649 8746464</field1>
            </ROW>
              <ROW>
                      <field1>03456451</field1>
                      <field2>TESTDATABC 7645649 8746464</field1>
            </ROW>
              <ROW>
                      <field1>03456451</field1>
                      <field2>TESTDATABC 7645649 8746464</field1>
            </ROW>
    </RECORDSET>
    </MT_S>
    FCC is like this
    Document Name : MT_S
    Document Namespace: "put name space here"
    Recordset Name: RECORDSET
    Recordset Structure: ROW,*
    ROW.fieldNames  field1,field2
    ROW.endSeparator   'nl'
    ROW.fieldSeparator   0x20
    Once you get this in mapping use a simple UDF to ignore the first ROW values and read the rest.
    Populate the target structure from the output of UDF for each field value.
    Please let me know if you need the uDF and further mapping for this.
    Regards
    Anupam

  • Problem with file content conversion for multiple substrcture. Please help!

    Hi Experts,
       I am using file content conversion in file sender communication channel. The input file is a flat file with data like this:
       A01 AA8I0NBVDA      20090704     84900
       A02 AA8I0NBVDA      20090704     84900
       A03 AA8I0NBVDA      20090704     84900
       I want the data in sender side after content conversion to be like this:
      <ns:Receive_Schedules xmlns:ns="http://mynamespace">
         <ScheduleData>
              <line>A01 AA8I0NBVDA      20090704     84900</line>
              <line>A02 AA8I0NBVDA      20090704     84900</line>
              <line>A03 AA8I0NBVDA      20090704     84900</line>
         </ScheduleData>
    </ns:Receive_Schedules>
    I have tried many options in file content conversion but getting the data like this:
    <ns:Receive_Schedules xmlns:ns="http://mynamespace">
         <ScheduleData>
              <line>A01 AA8I0NBVDA      20090704     84900</line>
         </ScheduleData>
           <ScheduleData>
              <line>A02 AA8I0NBVDA      20090704     84900</line>
           </ScheduleData>
           <ScheduleData>
              <line>A03 AA8I0NBVDA      20090704     84900</line>
           </ScheduleData>
    </ns:Receive_Schedules>
    Following are the settings/properties have configured in content conversion:
    Document Name     Receive_Schedules
    Document namespace     http://mynamespace
    Document Offset     <no value>
    Recordset Name     <no value>
    Recordset namespace     <no value>
    Recordset structure     ScheduleData,*
    Recordset sequence     Ascending
    Recordsets per message     1
    Key field Name     <no value>
    Key Field Type     String
    ignoreRecordsetName     true
    ScheduleData.endSeparator     'nl'
    ScheduleData.fieldNames              line
    ScheduleData.fieldSeparator     'nl'
    How to get the desired message? What changes I need to do in content conversion settings? Please help!
    thanks
    Gopal
    Edited by: GOPAL BALIGA on Jul 1, 2009 12:11 PM

    Hi Ranjan,
      My structure is like what you ahve defined.
      scheduledata...1.1
    ...line....0...Unbound
      I also tried the parameters you gave but still getting the same.
      <ns:Receive_Schedules xmlns:ns="http://mynamespace">
    <ScheduleData>
    <line>A01 AA8I0NBVDA 20090704 84900</line>
    </ScheduleData>
    <ScheduleData>
    <line>A02 AA8I0NBVDA 20090704 84900</line>
    </ScheduleData>
    <ScheduleData>
    <line>A03 AA8I0NBVDA 20090704 84900</line>
    </ScheduleData>
    </ns:Receive_Schedules>
    Following are the settings/properties have configured in content conversion:
    Recordset structure ScheduleData,*   -
    > Is the value correct?
    Recordset sequence Ascending  -
    > Is the value correct?
    Recordsets per message 1  -
    > Is the value correct?
    ignoreRecordsetName true
    ScheduleData.fieldSeparator nl
    ScheduleData.fieldNames line
    ScheduleData.endSeparator nl
    Edited by: GOPAL BALIGA on Jul 2, 2009 5:28 AM

  • Error whil doing File Content Conversion

    Hi all,
       I had configured a sender for File Content Conversion and I am getting the follwoing error.
    Sender Adapter v1014 for Party '', Service 'bs_xml_sender':
    Configured at 05:39:05 2007-04-27
    Initialization error: Conversion initialization failed with java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found:
    Format error in 'xml.recordset' argument: incomplete structure (name,number) pair.
    Any ideas why I am getting this error.

    Here is the detailed error message.
    "Messages:16:40:41 Start of test
      - Cannot produce target element /ns:mt_receiver/PO_NUM. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
    16:45:01 End of test
    16:45:10 Start of test
      - Creating Java mapping com/sap/xi/tf/_mm_Sender_Receiver_
      - Loaded class com.sap.xi.tf._mm_Sender_Receiver_
      - Call method execute of the application Java mapping com.sap.xi.tf._mm_Sender_Receiver_
      -  *** START APPLICATION TRACE ***
      - Document start
      - Start tag [ns:mt_receiver]
      - Add raw attribute [ xmlns:ns="http://xml2xml"]
      - Cannot produce target element /ns:mt_receiver/PO_NUM. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
    16:45:12 End of test

  • File content conversion on Sender Side

    Hi,
    I am doing file content conversion on sender side.when i am executing the scenario,i am getting the following error in sxmb_moni:
    Invalid at the top level of the document. Error processing resource 'file:///D:/Documents and Settings/...............
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Inbound Message --> DOC_HEADER                     ...
    when i right click on the pyaload and select view source
    its displaying the whole flat file with the following line at the beginning:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Inbound Message -->
    i have given all the parameters correctly....
    in sxmb_moni.....the error category is Mapping and the error id id EXCEPTION_DURING_EXECUTE
    Please help me with this error.
    thanks n regards,
    anuradha

    Hi !!
    The best way to debug would be to add TRACE statements in your mappigs. In both Graphical and java Mapping.
    Trace out the entire output of java mapping and see if this is the input that the next mapping expects.
    For trace , http://help.sap.com/saphelp_nw04/helpdata/en/c8/98e7d5c1620642973565ea3dd319d1/content.htm
    refr this links also
    Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Name expected
    unsported character error in message mapping
    Re: HTTP to RFC Mapping error:com.sap.aii.utilxi.misc.api.BaseRuntimeException:
    Exception com.sap.aii.utilxi.misc.api.BaseRuntimeException
    Re: Outbound error
    Re: mapping error
    error in file to file
    have a look at this weblog on how to test your mapping
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    Thanks !!!

  • Key field values for file content conversion at sender communicationchannel

    Hi all,
    I am working on  scenario File to Idoc.In this scenario at the sender side we configure the file content conversion for .CSV file.
    In the flat file i am having more than one orders, XI will pick the file and creates a separate Idoc for each sales order at r/3.
    We have similar fields "Order Item Number" both header and item.
    If we got '00000' on the Header item then it should create a new idoc at the r/3 side other wise it will create line item.
    Order item number will be 00000 for header but it will differ from order item to item.
    source structure
    Order Header
    Order type
    Sold-to-code
    PO number
    Order item number
    Order date
    AdresName1
    AdresName2
    Street and House number
    Postal Code
    City
    Country Code
    Filler
    Order Item
    Order type
    Sold-to-code
    PO  number
    Order item number
    Order date
    Product code
    Order quantity
    Item text
    Filler
    Now I have some questions....
    I don't have standard filed values to give the key fileds at source structure.
    I need to create the Idoc at r/3 system for each individual record.
    Is it possible to create new idoc with out using the Key filed value?
    If it is possible then how can i proceed with fcc?
    please give me your valuable suggestions
    Best Regards,
    satya
    Edited by: satyatanuku on Mar 3, 2010 1:41 PM
    Edited by: satyatanuku on Mar 3, 2010 1:42 PM
    Edited by: satyatanuku on Mar 3, 2010 1:44 PM

    Hi,
    Just check the Content Conversion Parameters-  Recordset Structure.
    If you have filled in this parameter with
    Header,1,Item,1
    then change it to
    Header,1,Item,3
    Regards
    Chandra

  • File Content Conversion in Sender File

    how to convert a fixed length flat file without end seperator sent to XI to a xml form?
    Pleasegive me the idea of Sender Adapter configuration details (esp endSeperator)

    Hi,
    For file content convertion if there are fixed lenth then no need to give the feildseperator,just give the fixed lenths for all the feild in FCC.
    check below links for FCC
    /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.
    Reward Points If Helpful

  • Sender File Content Conversion

    I am using the file content conversion in sender file adapter with fieldFixedLengths parameter in recordset structure. This work fine when the columns in row is exactly with the length set in the parameter recordset. But in same cases, the row in the file has less columns, which occurs errors. If I use the parameter fixedLengthTooShortHandling usage by the receiver file adapter, will it work for the file sender?

    Hi Elton,
    The parameter fixedLengthTooShortHandling is not a part of the Sender File Adapter's content conversion paramteters, So i guess it will not work for the sender file adapter.
    I would suggest that you try it anyways, and if it does work, then it means that this field has been forgotten in the help documentation
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    Regards,
    Bhavesh

  • File Sender adapter with File content conversion

    Hi
    I'm having problems picking up a flat file that has some junk characters in the file.
    I'm usign a file sender adapter with file content conversion. The adapters shows the following error-
    Conversion of complete file content of  to XML format failed around position 0: sun.io.MalformedInputException
    this is the sample data with junk char's -
    A20099201009999009999060815160505051700130008151vÿÿÿÿ³  r 0OK0476                     31N016227241915840IV  00840 ÿÿÿ ÿ ÿÿÿÿÿÿÿÿ ÿ ÿÿÿ             
    There is not much in the file content conversion. This is a fixed length file, I'm just pickign it up & passing it to an inbound proxy. All my processing is in the proxy.
    I'd appreciate any suggestions.
    Thanks
    Rachana

    Hi Rachana,
    Do you use a specific "encoding" like UTF-8 or ISO-8859-1 in your Sender CC?
    To be simple, Encoding is linked to country, you can find all "iso-nnnn" via google or some of them in sap help.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    Moreover, with your source file opened thanks to Notepad (for instance), use option "save UNDER", you will the encoding use by your file
    Mickael

  • File-Sender: Verification of file content during file content conversion

    Hello,
    I have a question regarding „file verification“ when using the file-sender adapter.
    I got a flat file (.csv) that I convert into XML with the file-sender adapter and file-content-conversion.
    In the file there is a column “RecTyp” that is my KeyFieldValue. Possible values for RecTyp are “B”, “D”, “U”, “T”.
    So far so good. All this works perfectly.
    If (due to an error) there is another value in RecTyp than the 4 mentioned above (B;D;U;T) the file adapter ignores this row today. And here begins my issue:
    I want to change this behavior. That means in detail, I want to check if there is another value in my KeyFieldValue “RecTyp” than specified. If this is the case an exception should be thrown. The whole message should not be delivered.
    We had the idea to use the module-processor for this verification….
    But may be there are other suggestions. Or may be some one can provide an appropriate module that is already written, etc….
    Does anyone have an idea?
    Kind regards,
    Tobias

    Hi,
    It is better to pick the file in generic way i.e Row by Row and then go with the validation with the help of Adapter Modules or in the Mapping.
    For more-
    /people/sravya.talanki2/blog/2005/08/16/configuring-generic-sender-file-cc-adapter
    Thanks,
    Moorthy

Maybe you are looking for

  • Need help in write a query

    Hi guys, i have two table. here in each table data like below tab1(id, app_id) id    app_id 1     111 2     222 tab2(id,role_id) id      role_id 1      900,901,902 and one emp(id,empid) table. id      empid 1       1234 Now i want to display app_id,

  • Error -20023 internal software error

    Hola a todos. Soy un nuevo usuario del labview y mientras intento aprender algo me he topado con un error que no entiendo a la salida de un filtro: Software error ocurred in no asociated comand id on axis control error -20023 internal software error

  • How to disable auto update?

    On the Q10, how can the automatic updates be disabled so that operating system version updates cannot proceed without user approval? Thanks! . . . .  Pete

  • REQUIRE FB60 BUSINESS AREA FIELD MANDATORY

    Hi Guru's FB60 TRANSACTION I NEED TO SET BUSINESS AREA FIELD MANDATORY IN DETAILS TAB BUSINESS AREA FIELD. Please help in this issue. thanks raj

  • Setting GAL as default in Outlook

    Hi We would like to set the default addressbook in Outlook to GAL We are running Office365 Pro in cached mode. We do not want to change to online mode We are running ActiveDirectory and would like to use GPO We can only find a GPO setting to set use