What are the content conversion parameters for this structure

Hi All,
The below file is the text file. what are the content conversion parameters are required and what is the structure to create in the IR to convert into xml.
Schedule D - District/Port List (by District Code) [Produced13APR11]
District |    Port      |    Name
Code     |    Code      |
01       |              |    PORTLAND, ME
         |    0101      |    PORTLAND, ME
         |    0102      |    BANGOR, ME
         |    0103      |    EASTPORT, ME
         |    0104      |    JACKMAN, ME
         |    0105      |    VANCEBORO, ME
         |    0106      |    HOULTON, ME
         |    0107      |    FORT FAIRFIELD, ME
         |    0108      |    VAN BUREN, ME
         |    0109      |    MADAWASKA, ME
         |    0110      |    FORT KENT, ME
         |    0111      |    BATH, ME
         |    0112      |    BAR HARBOR, ME
         |    0115      |    CALAIS, ME
         |    0118      |    LIMESTONE, ME
         |    0121      |    ROCKLAND, ME
         |    0122      |    JONESPORT, ME
         |    0127      |    BRIDGEWATER, ME
         |    0131      |    PORTSMOUTH, NH
         |    0132      |    BELFAST, ME
         |    0152      |    SEARSPORT, ME
         |    0181      |    LEBANON AIRPORT
         |    0182      |    MANCHESTER USER FEE AIRPORT, NH
02       |              |    ST. ALBANS, VT
         |    0201      |    ST. ALBANS, VT
         |    0203      |    RICHFORD, VT
         |    0206      |    BEECHER FALLS, VT
         |    0207      |    BURLINGTON, VT
         |    0209      |    DERBY LINE, VT
         |    0211      |    NORTON, VT
         |    0212      |    HIGHGATE SPRINGS/ALBURG

since in this case you dont seem to have a key value to figure out what your header is, it is better to go for a two level mapping. i.e first read all the data - each line as an xml tag. and in the first mapping group it as required and then use it for your original mapping.
Regards,
Ninu

Similar Messages

  • What are the content conversion parameters

    Hi All
    This link contains the text file.
    http://www.census.gov/foreign-trade/schedules/d/dist.txt
    what are the content conversion parameters are required to convert that text to xml.

    <sen_dt>
         <prefix>
              <heads>
                   <dc>               
                   <pc>
                   <name>
              <main>
                   <dcno>
                   <pcno>
                   <name1>
    <rec_dt>
         <prefix>
              <District_code>             District code      optional
              <port_code>              port code          1
              <name>                   name              
         <main>
              <District_code_no>
              <port_code_no>
              <name1>
    content conversion
         document name:<sen_dt>
         document namespace:http::----
         document offset:--
         recordset name:input
         recordset structure:heads,1,main,*
         recordset sequence:Ascending
         recordset per message:----
         keyfield name:---
    prefix.fieldfixedlengths:---
    prefix.endSeparator:---
    prefix.fieldNames;---
    prefix.keyFieldvalue:--
    prefix.keyFieldlnStructure:---
    main.fieldFixedLengths:9,
    main.fieldSeparator:|
    main.endSeparator:'nl'
    main.fieldNames:district code,port code,name
    main.keyFieldValue:
    main.keyFieldlnStructure:

  • What r the content conversion parameters

    Hi All
    This link contains the text file.
    http://www.census.gov/foreign-trade/d/dist.txt
    what are the content conversion parameters are required to convert that text to xml.

    Make it simple  recordset structure as below ...
    Details
            ----------->District code
            ----------->Port code
            -----------> Name
    Recordset structure   Details, *
    Details.fieldSeparator  :
    Details.endSeparator  'nl'
    Details.fieldNames :  District code, Port code, Name

  • What are the Batch mode parameters for Receiver JDBC Adapter

    Hi All,
             Could some pls tell me how to set bacth mode in receiver JDBC adapter and what are its parameters and how to configure them. i beleive there is something like max count parameters etc..
    Regards,
    Xier

    Hi,
    Check this for more info
    http://help.sap.com/saphelp_nw04s/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
    Regards
    Seshagiri

  • What are the cause and fix for the following error message? NS_ERROR_FILE_ACCESS_DENIED failure code: 0x80520015

    Every time I close my Firefox browser I receive the following error message (see details below).
    FYI:
    -- I am running the current version of Firefox.
    -- I had no problems with this error message until my computer was recently attacked by 2 viruses:
    ` SystemFix
    ` Win7 Antivirus 2012
    Both viruses have since been cleaned from my computer. However, I am still receiving this error message.
    Here are my questions:
    * What are the cause and fix for this problem?
    * Do I need to uninstall and reinstall Firefox?
    * Is it possible that this error message is related to an add-on and that it has nothing to do with the recent virus attacks?
    I look forward to any feedback and support you might be able to provide.
    Thanks,
    Metta
    Error Message
    NS_ERROR_FILE_ACCESS_DENIED
    Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)
    [nsIFileOutputStream.init]
    File: undefined
    Line: 857
    Stack: undefined

    Every time I close my Firefox browser I receive the following error message (see details below).
    FYI:
    -- I am running the current version of Firefox.
    -- I had no problems with this error message until my computer was recently attacked by 2 viruses:
    ` SystemFix
    ` Win7 Antivirus 2012
    Both viruses have since been cleaned from my computer. However, I am still receiving this error message.
    Here are my questions:
    * What are the cause and fix for this problem?
    * Do I need to uninstall and reinstall Firefox?
    * Is it possible that this error message is related to an add-on and that it has nothing to do with the recent virus attacks?
    I look forward to any feedback and support you might be able to provide.
    Thanks,
    Metta
    Error Message
    NS_ERROR_FILE_ACCESS_DENIED
    Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)
    [nsIFileOutputStream.init]
    File: undefined
    Line: 857
    Stack: undefined

  • What are the special conversions for time in update rules?

    What are the special conversions for time in update rules?

    Hello,
    Special conversions for time in update rules are automatically conversion rules.
    Example: If the cube contains calendar month and your transfer structure contains date, the date to month is converted automatically.
    Assign points if this helps,
    Regards,
    Jorge Diogo

  • What are the AM Tuning parameters need to be set for 500 concurrent users

    Hi All,
    We are using JDEVADF_11.1.1.5.0.
    What are the exact AM parameters(Pooling and Scalability tab) to be set when we planned for 500+ concurrent users?
    Along with this do we need to set any parameters at weblogic server level, if any please give inputs.
    Any input's would be appreciated.
    Thanks in advance.
    Regards,
    Dinesh

    We can?t give you exact numbers as there are many factors influencing the performance. In hte end you have to make a load test to find the right set of parameters. A good starting point is Andrejus's blog Andrejus Baranovskis's Blog: Stress Testing Oracle ADF BC Applications - Internal Connections and  Andrejus Baranovskis's Blog: Stress Testing Oracle ADF BC Applications - Do Connection Pooling and TXN Disconnect Level
    Timo

  • Content conversion parameters for fixed length file

    Hi,
    Hey i have a small doubt.My input is like this
    99443  123213  232234  12312    127544  23423
    Here i have four recorsetnames namely HEADER1,HEADER2,HEADER3,HEADER4,HEADER5,HEADER6 all the recordsets are of same size but the lengths of the fields in it vary so i specified the following parameters
    HEADER1.fieldFixedLengths=1,3,1
    HEADER1.fieldNames=value1,value2,value3
    HEADER1.endseperator=" "
    HEADER2.fieldFixedLengths=1,3,2
    HEADER2.fieldNames=value1,value2,value3
    HEADER2.endseperator=" "
    MY OUPUT XML STRUCTURE SHOULD BE like this
    <header1>
    <value1>9<\value1>
    <value2>944<\value2>
    <value3>3<\value3>
    <\header1>
    <header2>
    <value1>1<\value1>
    <value2>232<\value2>
    <value3>13<\value3>
    <\header2>
    Is the content conversion parameters i specified enough for that. I wanted to know how would it know the begin of the next recordset(ie the seperation between the two recordsets) .Please help me its vey urgent
    Thanks in advance
    Sriandh

    Are header 1 fields always going to occur first , then header 2 and so on?
    By default file adapters do not support Nested Strcutures and so if the sequence is going to be the same and all of these have an occurence of 1..1 then things will work.
    But if there is going to be an occurnece of *  then you will need to use KeyFields.
    Regards
    Bhavesh

  • BAPI_SHIPMENT_COST_ESTIMATE  What are the min. required parameters to pass

    Hi All,
       I would like to know what are the minimum required  parameters to pass in BAPI BAPI_SHIPMENT_COST_ESTIMATE. And from which tables I can pull out that information to pass to this BAPI.
    Does this BAPI creates a shipment cost document in the system or just shows the estimate of the shipment cost.
    If it creates a shipment cost document then its good for me. but if it shows us just the estimate does it shows estimate for each delivery (total Qty, Unit Price & Total Price). 
    What will be the item category it will pick. I like to see it picks  basic price related item category.
    Does any body has used this bapi ?
    Appreciate your fast reply.
    Regards,
    Leona

    Hello, I´ll try to answer your question:
    1. is it possible to run the bapi without actual shipment number and the shipment ( & cost ) will be created in simulation mode ?
    I think that the bapi only run with external shipment number and only run in simulation mode, that´s mean the bapi can not create any shipment and cost document, if you want to create a shipment use BAPI_SHIPMENT_CREATE, to create a cost document I don´t know if there is a bapi but you can create easily with transaction VI01 (batch-input)
    The shipment number that you use to call the bapi is a ficticious number always between external range indicated in field V_TVTK-NUMKE with the shipment type that you use.
    2. is it possible to perform estimation to inbound shipments ?
    Yes it´s depend on the shipment type. In standard system 0010 is used
    In the example that I have I use an inbound delivery
    3. does the bapi creates shipment and scd in simulate mode like transaction VICI ( from sales order ) ?
    I think that the bapi only run in simulation mode and it can not create any document
    4. is there any problem if i customized my scd item categories to open manualy ?
    I think that the bapi needs to work properly automatic iten categories
    can you please post sample code ( or any other doc's ) for this bapi ?
    I send you a document with an example if you give me an e-mail because I don´t know how to attach a word document
    Best regards,

  • What are the hierarchy relevant parameters?

    What are the hierarchy relevant parameters?

    <sen_dt>
         <prefix>
              <heads>
                   <dc>               
                   <pc>
                   <name>
              <main>
                   <dcno>
                   <pcno>
                   <name1>
    <rec_dt>
         <prefix>
              <District_code>             District code      optional
              <port_code>              port code          1
              <name>                   name              
         <main>
              <District_code_no>
              <port_code_no>
              <name1>
    content conversion
         document name:<sen_dt>
         document namespace:http::----
         document offset:--
         recordset name:input
         recordset structure:heads,1,main,*
         recordset sequence:Ascending
         recordset per message:----
         keyfield name:---
    prefix.fieldfixedlengths:---
    prefix.endSeparator:---
    prefix.fieldNames;---
    prefix.keyFieldvalue:--
    prefix.keyFieldlnStructure:---
    main.fieldFixedLengths:9,
    main.fieldSeparator:|
    main.endSeparator:'nl'
    main.fieldNames:district code,port code,name
    main.keyFieldValue:
    main.keyFieldlnStructure:

  • What are the master data tables for 'Plant'?

    Hi friends,
    What are the master data tables for 'Plant' that contain below data?:
    PLANT
    NAME1
    NAME2
    LANGUAGE
    HOUSE_NUM_STREET
    PO_BOX
    POSTAL_CODE
    CITY
    COUNTRY_KEY
    REGION
    COUNTRY_CODE
    CITY_CODE
    TIME_ZONE
    TAX_JURISDICTION
    FACTORY_CALENDAR
    Thanks a lot!

    Hi,
    Plz try out following tables for your requirement.
    TOO1W
    ADRC
    J_1IMOCOMP
    T001W :  werks TYPE t001w-werks, "PLANT
            name1 TYPE t001w-name1, "PLANT DESCRIPTION
            adrnr TYPE t001w-adrnr, "PLANT ADDRESS NUMBER
    ADRC:  addrnumber TYPE adrc-addrnumber,  "ADDRESS NUMBER
             str_suppl1 TYPE adrc-str_suppl1,  "STREET2
             str_suppl2  TYPE adrc-str_suppl2, "STREET3
             street TYPE adrc-street,          "STREET
             city1 TYPE adrc-city1,            "CITY
             post_code1 TYPE adrc-post_code1,  "CITY POSTAL CODE
             post_code2 TYPE adrc-post_code2,  "PO Box postal code
             tel_number TYPE adrc-tel_number,  "TELEPHONE NUMBER
             fax_number TYPE adrc-fax_number,  "FAX NUMBER
             str_suppl3 TYPE adrc-str_suppl3,  "STREET4
             location TYPE adrc-location,      "STREET5
             city2 TYPE adrc-city2,  
    For Tax Details :
    J_1IMOCOMP :   werks TYPE j_1imocomp-werks,
                              j_1icstno TYPE j_1imocomp-j_1icstno,
                              j_1ilstno TYPE j_1imocomp-j_1ilstno,
    Hope this will help.
    Regards,
    Archana

  • What Are the Exact Basic rules for Replying a Thread...... -:)   @};-

    Hi Experts,
    After Looking into the forums many days I had a small conclusion about forums,
    SAP Forums are better place I have seen for getting a goo dhelp & Knowledge...
    Why can't we make it a BEST Place.
    This is just a small doubt which I would like to clear myself first,
    I have seen many users In the forums asking for a Basic Questions
    When cleared, But still they want to have a Spoon feeding with a Sample Code.
    When Sample Code Given they will provide the original code and requests for Modifications.
    These always looks to me as crazy.
    I have seen somelong time agin by moderators posting that In SCN there will be no SPOON FEEDING.
    I am not sure whether if still this Rule AVAILABLE or NOT.
    Ok if the task is really difficult let them ask again and again,
    And it was not replied, let them repost, I agree with them.
    And How about a User Registered in SDN very long back and asking for a silly question in below thread,
    [Sendin Email to the recipent list -Need correct FM |Getting the address from shipto partner of Bil. item not directly from C.ma]
    This is one more example, really funny, The thread poster needs the solution at any cost, he doesn't require and Suggetions,,, {He Only needs Solution}
    [Radio Buttons |Radio Buttons;
    [Turning Off Debugger |Turning Off Debugger;
    [Regarding Amount in words|Regarding Amount in words;
    There are 100's of threads like this....Everyone knows this facts.
    Check this who answered this one and who replied correct answer, who copied, finally who was rewarded...!
    [how to validate POsting period |Re: how to validate POsting period]
    Now My Real Problem is....!
    User is always intelligent, Only the weakness is in Contributor, trying to help them,..,
    And I openly say that Someone requesting for basic help is not DUMB, But the Contributor replying forgets
    the basic rules " Why Contributing ?"
    According to me It's not the Requestor to see Rules & Requlations before posting the threads,
    But its responsibilty for the Contributing person to see th Rules & Requlations before replying the threads,
    If we follow the rules and stand on a single word or rule or anything there will be Good Result.
    Major Problem is in US not anyone else.
    Example Some one saying search in the forum,,, then please no replies after that...
    But we are very pity hearted again we post the solution,,,
    But it is not at all enough(for cintribtor's)... they will copy the solution and post again by slight Modifications,
    And Some users are having 500,600,700,800 Posts with 0 points, registered long long back.
    They are completly dependent on forums,,, As they goto office and as they eat, The same they open forums and ask Queries...
    They will never realize what they are doing,, and we will never let them improve better...
    Finally Lets Discuss About this and Correct & Suggest me if I am wrong,
    Is my thoughts are going in the right way or not I am not even sure... Please Aslo Correct me if I did any mistakes.
    Thanks & regards,
    Dileep .C
    Edited by: Dileep Kumar Chinnaiah on Apr 29, 2009 12:33 PM
    Title Changed Form
    "What to do when someone asking for Basic Questions" to "What Are the Exact Basic rules for Replying a Threads...... "

    Hi Stephen,
    Very useful Information,
    First tell me a little something about my self...
    After completion of my certification(as a fresher) I was down the streets hunting the job,
    with the insufficient knowledge and being a non-experienced person, I never got one.
    And mean while when I got my "S-UserID", I used to be proud, To say frankly, I registerd in SDN & SAP all at a time, without even knowing what I can do there..,
    When I got a job afterwords I was doing the job and never seen SDN page for many months,
    when I came to know that of we have doubts we can post at SDN. then started requesting help,
    I posted only a little, I didnot got the proper response. on that day I decided,
    still there are some places where we cannot get help on time and there will be people waiting to get help,
    Why cant I put some of my efforts to help others.
    Then I searched some topic by Topic in SDN topic by Topic I used to read threads just for knowledge.
    when I feel my self comfort for contributing, I started contibuting...!
    If you haven't read it, take a look first, so you can understand where things are now.
    I dont know where things are now. But these in this thread I mentioned clearly what I seen from the day I started contributing.
    I searched with the terms of 'Rules for replying', The results are not as I expected, and this link has subject as
    "O SDN, where art thou?" So it dosent hit my in the list.
    Like everybody until a certain stage I am also rushing for points.
    But I most cases I never tried to copy paste answers. If I done some then that is just to point it myself some day,
    I have no hopes or no intrest on the points...! This was discussed with Rob & Matt, at my inital contribution where my points are 36.
    From that day till date I have changed a lot to myself.
    Everyone cannot change like me because they are not like me & And I dont even expect that...!
    I will be online almost 6-8Hrs a day, Not even getting intrest to see the forums just because of the co-contributors.
    My only point is I am just requesting to a co-contributor,
    Clearly In a example : Lets say contributor has replied to a thread, and if you know that is a correct solution,
    please dont reply any more, If you have a better solution than that, then only reply,
    Even there is one reply in the thread not a matter, if correct answer leave that query.
    If still error persists, Show up with your Idea's...
    Dont let down the contributor, by copying his reply and editing and pasting(edit only if incorrect).
    I am just looking for this one exactly to circulate between ourselfs.
    For this we a little support from moderators to circulate(may be as a rule or may be as a mail to them)
    You may say again how many mails we have to send, It dosent matter, one mail to one person one time,
    and +ve factors will show up definetly.
    A real contributor always understand what I am talking about, but some one who hunts for points will never.
    I am really sorry if I am troubling with my doubts & requests,
    If so, Pleae forgive me,,
    Thanks & regards,
    Dileep .C

  • What are the scaling co-efficients for Accelerometer input in Daq-mx ?

    hi
    im using daq-mx to take accelerometer input.
    i want to read the raw data and scale it myslef later.
    i want to know what are the scaling co-efficients for the accelerometer input in daq-mx and what is the process of determining them.
    thanks.

    Rahul,
    I've answered your question in another thread you can check using the
    following link:
    http://forums.ni.com/ni/board/message?board.id=250&message.id=14353
    I hope this helps answer your question.
    Jason

  • What are the minimum system requirements for GB 4?

    What are the minimum system requirements for GB 4? I did search this forum but wasn't able to find a direct answer.
    I'm running version 3.0.4 successfully on a lowly G4 733 but I suspect this is as far as I can go.
    I'm updating to iDvd'08 and was also wondering if I can safely update to GB4 or not (from GB 3.0.7) on a G4 733 mhz Digital Audio. Any help would be sincerely appreciated. My guess is that I cannot but I'd like to confirm prior to attempting any further updates in GB.

    I try my best to play it safely; always. And you were right, everything worked on the ext. FW HD flawlessly ...... truly amazing software!
    (I did happen to check the activity Monitor w/in Utilities and it showed GB4 using about 60-67% of the CPU on a G4 733 ..... I'm assuming this is normal).
    Click Here
    Not sure if there's a correct order to opening these apps as there has been in former versions of iLife ..... however, this (as shown above) is the order in which I opened all apps, and all worked well.

  • What are the two different rules for organizational data determination

    What are the two different rules for organizational data determination???

    Hi
    1) Rule type Responsibilities
    want to determine organizational data for individual responsibilities
    have not created an organizational model but want to create one
    have a lot of organizational units and must only assign a few attributes
    2) Rule type Organizational Model
    You would use rule resolution using organizational model if you
    have created an organizational model or have distributed a plan to SAP CRM and also want to use this for determining organizational data
    assign a lot of attributes to the organizational units and these are to be evaluated
    Regards
    Manohar

Maybe you are looking for

  • Images with Reports...

    I'm trying to insert an image file into a report template. Whenever I instert the image, it is automatically resized (not it's original size). I can't find any resources on how to format images in Reports. I tried compensating for the SNAFU in Photos

  • Unmount image disk/CD/DVD/peripheral-Ejecter une image disque/CD/DVD/périph

    Hello, I write to you because I have a problem to eject, unmount the images disk, the CD/DVD, and the peripherals. That made a long time that I use Mac Os X and it is the first time that I have this problem. When I want to unmount an image disk, CD/D

  • Dynamic Dialog creation?

    Hello, Can any one tell me how to create Dynamic Dialog, I follow below link but not able to understand properly http://dev.day.com/docs/en/cq/current/developing/widgets.html#Custom%20Widgets I want to develope below dialog. Please tell me the proces

  • I live in Guatemala, but need Firefox homepage in English

    Language in Guatemala is Spanish, but I need Firefox homepage in English. I have tried changing the language numerous times with no luck

  • HOW DO I UNINSTALL A PROGRAM I DOWNLOADED ON MY MAC AIR

    I HAVE A MACBOOK AIR VERSION OSX 10.9.5  1.7 GHZ PROCESSOR, 4G MEMORY .  5.81 GB STORAGE SPACE AVAIL. I RECENTLY DOWNLOADED A TRIAL PROGRAM CALLED BRIDGE BARON.  WHEN I DECIDED TO PURCHASE IT, I CHOSE A DIFFERENT VENDOR.  BUT WHEN I DOWNLOADED THE PU