Send a file without File Content Conversion

Hi,
I need to send an IDOC flat file that I pick from File system to a FTP server through XI. I was just wondering if there was a way by which I could avoid doing File Content Conversion on both the send and receiver file adapters?
In my scenario, I am just passing this file through XI. I am not making any changes to it but to send it thru XI, I will have to convert from flat IDOC file ( file generated from File port in ECC) to XML and then from XML to Flat file.
Can anyone guide??

Hi William,
<i>As a matter of fact, <b>no IR object is needed</b>. You can make up any interface name and namespace in the ID.</i>
This sounds interesting..!!
Can I just note down the steps in this case and can you validate the same..
1. No IR objectd needed.
2. File adapters ~~ Both sender and reciver , make the protocol as FILE
3. Receievr Determination , Interface determination , Sender Agreement , Receiver Agreement ~~~ Give dummy Interface as well as Namespace values?
Regards,
Bhavesh

Similar Messages

  • File Adapter with Content Conversion

    Hi -
    I am trying to convert a Flat file which has data as
    firstnamelastnamecompanyName
    Now i have created a message type which has a root name as Contact and its children are FirstName,LastName,Company.
    And in the configurator i have created a file adapter with the content conversion, but being very new to XI i have never used a file adapter with content conversion.  This is what i have in my Content Conversion Parameters.Please correct my code.
    Document Name      ::   MT_Contact
    Document Namespace ::   http://venkat
    Document Offset    :: <i>i did not enter anything here</i>
    Recordset Name     ::   RootNode(i gave this name just like that,,, Should it be something from the IR??
    Recordset NameSpace:: <i>i did not enter anything here</i>
    Recordset Structure::   Contact (this is the name in my IR
    Recordset Sequence ::  Ascending
    Recordsets per Message :: Contact,* (Can someone explain what should be given here)
    Then in the bottom in the name value pairs i have given
    Contact.fieldNames   =   FirstName,LastName,Company
    Contact.fieldSeparator = #
    When i am using the above configuration the error i am getting in RWB is Error: Conversion initialization failed: Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found:
    Format error in 'xml.recordset' argument: incomplete structure (name,number) pairInvalid 'xml.recordsetsPerMessage' value 'Contact,*' found
    I am very new to XI and i am unable to understand what exactly each field means in the file adapter when the content coversion is used. Can someone take the pain of explaining them.
    Thank you
    Venkat

    Hi,
    Use the following to create an XML strucutre like this,
    <MT_CONTACT>
    <CONTACT>
    <FirstName> </FirstName>
    <LastName> </LastName>
    <CompanyName> </CompanyName>
    </CONTACT>
    <MT_CONTACT>
    DocumentName : MT_TEST
    DocumentNamespace : Yournamespace
    RecordserName : record
    RecordsetStructure : CONTACT,1
    In the table,
    ignoreRecordsetName  : true
    CONTACT.fieldNames : FirstName,LastName,CompanyName
    CONTACT.fieldSeparator : #
    Go through the links suggested by moorthy and also these blogs to understand content conversion better,
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    /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/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
    Regards,
    Bhavesh

  • Sender file adapter with content conversion  Simple XML

    Hi experts,
    I'm trying to parametrize my sender file adapter content conversion.
    I'm receiving a text file with one single line like:
    AA1;AA2; AA3;
    and I want to convert it to an XML like
    <MT_A1>
    <field1>AA1</field1>
    <field2>AA2</field2>
    <field3>AA3</field3>
    </MT_A1>
    Actually I know how to do somenthing like
    <MT_A1>
        <LINE>
              <field1>AA1</field1>
              <field2>AA2</field2>
              <field3>AA3</field3>
         <LINE>
    </MT_A1>
    What I want is remove the <LINE> tag from my XML.
    Regards
    Gonzalo
    Edited by: Gonzalo del Castillo on Nov 28, 2008 2:18 PM

    Hi
    Use this help document for receiver FCC
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Content Conversion (Pattern/Random content in input file)
    File conversion text to xml (Few Last Post)

  • Sender File Adapter and content conversion

    Hi,
    How can we remove the last line from the file using content conversion?
    The last line should not be read from the input file.
    Like for the first line we can use Document Offset .......similarly do we have any option for the last line?

    >
    neelansha singh wrote:
    > date                       Empno         Empname
    > 19.03.2009            12345            Neel
    > 20.03.2009             34566           Neelkanth
    > EmpDes                 Japan        100
    >
    >
    > The file is like this first row i have removed using document offset.......from 2nd row till nth row the structure is as shown above and the last row has no. of fields 1 less than all other rows and also its root node is different like shown above its rootnode is EmpDes..........How to use File content conversion for this?
    do you want to avoid the last line i.e
    EmpDes                 Japan        100
    in that case the 3 options are
    1. use a adapter module and remove the last line - this is the ideal option
    2. use a OS script - will work but only if you are using the NFS option in the file adapter instead of FTP
    3. read that also using content conversion (treat it as a trailer) and ignore it during the mapping

  • File Receiver Adapter - Content Conversion

    Dear All,
    We are using <b>DB to file Scenario</b>.We are using File Content conversion to get a File Comma Separated.
    Data is picked up from the DB and our payload before getting in to File adapter is given below.
      <?xml version="1.0" encoding="UTF-8" ?>
         <ns6:AssoInfo_MT xmlns:ns6="urn:NDB2File2DB">
         <AssoInfoList>
          <AssoInfoNode>
           <Name>ABCX</Name>
           <ID>31154</ID>
           <Salary>10000.0</Salary>
          </AssoInfoNode>
         <AssoInfoNode>
           <Name>ASDAS</Name>
           <ID>18978</ID>
           <Salary>10000.0</Salary>
         </AssoInfoNode>
         </AssoInfoList>
      </ns6:AssoInfo_MT>
    In File content conversion we are giving
         <b>AssoInfoNode.addHeaderLine = 0
            AssoInfoNode.fieldSeparator = ,
            AssoInfoNode.endSeparator = 'nl'</b>
    We are getting output as
    <b>ABCX,ASDAS</b>
    But the <b>expected</b> output is
    ABCX,31154,10000.0
    ASDAS,18978,10000.0
    What change we need to do in our File Receiver Adapter configuration.
    Regards,
    Vedavyas

    Hello,
    Test without these 2 options :
         AssoInfoNode.addHeaderLine = 0
         AssoInfoNode.endSeparator = 'nl'
    I think your problem is with the "endSeparator", it is not necessary.
    A new line is created for each new AssoInfoNode automaticaly.
    Regards,
    Chris

  • File adapter modules : Access to file data before content conversion

    I have a file sender channel for which content conversion in applied. The incoming file has data in comma separated values format.
    e.g.
    102366,Amol Joshi,DEPT1
    107752,XYZ PQR,DEPT2
    I want to access the the actual data in the file before content conversion takes place. Is it possible to access this data inside the adaper module? I tried creating an adapter module and put it before CallSAPAdapter,it still gets the XML after content conversion as the input data to the module.
    Any pointers?

    Hi Amol,
    I dont know if it is the right approach.
    But if u r not able to meet ur requirement u can do one work around.
    Use Message Transformation Bean to convert it once again in to CSV (flat file structure) and then proceed with ur module.
    There should be a better way than this.
    Hope we could find a better solution in the forum.
    Regards,
    Sudharshan

  • Idoc to File scenario: receiver content conversion

    Hi,
    I have a Idoc to file scenario in which each segment is to be sent in a new line.
    Also, even if the segment is not present in Idoc, comma separated blank values are to be sent.
    Till now I have been fllowing this blog
    File Content Conversion for Multi Hierarchical Structure
    But in this case, blank values csv line are not created.
    When I used mapWithDefault for parent WPA12 then only 1 instance is created.
    For eg.
    WPA01
    -WPA02
    --WPA12
    WPA01
    -WPA02
    --WPA12
    There are no values in WPA12 segment
    Output
    WPA01,a,a,a,a
    WPA02,b,b,b,b
    WPA12,,,,,
    WPA01,c,c,c,c
    WPA02,d,d,d,d
    Can I make any change in the approach as in the blog to get the desired output?
    Regards,
    Anirudh.

    Hi,
    To explain more a bit..
    My requirement is to create a flat file from multiple hierarchical xml structure.
    Additionally, if the values are not present for some nodes then also I have to send the blank values in flat files. If entire segment is not present then also blank csvs needed to be sent.
    regards, Anirudh.

  • In the Flat file generated after Content Conversion, In NFS AL11 Directries Not able to See complete file

    Hi All,
    My scenario is Proxy to File  scenario.
    I used content conversion for generating flatfile in receiver side.
    In FCC i used fieldFixed Lengths, The flatfile is generated. I gave the Target Directory as AL11 directory(NFS).
    In my scenario length of Header is 622 characters.
    But am getting the file Upto 512 characters. After That I am not getting any fields in the Header, Remaining fields are cut.
    Same I checked with SFTP server with same Content Conversion.It is working good  and I am getting complete Header with 622 characters.
    Can you please suggest what should I do to get the 622 character in NFS, It is accepting only 512 characters in NFS.
    Reagrds,
    Satish

    Satish,
    In addition to Amit,
    AL11 transaction is used to display all the SAP Directories.When you double click on a directory, you will able to see all the files in the directories. But you can not view the complete content of the file from AL11 as there are some restrcitions in it. Even if you download the file from AL11 itself, the actual file won't be downloaded and you will see the file name along with the path inside the downloaded file as same as you can see it in Al11. So if you need the complete and actual file, you need to download the file from the OS level. You can take help from your basis team to download the file.
    Thanks,
    A.B

  • FIle Adapter Receiver - Content Conversion

    I have a xml file as below that I am trying to convert to a simple csv file. All I get is a blank csv file at the ouptput. I tried different setting for the file conversion in the reveiver file adapter. No luck yet. I could write to an output XML file with no problem, so my interface is working!
    The SAP Help doesn't provide  much info on this. Your help is highly appreciated.
    Thnaks.
    ?xml version="1.0" encoding="UTF-8" ?>
    - <ns:PlantMaintenanceMessageType xmlns:ns="http://cs.par/demo/plantmaintenance">
      <EquipmentID>10005661</EquipmentID>
      <FunctionalLocation>KB</FunctionalLocation>
      <Date />
      <Time />
      </ns:PlantMaintenanceMessageType>

    What is your root node ?
    For your content conversion you need to specify the Recordset Structure but in your case i dont find an entry for the same.
    If your XML had an extra tag like
    xml version="1.0" encoding="UTF-8" ?>
    - <ns:PlantMaintenanceMessageType xmlns:ns="http://cs.par/demo/plantmaintenance">
    <b><details></b>
    <EquipmentID>10005661</EquipmentID>
    <FunctionalLocation>KB</FunctionalLocation>
    <Date />
    <Time />
    <b></details></b></ns:PlantMaintenanceMessageType>
    then your record set structure wud be details
    and in you content conversion parameters you cud say
    details.fieldSeparator -> ,
    details.endSeparator 'nl'
    I guess you are on sp13 or above hence there even if you content conversion fails a blank file will be created (thats what i have experienced).
    Reagrds,
    ShaBZ

  • File to IDOC (content conversion)

    Hi,
    My scenario is File to IDOC.
    My input file is as
    "AAA",399,"DD",20050302,100642,3289
    "B01","E",20051,39.1,"AC","M","L"
    "B01","L",20051,38.3,"AC","F","D"
    "B01","L",20301,37.7,"AC","F","W"
    "L9",50
    wherein the structure should look as follows:
    <root>
          <header>                  => occurence 1
                <hdata1>.....</hdata1>
                <hdatan>.....</hdatan>
                <body>               => occurance unbounded
                  <data1>.....</data1>
                  <datan>.....</datan>
                </body>
          </header>
          <trailer>                => occurance 1
               <data2>....</data2>
          </trailer>
    </root>
    Now my question is that how do we go for the content conversion in this scenario.(the problem is that header contains element data and subnode body)
    Regards,
    Shabz

    Hi Amanda..
    Thanx 4 the response.
    But i have a query, since the target idoc is structured
    with the heirarcy ( a header and a body inside the header, a footer ) during file conversion, if we change the structure as u said will that affect the context while the mapping takes place.
    Ref: IDoc structure is
                   A
    _B
                   C
    Regards,
    ShabZ
    PS: I am not able to test your suggestion as my system is down

  • File Synchronous with Content conversion

    Hi
    I am doing the scenario file-xi-rfc-file basically sysnchronous scenario..if i used the XML file as input its working fine ...but if used he CSV file as a input fle is licking up but i am not getting any response..
    Any one have any idea
    venkat

    HI SV
    follow these links to get step by step
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
    /people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally - Maintain RFC destination
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file(Without%2bBPM)
    Weblog to send Response from RFC to File in Asyn Mode Using Proxy [original link is broken]
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=filetorfctofile&adv=false&sortby=cm_rnd_rankvalue
    hope this will solve your problem
    regards
    sandeep
    If helpful kindly reward points

  • How to download a LOB file without File Browse or a Report?

    Hi, All,
    Behind my APEX 4.2.2 app, I have a table with PDF's held in a column of type BLOB.  With the ID of a given row held in a Page Item, I would like to dynamically generate a simple link for downloading the file.  Can this be done?
    I wasn't sure how to pose this question, so feel free to ask for details you think might help you help me
    Thanks,
    -Seth.

    Mike,
    Thank you for your help.  Here is how I managed to display a Page Item as a URL to download a BLOB - which is a PDF, in this case...
    1. Set up an Automatic Row Fetch process
    2. Created a Page Item (P4_BLOB_CONTENT) with its source as the blob content database column
    3. Created a Display Only page item (P4_DOWNLOAD_LINK) but did nothing to it
    4. Set up a Dynamic Action (On Change, Set Value) to set the value of P4_DOWNLOAD_LINK via a SQL Query, setting Escape Special Characters to No:
    SELECT '<a href="'||APEX_ITEM.GET_BLOB_FILE_SRC('P4_BLOB_CONTENT',doc_id,NULL,'inline')||'">Download Link</a>' dlink
    FROM documents
    WHERE doc_id =  :P4_DOC_ID;
    This Dynamic Action fires when the value of P4_DOC_ID changes.  This displays a functioning hyperlink, Download Link, that gets the PDF. If the above query returns no row, no link is displayed.
    Two remaining questions:
    1. When the link is clicked, the browser wants to save the PDF.  This is fine, of course, but it does so with a default file name of 'download'.  How can I set that default file name as the name of the PDF being downloaded?
    2. How do I get the MIME type to be passed along so the browser knows about it?  The MIME type stored in the database table.
    Thanks,
    -Seth.

  • FCP exports files without file extensions

    Hello-- when I export a QT in FCP, it results in a file that does not have a file extension. I've confirmed that Finder is set to show all file extensions on my system, and when I export a file from FCP and "get info", Finder shows the file name is indeed missing the extension-- and even when I unlock the file and have read/write permissions for it, the "hide extension" option for these exported files is greyed out (so I can't check or uncheck it, and the file details confirm it has no extension as part of the file name).
    When these files are accessed on a Windows system, they won't play unless I manually add the .mov at the end... which is really troublesome when I'm doing a massive batch export of files to have to rename each one!
    The problem appears to have only started after the last update of 10.6.4... which also coincided with my systems update to FCP 7.0.2. Is this a known issue for anyone else? Or just a coincidence? Thanks for any help in advance!

    Thanks for the reply Meg! I'm exporting from a sequence... it looks like sending a to Compressor or File>Export>Quicktime movie works OK but selecting a (or several) sequences or clips within the browser and then using the "batch export" feature will generate the file extension problem. Hmmm. I wonder if something is corrupted with my newest install?

  • Open file without file scan permission

    Hi!
    Under Windows XP it was possible to open a file in a netware directory having read but no "file scan" permission on the containing directory.
    We used this for use cases like the one described here: https://forums.novell.com/novell-pro...ermission.html
    Under Windows 7 and Windows 8 that doesn't seem to work anymore???
    Is that "feature" no more supported or is it a problem with our Client oder Windows setup?

    mwielk,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • 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

Maybe you are looking for

  • Hiding a selection screen field for Standard Report Transaction

    Hello All, We are trying to hide a check box on the selection screen for a standard sap report transaction (s_alr....). We can hide it by creating a variant but then if the users don't select it, the checkbox will be visible. We can't use transaction

  • Recognition error after iOS5 update of ipad (1)?

    I updated my ipad (1) with iOS5. The update was successful, but now my Windows XP does not recognize my ipad (the USB does not recognize). Also, now, itunes can not identify and update it. My ipad was working fine before the iOS5 update. The USB erro

  • Error / Failed to create file in the network

    I'm using and enjoying the Oracle Data Integrator and created two packages for extraction and loading. But trying to create the file in the directory on the network get an error. I checked the permissions, but without success. Can anyone help me? Tha

  • Spry image gallery

    Hi there, just a question, I created a spry image gallery successfully with thumbnails on the left and the bigger image and details on the right, my problem is its created it with all the thumbs going down vertically after looking everywhere i havent

  • Howto for uloading to iTunes

    Hi. We have a number of apps ready to go for ipad but no matter what I try I can't seem to get  the apps accepted by the Application Loader. We have encountered dozens of error messages over the last few months and we are at our witts end. Please can