Difference in extractvalue in 9.2.0.3 and 9.2.0.4

Essentially my problem is that in 9.2.0.3 (Standard Edition Database), the ExtractValue is not removing the xml tags for a select statement, whereas the 9.2.0.4 (Enterprise Edition Database) is. See below.
In 9.2.0.3 Standard Edition:
Running the following script;
1 select
2 extractValue(value(i),'/tax/batch_no'),
3 extractValue(value(i),'/tax/sequence_no'),
4 extractValue(value(i),'/tax/employee_no'),
5 extractValue(value(i),'/tax/paycode'),
6 extractValue(value(i),'/tax/taxscl')
7* from XML_TAX p, table(xmlsequence(extract(value(p),'/alesco/tax'))) i
Returns:
<batch_no>7361</batch_no>
<sequence_no>137</sequence_no>
<employee_no>2027510</employee_no>
<paycode>PAYG</paycode>
<taxscl>2</taxscl>
The problem is;
When I run the following in 9.2.0.4 Enterprise Edition, the following dataset is returned, running the same query (with slightly different data, but the tags are removed):
SQL> select
2 extractValue(value(i),'/tax/batch_no'),
3 extractValue(value(i),'/tax/sequence_no'),
4 extractValue(value(i),'/tax/employee_no'),
5 extractValue(value(i),'/tax/paycode'),
6 extractValue(value(i),'/tax/taxscl'),
7 to_date(extractValue(value(i),'/tax/start_date'),'DD/MM/YYYY')
8 from XML_TAX p, table(xmlsequence(extract(value(p),'/alesco/tax'))) i;
EXTRACTVALUE(VALUE(I),'/TAX/BATCH_NO')
EXTRACTVALUE(VALUE(I),'/TAX/SEQUENCE_NO')
EXTRACTVALUE(VALUE(I),'/TAX/EMPLOYEE_NO')
EXTRACTVALUE(VALUE(I),'/TAX/PAYCODE')
EXTRACTVALUE(VALUE(I),'/TAX/TAXSCL')
TO_DATE(E
1011
1
2000034
TAX
1
01-DEC-03
Which is correct and what I expect, as I can now use these variables as to insert etc into other tables.
Is there an issue with 9.2.0.3 as opposed to 9.2.0.4 ? Or Standard / Enterprise Edition of the databases for XDB calls?
In partially answering my question; Obviously there is a a difference, but is it documented bug anywhere, or is there a workaround?
Any advise is appreciated.

John,
I also ran your testcase
below are my results
EXTRACTVALUE(VALUE(I),'/TAX/BATCH_NO')
EXTRACTVALUE(VALUE(I),'/TAX/SEQUENCE_NO')
EXTRACTVALUE(VALUE(I),'/TAX/EMPLOYEE_NO')
EXTRACTVALUE(VALUE(I),'/TAX/PAYCODE')
EXTRACTVALUE(VALUE(I),'/TAX/TAXSCL')
7361
1
2000008
EXTRACTVALUE(VALUE(I),'/TAX/BATCH_NO')
EXTRACTVALUE(VALUE(I),'/TAX/SEQUENCE_NO')
EXTRACTVALUE(VALUE(I),'/TAX/EMPLOYEE_NO')
EXTRACTVALUE(VALUE(I),'/TAX/PAYCODE')
EXTRACTVALUE(VALUE(I),'/TAX/TAXSCL')
PAYG
2
EXTRACTVALUE(VALUE(I),'/TAX/BATCH_NO')
EXTRACTVALUE(VALUE(I),'/TAX/SEQUENCE_NO')
EXTRACTVALUE(VALUE(I),'/TAX/EMPLOYEE_NO')
EXTRACTVALUE(VALUE(I),'/TAX/PAYCODE')
EXTRACTVALUE(VALUE(I),'/TAX/TAXSCL')
7361
2
2000021
EXTRACTVALUE(VALUE(I),'/TAX/BATCH_NO')
EXTRACTVALUE(VALUE(I),'/TAX/SEQUENCE_NO')
EXTRACTVALUE(VALUE(I),'/TAX/EMPLOYEE_NO')
EXTRACTVALUE(VALUE(I),'/TAX/PAYCODE')
EXTRACTVALUE(VALUE(I),'/TAX/TAXSCL')
EXTRACTVALUE(VALUE(I),'/TAX/BATCH_NO')
EXTRACTVALUE(VALUE(I),'/TAX/SEQUENCE_NO')
EXTRACTVALUE(VALUE(I),'/TAX/EMPLOYEE_NO')
EXTRACTVALUE(VALUE(I),'/TAX/PAYCODE')
EXTRACTVALUE(VALUE(I),'/TAX/TAXSCL')
7361
3
2000023
EXTRACTVALUE(VALUE(I),'/TAX/BATCH_NO')
EXTRACTVALUE(VALUE(I),'/TAX/SEQUENCE_NO')
EXTRACTVALUE(VALUE(I),'/TAX/EMPLOYEE_NO')
EXTRACTVALUE(VALUE(I),'/TAX/PAYCODE')
EXTRACTVALUE(VALUE(I),'/TAX/TAXSCL')
PAYG
2
Based off of this can you run this query for me
select object_name,object_type
from dba_objects
where
object_name like '%EXTRACT%'
Regards
Coby D. Adams Jr.

Similar Messages

  • What is the difference between the passcode on my iPhone 5 and a password?  I am locked out of my phone.

    What is the difference between the passcode on my iPhone 5 and a password?  I am locked out of my phone.

    Not entirely sure what you are asking, but a passcode to unlock an iOS device is normally 4 digits long (so is a 4 digit code), though you can make it alphanumeric and longer (so effectively becomes a password).
    If you don't know the passcode to unlock your phone or it's showing the disabled screen then there are instructions on this page for how to reset a device : http://support.apple.com/kb/HT1212 - you should then be able to restore/resync your content to it.

  • Difference in Open Balance As per Trial Balance and General Ledger in SAP

    Dear All,
    1 ) Whle generating trial balance in SAP B1 for one Business master there is a difference in Opening Balance as per Trial Balance and as per General Ledger how ever closing balance in matching.
    Difference As follows
    Report Name      ob cr     ob dr           dr                   cr                                  CL
    General Balance          614536     19237612.34            18650320.01     1201828.33
    Trial balanceB     4521743.19          19237612.34       13514040.82     1201828.33
    Is it possible  the open balnce should be same in both report. The opening balance as per GL report is correct.
    2)  I have run the period end closing for Apr- 2010 to Mar 2011 after that I generated the traial balance for Apr-1-2011 where the opening balances for expense account  and revenue account is showing technically after period end closing the balance become zero for all closing balance revenue and expenses accounts.
    Please note that there are some entries in revenue and expense account in on 1st apr. 2011.
    Please guide on this.
    Regards
    Aarati Kollur.
    <a href="http://www.youtubemp3.net/">youtube mp3</a>, <a href="http://www.limewire.name/">limewire</a>

    Hi,
    I think you should re-visit the selection creteria for the Trial balance.
    The Display Opening Balance has two options. If you select from 'Start of Company activity', then it will include every balance of previous year.
    Check for the Display Closing balance option as well. As you have performed the Period End closing, the checkbox options can have an impact on the outcome in the report.
    Check the selection again.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • How to measure time difference between zero crossing of a sine wave and rise time of a pulse on a same graph?

    I have a 50Hz sine wave and a pulse signal on a same graph. The phase difference between two is between 0-90 degrees.
    Now I need to calculate the time difference between (when the sine wave crosses zero volts) and (when the pulse rises). The frequency will stay approximately same for both signals.
    The application is for a three phase generator. In simple words, when the time difference between the zero-crossing of sine wave and the pulse rises increases, that means that the load on the generator has increases.
    I am a beginner user of LabView (version 9, 2009), maybe it is a very simple problem but I've been pulling my hair out for the last few days and coudln't figure anything out. Any help would be greatly appreciated. I am using DAQ USB-6008 to measure these voltages and pulse from the generator and a sensor
    I have attached a jpg (a graph that i just made with excel to explain). The time 't' is what I am trying to measure
    Cheers
    Awais 
    Message Edited by awais.h on 03-30-2010 11:20 PM
    Message Edited by awais.h on 03-30-2010 11:21 PM
    Solved!
    Go to Solution.

    Hi
    Thanks for the code but I'm afraid it won't work. Like you said the probability of choosing a value that is on both graphs may not happen. This is something that I would like the code to do automatically.
    But I did use the previous code posted and made some modifications to it and it seems to work perfectly. Now the next thing is to be able to get just that one value that tells you the first time difference.
    Here is what I get using that code.
    As you can see from the t Values. I only need the one that is highlighted. If there is a way to filter out the rest it would be great.
    I was thinking of a while loop and as soon as the value is higher than 3E-5 it would store the number and stop the loop, but I'm not too familiar with arrays in labview.
    Here is the the code modified.
    As you can see, it wasn't that big of a modification and it still is your code.
    I will keep trying.
    Thanks for the help
    Attachments:
    FinalShockSpeed.vi ‏55 KB

  • What are the difference in transaction codes in 4.6 C and ECC 6.0 HCM syste

    Hi
    What are the difference in transaction codes in 4.6 C and ECC 6.0 in HCM SAP.
    Regards,
    Sanjay

    Believe there will not be any change in Tcodes.
    check these links
    http://solutionbrowser.erp.sap.fmpmedia.com/
    http://www.sap.com/solutions/business-suite/erp/pdf/BWP_ERP2006_Upgrade.pdf
    http://service.sap.com/releasenotes
    http://service.sap.com/upgrade for functional
    https://websmp105.sap-ag.de/upgrade

  • What is the difference b/w the sap r/3 platform and netweaver?

    what is the difference b/w the sap r/3 platform and NetWeaver.
    do both go hand in hand .......
    i am relatively new to ESA....
    if one want to manage databases will he use sap/3 or NetWeaver...
    is NetWeaver is additional functionality incorporated in r/3 to mange it strategies......

    Hi,
    Check out this forum posting. I think it covers the question - it has been asked a couple of times.
    netweaver vs mysap
    Cheers,
    Mike.

  • Differences between Oracle Forms 11.1.1.6  and 11.1.2

    Hello !
    Which version should I choose 11.1.2 or 11.1.1.6
    11.1.2 must me the latest one aka 11gR2
    11.1.1.6 must be 11gR1 PS5
    Am i right ?
    but in the forms home page it seems that the 11.1.1.6 is the latest version ??
    Oracle Forms 11.1.1.6 Released
    The latest version of Oracle Forms (11.1.1.6) has been released.
    This can be downloaded from My Oracle Support (MOS)
    23-Feb-2012
    Oracle Forms 11g Release 2 has been released. Read about the new features.
    Oct-2011
    I suppose that in a MiddleWare stack : SOA suite + BI publisher + Forms, the 11.1.1.6 (11gR1 PS5) is the best choice.
    Can somebody explain me the differences between Oracle Forms 11.1.1.6 and 11.1.2 ?
    Thanks
    Regards
    Jean-Yves

    Michael Ferrante (Oracle) wrote:
    There are many new features in 11.1.2.0 that do not exist in 11.1.1. Some of the most significant new features are listed in the 11gR2 New Features documentation found on this page:
    http://www.oracle.com/technetwork/developer-tools/forms
    Additional information about new features and changes can be found in the product documentation for 11gR2, which is here:
    http://docs.oracle.com/cd/E24269_01/index.htm
    One important thing to note is that FMw 11.1.2 (11gR2) does not include Portal or Discover. So if you need either or both of these you will need to stick with 11.1.1.Hi Michael,
    One of the features which is very very important in my point of view is
    Reduced Installation Footprint
    In order to reduce the resource requirements on development machines, you can perform an
    installation specifically tailored for development. This will limit the number of software products
    and servers installed on the machine whilst still allowing a developer to build, run and test their
    Forms application.
    If this feature is only available for the 11.1.2 release then the choice is made !
    Thanks !
    Jean-Yves
    ps : and we don't use any portal or discoverer :-)
    Edited by: JeanYves Bernier on 30 nov. 2012 23:54

  • Differences between Oracle 8i for a UNIX Platform and Oracle 8i for a Linux Platform

    Hello,
    J would like to know if there are some differences between Oracle 8i for a UNIX Platform and Oracle 8i for a Linux Platform.
    I know that there are some differences on Oracle 8i Parallel Server and i know that some products are not include like precompiler (Mod*Ada, Pro*FORTRAN) on a Linux Platform.
    Thank you.

    We have installed Oracle 8i on Solaris 8 and it had a great performance, of course that the hardware and licence invested here was costed my the office where i work. Personaly i'd installed linux reh hat 8 and oracle 8i, imagine that, it could be implemented by any individual that has the time to do so.
    By buyinng from a company that has a good background you could be sure that you will have support.
    Bottom line, if you have the $ to buy great hardware go for a unix platform. But if you don't a Red Hat Linux Server Licence with a 1 year sopport and Oracle data base is about 3500Dls.
    Visit www.red-hat.com
    Rewards... Bye

  • Differences between Oracle 8i for a UNIX Platform and a Linux Platform

    I want to know the differences between Oracle 8i for a UNIX Platform and Oracle 8i for a Linux Platform. And which platform is better?
    Thanks

    We have installed Oracle 8i on Solaris 8 and it had a great performance, of course that the hardware and licence invested here was costed my the office where i work. Personaly i'd installed linux reh hat 8 and oracle 8i, imagine that, it could be implemented by any individual that has the time to do so.
    By buyinng from a company that has a good background you could be sure that you will have support.
    Bottom line, if you have the $ to buy great hardware go for a unix platform. But if you don't a Red Hat Linux Server Licence with a 1 year sopport and Oracle data base is about 3500Dls.
    Visit www.red-hat.com
    Rewards... Bye

  • What is the difference between jdk version 1.3.1-b24 and 1.3.1_02-b02?

    Hi,
    This is a weird question. But I really need to know the difference between jdk vesion 1.3.1-b24 and 1.3.1_02-b02.
    Anyone has a clue?
    Thanks
    Wayne

    This is a weird question. But I really need to know
    the difference between jdk vesion 1.3.1-b24 and
    1.3.1_02-b02.Bug fixes only.
    When reading the strings above, ignore the part saying "-b##" (that's the build number). So you're looking at 1.3.1 (the base release), and 1.3.1_02 (patch 02 on 1.3.1).

  • Difference bet terms of Payment for Installment Plan and Installment Plan

    Dear All,
                       what is the functionality difference between  terms of Payment for Installment Plan and Installment Plan? please pour your thoughts.
    thanks in advance

    Hi Vinay,
    Terms of payment :-this is nothing but when vendor will pay the amount to party.
    Installment payment :-This is nothing but when vendor will pay no .of terms
    Funtionally we can use for both T.codes OBB8,OBB9
    May be you can understand what i told
    Regards
    Surya

  • I received a car charger for xmas. I have an iPhone 4. Is there a difference in the charging dock between the older and newer iphones? I don't want to damage it by shoving a cable in that is designed for a newer model.

    I received a car charger for xmas. I have an iPhone 4. Is there a difference in the charging dock between the older and newer iphones? I don't want to damage it by shoving a cable in that is designed for a newer model.

    there are 2 connectors the old pin30 and the new ligthing bolt
    they don't look very much alike so if anybody were damage byt forcing it in it would be their own fault seeing how diffrent they are

  • Difference in idoc adapter header mapping between SP14 and SP19

    Hi All,
    i have a very strange problem.......i have 2 XI systems : XI-sandbox and XI-dev.....
    XI-sandbox is on XI3.0 SP19 whereas XI-dev is on XI3.0 SP14...........
    I have a file->XI->idoc scenario which is same on both XI-sandbox and XI-dev....
    in receiver idoc adapter, i am using header mapping for sender service and in the sender service i am using XPATH of a field of control rec of idoc.........
    this scenario works fine on XI-sandbox which is on SP19 and the idocs are sent to SAP R/3 sandbox...........but this scenario on XI-dev gives error in SXMB_MONI in XI-dev of Call adapter - "No party conversion found".........
    So my question is that is there any difference in idoc adapter header mapping between SP14 and SP19.........
    Thanks,
    Rajeev Gupta
    Message was edited by:
            RAJEEV GUPTA

    ><i>so i cant use apply control rec values from payload.........</i>
    rajeev,
    I know this has nothing to do with the original problem but please do bear.
    If I undertood you posts correct, the Sender Partner Name is set in the Idoc Control record in the field SNDPRN in the mapping using some mapping logic.
    Now, this is the partner name with which the idoc is to be posted to thge R3 system.
    if yes, then like I have pointed above, using "Take Sender From Payload" in the Receivcer Idoc Adapter is a better option as pointed in the SAP help as well.
    As you are already populating the idoc control ecord with SNDPRN just make the SNDPRT as LS and then select "Take Sender from Payload" in the receiver Idoc adapter and the Sender Partner Name will not be taken from SDNPRN just as you want.
    This is different from "Apply Control Records From Payload" .
    Regards
    Bhavesh
    PS : you can ignore this reply if the situatios is too late to make this change and thanks for the patience.

  • Why my calendar display different there is one day difference from different  when I see main screen and open the calendar

    See my Why my calendar display different there is one day difference from different  when I see main screen and open the calendar

    I too am having the same issue only I am in Regina, Canada.  iCloud appears to think Regina, Canada is in the Central time zone which it is, but it does not use Daylight Savings time.  My PC is Windows 7 and I am using Outlook 2010.  I have iCloud on iPhone 5 and iPad 2.   Terribly frustrating!

  • DIfference Between User Exits, Screen Exits, Menu Exits And BADI

    Could any one let me know the exact/practical dIfference Between User Exits, Screen Exits, Menu Exits And BADI. ? And why BADIs are more proned to use?

    Hi,
    User Exits:
    A user exit is a three character code that instructs the system to access a program during system processing.
    SXX: S is for standard exits that are delivered by SAP.   XX represents the 2-digit exit number.
    UXX: U is for user exits that are defined by the user.  XX represents the 2-digit exit number
    Menu Exits:
    Menu exits add items to the pulldown menus in standard SAP applications. You can use these menu items to call up your own screens or to trigger entire add-on applications.
    SAP creates menu exits by defining special menu items in the Menu Painter. These special entries have function codes that begin with "+" (a plus sign). You specify the menu item’s text when activating the item in an add-on project.
    Screen Exits:
    Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen’s flow logic.
    BADIs:
    Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software. 
    And why BADIs are more proned to use?
    In contrast to above customer exits, Business Add-Ins no longer assume a two-level infrastructure (SAP and customer solutions), but instead allow for a multi-level system landscape (SAP, partner, and customer solutions, as well as country versions, industry solutions, and the like). Definitions and implementations of Business Add-Ins can be created at each level within such a system infrastructure.
    SAP guarantees the upward compatibility of all Business Add-In interfaces. Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces. You do not have to register Business Add-Ins in SSCR.
    The Business Add-In enhancement technique differentiates between enhancements that can only be implemented once and enhancements that can be used actively by any number of customers at the same time. In addition, Business Add-Ins can be defined according to filter values. This allows you to control add-in implementation and make it dependent on specific criteria (on a specific Country value, for example).
    All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard. A single Business Add-In contains all of the interfaces necessary to implement a specific task.
    The actual program code is enhanced using ABAP Objects. In order to better understand the programming techniques behind the Business Add-In enhancement concept, SAP recommends reading the section on ABAP Objects.
    Regards,
    Ferry Lianto

Maybe you are looking for

  • Sale order bom can be used in to process order or not

    To change the BOM for particular order items the sale order BOM can be created , to copy the sale order BOM into production order CO08 can be used , whether the process order can be created with ref to sale order any option is available is SAP

  • PAY_PEOPLE_GROUPS in OBAW

    Hi All, Did anyone brought the PAY_PEOPLE_GROUPS table into OBAW? I wanted to know if it will be a custom table in warehouse as a dimension or can it be integrated with any of the table OOB? appreciate any assistance Thank you. ~Prabhu

  • Video not saving in iOS 8

    I have a brand new iPhone 6 running iOS. Slow motion and time lapse videos save fine. But when I take a normal video and stop recording it just vanishes - nothing gets saved to the camera roll. Found this out the hard way when I really needed to take

  • After quality inspection

    Hello, After quality inspection what happen to the material??

  • Serial number alternatively getting picked in incoming excise invoice-J1IEX

    Hi All, Serial number alternatively getting picked in incoming excise invoice-J1IEX part2 posting. This problem we are facing only from today. Can there be any problem in programme? Pls suggest. Regards, Pavan