Multiple Recordset names in File conversion

Dear All
I have a complex file format that I am trying to convert into XML using the File Adapter.
- the file as a header in line 1. The header has fields
- then there are a variable number of message each message has a header, body and trailer each of them have a number of fields
- the file is concluded by a file trailer.
I am thinking that there is a need of 3 recordset names. 
Can anybody advise the how can I do this?
e.g.
FileHeader
      ID, date, File name
MessageHead
                    ID,name,type
MessageContent
                    ID,username,userlastname
MessageTrailer
                    ID,messageSequence
MessageHead
                    ID,name,type
MessageContent
                    ID,username,userlastname
MessageTrailer
                    ID,messageSequence
  Filetrailer
                   ID,numberOfMessages
In XML the structure will be something as below which will require more than one Recordset Name.
< MessageType>
              <RecordSet_HEAD>
                       <Fileheader>
                          <value1>value</value1>
                           <value2>value</value2>
                        </Fileheader>
                <RecordSet_HEAD> 
                <RecordSet_MESSAGE>
                        <MessageHead>
                            <value1>value</value1>
                           <value2>value</value2>
                         </ MessageHead>
                       <MessageContent>
                            <value1>value</value1>
                           <value2>value</value2>
                         </ MessageContent>
                       <MessageTrailer>
                            <value1>value</value1>
                           <value2>value</value2>
                        </ MessageTrailer>
                        <MessageHead>
                            <value1>value</value1>
                           <value2>value</value2>
                         </ MessageHead>
                       <MessageContent>
                            <value1>value</value1>
                           <value2>value</value2>
                         </ MessageContent>
                       <MessageTrailer>
                            <value1>value</value1>
                           <value2>value</value2>
                        </ MessageTrailer>
              <RecordSet_TRAILER>
                       <FileTrailer>
                          <value1>value</value1>
                           <value2>value</value2>
                        </FileTeader>
                <RecordSet_TRAILER> 
< /MessageType>
Edited by: Haik Nazarian on May 1, 2008 7:16 AM

Thanks for the answer. It sheds some light on the issue.
Based on the answer it is not possible to do a complex conversion at the adapter level. I am trying to convert an incoming Plan file.
Therefore I need to convert it on the sender file adapter i.e PlainTo XMLConversion. If it is not possible to do that than if I understand correctly it won't be possible to do the message mapping.
Is there a work around?
On teh other hand The File Head and file trailer are not that vital. I might even try to ignore them during the conversion.
It is easy to ignore the file head with the "Document Offset" option but I couldnt find a way to ignore the file Trailer.
Any ideas?
thank you

Similar Messages

  • Error while trying to process multiple Recordsets in Flat file.

    Hi All,
    I am working on Flat File to Flat File scenario and my structure is as follows.
    Recordset
         Record1
              Field1
              Field2
         Record2
              Field3
              Field4
         |
         Record9
              Field5
              Field6
         I am going to receiver multiple Recordsets from my input and need to pass them as output flat file after doing some manipulations in mapping(I am using Java mapping).
         In Moni I am able to see multiple Recordset XMLs created but the message is failing in receiver communication channel with error
    "Failed to process message content. Reason: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure '' found in document', probably configuration error in file adapter (XML parser error)' (Software version: 3.0.1)"
         When I am trying to pass Single Recordset I am able to see the output, but when I am trying with multiple Recordsets it is throwing error.
         Can anybody help me in finding the root cause to this problem.
         My Receiver channel Content conversion is as follows.
         RecordsetStructure: Record1,Record2, -- - - ,Record9
              Record1.fieldFixedLengths     
              Record1.fieldNames
              Record1.endSeparator so on till Record9
    Regards,
    Jayaram.G

    You might want to check the following things
    Are u specifying field names,separators for Record1,Record2..Record9.
    Is you occurence repeats after record1..record9 again?
    Change your  structure occurence as per the runtime data you provide..
    See whether your java mapping modifies the structure that does not match with fcc configuration. You might want to pay attention over there too.

  • Generating multiple recordset names

    Hi All,
    I am doing a scenario which is File to IDOC.
    I am reading a file which is of variable structure , so in FCC i have used the RecordSet Sequence : Variable
    after reading the file i have the structure as
    example:
    - <RecordSet>
    - <W6>
      <WE601 />
      <W602 />
      <W603 />
      <W604 />
      <W605>D</W605>
      </W6>
    - <N1>
      <N101>ST</N101>
      <N102>ZZ</N102>
      <N103></N103>
      <N104></N104>
      <N105>R</N105>
      <N106 />
      </N1>
    - <N4>
      <N401>ST</N401>
      <N402></N402>
      <N403>SD</N403>
      <N404></N404>
      <N405>US</N405>
      </N4>
    - <N1>
      <N101>WH</N101>
      <N102>ZZ</N102>
      <N103>2070</N103>
      <N104> SCS</N104>
      <N105 />
      <N106 />
      </N1>
    - <N4>
      <N401>WH</N401>
      <N402></N402>
      <N403></N403>
      <N404></N404>
      <N405>US</N405>
      </N4>
      </RecordSet>
    But i have to get the recordset name <RecordSet> twice as given below after mapping
    - <RecordSet>
    - <W6>
      <WE601 />
      <W602 />
      <W603 />
      <W604 />
      <W605>D</W605>
      </W6>
    - <N1>
      <N101>ST</N101>
      <N102>ZZ</N102>
      <N103></N103>
      <N104></N104>
      <N105>R</N105>
      <N106 />
      </N1>
    - <N4>
      <N401>ST</N401>
      <N402></N402>
      <N403>SD</N403>
      <N404></N404>
      <N405>US</N405>
      </N4>
      </RecordSet>
    - <RecordSet>
    - <W6>
      <WE601 />
      <W602 />
      <W603 />
      <W604 />
      <W605>D</W605>
      </W6>
    - <N1>
      <N101>WH</N101>
      <N102>ZZ</N102>
      <N103>2070</N103>
      <N104> SCS</N104>
      <N105 />
      <N106 />
      </N1>
    - <N4>
      <N401>WH</N401>
      <N402></N402>
      <N403></N403>
      <N404></N404>
      <N405>US</N405>
      </N4>
      </RecordSet>
    i.e., i am getting 1 recordset after FCC and then after mapping i need to generate 2 recordsets and pass 2 IDOCS.
    Please suggest me how can i generate  multiple recordsets.
    Thanks
    Sai_SHA

    Hi All,
    sorry the requirement is a different one
    I am reading a file which is of variable structure , so in FCC i have used the RecordSet Sequence : Variable
    after reading the file i have the structure as
    - <RecordSet>
    - <W6>
    <WE601 />
    <W602 />
    <W603 />
    <W604 />
    <W605>D</W605>
    </W6>
    - <N1>
    <N101>ST</N101>
    <N102>ZZ</N102>
    <N103></N103>
    <N104></N104>
    <N105>R</N105>
    <N106 />
    </N1>
    - <N4>
    <N401>ST</N401>
    <N402></N402>
    <N403>SD</N403>
    <N404></N404>
    <N405>US</N405>
    </N4>
    - <N1>
    <N101>WH</N101>
    <N102>ZZ</N102>
    <N103>2070</N103>
    <N104> SCS</N104>
    <N105 />
    <N106 />
    </N1>
    - <N4>
    <N401>WH</N401>
    <N402></N402>
    <N403></N403>
    <N404></N404>
    <N405>US</N405>
    </N4>
    - <W6>
    <WE601 />
    <W602 />
    <W603 />
    <W604 />
    <W605>D</W605>
    </W6>
    - <N1>
    <N101>WH</N101>
    <N102>ZZ</N102>
    <N103>2070</N103>
    <N104> SCS</N104>
    <N105 />
    <N106 />
    </N1>
    - <N4>
    <N401>WH</N401>
    <N402></N402>
    <N403></N403>
    <N404></N404>
    <N405>US</N405>
    </N4>
    </RecordSet>
    But i have to get the recordset name <RecordSet> twice , as the file is of variable structure i cannot go for RecordSet Sequence : Ascending .
    - <RecordSet>
    - <W6>
    <WE601 />
    <W602 />
    <W603 />
    <W604 />
    <W605>D</W605>
    </W6>
    - <N1>
    <N101>ST</N101>
    <N102>ZZ</N102>
    <N103></N103>
    <N104></N104>
    <N105>R</N105>
    <N106 />
    </N1>
    - <N4>
    <N401>ST</N401>
    <N402></N402>
    <N403>SD</N403>
    <N404></N404>
    <N405>US</N405>
    </N4>
    - <N1>
    <N101>WH</N101>
    <N102>ZZ</N102>
    <N103>2070</N103>
    <N104> SCS</N104>
    <N105 />
    <N106 />
    </N1>
    - <N4>
    <N401>WH</N401>
    <N402></N402>
    <N403></N403>
    <N404></N404>
    <N405>US</N405>
    </N4>
    </RecordSet>
    - <RecordSet>
    - <W6>
    <WE601 />
    <W602 />
    <W603 />
    <W604 />
    <W605>D</W605>
    </W6>
    - <N1>
    <N101>WH</N101>
    <N102>ZZ</N102>
    <N103>2070</N103>
    <N104> SCS</N104>
    <N105 />
    <N106 />
    </N1>
    - <N4>
    <N401>WH</N401>
    <N402></N402>
    <N403></N403>
    <N404></N404>
    <N405>US</N405>
    </N4>
    </RecordSet>
    i am getting 1 recordset after FCC but i need to get 2 recordsets.
    Please suggest me how can i generate multiple recordsets and pass and pass mutilple IDOCS.
    Thanks
    Sai_SHA.

  • File conversion - Multiple recordsets

    Dear All
    I am trying to convert a file in the Sender File Adapter that has more than one recordsets but I cant find the solution. The adapter gives the option of recordset numbers but how can I define them?
    To make it simple my file conversion result has the following format:
    <recordset_header> 
    ...      <DateTime>
    .......                <Date>21Oct20010</Date>
    .......                <Time>12:30</Time>
    ...      </DateTime>
    ...      <ID>
    .......                <Number>123</Number>
    .......                 <Name>AcmeCo</Name>
    ...      </ID>
    </recordset_header>
    <recordset_Item>
    ...        <Serial_ID>
    .......                  <product_code>234</product_code>
    .......                  <product_name>laptop</productName>
    ...         </Serial_ID>
    ...         <Description>
    .......                   <Category>Electronics</Category>
    .......                   <Country>Greenland</Country>
    ...          <Description>
    <recordset_Item>
    Thank you in advance.
    Haik
    Edited by: Haik Nazarian on Sep 17, 2008 7:29 AM

    Thank you for the quick reply Kummari
    The recordset per message parameter works for me when I have multiple but identical recordset structure.
    So you define one recordset structure and it works.
    however in this case there are two different recordsets in a single file i.e. recordset_header and recordset_item.
    So I need to define the recordset structures for each individual recordset in teh same file adapter.
    Is this achievable?
    regards
    Haik

  • How Can i specify multiple server names in rwservlet.properties  file?

    How Can i specify multiple server names in rwservlet.properties file without clustering?
    I am using oracle 10g Application server. we have 3 servers Repsvr1, RepSvr2 and RepSvr3. Now i need to configure rwservlet.properties file to point to these servers based on any running report. i got 3 keymap files with reports info.
    Sample entry in the key map file is:
    key1: server=Repsvr1 userid=xxx/yyy@dbname report=D:\Web\path1\path2\reports\Report1.rdf destype=cache desformat=PDF %*
    key2: server=Repsvr2 userid=xxx/yyy@dbname report=D:\Web\path1\path3\reports\Report2.rdf destype=cache desformat=PDF %*
    rwservlet.properties file letting me to enter only one servername. Even though i merged all 3 keymap files into 1, still i have the server name issue. If i leave the server to the default name still i am getting the below error.
    REP-51002: Bind to Reports Server Repsvr1 failed. However, i know the default rep_<servername> would be used incase we dont have SERVER=<value> parameter in the rwservlet.properties file.
    If i specify the servername in the rwservlet.properties file then only Repsvr1 reports are working fine and other 2 server reports are giving the same error like
    REP-51002: Bind to Reports Server <<Server Name>> failed.
    how can i configure the info which will work all 3 reports. 2 Port servers are invoking using oracle forms and report server is invoking using ASP pages.
    If i specify Server name & Key map file in rwservlet.properties one at a time, all the reports are working without any error, whenever i am trying to integrate all 3 to workable i am getting binding error. if i exclude the server from rwservlet.properties still i am getting the same error.

    My RELOAD_KEYMAP setting is YES only.As i said If i specify Server name & Key map file in rwservlet.properties one at a time, all the reports are working without any error.
    keymap file entries
    key1: server=Repsvr1 userid=xxx/yyy@dbname report=D:\Web\path1\path2\reports\Report1.rdf destype=cache desformat=PDF %*
    key2: server=Repsvr2 userid=xxx/yyy@dbname report=D:\Web\path1\path3\reports\Report2.rdf destype=cache desformat=PDF %*
    If i use http://server.domain:port/reports/rwservlet? cmdkey = key1 should bring the report from Repsvr1 and http://server.domain:port/reports/rwservlet? cmdkey = key2 should bring the report from Repsvr2, but i am getting an error from Repsvr2 saying that REP-51002: Bind to Reports Server repsvr2 failed.
    Only Servername Repsvr1 is in rwservlet.properties file. Now what is the best option to by pass the server from rwservlet.properties file and should be from keymap file. if i comment server name in rwservlet.properties file still i am getting REP-51002: Bind to Reports Server <<Server Name>> failed error for both keys.

  • While saving multiple attachments from mail, files with same name are added and not replaced

    While saving Multiple Attachments from Mail, existing file with same name are not overwritted but new files are added in the folder.

    Bjørn Larsen a écrit:
    Hi all
    Hope to get some help with Elements Organizer.
    I have 12-15 years of digital photos that I now want to import into my newly aquirede Adobe Elements Organizer / Photoshop. Since my Nikon names the files with continous numbers from 0001 to 9999 I have multiple files with the same name although they are not alike at all. My previous software had no problems with that since I keep the photos in separate file folders based on import date. I generally import photos after each event and so name the folder with the date and some event info (e.g. 2014.12.24 - Christmas at grandparents).
    That is a common situation, I have the same limitation for files not going over 9999 on my Canons...
    Now - when I import my photos into Elements Organizer I get a lot of error messages with "same name exist .....) Hmmmmmmm
    Please sate the exact wording of the error message, I have never seen a message stating 'same name exist...' or equivalent; only messages about files already in the catalog. Files already in the catalog mean that some files have the same 'date taken' and file size in Kb.
    Any suggestions. I'm using a mac and tried to rename files based on date taken. The mac can do that but it takes ages to go into each folder and run the renaming script there.
    I also use a similar folder creation scheme (such a date naming is the default for the downloader). That way I never get a message about duplicates for the same file names.
    However - I can't be the first or only person with this problem so I figure that some workaround must be known out there. Maybe the import action can recognize date taken or - well. Thank you very much in advance if you can help me out here.
    You can alsways set the downloader to rename the imported files with a unique new name, there are many options in the 'advanced' dialog of the downloader. I don't know about Macs, but I don't thing there is a difference.

  • Duplicate field names in File content conversion

    Hi,
    I need some details for csv to xml file conversion.I have configured the file content conversion adapter for these conversions.In source CSV file we will receive below details in single line.
    0020000001000       0020000002000       0020000003000       0020000004000
    Now i can successfully generate
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns:MT_GLMast_out xmlns:ns="http://sap.com/PI/GLMast">
    - <GLMasterData>
    - <GLMAST>
      <Customer1>0020000201000</Customer1>
      <Customer2>0020000200000</Customer2>
      <Customer3>0020000199000</Customer3>
      <Customer4>0020000198000</Customer4>
      </GLMAST>
      </GLMasterData>
      </ns:MT_GLMast_out>
    with following parameters
    GLMAST.fieldSeparator     ,
    GLMAST.fieldNames     Customer1,Customer2,Customer3,Customer4
    GLMAST.endSeparator     'nl'
    Now the issue is customer wants to send 3000 customer number in single file.How to maintain the parameter to duplicate filednames just customer instead of customer1,customer2,customer3 etc...
      <Customer>0020000201000</Customer>
      <Customer>0020000200000</Customer>
      <Customer>0020000199000</Customer>
      <Customer>0020000198000</Customer>
    This can be done if customer sends file like one customer number in one line.please help me how to process multiple customer number in single file separated with comma.
    Thanks,
    Vijay

    For this what you can do is, create the source and target data types as shown below
    Source Data Type
    <DTO_Customer>
    <Records> 0..unbounded
       <Customers> </Customers>0..1
    </Records>
    </DTO_Customer>
    Target Data Type
    <DTI_Customer>
    <Records> 0..1
       <Customer> </Customer> 0..unbounded
    </Records>
    </DTI_Customer>
    Now since your data will come in a single string therefore do the FCC in sender channel as shown below
    Records.fieldNames = Customers
    Records.fieldSeparator = 'nl'
    ignoreRecordsetName = true
    So by doing this you will get the data into XI mapping in as single string. Now you need to write an UDF which will split this string into individual customers based on your delimiter in the string.
    Now map the output of this UDF to <Customer> field.
    You may need to do some other small fixes accordingly.
    I hope this will solve your problem.

  • Multiple drag emails from Mail to a finder window and for it to name the files as the subject heading

    Hi
    I have been using Mac's now for about 10 years and this is my first problem.
    I have recently moved into an office that use PC's with a Windows server.
    I have set up the network to transfer files and view the windows server and it  works fine.
    I have a problem in that my colleagues on PC need to be able to view my emails which I send and receive using Mail. They therefore need to have logical title names and the date sent and ideally who to or from. I view them and archive them using Mail which is fine for me.
    I understand about the archiving and copying of mailboxes but this gives every email the un-fathomable title name 9944847 etc.
    I can get round the problem by dragging and dropping every email I send and receive individually and it will automatically give it a more logical title of the subject heading however the date is when it was dragged not when sent. This is a pain if I am away or forget to save an email for a day or two and then the date is inconsistent.
    Is there a way to batch copy emails from Mail to a finder window and for it to name the files as the subject heading or to archive the files in a similar way so they retain the detailed information my colleagues require.
    And no I can not get to all change to Mac and I don't really fancy using Outlook, Entourage or Parallels.
    Please help.
    Toby

    Quit Mail. Force quit if necessary.
    Back up all data. That means you know you can restore the Mail database, no matter what happens.
    Triple-click the text on the line below to select it:
    ~/Library/Mail/V2/MailData/Envelope Index
    Copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder
    from the menu bar. Paste into the box that opens (command-V), then press return.
    A Finder window will open with a file selected. Move the selected file to the Desktop, leaving the window open. Other files in the folder may have names that begin with "Envelope Index". Move those files, if any, to the Trash. Relaunch Mail. It should prompt you to re-import your messages. You may get a warning that the index is corrupt and that Mail has to quit. Click OK.
    Test. If Mail now works as expected, you can delete the file you moved to the Desktop. If you get a warning that the file is in use when you try to empty the Trash, log out and log back in.

  • Multiple communication channels for file adapter based on user name

    I am using this Idoc-to-File scenario, using FTP for sending the files to file server. Target directory is determined by user id which is unique for a field called ASC.  Field ASC is a part of incoming Idoc. There are 40 ASC; that means I have 40 user ids/password. Is there way of creating a file communication channel where user id/password can be supplied dynamically. Or there is an alternative to creating 40 different channels, one for each ASC.
    Thanks,
    Dehra

    Hi,
    you need to create 40 channels if you have users
    as dynamically you can only create:
    File Name
    Directory
    File Type
    File Encoding
    Temporary Name Scheme for Target File Name
    with FTP adapter
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Sender File adapter File Conversion with key fields

    Please help me guys, I already spent way too much time on this!
    I checked a couple of BLOGs and I think I'm doing the right thing except I'm not getting the result I would expect.
    I'm trying to create an IDoc using the from a flat file.
    I get the following error:
    During the application mapping com/sap/xi/tf/_MM_TEST_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~
    The Source file is this:
    H
    L0015
    The file adapter does create the XML below (looks fine):
      <ns:MT_SINGLE xmlns:ns="http://PPSC_TO_BO_INVOICE">
      <HEADER>
         <ID>H</ID>
      </HEADER>
      <LINE>
         <ID>L</ID>
         <SITE>0015</SITE>
      </LINE>
      </ns:MT_SINGLE>
    When I test the map in IR, with the XML that this file adapter created (above) it works fine!
    Also if I take away the HEADER from the source structure everything works fine and I can create the IDoc, therefore I think something must be wrong in the file conversion, the mapping is so simple there is nothing to fail there.
    The file conversion parameters that I have:
    Document Name: MT_SINGLE
    Document Namespace: http://PPSC_TO_BO_INVOICE
    Document Offset:
    Recordset Name: 
    Recordset Namespace:
    Recordset Structure: HEADER,1,LINE,*
    Recordset Sequence: Ascending
    Recordset per Message:
    Key Field name: ID
    Key Field Type: String (Case-Sensitive)
    LINE.fieldNames: ID,SITE
    LINE.fieldFixedLengths: 1,4
    LINE.keyFieldValue: L
    HEADER.fieldNames: ID
    HEADER.fieldFixedLengths: 1
    HEADER.keyFieldValue: H
    What am I doing wrong???
    Any help is much appreciated.
    Thanks,
    Viktor Varga

    Hi Viktor,
    Basic rules:
    1. Down load XML payload(output From Adapter) and test it in IR mapping program. If it is working there is no reason why it will fail in Runtime. Also Check Cache is up to date.
    Generally the problem lies with namespace.
    Hope this helps
    Regards,
    Satish

  • File Conversion to File Conversion Scenario..

    Hi,
    I am doing a File Conversion to File Conversion scenario. Hope its clear..
    Well in this scenario my structure is
    <File2File_Conversion_Sender_MT>
    <Employee>
    <id>aa</id>
    </name>sas</name>
    <Employee>
    <File2File_Conversion_Sender_MT>
    In sender:-
    Wat will be the document name?
    Recordset name?
    Recordset structure?
    In receiver:-
    Recordset structure?
    Let me know if any more clarification is needed.
    thanks
    Anju

    Hi Anju,
    Use this :
    Document Name : File2File_Conversion_Sender_MT (this is Outbound Message Type)
    Document Namespace : NAmespace of outbount Message Type.
    Recordset Structure : Employee,*
    Name----
    Value
    Employee.fieldSeparator -
    >   ,
    Employee.endSeparator -
    >  'nl'
    Employee.fieldNames    -
    >  id,name
    ignoreRecordsetName   -
    > true
    Go through this :
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    Thanks,
    Maheshwari.
    Message was edited by:
            Maheshwari Morbale

  • Scaning multiple pages into one file on a 4630

    Using HP 4630 printer, windows 8.1, wireless connection.
    Want to scan multiple pages into one file.
    Per user manual, I work from the computer not the printer.
    When first page is scanned am asked if I want to save, I click yes and name file.
    When I scan second page am again asked if I want to save, my file name appears, I am told it already exists and asks if I want  to keep or replace it.
    Whichever one I click, only the second page is saved.
    What am I doing wrong?
    Question: How do I scan mutiple pages into a single document?
    This question was solved.
    View Solution.

    I accept this solution with many thanks!  It was so obvious and I didn't see it.  The User Manual should mention this.

  • How can I scan multiple pages to one file with MG 7120

    My printer does not have ADF. How can I scan multiple pages to one file on my MG 7120?

    Hi albabynyr,
    There is a program that comes with the printer called the IJ Scan Utility that can assist you with scanning multiple pages into a single file.  To scan using the IJ Scan Utility, please follow these steps:
    1. Start IJ Scan Utility by going to your Start menu, then selecting All Programs, then Canon Utilities, then  IJ Scan Utility (folder), then IJ Scan Utility (program).
    2. In the Canon IJ Scan Utility window that opens, click SETTINGS.... in the bottom right of the window. The Settings dialog box appears.
    3. Click the DOCUMENT SCAN option on the left pane of the window.
    4. In the right pane of the window, locate the SELECT SOURCE field and select the DOCUMENT option.
    5. Set the color mode, document size, and scanning resolution as required in the rest of the fields shown in the window. Click DOCUMENT SCAN ORIENTATION SETTINGS... to specify the orientation of the documents to be scanned.
    6. In the SAVE SETTINGS section of the window, you will select the save format and location of the document you are about to scan.
    a.) In the FILE NAME field, specify the name you would like to give the file. By default the filename will begin with IMG; you can remove IMG and change it to whatever you would like to name the file.
    b.) In the DATA FORMAT field, use the drop-down arrow to select the PDF (Multiple Pages) option.
    c.) In the SAVE IN field, please navigate to the area where you would like the file to be saved once it is scanned in. By default, the file will be saved in the DOCUMENTS folder.
    7. Once all settings have been selected, click the OK button at the bottom of the SETTINGS (DOCUMENT SCAN) window. The IJ Scan Utility main screen appears.
    8. Click the DOCUMENT button. Scanning starts. After a page has scanned, the screen to continue or end scanning appears. If you have more pages to scan, place the next page on the platen and click Scan.  Do this each time a page has completed scanning.  After the last page has been scanned, click Exit. Scanned images are saved in previously selected folder location specified in the SETTINGS... window. Click the CANCEL button to cancel scanning if needed during scanning.
    Hope this helps!
    This didn't answer your question or issue? Please call or email us at one of the methods on the Contact Us page for further assistance.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Xml file in dynamic file name in file receiver adapter

    Hi,
    I'm doing the dynamic file name in file receiver adapter. I have done as per instructed in /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
    All turned out okay. I have got the file name I require. Except that the file format is XML and I need to suppress the filename node occupied by the dynamic file name.
    The content conversion mentioned in /people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12, does not seem to solve my problem. As it is only for file format other than the XML one, because we only do the content conversion if we want to "convert" the format of the content from XML to the other format.
    Does anybody have the solution to my problem? thanks in advance

    Thank you Raj for the direction
    The way to do it is :
    1. In ID, advanced tab, put a check on the adapter-specific message attributes - file name.
    2. Put a "*" on the file name scheme
    3. In IR, create a UDF to set up target file name :
    DynamicConfiguration conf = (DynamicConfiguration) container
    .getTransformationParameters()
    .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    // set up file name for receiver adapter
    String SourceFileName = conf.get(key);
    conf.put(key, TargetFileName);
    return " ";
    4. Map the above UDF to the header level of the target structure.
    Regards,
    Idi

  • File name in file adapter

    Hello Guys,
    I need to get a message from RFC, map it in a way that I wouldn't need to do any file conversions in file adapter and send it to FTP. How could I set the file name in this case?
    PS: the file name cannot be included in payload, while I don't want to do any conversations of that payload...
    Many thanks for your answers,
    Milan

    Hi Milan,
    Is your query related to  sending the file name from the source xml document to the reciever file adapter. If so this can be achieved.
    Pls. do the following.
    1.  in the mapping program that you are using populate the filename coming from the source into the target in any of the fileds.
    2.Sender adapters can write adapter-specific attributes to the message header; these can then be evaluated at configuration time
    3. To change the adapter-specific attributes of the message header by using message mappings, you access the required classes of the mapping API by using a mapping runtime constant.
    To access the classes DynamicConfiguration and DynamicConfigurationKey by using the mapping runtime constant DYNAMIC_CONFIGURATION, use the method getTransformationParameters() of the container object.
    Create an simple user defined function in the mapping and use the following code.
    Imports: com.sap.aii.mapping.api.*;
    Parameter: String filename
    Paramter: String filename;
    filename = fileName + ".DAT";
    DynamicConfiguration conf = (DynamicConfiguration) container
           .getTransformationParameters()
           .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key, filename);
    return filename;
    You donot need to hard code the value of the filename in the file adapter for your interface.
    In SXMB_MONI, when you see the pipeline services you would see that the value of the filename is populated in the message payload.
    Thanks
    Indranil

Maybe you are looking for

  • IPhoto does not show my device

    I upgraded to Snow yesterday and everything seems fine with the exception of iphoto 08. When I plug in my Nokia N97 via USB, iphoto automatically launches as it normally would when there is now pictures to transfer from my phone. The problem is, the

  • How to control the jms transactiion in WLI

    Hi, I'm new to WLI integration area; I have JPD which will subscribe message from message broker channel via JMS event generator. i have requirement to put business validation and needs to rollback the message if validation fails with few seconds tim

  • Cannot reactivate Acrobat Pro v8.0

    Loaded on new machine without deactivating on old computer. No longer have access to old machine.

  • Firmware not loading

    Well, its finally here! I did some basic stuff to insure all was well with my mac and here we go! Time for the Firmware update 4.2.8. Load, click, and then THIS! "The DOC "G4FWUP.bin" could not be opened, because the application program that created

  • Console - Security Question

    On Functions and Tables and Fields tab, is there a way to export these values into a text file or another format than how it is displayed in Console?