Picking up the corresponding records from the xml.

Hi All,
I want to create a xsl file which will give on line results as and when i selects the criteria.
Do any of you have any code which clarifies how this is done?
Regards,
Kulkarni
null

You unfortunately don't provide enough specifics to directly suggest something, but you might want to check out the Building Oracle XML Applications for lots of examples in this general area of functionality.
If you post more specific info, we might be able to suggest something more specific.
Thanks.

Similar Messages

  • UWL - not picking up the XML config

    Hi All,
    we have a UWL Application in the UWL Adminstration for the configuration Purpose i need to upload the XML Configuration file. it not picking up the XML Configuration
    can any one reslove this Please.
    Thanks and Regards
    Dileep
    Edited by: Dileep P on Feb 12, 2008 5:59 PM

    Dileep,
    Whenever you upload a new configuration, you will need to clear out UWL cache.
    Please go to "System Administration - > System Configuration -> Universal Work list & Workflow -> Universal Workflow Administration -> Click on cache administration page -> Choose system -> Click "Clear Cache" button.
    Chintan

  • Forms pulling Multiple Records from an XML Schema and XML data files - Adobe LiveCycle Designer

    I built a form in Adobe LiveCycle with an xml schema and data file.  The problem is with how the form renders the xml data file.
    I have a statement element that consists of about 6 fields (statementID, statementName, statementAddress, statementCountry, statementZip, statementDate, etc) of data in the schema that allows for multiple iterations - so one xml data file can contain multiple statements. These fields allow for null values.
    But here's the problem:  When any of the statements - say statement 2 of 6 - has a null value in one of the fields, if the xml data file doesn't have a placeholder
    (example of placeholder:  <statementName type="String"/>   )in the xml for that field, my form pulls the field value from the NEXT statement.
    This corrupts all the rest of the statement records, as this field is shifted up for all the rest.
    I know that in the past I haven't needed a placeholder when a field was null. But I'm wondering if when the data allows for multiple records the xml data file needs to generate the placeholder.  And where is the problem? In the Schema? The xml data file? My form?  And the 64-thousand-dollar question:  How to fix it?

    If your <statement> element is the one that repeats, it should be bound to a subform with the binding string of something like $.statement[*]. Then in that subform should be your fields and they should have bindings of $.statementID, $.statementName, $.statementAddress, etc.
    Kyle

  • Inserting parent /child records from a xml file ...

    XML file pasted below:
    I have loaded the xml file into a table called xml_demo which has a column xml_data of type xmltype.
    The select for parent record is as follows and it works:
    INSERT INTO balit_submissions (balitdoc, documentversion, datetime_from,job_id, status,creation_datetime)
    (SELECT 'MOL'
    ,to_number(extract(x.xml_data,'/MolDocument/DocumentVersion/@v'))
    ,to_date(substr(extract(x.xml_data,'/MolDocument/ValidTimeInterval/@v'),1,16),
    'yyyy-mm-dd"T"hh24:mi')
    ,123456
    ,'CREATED',
    NULL
    FROM xml_DEMO x WHERE
    existsnode(x.xml_data,'/MolDocument/DocumentIdentification[@v="MOL_20100331_1500_1600"]') = 1)
    Having problem creating child records. From this file I expect to create 3 records.
    insert into balit_energy_blocks
    SO_ID,
    DATETIME_FROM,
    DIRECTION,
    BLOCK_NUMBER,
    ENERGY,
    LAST_SUBMIT_DATETIME,
    PRICE_POUNDS,
    PRICE_EUROS,
    BALIT_REF,
    STATUS,
    LAST_EDIT_DATETIME,
    MOL_REASON,
    ACQUIRING_SO_AREA)
    (SELECT 'RTE'
    ,to_date(substr(extract(x.xml_data,'/MolDocument/ValidTimeInterval/@v'),1,16),
    'yyyy-mm-dd"T"hh24:mi')
    ,DECODE(extract(x.xml_data,'/MolDocument/MolTimeSeries/Direction/@v'),'AO1','Up','Down')
    ,to_number(substr(extract(x.xml_data,'/MolDocument/MolTimeSeries/ContractIdentification/@v'),19))
    ,to_number(extract(x.xml_data,'/MolDocument/MolTimeSeries/Period/Interval/EnergyPrice/@v'))
    ,sysdate
    ,null -- price pounds
    ,null -- price euro
    ,extract(x.xml_data,'/MolDocument/MolTimeSeries/ContractIdentification/@v')
    ,'SUBMITTED'
    ,'A96'
    ,NULL -- acquiring area
    ,sysdate
    FROM xml_DEMO x WHERE
    existsnode(x.xml_data,'/MolDocument/DocumentIdentification[@v="MOL_20100331_1500_1600"]') = 1)
    For example, there are 3 ContractIdentification tags. Example of 1:
    <ContractIdentification v="RTE_20100331_1500_16"/>
    I was expecting this select to pluck the last number from this string. In this case 16.
    The select was:
    to_number(substr(extract(x.xml_data,'/MolDocument/MolTimeSeries/ContractIdentification/@v'),19))
    The result I got was:
    16RTE_20100331_1500_20NG_20100331_1500_6
    All contractident values are concatnated and returns from position 19 onwards.
    Can anyone help me to extract the last number from each ContractIdentification tag value and to create the 3 records
    Thanks
    James Sathiaraj
    <?xml version="1.0" encoding="UTF-8"?>
    <MolDocument DtdVersion="3" DtdRelease="0">
    <DocumentIdentification v="MOL_20100331_1500_1600"/>
    <DocumentVersion v="1"/>
    <DocumentType v="A43"/>
    <SenderIdentification codingScheme="A01" v="17X100Z100Z0001H"/>
    <SenderRole v="A35"/>
    <ReceiverIdentification codingScheme="A01" v="10XFR-RTE------Q"/>
    <ReceiverRole v="A04"/>
    <CreationDateTime v="2010-03-31T14:10:00Z"/>
    <ValidTimeInterval v="2010-03-31T15:00Z/2010-03-31T16:00Z"/>
    <Domain codingScheme="A01" v="10YDOM-1001A001A"/>
    <MolTimeSeries>
    <ContractIdentification v="RTE_20100331_1500_16"/>
    <ResourceProvider codingScheme="A01" v="10XFR-RTE------Q"/>
    <AcquiringArea codingScheme="A01" v="17Y100Z100Z00013"/>
    <ConnectingArea codingScheme="A01" v="10YFR-RTE------C"/>
    <AuctionIdentification v="AUCTION_20100331_1500_1600"/>
    <BusinessType v="A10"/>
    <BidTimeInterval v="2010-03-31T15:00Z/2010-03-31T16:00Z"/>
    <MeasureUnitQuantity v="MAW"/>
    <Currency v="EUR"/>
    <MeasureUnitPrice v="MWH"/>
    <Direction v="A02"/>
    <MinimumActivationQuantity v="50"/>
    <Status v="A06"/>
    <Period>
    <TimeInterval v="2010-03-31T15:00Z/2010-03-31T16:00Z"/>
    <Resolution v="PT60M"/>
    <Interval>
    <Pos v="1"/>
    <Qty v="50"/>
    <EnergyPrice v="50.45"/>
    </Interval>
    </Period>
    </MolTimeSeries>
    <MolTimeSeries>
    <ContractIdentification v="RTE_20100331_1500_20"/>
    <ResourceProvider codingScheme="A01" v="10XFR-RTE------Q"/>
    <AcquiringArea codingScheme="A01" v="17Y100Z100Z00013"/>
    <ConnectingArea codingScheme="A01" v="10YFR-RTE------C"/>
    <AuctionIdentification v="AUCTION_20100331_1500_1600"/>
    <BusinessType v="A10"/>
    <BidTimeInterval v="2010-03-31T15:00Z/2010-03-31T16:00Z"/>
    <MeasureUnitQuantity v="MAW"/>
    <Currency v="EUR"/>
    <MeasureUnitPrice v="MWH"/>
    <Direction v="A02"/>
    <MinimumActivationQuantity v="50"/>
    <Status v="A06"/>
    <Period>
    <TimeInterval v="2010-03-31T15:00Z/2010-03-31T16:00Z"/>
    <Resolution v="PT60M"/>
    <Interval>
    <Pos v="1"/>
    <Qty v="50"/>
    <EnergyPrice v="50.48"/>
    </Interval>
    </Period>
    </MolTimeSeries>
    <MolTimeSeries>
    <ContractIdentification v="NG_20100331_1500_6"/>
    <ResourceProvider codingScheme="A01" v="10X1001A1001A515"/>
    <AcquiringArea codingScheme="A01" v="17Y100Z100Z00013"/>
    <ConnectingArea codingScheme="A01" v="10YGB----------A"/>
    <AuctionIdentification v="AUCTION_20100331_1500_1600"/>
    <BusinessType v="A10"/>
    <BidTimeInterval v="2010-03-31T15:00Z/2010-03-31T16:00Z"/>
    <MeasureUnitQuantity v="MAW"/>
    <Currency v="EUR"/>
    <MeasureUnitPrice v="MWH"/>
    <Direction v="A01"/>
    <MinimumActivationQuantity v="50"/>
    <Status v="A06"/>
    <Period>
    <TimeInterval v="2010-03-31T15:00Z/2010-03-31T16:00Z"/>
    <Resolution v="PT60M"/>
    <Interval>
    <Pos v="1"/>
    <Qty v="50"/>
    <EnergyPrice v="17.0"/>
    </Interval>
    </Period>
    </MolTimeSeries>
    </MolDocument>

    Hi,
    The result I got was:
    16RTE_20100331_1500_20NG_20100331_1500_6In the query you tried, you access a single record so you can't expect to get three rows "magically". The EXTRACT function just works as expected, it extracts the requested nodes, but the result is still an XML fragment (a scalar value).
    In order to achieve your goal, you have to break the MolTimeSeries sequence into relational rows.
    Two similar solutions are possible, XMLTable (10gR2 and up) or Table/XMLSequence.
    In your other post you mentioned db version 10.1, so I guess we'll go with XMLSequence :
    SELECT 'RTE'
           ,to_date(substr(extractvalue(x.xml_data,'/MolDocument/ValidTimeInterval/@v'),1,16),'yyyy-mm-dd"T"hh24:mi')
           ,decode(extractvalue(x2.column_value,'/MolTimeSeries/Direction/@v'),'A01','Up','Down')
           ,to_number(regexp_substr(extractvalue(x2.column_value,'/MolTimeSeries/ContractIdentification/@v'),'\d+$'))
           ,to_number(extractvalue(x2.column_value,'/MolTimeSeries/Period/Interval/EnergyPrice/@v'))
           ,sysdate
           ,null
           ,null
           ,extractvalue(x2.column_value,'/MolTimeSeries/ContractIdentification/@v')
           ,'SUBMITTED'
           ,'A96'
           ,null
           ,sysdate
    FROM xml_demo x,
         table(
           xmlsequence(
             extract(x.xml_data, '/MolDocument/MolTimeSeries')
         ) x2
    WHERE existsnode(x.xml_data,'/MolDocument/DocumentIdentification[@v="MOL_20100331_1500_1600"]') = 1;Please also note the use of REGEXP_SUBSTR instead of the regular SUBSTR because it didn't work for "NG_20100331_1500_6".
    Hope that helps.
    Edited by: odie_63 on 24 juin 2010 21:18 - added regexp comment

  • How to fetch corresponding records from 2 tables using ADF Toplink & EJB

    Hi,
    I am unable to fetch records from 2 tables, which has a foregin key.Used the custom query in toplink, But the output is the cartition of the first table draged and the first row of the second table.The output required should be in the form of ADF Table. I am able to find the output in JSF data table.
    Two tables:
    Table name:Solutions
    sol_id varchar2(PK)
    sol_name varchar2
    Table name:Solution_details
    sol_id varchar2(FK)
    common_asum_id varchar2(PK)
    common_detail varchar2
    Output Required:
    sol_id,sol_name,common_asum_id,common_detail
    Custom query:
    SELECT * FROM solutions a
    ,solution_details b
    WHERE a.sol_id=b.sol_id

    Hi,
    I am unable to fetch records from 2 tables, which has a foregin key.Used the custom query in toplink, But the output is the cartition of the first table draged and the first row of the second table.The output required should be in the form of ADF Table. I am able to find the output in JSF data table.
    Two tables:
    Table name:Solutions
    sol_id varchar2(PK)
    sol_name varchar2
    Table name:Solution_details
    sol_id varchar2(FK)
    common_asum_id varchar2(PK)
    common_detail varchar2
    Output Required:
    sol_id,sol_name,common_asum_id,common_detail
    Custom query:
    SELECT * FROM solutions a
    ,solution_details b
    WHERE a.sol_id=b.sol_id

  • Extracting records from an XML

    Hi All,
    I have an XML in this format.
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <pm testval="1" xmlns:xsi="http://urltest">
    <mid>15</mid>
    <mname>Info</mname>
    <mrid>145</mrid>
    <fs id="11">
    <fd>
    <fd-id>73</fd-id>
    <pfd>23</pfd>
    <pfn>Test descr1</pfn>
    <pft>Type1</pft>
    <z>
    <pfzd/>
    <pfzn>67.7</pfzn>
    <pfx>4444</pfx>
    </z>
    </fd>
    <fd>
    <fd-id>88</fd-id>
    <pfd>552</pfd>
    <pfn>Test Descr2</pfn>
    <pft>Type3</pft>
    <z>
    <pfzd>523</pfzd>
    <pfzn>532</pfzn>
    <pfx>555</pfx>
    </z>
    </fd>
    </fs>
    <fs id="22">
    <fd>
    <fd-id>73</fd-id>
    <pfd>23</pfd>
    <pfn>Test descr1</pfn>
    <pft>Type1</pft>
    <z>
    <pfzd/>
    <pfzn>67.7</pfzn>
    <pfx>4444</pfx>
    </z>
    </fd>
    <fd>
    <fd-id>88</fd-id>
    <pfd>552</pfd>
    <pfn>Test Descr2</pfn>
    <pft>Type3</pft>
    <z>
    <pfzd>523</pfzd>
    <pfzn>532</pfzn>
    <pfx>555</pfx>
    </z>
    </fd>
    </fd>
    <fd>
    <fd-id>89</fd-id>
    <pfd>552</pfd>
    <pfn>Test Descr2</pfn>
    <pft>Type3</pft>
    <z>
    <pfzd>523</pfzd>
    <pfzn>532</pfzn>
    <pfx>555d</pfx>
    </z>
    </fd>
    </fs>
    <pm/>
    And I would want the output in this format.
    mid mname mrid fs fd-id pfd pfn pft pfzd pfzn pfx
    15 Info 145 11 73 23 Test Descr1 Type1 67.7 4444
    15 Info 145 11 88 552 Test Descr2 Type3 523 532 555
    15 Info 145 22 73 23 Test Descr1 Type1 67.7 4444
    15 Info 145 22 88 552 Test Descr2 Type3 523 532 555
    15 Info 145 2 2 89 552 Test Descr2 Type3 523 532 555d
    Could you help.

    Solution is something like this...
    SELECT extractValue(p.xml,'/pm/mid/text()') mid,
    extractValue(p.xml,'/pm/mname/text()') mname,
    extractValue(p.xml,'/pm/mrid/text()') mrid,
    extractValue(x.column_value,'/fs/@id') fsid,
    extractValue(y.column_value,'/fd/fd-id/text()') fd_id,
    extractValue(y.column_value,'/fd/pfd/text()') pfd,
    extractValue(y.column_value,'/fd/pfn/text()') pfn,
    extractValue(y.column_value,'/fd/pft/text()') pft,
    extractValue(z1.column_value,'/z/pfzd/text()') pfzd,
    extractValue(z1.column_value,'/z/pfzn/text()') pfzn,
    extractValue(z1.column_value,'/z/pfzn/text()') pfx,
    FROM xml_table p,
    TABLE(XMLSequence(extract(p.xml,'/pm/fs','xmlns:xsi="http://urltest"'))) x,
    TABLE(XMLSequence(extract(x.column_value,'/fs/fd','xmlns:xsi="http://urltest"'))) (+) y,
    TABLE(XMLSequence(extract(y.column_value,'fd/pft/z','xmlns:xsi="http://urltest"')))(+) z1

  • Oralce B2B 10g unable to delete the xml from ftp folder

    Hi,
    Oracle B2B is polling in to a ftp folder which is located on different IP.
    After picking-up the xml from this folder, b2b should delete the xml but, it is unable to delete the xml.
    and as a result same xml is picked-up multiple times. could you please help us here?
    Regards

    Manually I am able to delete the xml from thr FTP folder
    Also below is the text of b2b-idc log generated
    2012.06.06 at 13:46:00:296: B2BStarter thread: (DEBUG) TransportProperties.TransportProperties():markerbasedpoll=false;file.receiver.wallet_location=/etc/ORACLE/WALLETS/ows/ewallet.p12;file.receiver.polling_interval=5;file.receiver.path=/wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound;file.receiver.marker=false;marker=false;ccc=false;filename_separator=-;file.receiver.channel_mask=None;port=21;file.receiver.minimum_age=0;filename_format=%TO_PARTY%-%SERVICE%-%ACTIONNAME%-%INREPLYTO_MSG_ID%.xml;file.receiver.van=false;keep_connections=false;file.sender.channel_mask=None;file.receiver.user=gsb2bdA;file.receiver.archive_dir=null;file.receiver.markerbasedpoll=false;file.receiver.password=******;file.receiver.preserve_filename=false;transport_callout_waittime=30;preserve_filename=false;file.receiver.keep_connections=false;file.receiver.ccc=false;van=false;polling_interval=5;
    2012.06.06 at 13:46:00:336: B2BStarter thread: (DEBUG) initialize TransportReceiver: [PG_Transport_Server_new < ftp > < CIT >]
    2012.06.06 at 13:46:00:338: B2BStarter thread: (DEBUG) FileReceiver.init() started ....
    2012.06.06 at 13:46:00:375: B2BStarter thread: (DEBUG) FTPAgent.login(): Enter
    2012.06.06 at 13:46:00:377: B2BStarter thread: (DEBUG) Host name is 'hwspxv006'.
    2012.06.06 at 13:46:00:484: B2BStarter thread: (DEBUG) Host hwspxv006 FTP command: USER gsb2bdA
    2012.06.06 at 13:46:00:486: B2BStarter thread: (DEBUG) FTP Command: USER, reply:
    331 Password required for gsb2bdA.
    2012.06.06 at 13:46:00:488: B2BStarter thread: (DEBUG) Host hwspxv006 FTP command: PASS
    2012.06.06 at 13:46:00:903: B2BStarter thread: (DEBUG) FTP Command: PASS, reply:
    230-Please read the file README-btwlutils.txt230- it was last modified on Wed Jul 1 17:09:58 2009 - 1071 days ago230 User gsb2bdA logged in.
    2012.06.06 at 13:46:00:908: B2BStarter thread: (DEBUG) FTPAgent.login(): Exit
    2012.06.06 at 13:46:00:910: B2BStarter thread: (DEBUG) Disconnecting from hwspxv006
    2012.06.06 at 13:46:00:979: B2BStarter thread: (DEBUG) Host hwspxv006 disconnected.
    2012.06.06 at 13:46:01:003: B2BStarter thread: (DEBUG) FileReceiver.init() completed.
    2012.06.06 at 13:46:01:004: Thread-13: (DEBUG) FTPAgent.login(): Enter
    2012.06.06 at 13:46:01:006: Thread-13: (DEBUG) Host name is 'hwspxv006'.
    2012.06.06 at 13:46:01:077: Thread-13: (DEBUG) Host hwspxv006 FTP command: USER gsb2bdA
    2012.06.06 at 13:46:01:079: Thread-13: (DEBUG) FTP Command: USER, reply:
    331 Password required for gsb2bdA.
    2012.06.06 at 13:46:01:080: Thread-13: (DEBUG) Host hwspxv006 FTP command: PASS
    2012.06.06 at 13:46:01:356: Thread-13: (DEBUG) FTP Command: PASS, reply:
    230-Please read the file README-btwlutils.txt230- it was last modified on Wed Jul 1 17:09:58 2009 - 1071 days ago230 User gsb2bdA logged in.
    2012.06.06 at 13:46:01:357: Thread-13: (DEBUG) FTPAgent.login(): Exit
    2012.06.06 at 13:46:01:359: Thread-13: (DEBUG) Host hwspxv006 FTP command: PASV
    2012.06.06 at 13:46:01:361: Thread-13: (DEBUG) FTP Command: PASV, reply:
    227 Entering Passive Mode (147,149,200,111,175,184)
    2012.06.06 at 13:46:01:362: Thread-13: (DEBUG) Passive: ip = 147.149.200.111, port = 44984
    2012.06.06 at 13:46:01:364: Thread-13: (STATUS) Connecting to hwspxv006:44984
    2012.06.06 at 13:46:01:366: Thread-13: (DEBUG) Host hwspxv006 FTP command: NLST //wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound
    2012.06.06 at 13:46:01:368: Thread-13: (DEBUG) FTP Command: NLST, reply:
    150 Opening ASCII mode data connection for file list.
    2012.06.06 at 13:46:01:375: Thread-13: (DEBUG) Disconnecting from hwspxv006
    2012.06.06 at 13:46:01:377: Thread-13: (DEBUG) Host hwspxv006 disconnected.
    2012.06.06 at 13:46:01:380: Thread-13: (DEBUG) [IPT_FileRecMonitorProcessFile] Processing file BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml in transport layer.
    2012.06.06 at 13:46:01:381: Thread-13: (DEBUG) FTPAgent.login(): Enter
    2012.06.06 at 13:46:01:383: Thread-13: (DEBUG) Host name is 'hwspxv006'.
    2012.06.06 at 13:46:01:447: Thread-13: (DEBUG) Host hwspxv006 FTP command: USER gsb2bdA
    2012.06.06 at 13:46:01:448: Thread-13: (DEBUG) FTP Command: USER, reply:
    331 Password required for gsb2bdA.
    2012.06.06 at 13:46:01:450: Thread-13: (DEBUG) Host hwspxv006 FTP command: PASS
    2012.06.06 at 13:46:01:726: Thread-13: (DEBUG) FTP Command: PASS, reply:
    230-Please read the file README-btwlutils.txt230- it was last modified on Wed Jul 1 17:09:58 2009 - 1071 days ago230 User gsb2bdA logged in.
    2012.06.06 at 13:46:01:731: Thread-13: (DEBUG) FTPAgent.login(): Exit
    2012.06.06 at 13:46:01:732: Thread-13: (DEBUG) Host hwspxv006 FTP command: CWD //wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound
    2012.06.06 at 13:46:01:771: Thread-13: (DEBUG) FTP Command: CWD, reply:
    250 CWD command successful.
    2012.06.06 at 13:46:01:773: Thread-13: (DEBUG) Host hwspxv006 FTP command: PASV
    2012.06.06 at 13:46:01:775: Thread-13: (DEBUG) FTP Command: PASV, reply:
    227 Entering Passive Mode (147,149,200,111,72,215)
    2012.06.06 at 13:46:01:776: Thread-13: (DEBUG) Passive: ip = 147.149.200.111, port = 18647
    2012.06.06 at 13:46:01:778: Thread-13: (STATUS) Connecting to hwspxv006:18647
    2012.06.06 at 13:46:01:787: Thread-13: (DEBUG) Host hwspxv006 FTP command: TYPE I
    2012.06.06 at 13:46:01:789: Thread-13: (DEBUG) FTP Command: TYPE, reply:
    200 Type set to I.
    2012.06.06 at 13:46:01:790: Thread-13: (DEBUG) Host hwspxv006 FTP command: RETR BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml
    2012.06.06 at 13:46:01:793: Thread-13: (DEBUG) FTP Command: RETR, reply:
    150 Opening BINARY mode data connection for BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml (2257 bytes).
    2012.06.06 at 13:46:01:796: Thread-13: (DEBUG) Disconnecting from hwspxv006
    2012.06.06 at 13:46:01:798: Thread-13: (DEBUG) Host hwspxv006 disconnected.
    2012.06.06 at 13:46:01:834: Thread-13: (DEBUG) Conversion of file BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml to TransportMessage is completed.
    2012.06.06 at 13:46:17:355: Thread-13: (DEBUG) Move file to archive null
    2012.06.06 at 13:46:17:356: Thread-13: (DEBUG) FileSourceMonitor.moveFile(MessageOrigin): begin to move BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml in //wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound to null
    2012.06.06 at 13:46:17:359: Thread-13: (DEBUG) Host name is 'hwspxv006'.
    2012.06.06 at 13:46:17:462: Thread-13: (DEBUG) Host hwspxv006 FTP command: USER gsb2bdA
    2012.06.06 at 13:46:17:464: Thread-13: (DEBUG) FTP Command: USER, reply:
    331 Password required for gsb2bdA.
    2012.06.06 at 13:46:17:466: Thread-13: (DEBUG) Host hwspxv006 FTP command: PASS
    2012.06.06 at 13:46:18:051: Thread-13: (DEBUG) FTP Command: PASS, reply:
    230-Please read the file README-btwlutils.txt230- it was last modified on Wed Jul 1 17:09:58 2009 - 1071 days ago230 User gsb2bdA logged in.
    2012.06.06 at 13:46:18:055: Thread-13: (DEBUG) Host hwspxv006 FTP command: CWD //wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound
    2012.06.06 at 13:46:18:081: Thread-13: (DEBUG) FTP Command: CWD, reply:
    250 CWD command successful.
    2012.06.06 at 13:46:18:083: Thread-13: (DEBUG) Host hwspxv006 FTP command: RNFR //wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound/BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml
    2012.06.06 at 13:46:18:084: Thread-13: (DEBUG) FTP Command: RNFR, reply:
    350 File exists, ready for destination name
    2012.06.06 at 13:46:18:086: Thread-13: (DEBUG) FTPClient.renameFrom(): 350 File exists, ready for destination name
    2012.06.06 at 13:46:18:087: Thread-13: (DEBUG) Host hwspxv006 FTP command: RNTO null/BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml
    2012.06.06 at 13:46:18:090: Thread-13: (DEBUG) FTP Command: RNTO, reply:
    550 rename: No such file or directory.
    2012.06.06 at 13:46:18:091: Thread-13: (DEBUG) FTPClient.renameTo(): 550 rename: No such file or directory.
    2012.06.06 at 13:46:18:092: Thread-13: (ERROR) FTPClient.renameTo(): Unable to RNTO file null/BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml', reply code = 550
    2012.06.06 at 13:46:18:093: Thread-13: (DEBUG) File has been already archived BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml in //wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound to null
    2012.06.06 at 13:46:18:094: Thread-13: (DEBUG) Moved file BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml in //wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound to null
    2012.06.06 at 13:46:18:109: Thread-13: (DEBUG) Host name is 'hwspxv006'.
    2012.06.06 at 13:46:18:190: Thread-13: (DEBUG) Host hwspxv006 FTP command: USER gsb2bdA
    2012.06.06 at 13:46:18:193: Thread-13: (DEBUG) FTP Command: USER, reply:
    331 Password required for gsb2bdA.
    2012.06.06 at 13:46:18:194: Thread-13: (DEBUG) Host hwspxv006 FTP command: PASS
    2012.06.06 at 13:46:18:471: Thread-13: (DEBUG) FTP Command: PASS, reply:
    230-Please read the file README-btwlutils.txt230- it was last modified on Wed Jul 1 17:09:58 2009 - 1071 days ago230 User gsb2bdA logged in.
    2012.06.06 at 13:46:18:474: Thread-13: (DEBUG) Host hwspxv006 FTP command: PASV
    2012.06.06 at 13:46:18:475: Thread-13: (DEBUG) FTP Command: PASV, reply:
    227 Entering Passive Mode (147,149,200,111,171,164)
    2012.06.06 at 13:46:18:477: Thread-13: (DEBUG) Passive: ip = 147.149.200.111, port = 43940
    2012.06.06 at 13:46:18:478: Thread-13: (STATUS) Connecting to hwspxv006:43940
    2012.06.06 at 13:46:18:480: Thread-13: (DEBUG) Host hwspxv006 FTP command: NLST //wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound
    2012.06.06 at 13:46:18:482: Thread-13: (DEBUG) FTP Command: NLST, reply:
    150 Opening ASCII mode data connection for file list.
    2012.06.06 at 13:46:18:483: Thread-13: (DEBUG) Disconnecting from hwspxv006
    2012.06.06 at 13:46:18:485: Thread-13: (DEBUG) Host hwspxv006 disconnected.
    2012.06.06 at 13:46:18:489: Thread-13: (DEBUG) [IPT_FileRecMonitorProcessFile] Processing file BTGS-bcRequestIncidentReportv1-rsConfirmIncidentReport-2008Dec15_12_12_12_122-Conversation-Id-READY-2009Jun23_16_37_43_625-1295541858750.xml in transport layer.
    2012.06.06 at 13:46:18:492: Thread-13: (DEBUG) Host name is 'hwspxv006'.
    2012.06.06 at 13:46:18:557: Thread-13: (DEBUG) Host hwspxv006 FTP command: USER gsb2bdA
    2012.06.06 at 13:46:18:559: Thread-13: (DEBUG) FTP Command: USER, reply:
    331 Password required for gsb2bdA.
    2012.06.06 at 13:46:18:561: Thread-13: (DEBUG) Host hwspxv006 FTP command: PASS
    2012.06.06 at 13:46:18:833: Thread-13: (DEBUG) FTP Command: PASS, reply:
    230-Please read the file README-btwlutils.txt230- it was last modified on Wed Jul 1 17:09:58 2009 - 1071 days ago230 User gsb2bdA logged in.
    2012.06.06 at 13:46:18:836: Thread-13: (DEBUG) Host hwspxv006 FTP command: CWD //wls_domains/gsb2b/gsb2bdA/ART/oraclePickupPath/outbound
    2012.06.06 at 13:46:18:840: Thread-13: (DEBUG) FTP Command: CWD, reply:
    250 CWD command successful.
    Thanks

  • Sqlldr is loading only 1st record from xml document

    Hi,
    I am trying to load XML doc with multiple records using sql*loader.
    I have registered my XSD perfectly.
    This is my control file
    LOAD DATA
    INFILE *
    INTO TABLE Orders APPEND
    XMLType(xmldata)
    FIELDS(
         xmldata LOBFILE (CONSTANT FULDTL_2.xml)
    TERMINATED BY '???')
    BEGINDATA
    FULDTL_2.xml
    -- Here, what I have to give for TERMINATED BY '???'
    My xml doc
    <Order ID="146120486" Status="CL" Comments="Shipped On 08/05/2008"/>
    <Order ID="143417590" Status="CL" Comments="Handset/Device has been received at NRC" ShipDate=""/>
    sqlldr is loading only 1st record from the file.
    How can I make it to load all the records from my xml doc.
    Thanks in advance.

    thanks for both the replies above - essentially the same correct solution.
    something worth noting now that I've written and tested both a SAX solution and a DOM solution is that there is a significant (4 x) time penalty using SAX.
    I considering dividing the vector I am storing/recovering into chunks and saving each chunk separately using DOM to speed things up...
    any thoughts on this approach?

  • Performance issue loading 4000 records from XML

    Hello, Im' trying to upload in a table with the following sqlstatement records from an XML having content of this type
    <?xml version="1.0" encoding="UTF-8"?>
    <custom-objects xmlns="http://www.mysite.com/xml/impex/customobject/2006-10-31">
        <custom-object type-id="NEWSLETTER_SUBSCRIBER" object-id="[email protected]">
      <object-attribute attribute-id="customer-no"><value>BLY00000001</value></object-attribute>
      <object-attribute attribute-id="customer_type"><value>registered</value></object-attribute>
            <object-attribute attribute-id="title"><value>Mr.</value></object-attribute>
            <object-attribute attribute-id="first_name"><value>Jean paul</value></object-attribute>
            <object-attribute attribute-id="is_subscribed"><value>true</value></object-attribute>
            <object-attribute attribute-id="last_name"><value>Pennati Swiss</value></object-attribute>
            <object-attribute attribute-id="address_line_1"><value>newsletter ADDRESS LINE 1 data</value></object-attribute>
            <object-attribute attribute-id="address_line_2"><value>newsletter ADDRESS LINE 2 data</value></object-attribute>
            <object-attribute attribute-id="address_line_3"><value>newsletter ADDRESS LINE 3 data</value></object-attribute>
            <object-attribute attribute-id="housenumber"><value>newsletter HOUSENUMBER data</value></object-attribute>
            <object-attribute attribute-id="city"><value>newsletter DD</value></object-attribute>
            <object-attribute attribute-id="post_code"><value>6987</value></object-attribute>
            <object-attribute attribute-id="state"><value>ASD</value></object-attribute>
            <object-attribute attribute-id="country"><value>ES</value></object-attribute>
            <object-attribute attribute-id="phone_home"><value>0044 1234567 newsletter phone_home</value></object-attribute>
            <object-attribute attribute-id="preferred_locale"><value>fr_CH</value></object-attribute>
            <object-attribute attribute-id="exported"><value>true</value></object-attribute>
            <object-attribute attribute-id="profiling"><value>true</value></object-attribute>
            <object-attribute attribute-id="promotions"><value>true</value></object-attribute>
            <object-attribute attribute-id="source"><value>https://www.mysite.com</value></object-attribute>
            <object-attribute attribute-id="source_ip"><value>10.10.1.1</value></object-attribute>
            <object-attribute attribute-id="pr_product_serial_number"><value>000123345678 product serial no.</value></object-attribute>
            <object-attribute attribute-id="pr_purchased_from"><value>Store where product to be registered was purchased</value></object-attribute>
            <object-attribute attribute-id="pr_date_of_purchase"><value></value></object-attribute>
            <object-attribute attribute-id="locale"><value>fr_CH</value></object-attribute> 
        </custom-object>
        <custom-object type-id="NEWSLETTER_SUBSCRIBER" object-id="[email protected]">
       <object-attribute attribute-id="customer-no"><value></value></object-attribute>
       <object-attribute attribute-id="customer_type"><value>unregistered</value></object-attribute>
            <object-attribute attribute-id="title"><value>Mr.</value></object-attribute>
            <object-attribute attribute-id="first_name"><value>Jean paul</value></object-attribute>
            <object-attribute attribute-id="is_subscribed"><value>true</value></object-attribute>
            <object-attribute attribute-id="last_name"><value>Pennati Swiss</value></object-attribute>
            <object-attribute attribute-id="address_line_1"><value>newsletter ADDRESS LINE 1 data</value></object-attribute>
            <object-attribute attribute-id="address_line_2"><value>newsletter ADDRESS LINE 2 data</value></object-attribute>
            <object-attribute attribute-id="address_line_3"><value>newsletter ADDRESS LINE 3 data</value></object-attribute>
            <object-attribute attribute-id="housenumber"><value>newsletter HOUSENUMBER data</value></object-attribute>
            <object-attribute attribute-id="city"><value>newsletter CASLANO</value></object-attribute>
            <object-attribute attribute-id="post_code"><value>6987</value></object-attribute>
            <object-attribute attribute-id="state"><value>TICINO</value></object-attribute>
            <object-attribute attribute-id="country"><value>CH</value></object-attribute>
            <object-attribute attribute-id="phone_home"><value>0044 1234567 newsletter phone_home</value></object-attribute>
            <object-attribute attribute-id="preferred_locale"><value>fr_CH</value></object-attribute>
            <object-attribute attribute-id="exported"><value>true</value></object-attribute>
            <object-attribute attribute-id="profiling"><value>true</value></object-attribute>
            <object-attribute attribute-id="promotions"><value>true</value></object-attribute>
            <object-attribute attribute-id="source"><value>https://www.mysite.com</value></object-attribute>
            <object-attribute attribute-id="source_ip"><value>85.219.17.170</value></object-attribute>
            <object-attribute attribute-id="pr_product_serial_number"><value>000123345678 product serial no.</value></object-attribute>
            <object-attribute attribute-id="pr_purchased_from"><value>Store where product to be registered was purchased</value></object-attribute>
            <object-attribute attribute-id="pr_date_of_purchase"><value></value></object-attribute>
            <object-attribute attribute-id="locale"><value>fr_CH</value></object-attribute> 
        </custom-object>
    </custom-objects>
    I use the following sequence of queries below to do the insert (XML_FILE is passed to the procedure as XMLType) 
    INSERT INTO DW_CUSTOMER.NEWSLETTERS (
       BRANDID,
       CUSTOMER_EMAIL,
       DW_WEBSITE_TAG
    Select
    p_brandid as BRANDID,
    CUSTOMER_EMAIL,
    p_website
    FROM
    (select XML_FILE from dual) p,
    XMLTable(
    xmlnamespaces(default 'http://www.mysite.com/xml/impex/customobject/2006-10-31'),
    '/custom-objects/custom-object' PASSING p.XML_FILE
    COLUMNS
    customer_email PATH '@object-id'
    ) CUSTOMER_LEVEL1;
    INSERT INTO DW_CUSTOMER.NEWSLETTERS_C_ATT (
       BRANDID, 
       CUSTOMER_EMAIL,
       CUSTOMER_NO, 
       CUSTOMER_TYPE,
       TITLE,
       FIRST_NAME,
       LAST_NAME,
       PHONE_HOME,
       BIRTHDAY,
       ADDRESS1,
       ADDRESS2,
       ADDRESS3,
       HOUSENUMBER,
       CITY,
       POSTAL_CODE,
       STATE,
       COUNTRY,
       IS_SUBSCRIBED,
       PREFERRED_LOCALE,
       PROFILING,
       PROMOTIONS,
       EXPORTED,
       SOURCE,
       SOURCE_IP,
       PR_PRODUCT_SERIAL_NO,
       PR_PURCHASED_FROM,
       PR_PURCHASE_DATE,
       LOCALE,
       DW_WEBSITE_TAG)
        with mainq as
            SELECT
            CUST_LEVEL1.customer_email as CUSTOMER_EMAIL,
            CUST_LEVEL2.*
            FROM
            (select XML_FILE from dual) p,
            XMLTable(
            xmlnamespaces(default 'http://www.mysite.com/xml/impex/customobject/2006-10-31'),
            '/custom-objects/custom-object' PASSING p.XML_FILE
            COLUMNS
            customer_email PATH '@object-id',
            NEWSLETTERS_C_ATT XMLType PATH 'object-attribute'
            ) CUST_LEVEL1,
            XMLTable(
            xmlnamespaces(default 'http://www.mysite.com/xml/impex/customobject/2006-10-31'),
            '/object-attribute' PASSING CUST_LEVEL1.NEWSLETTERS_C_ATT
            COLUMNS
            attribute_id PATH '@attribute-id',
            thevalue PATH 'value'
            ) CUST_LEVEL2
        select
        p_brandid
        ,customer_email
        ,nvl(max(decode(attribute_id,'customer_no',thevalue)),SET_NEWSL_CUST_ID) customer_no   
        ,max(decode(attribute_id,'customer_type',thevalue)) customer_type
        ,max(decode(attribute_id,'title',thevalue)) title
        ,substr(max(decode(attribute_id,'first_name',thevalue)) ,1,64)first_name
        ,substr(max(decode(attribute_id,'last_name',thevalue)) ,1,64) last_name
        ,substr(max(decode(attribute_id,'phone_hone',thevalue)) ,1,64) phone_hone
        ,max(decode(attribute_id,'birthday',thevalue)) birthday
        ,substr(max(decode(attribute_id,'address_line1',thevalue)) ,1,100) address_line1
        ,substr(max(decode(attribute_id,'address_line2',thevalue)) ,1,100) address_line2
        ,substr(max(decode(attribute_id,'address_line3',thevalue)) ,1,100) address_line3   
        ,substr(max(decode(attribute_id,'housenumber',thevalue)) ,1,64) housenumber
        ,substr(max(decode(attribute_id,'city',thevalue)) ,1,128) city
        ,substr(max(decode(attribute_id,'post_code',thevalue)) ,1,64) postal_code
        ,substr(max(decode(attribute_id,'state',thevalue)),1,256) state
        ,substr(max(decode(attribute_id,'country',thevalue)),1,32) country
        ,max(decode(attribute_id,'is_subscribed',thevalue)) is_subscribed
        ,max(decode(attribute_id,'preferred_locale',thevalue)) preferred_locale
        ,max(decode(attribute_id,'profiling',thevalue)) profiling
        ,max(decode(attribute_id,'promotions',thevalue)) promotions
        ,max(decode(attribute_id,'exported',thevalue)) exported   
        ,substr(max(decode(attribute_id,'source',thevalue)),1,256) source   
        ,max(decode(attribute_id,'source_ip',thevalue)) source_ip       
        ,substr(max(decode(attribute_id,'pr_product_serial_number',thevalue)),1,64) pr_product_serial_number
        ,substr(max(decode(attribute_id,'pr_purchased_from',thevalue)),1,64) pr_purchased_from   
        ,substr(max(decode(attribute_id,'pr_date_of_purchase',thevalue)),1,32) pr_date_of_purchase
        ,max(decode(attribute_id,'locale',thevalue)) locale
        ,p_website   
        from
        mainq
        group by customer_email, p_website
    I CANNOT MANAGE TO INSERT 4000 records in less than 30 minutes!
    Can you help or advise how to reduce this to reasonable timings?
    Thanks

    Simplified example on a few attributes :
    -- INSERT INTO tmp_xml VALUES ( xml_file );
    INSERT ALL
      INTO newsletters (brandid, customer_email, dw_website_tag)
      VALUES (p_brandid, customer_email, p_website)
      INTO newsletters_c_att (brandid, customer_email, customer_no, customer_type, title, first_name, last_name)
      VALUES (p_brandid, customer_email, customer_no, customer_type, title, first_name, last_name)
    SELECT o.*
    FROM tmp_xml t
       , XMLTable(
           xmlnamespaces(default 'http://www.mysite.com/xml/impex/customobject/2006-10-31')
         , '/custom-objects/custom-object'
           passing t.object_value
           columns customer_email varchar2(256) path '@object-id'
                 , customer_no    varchar2(256) path 'object-attribute[@attribute-id="customer-no"]/value'
                 , customer_type  varchar2(256) path 'object-attribute[@attribute-id="customer_type"]/value'
                 , title          varchar2(256) path 'object-attribute[@attribute-id="title"]/value'
                 , first_name     varchar2(64)  path 'object-attribute[@attribute-id="first_name"]/value'
                 , last_name      varchar2(64)  path 'object-attribute[@attribute-id="last_name"]/value'
         ) o

  • Outbound process-Picking up the file automatically

    Hi All,
          In outbound processing,we have configured to get the output file in the XML format and used the EDI_PATH_CREATE_DATE_TIME  function module in WE21 to get the output file along with the time and date.We have to pick up the XML file and do the FTP(for doing the FTP tranfer we have written one ZPROGRAM) transfer to the EDI Subsystem.The problem we are facing here is that  the created XML(along with the time and date)0utput file should be automatically picked by the ZPROGRAM written for ftp transfer.Previously we have done that by giving manually the file name as a inputparameter in the ZPROGRAM and then transfer it to the EDI Subsystem.
    Kindly give a suggestion as soon as possible.
    Thanks in advance.
    Raj.

    Hi,
    can u put the file in a standard place and the modify the zprogram to read the file in the specific location?
    Or, u can use logical files. With it, u can use custom function to construct the whole path of the filename to read.
    For more informations about logical files (and how determine the namefile runtime), u can read the in-line documentation of the file field of the trx "FILE"
    Hope it helps
    Bye
    Andrea
    Pls reward if it helps

  • How to show records from xml file

    HI All
    I have created one region its actually search region
    which having 5 items and result table region
    I want to search records based on that 5 items and want to show output in table
    I have table name as hr_api_transactions which contains lot of columns
    and that table also contain one column
    name as TRANSACTION_DOCUMENT of type CLOB()
    that columns xml files for each record
    I want to extract data from that xml file and want to display.

    I have created one region on seeded page
    in that region I have created one table for output
    that region is search region
    which having 5 items of textfield and 2 items of type submit button
    GO and Clear
    I want to search based on that 5 items
    I want to display records in table that I have created on that region
    I have one seeded table
    that contain one column
    that column contain xml file for each individual records
    that xaml file contains values what I want to display
    MY problems are
    how can I extract data from xml file?
    how can I show all values for each records on that table?
    how can I search based on that 5 items?
    now I am able to find out single value from that XML file
    by using SQL command
    select xmltype(transaction_document).extract('//IrcPostingContentsVlEORow/CreationDate/text()').getStringVal() CreationDate
    from hr_api_transactions
    where transaction_ref_table = 'PER_ALL_VACANCIES'
    and transaction_ref_id = 4693;how can I extract more than one records from that XML file

  • PO not picking up the Price from Info Record ???

    Hi,
    Pricing Procedure and the Schema Grp is defined in Schema Determination in SPRO.
    Schema Grp has been assigned in the Vendor Master.
    Price has been maintained in the PB00 condition type in the Condition Supplements screen, but shows 'Zero' in the 'Purchasing Org. Data 1' screen of Info Record.
    However, while creating PO the system does not pick up the Price from the Info Record and both the Condition Types PB00 and PBXX appears and display the Amount as 0.00 ? Also the system does not take the value entered in the 'Net Price' field and the Price can only be entered manually in the Conditon Type in the Conditions Tab ?
    Can anyone help in resolving this issue ?
    Lucky.

    Hi Lucky
    1.Routine 6
    This is an example of a pricing requirement.  This requirement is met if the condition exclusion indicator is not equal to 'X'.  <b>This requirement can be assigned to a condition type in the pricing procedure to ensure that it is not accessed when a condition record with exclusion indicator 'X' has already been found</b>.  Condition exclusion is a general tool that can be used to exclude conditions from pricing based on previous conditions that have been found in the pricing procedure.  This requirement is intended for use in MM pricing versus SD pricing.  For SD pricing, a variation of requirement '2' should be used which would also check to see if the item category is relevant for pricing
    2. You have define all your supplementory condition in supplementory pricing procedure and you have to assign this supplementory procedure to your Condition type PB00.Then all these conditions will be displayed at item level for selection in drop down.
    Since the supplementory conditions are dependent on PB00, you have assign to the PB00.
    If you maintain the values for these conditions in info record, these values will be copied from info to PO.
    Regards
    Ramakrishna

  • How to check at what time the extractor has picked records from r3 tables

    Hi experts ,
    If we want to know exactly at what time the Extractor has picked up the records from r/3 tables .
    or if we want to know the time stamp of extractor picking the records from r3 tables after r3 entries
    Regards ,
    Subash Balakrishnan

    Hi,
    The following are few function modules which will give you the information you need based upon the area you are working in.
    SD Billing: LOG_CONTENT_BILLING
       Delivery: LOG_CONTENT_DELIVERY
    Purchasing: LOG_CONTENT_PURCHASING etc...
    See if the above FMs help you in any way...

  • Insert the record from XML file to Tables.

    Hi guys,
    I ill be getting the XML file from FRONT-END.It ill be stored one permanent location(Directory).I need to Insert the data to the corresponding table.Anybody knows Pls give some suggestion for this.......
    Regards....
    GKM

    Using the Oracle XML DB Webdav are is one method as it acts like a file system, but essentially get's the documents directly into the database so they can be queried through the resouce_view.
    Other methods involve reading the file as if it's a CLOB and then using XMLTYPE constructor to change that CLOB to an XMLTYPE which can then be stored as that datatype in the database or processed as you need.
    The best place to look is over in the XML DB forum, which has it's own FAQ detailing various best practices for all sort of XML stuff, including reading XML files and shredding them into relational tables etc.
    {thread:id=410714}
    Edited by: BluShadow on 18-Jan-2012 08:53
    corrected link

  • Picking the records from IT2011.....

    Hi All,
    I am writing the report as per the clients requirement. for this i am using the IT 0007, 2010, 2011. Here i am using the LDB PNP for this report. i have declared  as below.
    INFOTYPES: 0007, 2010,2011.
    The infotypes are filling with the records which are existing in the infotype. Here even old data is also filling in the infotypes that means data other than the selected date from the selection screen.
    To avoide this i have written provide statement as follows.
    provide * from P2011  between pn-begda and pn-endda.
    but i did not get any data from the above statement. My requirement is i need to fetch the records from the IT2011 for the entered date. can anybody tell how to fetch the records from the time infotypes for entered date.
    Thanks & Regards,
    Giri.

    Hi..
    I suggest to use PNPCE LDB and use input as other perion option for selection screen
    and you will get all the recordes valid during the period which you give and the recordes will coming in to the tables 0007, 2010,2011.and just you can read or loop the table.
    TABLES : pernr.
    INFOTYPES: 0001,
               0007,
               2011,
               2010 .
    NODES:  peras.
    TYPES : BEGIN OF ty_final,
           pernr TYPE persno,
           ename  TYPE emnam,
            PBTXT TYPE PBTXT,
            BTRTX TYPE BTRTX,
            END OF ty_final.
    DATA : it_final TYPE TABLE OF ty_final,
           wa_final TYPE ty_final.
    DATA go_table         TYPE REF TO cl_salv_table.
    START-OF-SELECTION.
    GET peras.
      SORT p0001 BY endda DESCENDING.
      READ TABLE p0001 INDEX 1.
      wa_final-pernr = p0001-pernr.
      wa_final-ename  = p0001-ename .
      CALL FUNCTION 'HRWPC_RFC_WERKS_TEXT_GET'
        EXPORTING
          werks      = p0001-werks
        IMPORTING
          werks_text = wa_final-PBTXT.
      CALL FUNCTION 'HRWPC_RFC_BTRTL_TEXT_GET'
        EXPORTING
          werks      = p0001-werks
          btrtl      = p0001-btrtl
        IMPORTING
          btrtl_text = wa_final-BTRTX.
    loop at p2010.
    endloop.
      APPEND wa_final TO it_final.
      CLEAR wa_final.
    END-OF-SELECTION.
      CALL METHOD cl_salv_table=>factory
        IMPORTING
          r_salv_table = go_table
        CHANGING
          t_table      = it_final.
      go_table->display( ).

Maybe you are looking for