XMLType Views . Automatic creation XMLSchema?

http://otn.oracle.com/oramag/webcolumns/2003/techarticles/scardina_xmldb.html
In this clause there is such offer:
«Functions are provided in the database and XDK to create XML schemas automatically from XMLType Views»
Give please the reference in the documentation as it to make with help PL/SQL.
All good, Rustem.

No, to me interestingly automatically to generate text XMLschema on basis XMLType, received by SQLX functions...

Similar Messages

  • Automatic creation of requirement for extra consumption in COGI

    Dear.
    For a production order with a component totally consumed during the backflushing of CO11N I run a new confirmation. The component isnu2019t available , the confirmation is done and the system create for the component an error movement in COGI.
    If I see MD04 for this component I donu2019t see any production order requirement for the extra consumption quantity in COGI.
    But the planner need to know the quantity that remain to withdrawn.
    Which is the reason for the missing automatic creation of requirement for extra consumption in COGI ?
    Thanks.

    Dear Cris,
    Have you manually edited and input extra qty in CO11N
    When backflush is activated and Full qty is confirmed
    Then if you perform confirmation second time then form where system will again pick the component
    Once again check in production order BOM over view and also in BOM what is the qty given
    Can you eloborate more in detail what you have performed ( steps required )
    Dear Siva,
    Just correct me if i am wrong
    Regards
    Madhu
    Edited by: K.Madhu Kumar on Sep 30, 2010 1:10 PM

  • Automatic creation of po during goods receipt

    Dear all,
    po has not been created, but while receiving the material i want automatic generation of po. i have some knowledge about it but it is not working. Can some one send detailed information. with navigation details. Tips that are posted on the sdn is not working.
    Regards

    Hi
    Pl Make sure you have done following settings for the Automatic Creation of PO during GR:
    1) In SPRO ---> Enterprise Structure ---> Assignment -
    >  Material Management ---> Assign Std. Purchase Org. to your Plant...
    2) In Material Master -
    > Purchasing View -
    > Pl. Check. Automatic PO check Box   and  Maintain Purchasing Group....
    3)Create your Vendor for oyur Company Code and  Std. Pur. Org. combination and in that Vendor Master -> Purchasing Data View--- > Pl. Check Auto. PO Check Box...
    4)For your Vendor -Material Master - Plant -Std. Pur. Org combination Maintain valid Info record...
    5)In OLMB --->  Goods Receipt -
    > Automatic Creation of PO ---> for the M.Type:101  pl. check  Auto PO check Box
    6) In OLMB ---> Movement types ---> Copy,Delete, Check M.Types ---> Choose the M.Type:101   and go into Details -
    > Then goto  allowed Fields for M.Types for M.Type:101 --->  there for the M.Type:101   make the field   LIFNR as a Mandatoty field...
    If you have done the above settings properly...then  in  MIGO ---> Choose Transaction GR  and referance as Others
      and do the GR....Make sure you are doing GR with M.Type:101....and yougive the Vendor's name during   GR....
    Now If you save the GR ...automatically PO will be created...
    this you can see it by displaying the MIGO Document..
    Reward if useful
    Regards
    S.baskaran

  • Automatic Creation of Planned Order in PPDS Horizon

    Dear Experts,
    Kindly answer my following query.
    I have created PIRs before/inside my PPDS Horizon (its also falling outside horizon as SNP horizon is shorter than PPDS Horizon). If I check the PIRs created by me in /SNPAPO/RRP3, it also shows me planned orders corresponding to them. However, if I create PIR outside PPDS horizon then system is not automatically creating the planned order.
    Kindly let me know which master data/configuration setting is responsible for automatic creation of planned orders within PPDS horizon.
    Best Regards
    Rinju
    Edited by: Rinju Mukherjee on Sep 26, 2010 10:05 AM

    Dear Rinju,
    Check in Product Master PPDS view the Planning procedure maintained? if it is balnk check in the heuristic, the palnning procedure maintained.
    Since automatic planning procedure(3) is maintained, that is the reason it is creating order proposals, it self.
    Sree

  • Automatic creation of PR after MRP run

    Hi,
    can anyone please tell me what all fields are picked up in a Purchase Requisition(PR) in the scenario of automatic creation of PR after MRP run.
    If we are using more than 1 PR type in the system how is it determined during the MRP run that the PR will be created for which type.I understand that source list will have to be created and maintained but how is the PR type determined
    Thanks in advance

    In PR the system checks for the material and vendor. See the steps below.
    Step1:Auto PO tick in material master Purchasing view (mandatory)
    Step2:Auto PO tick in vendor master Purchasing view
    Step3:Maintain Source list for vendor and material (If u r not using source list for auto PO creation, the assign the Source of supply to a PR in ME56)
    Step4:Maintain Pur. Inforecord
    Step5:ME59n : execute for PR and Vendor In ME59n, you can also select the PR document type. If you want to select different document types, go for multiple entries and enter the doc types.
    When u execute, the system will give the appropriate PRs. Select the required and convert to PO.
    But through MRP you cannot create PO directly only Planned orders can be created.
    Reward if helpful..
    Thanks,
    Srib

  • Automatically creation of storage location for material, in MF60

    Hi all,
    my collegue of PP module uses MF60 transaction.
    When he puts XXXX as Replenishment storage location, the system tells him this error: To stge loc. XXXX does not exist for material M1010000182 in plant 0001.
    In MM i have activate the automatic creation of storage location for plant 0001 and for all movement types.
    Why MF60 does not respect this requirement?
    If I try to do movement type 311 with MIGO, manually, there's no problem to transfer the material from a storage location to , XXXX s.loc.
    Is there something more that I have to do?
    Thanks in advance!
    Best regards
    Alba

    Thanks a lot...
    the note says:
    Summary
    Symptom
    A material without storage location view exists.
    If within a single material document, this material is moved in such a way that no change in stock occurs in total, the system does not create a storage location automatically even if this is set in Customizing.
    Additional key words
    OMC3, XLAUT
    Cause and prerequisites
    All postings to a segment (for example, material, plant, storage location) are only executed if a change in stock occurs. Only in this case, storage locations are created automatically. This way it is made sure that no empty segments are created.
    Solution
    The system behaves correctly.
    Header Data
    Release Status:     
    Released on:     07.07.2000  22:00:00
    BUT why IF i do 311 in MIGO, system creates automatically storage location (also if no change in stock occurs in total).
    AND if doMF60  (that does mouvement 311), system does not create automatically the storage location?
    Best regards
    Alba

  • Automate Creation of new items in EBS

    Hey everyone -
    Just a question ,
    we want to automate creation of new items in our system.
    Our view is something like -
    1. user GUI to request a new item, according to predefined templates.
    2. Users fill a few fields of information.
    3. Item manager gets notified and approves item is needed.
    4. Automation to run batch and create everything relevant. (org assignment, item KFF, category assignments, BOMs etc). As much automation as possible, we can map template behaviour, variety is small.
    I was wondering if there is any product supporting such behaviour.
    I looked into Oracle's APC, and it seems like it doesnt do enough. Besides as far as I noticed it relies mostly on Item Catalog attributes which we don't. Also Im not sure if this product is "alive" coz oracle bought AGILE for PLM.
    Does anyone know of a product that supports creation of new items and is flexible to fit our needs?
    We want to make sure we're not missing something before we develop custom code for that.
    Thanks,
    Aaron

    Hi,
    This is prom PIM to Oracle
    I have done an interface which creates an item in master and child .Which assighns category set on iots level controls .It inserts item into all active subinventories.
    It notifies the end user with email any item already exits and error .
    Regarding templates.
    it assigs compatible templates at master and org leve.These are predefined and are not validated in program
    Edited by: Sankuratri on Apr 5, 2009 10:02 PM

  • Automatic creation of Purchase req form sales order

    What are all the  settings required for automatic creation of purchase requisition  from sales order( from master data and spro)
    Can any one please help me out. Iam new to this topic

    Material master data: purchasing view must be updated with puchasing group and so on.
    sales data: the item categotu group is BANC
    Sales order: the standard customizing determine the TAB item category, in the related schedule line type there is the purchase requisition document.
    have a look to this link
    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/dd/5601d4545a11d1a7020000e829fd11/content.htm">http://help.sap.com/saphelp_47x200/helpdata/en/dd/5601d4545a11d1a7020000e829fd11/content.htm</a>
    Roberto

  • Automatic creation of serial number

    Hello guys,
       In serial number profile, in serializing procedure for PPAU and PPRL i have maintained 4-automatic(creation of serial number) and this serial number profile i have given in workscheduling view of material master.When i create the production order for this material of qty 20,it gives serial number from 1 to 20.And again  i create the production order for it of qty 20,it gives serial number to it from 20 to 40.
       Now my question is,in automatic creation of serial number from where it takes the number ranges.
      Does it take from equipment category which we assign to serial number profile?If not than from where it takes?
             Thanking you guys.

    Dear Jitendra,
    Automatic Serial Numbers come from Number Range Object which is defined in Tcode SNRO. Number range is also defined in SNRO only under number range object for specific purpose.
    You can check in SNRO----> Overview which gives you Overview of Number Range Objects & Number Ranges defined from them.
    So your serial numbers are coming automatically actually defined there only.
    Pls. go through the above.
    Hope this will clarify your doubt.
    If any doubt , pls. revert and reward if useful.
    Regards,
    Tejas

  • Automatic Creation Of Internal Requisition

    Hi
    I have a query related to creating of IR from Sales Order Line.
    Does Release 12 support automatic Creation Of Internal Requisition from Sales Order Line. If yes, does it work for both Models and Parts? Do we need sourcing rule to make IR ?
    Pls. share your views.
    Thanks,
    Rajeev

    Thanks Sandeep,
    I am looking for creating Internal Requisition from Sales Order Line , In 11.5.10.2 we cannot create IR automatically but can create Purchase Requisition(PR) in case of Back to Back Order. If we want to source the item internally from any other org then IR has to be created manually. Pls. let me know if I can create IR from SO Line and prerequisite setups.
    My understanding says that in order to create IR automatically we need to have sourcing rule , MAKE / BUY attribute as BUY for the item in the destination org , do we have to make Source Type as INVENTORY under General Planning Tab of Item Master to trigger IR for the item from SO Line < We are not using MRP / ASCP in our case>
    Please clarify.
    Regards,
    Rajeev
    +91 98868 32466

  • Inserting into XMLType View

    I have created an XMLType view with an INSTEAD OF trigger to insert data into the underlying tables. I used your example on XMLType view of Relational Content
    It works great if I have no attributes defined in the root element of the XML document (i.e. xmlns, schemaLocation, etc.). However, if my document contains any of those attributes, it will not load. I have tried creating the view with and without the xml attributes, as well as making sure that the schemaLocation is identical to the one in the document (copied and pasted just to make sure).
    Is there anything that you can point to right away that I'm missing?
    If needed, I can post code for you.
    Thanks!

    Here is the code I used to generate the tables, view, and triggers:
    drop table p_student_demographics;
    create table p_student_demographics -- a
    wiser_id varchar2(8),
    first_name varchar2(15),
    middle_name varchar2(15),
    last_name varchar2(25),
    birthdate date,
    school_id varchar2(7),
    special_ed_teacher varchar2(50)
    drop table p_scorer_info;
    create table p_scorer_info -- b
    test_record_id number,
    scorer_number number,
    name varchar2(80),
    email varchar2(50)
    drop table p_test_record;
    create table p_test_record -- c
    wiser_id varchar2(8),
    test_record_id number,
    grade_tested varchar2(2),
    first_scorer_completed varchar2(3),
    second_scorer_completed varchar2(3)
    drop table p_psw_test_results;
    create table p_psw_test_results -- d
    test_record_id number,
    subject varchar2(7),
    entry_number number,
    complexity varchar2(1),
    performance varchar2(1),
    independence varchar2(1),
    generalization varchar2(1),
    non_scorable varchar2(4)
    drop table p_spe_test_results;
    create table p_spe_test_results -- e
    test_record_id number,
    subject varchar2(7),
    entry_number number,
    item_number number,
    response varchar2(1)
    drop table p_total_scores;
    create table p_total_scores -- f
    test_record_id number,
    subject varchar2(7),
    psw_total_raw_score varchar2(2),
    spe_total_raw_score varchar2(2),
    tas_score varchar2(2),
    tas_portfolio_score varchar2(2),
    tas_spe_score varchar2(2),
    overall_total_raw_score varchar2(2),
    overall_performance_level varchar2(1)
    drop table p_school_info;
    create table p_school_info
    district_id varchar2(7),
    district_name varchar2(80),
    school_id varchar2(7),
    school_name varchar2(80)
    create or replace view paws_alt_test_results
    of xmltype
    xmlschema "http://www.k12.wy.us/public/paws-alt-results-v1.xsd" element "PawsAltResults"
    with object id
    (to_number(extractValue(object_value,'/PawsAltResults/Students/TestRecord/TestRecordId')))
    as
    select xmlelement
    "PawsAltResults",
    xmlelement
    "Students",
    xmlelement
    "StudentInfo",
    xmlelement
    "StudentDemographics",
    xmlelement("WiserId", a.wiser_id),
    xmlelement("FirstName", a.first_name),
    xmlelement("MiddleName", a.middle_name),
    xmlelement("LastName", a.last_name),
    xmlelement("BirthDate", a.birthdate)
    xmlelement("SchoolId", a.school_id),
    xmlelement("SpecialEdTeacher", a.special_ed_teacher),
    xmlelement
    "DocumentCompletedBy",
    xmlelement("FirstScorer", c.first_scorer_completed),
    xmlelement("SecondScorer", c.second_scorer_completed)
    xmlelement
    "FirstScorerInfo",
    xmlelement("Name", b1.name),
    xmlelement("Email", b1.email)
    xmlelement
    "SecondScorerInfo",
    xmlelement("Name", b2.name),
    xmlelement("Email", b2.email)
    xmlelement
    "TestRecord",
    xmlelement("TestRecordId", c.test_record_id),
    xmlelement("GradeTested", c.grade_tested),
    xmlelement
    "Subjects",
    select xmlagg
    xmlelement
    "Subject",
    xmlelement("SubjectName", f.subject),
    xmlelement
    "Psw",
    xmlelement
    "Entries",
    select xmlagg
    xmlelement
    "Entry",
    xmlelement("EntryNumber", x.entry_number),
    xmlelement("Complexity", x.complexity),
    xmlelement("Performance", x.performance),
    xmlelement("Independence", x.independence),
    xmlelement("Generalization", x.generalization),
    xmlelement("NonScorable", x.non_scorable)
    from p_psw_test_results x
    where f.test_record_id = x.test_record_id
    and f.subject = x.subject
    xmlelement("TotalRawScore", f.psw_total_raw_score)
    xmlelement
    "Spe",
    xmlelement
    "Entries",
    select xmlagg
    xmlelement
    "Entry",
    xmlelement("EntryNumber", x.entry_number),
    xmlelement
    "Items",
    select xmlagg
    xmlelement
    "Item",
    xmlelement("ItemNumber", y.item_number),
    xmlelement("Response", y.response)
    from p_spe_test_results y
    where x.test_record_id = y.test_record_id
    and x.subject = y.subject
    and x.entry_number = y.entry_number
    from (select distinct
    test_record_id,
    subject,
    entry_number
    from p_spe_test_results) x
    where f.test_record_id = x.test_record_id
    and f.subject = x.subject
    xmlelement("TotalRawScore", f.spe_total_raw_score)
    xmlelement("TasScore", f.tas_score),
    xmlelement("TasPortfolioScore", f.tas_portfolio_score),
    xmlelement("TasSpeScore", f.tas_spe_score),
    xmlelement("OverallTotalRawScore", f.overall_total_raw_score),
    xmlelement("OverallPerformanceLevel", f.overall_performance_level)
    from p_total_scores f
    where c.test_record_id = f.test_record_id
    xmlelement
    "Districts",
    select xmlagg
    xmlelement
    "DistrictInfo",
    xmlelement("DistrictId", district_id),
    xmlelement("DistrictName", district_name)
    from (select distinct
    district_id,
    district_name
    from p_school_info)
    xmlelement
    "Schools",
    select xmlagg
    xmlelement
    "SchoolInfo",
    xmlelement("DistrictId", district_id),
    xmlelement("SchoolId", school_id),
    xmlelement("SchoolName", school_name)
    from p_school_info
    from p_student_demographics a,
    p_scorer_info b1,
    p_scorer_info b2,
    p_test_record c
    where a.wiser_id = c.wiser_id
    and b1.test_record_id = b2.test_record_id
    and b1.test_record_id = c.test_record_id
    and b1.scorer_number = 1
    and b2.scorer_number = 2;
    create or replace trigger io_ins_paws_alt_results
    instead of insert on paws_alt_test_results
    begin
    insert all
    into p_student_demographics
    (wiser_id, first_name, middle_name, last_name, birthdate, school_id,
    special_ed_teacher)
    values
    (wiser_id, first_name, middle_name, last_name, birthdate, school_id,
    special_ed_teacher)
    into p_scorer_info
    (test_record_id, scorer_number, name, email)
    values
    (test_record_id, 1, name1, email1)
    into p_scorer_info
    (test_record_id, scorer_number, name, email)
    values
    (test_record_id, 2, name2, email2)
    into p_test_record
    (wiser_id, test_record_id, grade_tested, first_scorer_completed,
    second_scorer_completed)
    values
    (wiser_id, test_record_id, grade_tested, first_scorer_completed,
    second_scorer_completed)
    select a.*
    from xmltable
    '/PawsAltResults'
    passing :new.object_value
    columns
    wiser_id varchar2(8) path 'Students/StudentInfo/StudentDemographics/WiserId',
    first_name varchar2(15) path 'Students/StudentInfo/StudentDemographics/FirstName',
    middle_name varchar2(15) path 'Students/StudentInfo/StudentDemographics/MiddleName',
    last_name varchar2(25) path 'Students/StudentInfo/StudentDemographics/LastName',
    birthdate date path 'Students/StudentInfo/StudentDemographics/Birthdate',
    school_id varchar2(7) path 'Students/StudentInfo/SchoolId',
    special_ed_teacher varchar2(50) path 'Students/StudentInfo/SpecialEdTeacher',
    test_record_id number path 'Students/StudentInfo/TestRecord/TestRecordId',
    name1 varchar2(80) path 'Students/StudentInfo/FirstScorerInfo/Name',
    email1 varchar2(50) path 'Students/StudentInfo/FirstScorerInfo/Email',
    name2 varchar2(80) path 'Students/StudentInfo/SecondScorerInfo/Name',
    email2 varchar2(50) path 'Students/StudentInfo/SecondScorerInfo/Email',
    grade_tested varchar2(2) path 'Students/StudentInfo/TestRecord/GradeTested',
    first_scorer_completed varchar2(3) path 'Students/StudentInfo/DocumentCompletedBy/FirstScorer',
    second_scorer_completed varchar2(3) path 'Students/StudentInfo/DocumentCompletedBy/SecondScorer'
    ) a;
    insert all
    into p_psw_test_results
    (test_record_id, subject, entry_number, complexity, performance,
    independence, generalization, non_scorable)
    values
    (test_record_id, subject, entry_number, complexity, performance,
    independence, generalization, non_scorable)
    into p_total_scores
    (test_record_id, subject, psw_total_raw_score, spe_total_raw_score,
    tas_score, tas_portfolio_score, tas_spe_score,
    overall_total_raw_score, overall_performance_level)
    values
    (test_record_id, subject, psw_total_raw_score, spe_total_raw_score,
    tas_score, tas_portfolio_score, tas_spe_score,
    overall_total_raw_score, overall_performance_level)
    select a.test_record_id,
    b.subject,
    b.psw_total_raw_score,
    b.spe_total_raw_score,
    b.tas_score,
    b.tas_portfolio_score,
    b.tas_spe_score,
    b.overall_total_raw_score,
    b.overall_performance_level,
    c.*
    from xmltable
    '/PawsAltResults/Students/StudentInfo/TestRecord'
    passing :new.object_value
    columns
    test_record_id number path 'TestRecordId',
    subjects xmltype path 'Subjects/Subject'
    ) a,
    xmltable
    '/Subject'
    passing a.subjects
    columns
    subject varchar2(7) path 'SubjectName',
    psw_total_raw_score varchar2(2) path 'Psw/Entries/TotalRawScore',
    spe_total_raw_score varchar2(2) path 'Spe/TotalRawScore',
    tas_score varchar2(2) path 'TasScore',
    tas_portfolio_score varchar2(2) path 'TasPortfolioScore',
    tas_spe_score varchar2(2) path 'TasSpeScore',
    overall_total_raw_score varchar2(2) path 'OverallTotalRawScore',
    overall_performance_level varchar2(1) path 'OverallPerformanceLevel',
    entries xmltype path 'Psw/Entries/Entry'
    ) b,
    xmltable
    '/Entry'
    passing b.entries
    columns
    entry_number number path 'EntryNumber',
    complexity varchar2(1) path 'Complexity',
    performance varchar2(1) path 'Performance',
    independence varchar2(1) path 'Independence',
    generalization varchar2(1) path 'Generalization',
    non_scorable varchar2(4) path 'NonScorable'
    ) c;
    insert
    into p_spe_test_results
    (test_record_id, subject, entry_number, item_number, response)
    select a.test_record_id,
    b.subject,
    c.entry_number,
    d.*
    from xmltable
    '/PawsAltResults/Students/StudentInfo/TestRecord'
    passing :new.object_value
    columns
    test_record_id number path 'TestRecordId',
    subjects xmltype path 'Subjects/Subject'
    ) a,
    xmltable
    '/Subject'
    passing a.subjects
    columns
    subject varchar2(7) path 'SubjectName',
    entries xmltype path 'Spe/Entries/Entry'
    ) b,
    xmltable
    '/Entry'
    passing b.entries
    columns
    entry_number number path 'EntryNumber',
    items xmltype path 'Items/Item'
    ) c,
    xmltable
    '/Item'
    passing c.items
    columns
    item_number number path 'ItemNumber',
    response varchar2(1) path 'Response'
    ) d;
    insert
    into p_school_info
    (district_id, district_name, school_id, school_name)
    select a.district_id,
    a.district_name,
    b.school_id,
    b.school_name
    from xmltable
    'PawsAltResults/Districts/DistrictInfo'
    passing :new.object_value
    columns
    district_id varchar2(7) path 'DistrictId',
    district_name varchar2(80) path 'DistrictName'
    ) a,
    xmltable
    'PawsAltResults/Schools/SchoolInfo'
    passing :new.object_value
    columns
    district_id varchar2(7) path 'DistrictId',
    school_id varchar2(7) path 'SchoolId',
    school_name varchar2(80) path 'SchoolName'
    ) b
    where a.district_id = b.district_id;
    end io_ins_paws_alt_results;
    XML document:
    <?xml version="1.0" encoding="UTF-8"?>
    <PawsAltResults xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/XMLSchema http://www.k12.wy.us/public/paws-alt-results-v1.xsd" xmlns="http://www.w3.org/2001/XMLSchema">
    <Students>
    <StudentInfo>
    <StudentDemographics>
    <WiserId>12345678</WiserId>
    <FirstName>TestFirst</FirstName>
    <MiddleName>M</MiddleName>
    <LastName>TestLast</LastName>
    <BirthDate>2000-02-02</BirthDate>
    </StudentDemographics>
    <SchoolId>2222222</SchoolId>
    <SpecialEdTeacher>Test Special Ed Teacher</SpecialEdTeacher>
    <DocumentCompletedBy>
    <FirstScorer>Yes</FirstScorer>
    <SecondScorer>No</SecondScorer>
    </DocumentCompletedBy>
    <FirstScorerInfo>
    <Name>Test First Scorer</Name>
    <Email>[email protected]</Email>
    </FirstScorerInfo>
    <SecondScorerInfo>
    <Name>Test Second Scorer</Name>
    <Email>[email protected]</Email>
    </SecondScorerInfo>
    <TestRecord>
    <TestRecordId>1</TestRecordId>
    <GradeTested>08</GradeTested>
    <Subjects>
    <Subject>
    <SubjectName>Reading</SubjectName>
    <Psw>
    <Entries>
    <Entry>
    <EntryNumber>1</EntryNumber>
    <Complexity>1</Complexity>
    <Performance>2</Performance>
    <Independence>3</Independence>
    <Generalization>B</Generalization>
    </Entry>
    </Entries>
    <TotalRawScore>20</TotalRawScore>
    </Psw>
    <Spe>
    <Entries>
    <Entry>
    <EntryNumber>1</EntryNumber>
    <Items>
    <Item>
    <ItemNumber>1</ItemNumber>
    <Response>1</Response>
    </Item>
    <Item>
    <ItemNumber>2</ItemNumber>
    <Response>2</Response>
    </Item>
    </Items>
    </Entry>
    </Entries>
    <TotalRawScore>30</TotalRawScore>
    </Spe>
    <TasScore>10</TasScore>
    <TasPortfolioScore>20</TasPortfolioScore>
    <TasSpeScore>15</TasSpeScore>
    <OverallTotalRawScore>50</OverallTotalRawScore>
    <OverallPerformanceLevel>3</OverallPerformanceLevel>
    </Subject>
    </Subjects>
    </TestRecord>
    </StudentInfo>
    </Students>
    <Districts>
    <DistrictInfo>
    <DistrictId>1111111</DistrictId>
    <DistrictName>Test District Name</DistrictName>
    </DistrictInfo>
    </Districts>
    <Schools>
    <SchoolInfo>
    <DistrictId>1111111</DistrictId>
    <SchoolId>2222222</SchoolId>
    <SchoolName>Test School Name</SchoolName>
    </SchoolInfo>
    </Schools>
    </PawsAltResults>
    Insert statement:
    insert into paws_alt_test_results values (xmltype(bfilename('XMLDIR','test-paws-alt.xml'),nls_charset_id('AL32UTF8')));
    There are no errors shown on the insert statement. It tells me that one row was inserted, but there is no data when looking at the tables (unless I remove the attributes from the root element of the XML file).
    I'm using version 10.2.0.3
    Thanks for your help!

  • Extracting xml content in a XMLTYPE VIEW

    Experts:
    I need to create an xmltype view based on the following xml content.
    <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
    <EMPLOYEES CREATED="2013-02-06T12:33:00" xsi:noNamespaceSchemaLocation="http://supporthtml.oracle.com/TEST_SCHEMA.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <EMPLOYEE_TRANS MODE="A" emp_id="1">
      <emp_nm>SCOTT</emp_nm>
      <emp_dept>FN</emp_dept>
      <mgr>DON</mgr>
      <sal>4000</sal>
      <updt_ts>2013-02-06T12:28:00</updt_ts>
      </EMPLOYEE_TRANS>
    <EMPLOYEE_TRANS MODE="A" emp_id="2">
      <emp_nm>KEVIN</emp_nm>
      <emp_dept>HR</emp_dept>
      <mgr>MIKE</mgr>
      <sal>3000</sal>
      <updt_ts>2013-02-06T12:29:00</updt_ts>
      </EMPLOYEE_TRANS>
    </EMPLOYEES>I want to run a select statement againt this view which can give me column data in this format.
    This xml is already stored in an Oracle XMLTYPE Object Relation table which conforms to a registered xsd schema document.
    select CREATED, MODE, EMP_ID, emp_nm, emp_dept, mgr, sal, updt_ts from employees_view.
    Result:
    2013-02-06T12:33:00 A 1 SCOTT FN DON  4000 2013-02-06T12:28:00
    2013-02-06T12:33:00 A 2 KEVIN HR MIKE 3000 2013-02-06T12:29:00How can I achieve this? I tried by getting various errors. I would appreciate if someone can send me a sample
    11.2.0.3
    Linux
    XMLDBThanks
    Kevin
    Edited by: Kevin_K on Feb 6, 2013 9:54 AM
    Edited by: Kevin_K on Feb 6, 2013 9:55 AM

    I guess the above makes a regular relational view? correct?Yes.
    How can I extract the of CREATED attribute from the top most employees element and attributes "MODE" and "emp_id" from EMPLOYEE_TRANS element ? You have to use a two-level approach :
    SQL> select x1.created, x2.*
      2  from EMPLOYEES_OR_TABLE t
      3     , xmltable('/EMPLOYEES'
      4         passing t.object_value
      5         columns created timestamp path '@CREATED'
      6               , emps    xmltype   path 'EMPLOYEE_TRANS'
      7       ) x1
      8     , xmltable('/EMPLOYEE_TRANS'
      9         passing x1.emps
    10         columns emp_mode varchar2(1)  path '@MODE'
    11               , emp_id   number       path '@emp_id'
    12               , emp_nm   varchar2(30) path 'emp_nm'
    13               , updt_ts  timestamp    path 'updt_ts'
    14       ) x2 ;
    CREATED                     EMP_MODE     EMP_ID EMP_NM                         UPDT_TS
    06/02/13 12:33:00,000000    A                 1 SCOTT                          06/02/13 12:28:00,000000
    06/02/13 12:33:00,000000    A                 2 KEVIN                          06/02/13 12:29:00,000000
    The first XMLTable x1 extracts top-level information, then passes the collection of EMPLOYEE_TRANS elements to a second XMLTable that breaks each item in separate rows and columns.
    It's also possible to use a single XMLTable, but with a little more complex XQuery expression.

  • How can I automate creation of various thumbnails of an image with different filenames?

    I load an image, SampleA.jpg.  I want to automate creation of different sized thumbnails, one that is 640x360 and called SampleA iStock.jpg, and one that is 360x203 and called SampleA Revostock.jpg.  I want these files to be stored in the same directory as the source image.
    To my knowledge actions cannot do this because they hardwire the directory used when recording the action.
    I've also looked into scripts and batch processing and can't figure out how they can accomplish this.
    If anyone could list a simple step by step instruction how I can do this I would be very appreciative!

    I would recommend you post on the Photoshop Scripting Forum when you have questions regarding Photoshop Scripting.
    http://forums.adobe.com/community/photoshop/photoshop_scripting?view=discussions

  • Automatic Creation of PO by workflow once PR is released.

    Hi All,
    Can anybody explain the details steps for creation of workflow template if PR is released then automatic creation of PO needs to be created with reference to PR.?
    Thanks,
    Ravi

    You can take a look at standard Workflow WS20000075(PO). Regarding your requirement most probably you need to do some configuration. In SRM this is possible once a Shopping Cart is completed it can be converted to a PO.
    Thanks
    Arghadip

  • Automatic creation of rfq against pr reference?

    dear mm experts,
    i would like to know whether std sap - mm allows automatic creation of rfq against pr reference.
    i have a requirement user creates prs for materials, and rfq have to have to generated/created automatically after pr is saved. is this possible with std sap spro settings
    pl help
    thanks in advance
    srihari

    If you refer the same document on the following link you see that RFQ is not automatically
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm
    What does their mean automatically is
    using the assign and process you can create RFQ. but not like Auto PO using Me59n
    Creating RFQs
    To create RFQs, you must generate a basic list via Requisition ® Follow-on functions ® Assign + process.
    From the basic list, you can flag a requisition for RFQ processing. Select a requisition and choose Edit ® Flag for RFQ ® With vendor or Without vendor.
    Choose Goto ® Assignment overview to access the assignment overview screen. Position the cursor on the text Flagged for RFQ processing and choose Edit ® Process assignment.
    A dialog box for the creation of RFQs appears.
    Enter the deadline for submission of quotations and check other relevant data, such as the purchasing organization.
    When you press ENTER, you will obtain an overview of the purchase requisitions that have been flagged for RFQ processing.
    Select the items that are to be adopted in the RFQ.
    Adopt the selected items in the RFQ.
    u2013 If you wish to change the selected items before adopting them, choose Edit ® Selections ® Adopt + details. The relevant item detail screens will then appear, allowing you to make the desired changes.
    u2013 To adopt the selected items without changes, choose Edit ® Selections ® Adopt.
    The item overview for the RFQ to be created is displayed with the adopted items.
    If you have flagged the requisition for RFQ processing without a vendor, or if you wish to issue RFQs to another vendor, assign the RFQ to a vendor and save the document.
    Repeat this process for each vendor to whom the RFQ is to be issued.
    For more information on the creation of RFQs, refer to the section Creating RFQs.

Maybe you are looking for

  • I restored my ipod touch to factory settings, i reimported my saved music library and they show in itunes, but there are no song on my ipod

    I restored my ipod touch to factory settings, i reimported my saved music library and they show in itunes, but there are no song on my ipod when i sync it and itunes is showing my ipod as previously named but it does not seem to be transferring to th

  • Photos on my iPod and Windows/Mac issue

    A friend of a friend is selling . . . APPLE iPOD Video 30Gb (5th generation) So, two questions: if it has been used in conjunction with a Windows-based PC is this likely to give me grief if I wish to use it with my Mac? or will it need reformatting a

  • Help requested... Safari has stopped working

    Safari opens but will time out before opening a web-page... the message I get is "Safari could not open the page 'http://www.ireland.com/' because the server stopped responding". I get this message for all pages I try to open. I've had to have Firefo

  • Project Variable limitation in Oracle 11G BPM

    hi, Is there any limitation with Oracle 11G BPM on the number of project variable that can be created for a given BPMN processs ?? example , instance is not getting created if the number of int Project variable is more than 10. If there are 10 INT pr

  • Outlook contacts

    Am setting up iPhone for my Dad and he uses a PC. Where exactly in Outlook are the contacts saved? Seems to have ordered them rather strangely but can't find where they are stored in order to alter them. Thanks.