File2Idoc: File with Multiple Occurence

Hi,
In  File2 Idoc scenario: how to read a file with multiple structure/occurrence. I tried as per below links, it is picking only first structure i.e - (Data0).
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
http://wiki.sdn.sap.com/wiki/display/XI/FiletoMultipleIDOCSplittingwithoutBPM
My Input file as like :-
  <?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_SENDER xmlns:ns0="http://FileToIdoc">
- <DATA0>
  <DOC_NUM>0017000374</DOC_NUM>
  <POSITION_NUM>10</POSITION_NUM>
  <DELVRY_ITEM>000000000000000014</DELVRY_ITEM>
  <PLANT>1010</PLANT>
  <QUANTITY>3</QUANTITY>
  <DATE>2010.08.24</DATE>
  <SERIAL>AAAA01E1123458</SERIAL>
  </DATA0>
- <DATA1>
  <DOC_NUM>0017000374</DOC_NUM>
  <POSITION_NUM>10</POSITION_NUM>
  <DELVRY_ITEM>000000000000000014</DELVRY_ITEM>
  <PLANT>1010</PLANT>
  <QUANTITY>3</QUANTITY>
  <DATE>2010.08.24</DATE>
  <SERIAL>AAAA01G1123456</SERIAL>
  </DATA1>
- <DATA2>
  <DOC_NUM>0017000374</DOC_NUM>
  <POSITION_NUM>10</POSITION_NUM>
  <DELVRY_ITEM>000000000000000014</DELVRY_ITEM>
  <PLANT>1010</PLANT>
  <QUANTITY>3</QUANTITY>
  <DATE>2010.08.24</DATE>
  <SERIAL>AAAA01G1123457</SERIAL>
  </DATA2>
  </ns0:MT_SENDER>
Please suggest concept.
Thanks.

Hi,
The structure what you have created wrong, create this structure and change occurrence of DATA to 1 to unbounded.if you want to read multiple records (same structure) then it is not required to create same structure multiple times.
*<DATA>+ 1 to unbounded.*
>   +<DOC_NUM>0017000374</DOC_NUM>+

>   +<POSITION_NUM>10</POSITION_NUM>+

>   +<DELVRY_ITEM>000000000000000014</DELVRY_ITEM>+

>   +<PLANT>1010</PLANT>+

>   +<QUANTITY>3</QUANTITY>+

>   +<DATE>2010.08.24</DATE>+

>   +<SERIAL>AAAA01E1123458</SERIAL>+

>   +</DATA>
Regards,
Raj

Similar Messages

  • How do I create a single PDF file with multiple pages?

    Hi, I occasionally need merge several jpg images into a single pdf file with multiple pages (one Jpg per page). I have tried doing this on Preview, and by selecting all the pages I want to include in my document and trying to save to Pdf through the "Print" function, but every time it only saves the first page.
    Can anyone tell me if there is a way to save multple-page pdf files without having to purchase a specific program (i to this too infrequently to justify the cost)?
    Thanks very much,

    This works for me...
    Open first image in Preview View > Sidebar. Drag the other images into Sidebar, then select all.
    From File menu > print selected images. Choose PDF > Save as PDF
    -mj

  • Create a flat file with multiple characters for enclosures

    Hello,
    we use OWB 11g2 (11.2.02).
    Now we try to create a flat file with multiple characters for enclosures. The manual wrote:
    "Enclosures (Left and Right): Some delimited files contain enclosures that denote text strings within a field. If the file contains enclosures, enter an enclosure character in the text box or select one from the list. The list displays commonenclosures. However, you may enter any character. The default for both the left and right enclosure is the double quotation mark ("). You can specify multiple characters and hexadecimal characters as field enclosures."
    But it will not work. The OWB use the first character from the left enclosure definition as left enclosure and the second one as right enclosure !?!
    Did anyone know this behavior? Is there a solution for this problem?
    Thanks and regards
    Norbert

    HI Raghu,
               Use the function module 'GUI_UPLOAD'.
               In that you have to specify the field_separator value = 'X' in export section.
    Regards,
    S.C.K

  • Loading xml file with multiple rows

    I am loading data from xml files using xsl for transformation. I have created xsl's and loaded some of the data. In an xml file with multiple row, it's only loading one (the first) row. Any idea how I can get it to read and load all the records in the file???

    Could some please help me with the above. I desparately need to move forward.

  • Creating IPA file with Multiple SWF files using ADT

    Iam successfully able to create ipa files using the ADT package but my next requirement is to create an IPA file with multiple swf files.I think it might be easy if your SWF files are regular the tough part is my swf file has lot of action script in it so the only option is to through the command prompt and using the ADT package of Adobe AIR.So now i have 10 SWF files like this and iam creating ipa file for each swf seperatly but now I want to put all of the swf files into one ipa file.Please let me know if i was not clear in my description

    I think you are trying to explain how to load two swf's one with action
    script and loading an other swf file which should be non action script.If
    you read my requirement carefully.I have all the same type of swf's and
    these swf are automatically created as a form of output for xcelsius dash
    board software.Iam capable of creating individialu ipa files from these swf
    files.So when I try to combine the same kind of swf files the first error
    its giving is the file name which I have used in the xml.in the main file
    name for the swf file its not considering the two swf file name in the
    initial window.so the adt package in the command line is not understanding
    the file name from the xml and the command prompt and giving error this swf
    file does not exist.So please consider how to combine two swf files with AS3
    into one ipa file.These swf files are not editable,Let me know if you find
    any idea to achieve this

  • Is there a way to sort a PDF file with multiple pages by a specific field within the PDF? All pages have the same invoice format and i would like to sort by a field within and then print the documents. (Vendor, PO

    Is there a way to sort a PDF file with multiple pages by a specific field within the PDF? All pages have the same invoice format and i would like to sort by a field within and then print the documents. (Vendor, PO#, Date, ect.)

    When you say field, do you mean specifically a form field, such as a text field? Or is the information regular text on the page?

  • Flat File with multiple record types (OWB 10.2.0.2)

    Hi!
    I`m using OWB 10.2.0.2 and I`m trying to load a flat file with multiple record types, using SQL LOADER.
    In the flat file editor in the Record tab, I`ve set the type values and the corresponding record names like this:
    Type Value Record Name
    ======== ===========
    T TRAILER
    0 DETAILS
    1 DETAILS
    2 DETAILS
    When using this flat file in a mapping to load the data in a staging table, the generated code looks like this:
    INTO TABLE TRAILER
    TRUNCATE
    REENABLE DISABLED_CONSTRAINTS
    WHEN (1:1) = 'T'
    INTO TABLE DETAILS
    APPEND
    REENABLE DISABLED_CONSTRAINTS
    WHEN (1:1) = '0,1,2'
    The above clause (WHEN (1:1) = '0,1,2') is wrong as I expect one "INTO TABLE..." clause for each record type.
    Could this be a bug or am I doing something wrong?
    Thanks a lot for your help,
    Yorgos

    We`re using two target tables, one for the trailer record and the other for the details records.
    We are facing this problem from the moment we upgraded from OWB 10.1 to OWB 10.2.0.2, so we think it must be something with the way the sql loader code is generated in the new version.
    As our data sources are mainly flat files coming from mainframes, this is a huge problem for us. We even asked an expert in DW from Oracle to help us on this, but still haven`t found a solution.
    Is there any workaround for this or should we forget sql loader and go with an external tables + custom PL/SQL code solution?
    Your help is greatly appreciated Jean-Pierre.
    Regards,
    Yorgos

  • Re: Upload a flat file with multiple field seperators

    HI Experts,
    In my reports program iam trying to  upload  the data with in flat file with multiple seperators
    but data is not uploading can ypu please suggest the solution.
    Is there any function module to upload with multiple field seperators
    Example of flat file:
    E1234     JOHN     BB     HYD     IN     EN
    E1234,BURE,BH,DSNR,IN,EN
    E1236 KIWI KW HYT IN EN
    E1237;BRAD;BW;MSRD;IN;EN
    Thanks & Regards,
    Raghusagar.G

    HI Raghu,
               Use the function module 'GUI_UPLOAD'.
               In that you have to specify the field_separator value = 'X' in export section.
    Regards,
    S.C.K

  • Issues with multiple Files with multiple subdbs on a single environment.

    I'm having an issue with Berkeley DB 4.2 on 32-bit platforms, regarding multiple physical files with multiple subdatabases in a single database environment. Specifically, when I open a subdatabase for a physical file, Berkeley DB thinks that it is using the same subdatabase in a different physical file.
    I'm doing the following:
    1. Create and open a db enviornment.
    2. Move file1 to the common area.
    3. Open, get and close the subdatabases in file1.
    4. Move file2 to the common area.
    5. Open, get and close the subdatabases in file2.
    6. remove file2 from the common area
    7. Move file3 to the common area.
    8. Open a subdatabase from file3. About 1/2 the time, the fetches
    return data from file2, not from file3.
    It's possible that at some earlier time (i.e. before step 1 of this
    test case), file1, file2 and file3 were the same file. I noticed
    that there is something called env->fileid_reset, but that is not
    in 4.2.52.
    Any ideas?

    Looks like I've resolved the issue

  • Is QuickTime support Mp4 file with Multiple SPS(Sequence Paramter Set) ?

    Hello EveryOne.
    I am in much trouble... plz help me. Thanks
    I have a Mp4 file with Multiple SPS(Sequence Parameter Set) and PPS(Picture Parameter Set.
    When i play into latest QuickTime then only Audio come. Blank White screen come in case of Video..Means no Video..
    i want to ask :
    Is QuickTime support Multiple SPS Mp4 file ?
    Thanks
    Shakti Kapoor
      Windows 2000  

    You didn't answer probably the most important question: whether you're using hardware or software Mercury Playback Engine (MPE). However, since you've set Maximum Render Quality on, it's largely irrelevant.
    When you're using hardware MPE or have the MRQ flag set for your export, rendering is performed with linear color. Linear color processing affects how color channels and alpha channels are composited--anything less than 100% opacity is subject to linear color processing. Check out this article for more information on linear color/linear light: Linear Light - Artbeats
    Since it sounds like you're seeing the results you expect in the Program Monitor, but not export, I'll wager you're not using hardware MPE. Only by disabling the Maximum Render Quality flag on export will you be able to get results that match what you see in the Program Monitor (within reason, of course). The only way you could see the effects of linear color within Premiere would be to either use a qualified GPU that enables hardware MPE, or go into your Sequence Settings and check the "Maximum Render Quality" option and then render previews.
    Please let me know if that helps resolve the issue, or at least provide a little insight into the problem.

  • Downloading .xls file with multiple rows and Columns

    Hi ALL,
    I need to genarate .xls file with multiple rows and and Columns and sent as an email.Since our customer having Problem with .CSV files need to genarate .XLS file.
    Please do the needful.
    Thanks
    Madhu

    Hi Madhu,
    You might also consider using Excel Spreadsheet XML as the target structure (namespace is urn:schemas-microsoft-com:office:spreadsheet).  When you double-click the resulting xml on a PC it automatically opens with Excel. So, users don't see a difference.  It will open up a lot of options with formatting including creating multiple worksheets if you wanted to.  Best of all you can stick with XML.
    See my response in this thread:
    Re: Convert XML data into XLS 
    Thanks,
    -Russ

  • Pull a zip file with multiple files unzip it, and finally load one of the f

    Hi Aill,
    I have following query.
    Could we do the following with XI: pull a zip file with multiple files from a vendor which resides outside of XI server network, unzip it, and finally load one of the files to SAP?
    Regards
    Rohan S

    Hi Varadharajan,
    I have 10 text files in some ZIP file on one server which is out side of network. We can reach that file through Proxy only to read ZIP file.
    I need to extract the file and on the bases of some condition one of the file i need to upload data to SAP.
    Is it possible. If possible then How?
    Regards

  • How to manage linked files with multiple designers?

    Hi,
    I work at a small company with multiple designers (5 of us) where 3 of us work remotely. We use dropbox to manage our files so that everyone has access--we keep client files in specific folders and stock media in a shared folder.
    Currently whenever we open a file that's been edited by someone else, we have to go in and individually relink the files. Some would prefer to embed the files, however this can increase filesize by 60-400mb. Our current files total in at around 500gb, so I don't think that's a viable option.
    4 of us are on Macs, 1 on Windows. 1 has CS5, 3 have CS6 and one has CC.
    My question is this:
    If we all have the same path to dropbox (or the same path to the file, either way) will Illustrator be able to automatically find the files?
    Eg. X:/Dropbox/...
    If so, will it work cross platform?
    I know InDesign has a better link management system, is there a good plugin that would help with this?
    I'm going to continue to do my own research and testing, but I thought I'd consult those more knowledgeable than me.
    Thank you!

    Thanks for your response. Currently, dropbox works so that it syncs online but also is stored locally on your hard drive (not like a network drive). So one person could have a different path to the dropbox folder than the other. As for the second part, that would be about the same as embedding it in the file as far as general disk space usage. We use many of the same stock photos in multiple files, so keeping them in the same location reduces the amount of space used. It wouldn't be a huge problem if illustrator used relative paths instead of absolute paths, but alas.
    I was forgetting that Mac OS doesn't use drive letters, so there probably won't be a way for illustrator to read things as the same path cross-platform...
    I'm still wondering if there are any good plug-ins which help find broken links.
    I found this: http://techblog.willshouse.com/2011/01/16/adobe-illustrator-linked-files-fix/ which might be helpful, but I'm wondering if there's a better solution.

  • B2B Inbound File with Multiple Transactions failing

    Hi ,
    Problem Summary: When the inbound file is coming with multiple transactions (combination of 997 and non-997) ,
    If the 997 is the FIRST transaction in file, B2B is processing only 997 and remaning transactions are getting rejected.
    Where as if the 997 is the LAST transaction in file, then all the transactions are processing correclty.
    SOA Version: SOA 11G (11.1.1.5).
    Example 1: below sample we got two transactions, 997 and 214. here 997 is the FIRST transaction in the file.
    in this case B2B is processing 997 correctly, and 214 is errored with below error message
    "B2B-51507 - A data segment with 'Mandatory' status is missing. A data segment with 'Mandatory' status is missing. An X12 syntax error occurred. An X12 syntax error occurred. An X12 syntax error occurred. A data segment with 'Mandatory' status is missing. A data segment with 'Mandatory' status is missing.
    ISA00* *00* *02*xxxx *01*1234555 *120516*1018*U*00401*000005822*0*P*:~*
    GSFA*xxxx*1234555*20120516*1018*5822*X*004010~*
    ST997*58220001~*
    AK1SM*7159~*
    AK9A*1*1*1~*
    SE000004*58220001~*
    GE1*5822~*
    IEA1*000005822~*
    ISA*00* *00* *02*xxxx *01*1234555 *120516*1018*U*00401*000005823*0*P*:~
    GS*QM*xxxx*1234555*20120516*1018*5823*X*004010~
    ST*214*58230001~
    B10*2313813*M1213131*xxxx~
    N1*SF*xxxxxx*ZZ*124~
    N4*xxxxxx*AR~
    LX*1~
    AT7*AF*NS***20120516*1017*LT~
    MS1*xxxxx*AR~
    L11*01*QN~
    AT8*G*L~
    SE*10*58230001~
    GE*1*5823~
    IEA*1*000005823~
    Example 2 : below sample we got two transactions, 997 and 214. here 997 is the LAST transaction in the file.
    in this case B2B is processing ALL TRANSACTIONS correctly
    ISA*00* *00* *02*xxxx *01*1234555 *120516*1018*U*00401*000005823*0*P*:~
    GS*QM*xxxx*1234555*20120516*1018*5823*X*004010~
    ST*214*58230001~
    B10*2313813*M1213131*xxxx~
    N1*SF*xxxxxx*ZZ*124~
    N4*xxxxxx*AR~
    LX*1~
    AT7*AF*NS***20120516*1017*LT~
    MS1*xxxxx*AR~
    L11*01*QN~
    AT8*G*L~
    SE*10*58230001~
    GE*1*5823~
    IEA*1*000005823~
    ISA00* *00* *02*xxxx *01*1234555 *120516*1018*U*00401*000005822*0*P*:~*
    GSFA*xxxx*1234555*20120516*1018*5822*X*004010~*
    ST997*58220001~*
    AK1SM*7159~*
    AK9A*1*1*1~*
    SE000004*58220001~*
    GE1*5822~*
    IEA1*000005822~*
    Thanks,
    Naveen

    Hi,
    My name is Phil DeLaine and I work for one of Oracle's Gold Partners, TechDemocracy.
    I saw your post about the B2B transaction errors you are experiencing. We have great experience with B2B and have solved very complex problems. (References available.)
    Would you like to use one of our B2B expert technical resources to solve this problem and deliver your project error free and fully functional?
    Please let me know if you would like to discuss what we can do for you. You can reach me anytime.
    Regards,
    Phil
    Phil DeLaine
    Sales Director - Northeast
    TechDemocracy
    (978) 758-3156 (Cell)
    [email protected]
    http://www.techdemocracy.com/
    Our Successes:
    1) We won the 2011 Oracle Titan Award for the Best Middleware Implementation. Our award winning solutions included SOA, IAM and BI.
    2) We have been awarded with the highly prestigious Oracle ACE Director status for outstanding industry achievement and track record.
    3) We sit on several Advisory Boards for Oracle Product Management (for Fusion Middleware Products).
    4) We are an Oracle Center of Excellence Partner for SOA and IAM.
    5) We are frequently invited to speak at a number of Oracle Customer Success forums such as Oracle's "OpenWorld".
    6) We have been rated by Inc. Magazine as one of the top 10 fastest growing companies for 3 consecutive years.
    7) We have won and successfully deliveried several projects at Fortune 100, 500 and 1,000 companies. (References Available)

  • Re:Bursting control file with multiple sub templates

    Hi
    Can any one let me know how to create a bursting control file for multiple sub templates. I.e I have one main template which will invoke other templates. the normal bursting control file which i have created is sending
    an output with no data , but i can see an output in the concurrent program.
    Thanks in advance.

    Add it as parameter in your xml file.

Maybe you are looking for

  • Disabling the default search when searching for master Agreements

    Hello Experts I am relatively new to SAP e sourcing ,we are working on 5.1 system. We have a query , Contract management->Agreements->Search master agreements and Sub agreements. This query takes a lot of time for execution. When user selects this op

  • Update table FDM1

    Dear all, I am trying to update table FDM1. To do that I run the programme RFFDMM10, but the table is not updated. Could anyone help me? Thanks a lot Regards

  • My i tunes store is frozen in my i pad 2

    I tried to downnload my previous purchases and in the middle of  the download i tunes store froze.  nothing works when i touch it. can someone help?  thank you

  • CS3 Lion Error: Free Transform Blurs and Distorts Image

    Pretty self-explanitory when you look at the pics: You can see that when the image is rotated, it becomes blurry and the edges become jagged. The more the image is rotated the worse the condition becomes. I never had this problem before upgrading to

  • FTP clients/upload only changed pages

    I've been reading all the posts related to uploading sites created with iWeb to a non .Mac acccount using various FTP clients, and just want to make sure I am understanding this correctly. I use Fetch to upload my two sites to a godaddy.com account.