I need only to select node with "NodeName" (or/and Number) in a Java Tree

I need only to select node with "NodeName" (or/and Number) in a Java Tree. Can anybody help me? Thanks a lot

http://www.jetbrains.com/idea/openapi/5.0/com/intellij/util/ui/tree/TreeUtil.html
http://www.tangoone.com/swf/docs/javadocs/org/swf/components/TreePane.html
I fin SelectNode() function here - but I don't know how to connect these clases

Similar Messages

  • The below vi is not giving me what I want. If I select 2 with maximum number of 3 then there are 3 array elements display that is correct but if I select 8 with the same maximum number of 3 then only 1 array element display. Why is that?

    The below vi is not giving me what I want. If I select 2 with maximum number of 3 then there are 3 array elements display that is correct but if I select 8 with the same maximum number of 3 then only 1 array element display. Why is that?
    Attachments:
    test2.vi ‏29 KB

    It's because in case 2 you hold the array build result from the previous loop iteration in a shift register...in case 8 you do not...
    You say that if you set the maximum number to three it will produce an array with three elements, that is not correct, it will run when the iteration index is 0,1,2 and 3...resulting in 4 elements. If you want 3 you need to decrement the maximum number to 2. The same goes for case 8.
    MTO

  • I need to add a single field from with_item table . need to write select query with reference to company code , account doc no , fiscal year

    I need to add a single field from with_item table . need to write select query with reference to company code , account doc no , fiscal year

    Hi Arun ,
    Can you explain little bit more ??
    what is account doc no? 
    what are the transactions should be displayed in your output??
    -Rajesh N

  • Exporting 6 channel discrete mono tracks (5.1 mix) I only get 2 tracks with compressed audio and 4 empty track on my output.

    Exporting 6 channel discrete mono tracks (5.1 mix) I only get 2 tracks with compressed audio and 4 empty track on my output. I'm using Premiere Pro CC14, sequence settings and export setting pasted below.  Please help need to export feature trailer for iTunes release next week.  Yikes!!!

    Thanks for the notes.  Im almost there but not quite.  I create my sequence 5.1 like you said
    then map the dots and LFE.  But when I go export media is only give me the option of 1 track 5.1 not 6 discrete channels.
    I check my settings and they LOOK right
    then I go into my modify clip settings and I see the number of audio tracks as 1 so maybe thats why Im getting only 1 channel 5.1. 
    But when I select different settings in modify clip environment I can get it to LOOK correct to me
    everything seems to be assigned correctly.  But when I go back to export it only still gives me the same option of exporting with 5.1 as a single track.

  • Absolute dynamic select query with dynamic join and where

    Has anyone ever tried creating an absolutely dynamic SELECT query with dynamic Join and Where conditions.
    I have a requirement of creating such a query in an Utility Class, and i have written the code. But its throwing my sysntax errors.
    Please let me know where am I going wrong OR is it really possible to create such a dynamic Query??
        SELECT (FIELDS) INTO TABLE IT_TABLES
          FROM ( (ME->TABLE1)  inner join ( me->table2 )
          on ( on_condition ) )
          WHERE (me->where_fields).
    Ags.

    It worked for me in a following way:
    select * into corresponding fields of table <result_table>
            from (join_string)
            where (l_where).
    Where the contents of join_string were dynamically build using concatenation. So it will be something like
    concatenate ME->TABLE1 'as a INNER JOIN' me->table2 'as b ON (' into join_string separated by space.
    <...>
    add here matching/reference colums, something like
    concatenate 'a~' me->TABLE1_JOIN_COL into temp1.
    concatenate 'b~' me->TABLE2_JOIN_COL into temp2.
    concatenate join_string temp1 '=' temp2 into join_string separated by space.
    <...>
    concatenate join_string ')' into join_string separated by space.
    And then use similar approach for l_where variable.

  • Need help re-synching iPods with new computer and getting iTunes to...

    Need help re-synching iPods with new computer and getting iTunes to recognize our iPods (it doesn't even recognize them when they're plugged in).
    Hubby wiped my harddrive for me, so now I need to get everything back in proper places. I'm using windows XP and installed iTunes once again (I believe it's version 8). I also installed all of my iTunes songs. Now I need to know where to go from here. We have 3 iPods and I need to get them all synched once again. I know how to create different libraries for each of us, but I can't figure out how to get our songs back into our iTunes libraries. When I open iTunes and plug in an iPod, iTunes doesn't even show that an iPod is plugged in.
    What do I do now to get each of our iPods synched with our own libraries?
    TIA
    Brandy

    Thanks Zevoneer. The "Restart ipod service" worked and itunes is now recognizing my ipod! Hooray!
    Okay, now how do I synch all of our ipods with our individual libraries (I don't want all of my kids' songs and vice versa)? We each have hundreds of songs on our ipods that we don't want to lose.
    Thanks again!

  • I need to burn a DVD with a menu and everything but I don't have iDVD. Help please? I bought my iMac in March 2012.

    I need to burn a DVD with a menu and everything, but I don't have iDVD. I bought my iMac from an Apple store in March 2012. Help please?

    You may be able to find iDVD as part of the iLife 11 Retail Package. It is no longer sold by Apple, but you may find it on eBay or Amazon.
    Other options include Toast from Roxio.
    See here for more discussion of the options.
    https://discussions.apple.com/docs/DOC-3711

  • Near Dead Ipod - Only shows black screen with apple logo and sick face ipod

    I would be very grateful for any help.
    I bought my 60GB ipod in the summer of 2005, whatever generation that makes it. Until recently it's been a little glitchy - sometimes the screen would appear to be functioning normally, but songs would not play. For example track 1 would look like it was about to play, then skip to track 2, then 3, and so forth. I had to force restart it regularly.
    Today I connected my ipod to my macbook and itunes appeared to start (bounced in the dashboard) then failed to launch. The ipod screen looked as though it was connected (flashing red sign) but did not mount on screen. I tried to force quit itunes, but that didn't work and the computer froze. I did a force restart of the computer with the ipod plugged in, and it took very long to restart. The whole time, the ipod screen continued to flash the red sign. I unplugged the ipod and force restarted it.
    Now, when I press menu, the black screen comes up with the apple logo, then periodically switches to a screen with an ipod with a sick face and "www.apple.com/support/ipod listed under it. I can hear a clicking sound when I hold it up to my ear.
    I've got 40 gigs of music on it and I'd very much like to get that off since much of it is not backed up. Am I screwed?
    C7

    Likely a hard drive failure
    If a sad iPod icon or an exclamation point and folder icon appears on your iPod’s screen, or with sounds of clicking or HD whirring, it is usually the sign of a hard drive problem and you have the power to do something about it now. Your silver bullet of resolving your iPod issue – is to restore your iPod to factory settings.
    http://docs.info.apple.com/article.html?artnum=60983
    If you're having trouble, try these steps at different levels one at a time until the issue is resolved. These steps will often whip your iPod back into shape.
    Make sure you do all the following “TRYs”
    A. Try to wait 30 minutes while iPod is charging.
    B. Try another FireWire or USB through Dock Connector cable.
    C. Try another FireWire or USB port on your computer .
    D. Try to disconnect all devices from your computer's FireWire and USB ports.
    E. Try to download and install the latest version of iPod software and iTunes
    http://www.apple.com/itunes/download/
    For old and other versions of iPod updater for window you can get here
    http://www.ipodwizard.net/showthread.php?t=7369
    F. Try these five steps (known as the five Rs) and it would conquer most iPod issues.
    http://www.apple.com/support/ipod/five_rs/
    G. Try to put the iPod into Disk Mode if it fails to appear on the desktop
    http://docs.info.apple.com/article.html?artnum=93651
    If none of these steps address the issue, you may need to go to Intermediate level listed below in logical order. Check from the top of the lists to see if that is what keeping iPod from appearing on your computer in order for doing the Restore.
    Intermediate Level
    A. Try to connect your iPod with another computer with the iPod updater pre-installed.
    B. Still can’t see your iPod, put it in Disk Mode and connect with a computer, instead of doing a Restore on iPod Updater. Go and format the iPod instead.
    For Mac computer
    1. Open the disk utility, hope your iPod appears there (left hand side), highlight it
    2. Go to Tab “Partition”, click either “Delete” or “Partition”, if fails, skip this step and go to 3
    3. Go to Tab “Erase” , choose Volume Format as “MAC OS Extended (Journaled), and click Erase, again if fails, skip it and go to 4
    4. Same as step 3, but open the “Security Options....” and choose “Zero Out Data” before click Erase. It will take 1 to 2 hours to complete.
    5. Eject your iPod and do a Reset
    6. Open the iTunes and click “Restore”
    For Window computer
    Go to folder “My Computer”
    Hope you can see your iPod there and right click on the iPod
    Choose “Format”. Ensure the settings are at “Default” and that “Quick Format” is not checked
    Now select “Format”
    Eject your iPod and do a Reset
    Open the iTunes 7 and click “Restore”
    In case you do not manage to do a “Format” on a window computer, try to use some 3rd party disk utility software, e.g.“HP USB Disk Storage Format Tool”.
    http://discussions.apple.com/thread.jspa?threadID=501330&tstart=0
    C. Windows users having trouble with their iPods should locate a Mac user. In many cases when an iPod won't show up on a PC that it will show up on the Mac. Then it can be restored. When the PC user returns to his computer the iPod will be recognized by the PC, reformatted for the PC, and usable again. By the way, it works in reverse too. A Mac user often can get his iPod back by connecting it to a PC and restoring it.
    Tips
    a. It does not matter whether the format is completed or not, the key is to erase (or partly) the corrupted firmware files on the Hard Drive of the iPod. After that, when the iPod re-connected with a computer, it will be recognized as an fresh external hard drive, it will show up on the iTunes.
    b. It is not a difficult issue for a Mac user to find a window base computer, for a PC user, if they can’t find any Mac user, they can go to a nearest Apple Shop for a favor.
    c. You may need to switch around the PC and Mac, try to do several attempts between “Format” and “Restore”
    http://discussions.apple.com/thread.jspa?messageID=2364921&#2364921
    Advance Level
    A. Diagnostic mode solution
    If you have tried trouble shooting your iPod to no avail after all the steps above, chances are your iPod has a hardware problem. The iPod's built-in Diagnostic Mode is a quick and easy way to determine if you have a "bad" iPod.
    You need to restart your iPod before putting it into Diagnostic Mode. Check that your hold switch is off by sliding the switch away from the headphone jack. Toggle it on and off to be safe.
    Press and hold the following combination of buttons simultaneously for approximately 10 seconds to reset the iPod.
    iPod 1G to 3G: "Menu" and "Play/Pause"
    iPod 4G+ (includes Photo, Nano, Video, and Mini): "Menu" and "Select"
    The Apple logo will appear and you should feel the hard drive spinning up. Press and hold the following sequence of buttons:
    iPod 1G to 3G: "REW", "FFW" and "Select"
    iPod 4G+ (includes Photo, Nano, Video, and Mini): "Back" and "Select"
    You will hear an audible chirp sound (3G models and higher) and the Apple logo should appear backwards. You are now in Diagnostic Mode. Navigate the list of tests using "REW" and "FFW". The scroll wheel will not function while in diagnostic mode. For further details on Diagnostic mode can be found at http://www.methodshop.com/mp3/ipodsupport/diagnosticmode/
    Try to do the 5in1, HDD R/W and HDD scan tests. Some successful cases have been reported after the running the few tests under the Diagnostic mode. In case it does not work in your case, and the scan tests reports show some errors then it proves your iPod has a hardware problem and it needs a repairing service.
    B. Format your iPod with a start disk
    I have not tried this solution myself, I heard that there were few successful cases that the users managed to get their iPod (you must put your iPod in disk mode before connecting with a computer) mounted by the computer, which was booted by a system startup disk. For Mac, you can use the Disk Utility (on the Tiger OS system disk), for PC user, you can use the window OS system disk. Try to find a way to reformat your iPod, again it does not matter which format (FAT32, NTFS or HFS+) you choose, the key is to erase the corrupted system files on the iPod. Then eject your iPod and do a Reset to switch out from Disk Mode. Reboot your computer at the normal way, connect your iPod back with it, open the iPod updater, and hopefully your iPod will appear there for the Restore.
    If none of these steps address the issue, your iPod may need to be repaired.
    Consider setting up a mail-in repair for your iPod http://depot.info.apple.com/ipod/
    Or visit your local Apple Retail Store http://www.apple.com/retail/
    In case your iPod is no longer covered by the warranty and you want to find a second repairing company, you can try iPodResQ or ifixit at your own risk
    http://www.ipodresq.com/index.php
    http://www.ifixit.com/
    Just in case that you are at the following situation
    Your iPod warranty is expired
    You don’t want to pay any service charges
    You are prepared to buy a new one
    You can’t accept the re-sell value of your broken iPod
    Rather than leave your iPod as paper-weight or throw it away.
    You can try the following, but again, only do it as your last resort and at your own risk.
    Warning !!!! – It may or may not manage to solve your problem, and with a risk that you may further damage your iPod, which end up as an expensive paper weight or you need to pay more higher repairing cost. Therefore, please re-consider again whether you want to try the next level
    Last Resort Level
    1. . Disconnecting the Hard Drive and battery inside the iPod – Warning !! Your iPod warranty will be waived once you open the iPod.
    In Hong Kong there are some electronic shops offering an iPod service for Sad iPod, the first thing they do is to open up the iPod’s case and disconnecting the battery and the Hard Drive from the main board of the iPod. Wait for 5-10 minutes and reconnecting them back. The reason behind which I can think of is to do a fully reset of a processor of the iPod. In case you want do it itself and you believe that you are good on fixing the electronics devices and have experience to deal with small bits of electronic parts, then you can read the following of how to open the iPod case for battery and HDD replacement (with Quicktimes)
    http://eshop.macsales.com/tech_center/index.cfm?page=Video/directory.html
    2.Press the reset button on the Hard Drive inside the iPod – Suggestion from Kill8joy
    http://discussions.apple.com/thread.jspa?messageID=2438774#2438774
    Have I tried these myself? No, I am afraid to do it myself as I am squeamish about tinkering inside electronic devices, I have few experiences that either I broke the parts (which are normally tiny or fragile) or failed to put the parts back to the main case. Therefore, I agree with suggestion to have it fixed by a Pro.
    2. Do a search on Google and some topics on this discussion forum about “Sad iPod”
    Exclamation point and folder and nothing else
    Spank your iPod
    http://www.youtube.com/watch?v=3ljPhrFUaOY
    http://discussions.apple.com/thread.jspa?messageID=3597173#3597173
    Exclamation point and folder and nothing else
    http://discussions.apple.com/thread.jspa?messageID=2831962#2831962
    What should I do with my iPod? Send it or keep it?
    http://discussions.apple.com/thread.jspa?threadID=469080&tstart=0
    Strange error on iPod (probably death)
    http://discussions.apple.com/thread.jspa?threadID=435160&start=0&tstart=0
    Sad Face on iPod for no apparent reason
    http://discussions.apple.com/thread.jspa?threadID=336342&start=0&tstart=0
    Meeting the Sad iPod icon
    http://askpang.typepad.com/relevanthistory/2004/11/meeting_thesad.html#comment-10519524
    Sad faced iPod, but my computer won’t recognize it?
    http://discussions.apple.com/thread.jspa?messageID=2236095#2236095
    iPod Photo: unhappy icon + warranty question
    http://discussions.apple.com/thread.jspa?messageID=2233746#2233746
    4th Gen iPod Users - are we all having the same problem?
    http://discussions.apple.com/message.jspa?messageID=2235623#2235623
    Low Battery, and clicking sounds
    http://discussions.apple.com/thread.jspa?messageID=2237714#2237714
    Sad faced iPod, but my computer won’t recognize it
    http://discussions.apple.com/thread.jspa?messageID=2242018#2242018
    Sad iPod solution
    http://discussions.apple.com/thread.jspa?threadID=412033&tstart=0
    Re: try to restore ipod and it says "can't mount ipod"
    http://discussions.apple.com/thread.jspa?threadID=443659&tstart=30
    iPod making clicking noise and is frozen
    http://discussions.apple.com/thread.jspa?messageID=2420150#2420150
    Cant put it into disk mode
    http://discussions.apple.com/thread.jspa?messageID=3786084#3786084
    I think my iPod just died its final death
    http://discussions.apple.com/thread.jspa?messageID=3813051
    Apple logo & monochrome battery stay
    http://discussions.apple.com/thread.jspa?messageID=3827167#3827167
    My iPod ism’t resetting and isn’t being read by my computer
    http://discussions.apple.com/thread.jspa?messageID=4489387#4489387
    I am not suggesting that you should follow as well, but just read them as your reference. You are the person to make the call.
    Finally, I read a fair comments from dwb, regarding of slapping the back of the iPod multiple times
    Quote “This has been discussed numerous times as a 'fix'. It does work, at least for a while. In fact I remember using the same basic trick to revive Seagate and Quantam drives back in the mid to late 1980's. Why these tiny hard drives go bad I don't know - could be the actuator gets stuck in place or misaligned. Could be the platter gets stuck or the motor gets stuck. 'Stiction' was a problem for drives back in the 80's. Unfortunately the fix can cause damage to the platter so we temporarily fix one problem by creating another. But I know of two instances where a little slap onto the table revived the iPods and they are still worked a year or more later.”UnQuote

  • Creating a Select-option with no-intervals and a parameter on a single line

    Hi
    I have a unusual reqirment of creating a select-option with no intervals obligatory and a parameter on a single line. Is this possible? Can any one please provide me a solution for this. I reffered to the SAP help and what i found out is a single line can contain only parameters.

    Hi,
    humm,
    I guess it's not possible on one line.
    SORRY I've tried and it works!
    Try this :
    SELECTION-SCREEN BEGIN OF BLOCK main WITH FRAME
                     TITLE text-s01 NO INTERVALS.
    SELECTION-SCREEN begin of line.
    PARAMETERS : p_gjahr LIKE bkpf-gjahr OBLIGATORY MEMORY ID gjr.
    SELECT-OPTIONS : s_blart FOR bkpf-blart MODIF ID knt .
    SELECTION-SCREEN end of line.
    SELECTION-SCREEN END OF BLOCK main.
    Regards,
    erwan

  • Needed SAP CRM Data model with Object, Entity and Attribute level details

    Hello all,
                 We are working on a huge IS-U / CRM implementation and we are still in the data gathering phase. The client has a whole load of legacy systems that will be replaced with IS-U and CRM. Right now we are in the process of developing data models using Excel first and then presenting them to the client to go forward from there. For this we need to have all the business objects, entities and their attributes.
    I know about the SD11 transaction, but we don't have a CRM system yet. My colleagues have access to a German ERP system and they were able to get models for HR, FI and Asset management. I tried for the Business partner / customer in there, but the models were not proper.
    So, once again, I need the specific data models out of SD 11 for  CRM business partner. If anybody has the information, please do pass it on to me as I need them urgently. It would be a great help if somebody can do so.
    Regards
    Rajesh

    I suggest the following:
    Please, check whether the system works if you activate the implementation BUPA_F4_AUGRP.
    In addition check the notes 559662, 674869 and 782927. Maybe the notes are already implemented but you can try then the implementation of the BADI (SE19). It should resolve your issue.
    I have implemented this Badi solution before, and after activation; the search help ; nor search result list did NOT show any Business partners anymore that had an authorization group I was not allowed to see.
    kind regards
    Davy Pelssers
    SAP CRM/Security consultant

  • HT1430 I tried to upgrade to ios 4 by plugging my Ipad into Itunes on my desktop.  I got an error report and now my Ipad won't work at all.  I can only get a screen with a plug and an arrow pointing to the Itunes logo.

    I tried to upgrade to ios4 by plugging my Ipad into Itunes on my desktop.  I got an error message as it was downloading.  Now my Ipad won't turn on at all.  All I get is a pic of the plug and an arrow pointing to the Itunes logo.  I tried to reset, but nothing works.  When I try to plug the Ipad into my desktop and access Itunes, my Ipad doesn't show up on the Itunes screen.

    You need to restore your iPad using recovery mode and the process is covered in this article.
    iPad: Unable to update or restore.
    http://support.apple.com/kb/ht4097

  • My laptop is only showing the homescreen with no apps and just the spinning wheel. What's wrong?

    A little history of the problem...My MacBook pro had been very slow lately, however I kept putting off getting it looked at for several reasons. Anyways, today I was laying in bed on and off using my laptop because I'm sick and trying to get some work done. When I went to pick my laptop up it was frozen with the spinning wheel, so I restarted it.  After that everything uploaded fine, but when I went to click on Safari it never loaded and again just the spinning wheel. So restart again because it was unresponsive to anything else, I then pressed whatever combination to get me to recovery mode (did I preface this with I know nothing about computer systems and such, well yeah I dont). I tried the disk utility option and I also reinstalled OS X. After 2 hours it's done downloading and it let me login (I have a password on it) but now the home screen is up with no apps and the wheel is still spinning. Have I done something irreparable? Will that wheel ever stop spinning?? What do I do? Any help will be greatly appreciated..

    Thank you, I was able to get it into Safe Mode and I just used it like that yesterday to backup a lot of my files. I just shut it down and restarted it and it's still freezing up. I clicked on systems preferences and after several minutes it finally opened but the wheel is now just spinning and it won't stop.

  • I have recently swapped my iPhone for a new Samsung S4 contract with new sim and number, but when people with iPhones message me they are sending as iMessage.

    I have taken out a new contract with a Samsung S4 as the mobile device. It has a new sim card I got with the contract and new number. However, when friends with iPhones message me it is sending from their phone as iMessage meaning I am not receiving texts from them. Is this a fault on their side or mine? How do I fix the problem so I am receiving messages from them instead of it sending as iMessage and not received on my phone. Please help

    Read here regarding what you should have done & how to fix:
    http://support.apple.com/kb/HT5661

  • PSE8 - Need help with bizarre selection problem with spot healing and clone tools

    In using clone stamp and spot healing brush--. When I Alt click for my sample I get entire image---acting as if I'm moving a layer---whether I'm working on a single or multi-layer image.  This is PSE8 3 gig ram windows ----Lenovo Core II duo  P8400  @ 2.26 GHZ  with ATI 256 meg graphics
    This sure is fun!!!
    I'm trying to get rid of an old numbering imprint on a film(not digital) image.

    Actually the overlay option is helpful. It shows the region that you are copying - and i dont think thats causing the issue.
    The issue is because you dont have the clip option checked along with Overlay.
    Just make sure you have both Overlay and Clipped options checked and you would not see this problem anymore.
    Regards,
    Pri
    (Attached an image of the settings)

  • Hi all the functionality needed (only hold lines) but iam getting hold and with hold data,please help me

    SELECT      hou.NAME                     Operating_Unit_Name,
                pv.SEGMENT1                  Supplier_Num ,
                pv.VENDOR_NAME               Supplier_Name ,
                pvs.VENDOR_SITE_CODE         Supplier_Site_Name ,
                pvs.ADDRESS_LINE1            Address_Line_1 ,
                aia.DOC_SEQUENCE_VALUE       Invoice_Sequence_Num ,
                aia.INVOICE_NUM              Invoice_Num ,
                aia.INVOICE_DATE             Invoice_Date ,
                aps.DUE_DATE                 Due_Date ,
                aha.HOLD_LOOKUP_CODE         Hold_Name ,
                aha.HOLD_DATE                Hold_Date ,
                aha.HOLD_REASON              Hold_Description ,
                aha.RELEASE_LOOKUP_CODE      Hold_Release_Description ,
                aia.DESCRIPTION              Invoice_Description ,
                aia.INVOICE_CURRENCY_CODE    Invoice_Currency_Code ,
                min(aia.INVOICE_AMOUNT)      Invoice_Entered_Amount_MIN ,
                APPS.XXDBD_CURRENCY.GET_VALUE_IN_USD(pha.CURRENCY_CODE,( (aia.INVOICE_AMOUNT) ),pha.CREATION_DATE)  INVOICE_AMOUNT_IN_USD ,
                min(aia.BASE_AMOUNT)         Invoice_Functional_Amount_MIN ,
                pha.SEGMENT1                 PO_Document_Number ,
                pla.LINE_NUM                 PO_Line_Num ,
                pda.QUANTITY_ORDERED         PO_Ordered_Quantity ,
                pll.QUANTITY_RECEIVED        Qty_Received_to_Date ,
                pda.QUANTITY_BILLED          Billed_Quantity_to_Date ,
                msi.segment1                 Item_Number ,
                pla.ITEM_DESCRIPTION         Item_Description ,
                ROUND(pla.UNIT_PRICE,2)      PO_Unit_Price ,
                ROUND(aid.UNIT_PRICE,2)      Unit_Price_on_Invoice ,
                aid.AMOUNT                   Invoice_Distribution_Amount ,
                aha.RELEASE_REASON           Hold_Release_Reason ,
                ppf.FULL_NAME                Buyer_Or_Requester_Name ,
                aid.INVOICE_PRICE_VARIANCE   Price_Variance ,
                APPS.XXDBD_CURRENCY.GET_VALUE_IN_USD(pha.CURRENCY_CODE,( SUM(aid.INVOICE_PRICE_VARIANCE) ),pha.CREATION_DATE)  Price_Variance_in_Usd ,           
                aid.QUANTITY_INVOICED        Invoice_Matched_Quantity ,
                SUM(aia.BASE_AMOUNT)         Invoice_Functional_Amount_SUM           
    FROM        ap_invoices_all              aia,
                ap_invoice_distributions_all aid,
                po_headers_all               pha,
                po_lines_all                 pla,
                po_line_locations_all        pll,
                po_distributions_all         pda,
                ap_holds_all                 aha,
                hr_all_organization_units    hou,
                po_vendors                   pv,
                po_vendor_sites_all          pvs,
                ap_payment_schedules_all     aps,
                per_people_f                 ppf,
                mtl_system_items             msi           
    WHERE       pv.VENDOR_ID            =pha.VENDOR_ID
    AND         pv.VENDOR_ID            =pvs.VENDOR_ID
    AND         aps.INVOICE_ID          =aia.INVOICE_ID
    AND         aia.INVOICE_ID          =aid.INVOICE_ID
    AND         aha.INVOICE_ID          =aia.INVOICE_ID
    AND         aha.LINE_LOCATION_ID    =pda.LINE_LOCATION_ID
    AND         pha.PO_HEADER_ID        =pla.PO_HEADER_ID
    AND         pla.PO_LINE_ID          =pll.PO_LINE_ID
    AND         pll.LINE_LOCATION_ID    =pda.LINE_LOCATION_ID
    AND         pda.PO_DISTRIBUTION_ID  =aid.PO_DISTRIBUTION_ID
    AND         pha.VENDOR_SITE_ID      =pvs.VENDOR_SITE_ID
    AND         pha.VENDOR_ID           =pv.VENDOR_ID
    AND         pv.VENDOR_ID            =aia.VENDOR_ID
    AND         pvs.ORG_ID              =hou.ORGANIZATION_ID
    AND         pvs.ORG_ID              =pda.ORG_ID
    AND         ppf.PERSON_ID           =pha.AGENT_ID
    AND         pla.ITEM_ID             =msi.INVENTORY_ITEM_ID
    AND         pll.SHIP_TO_ORGANIZATION_ID     =msi.ORGANIZATION_ID
    AND         aha.RELEASE_REASON   IS NULL
    AND         aha.RELEASE_LOOKUP_CODE IS  NULL
    and         hou.name ='DEL Operating Unit'
    GROUP BY    hou.NAME               ,
                pv.SEGMENT1            ,
                pv.VENDOR_NAME         ,
                pvs.VENDOR_SITE_CODE   ,
                pvs.ADDRESS_LINE1      ,
                aia.DOC_SEQUENCE_VALUE ,
                aia.INVOICE_NUM        ,
                aia.INVOICE_DATE       ,
                aps.DUE_DATE           ,
                aha.HOLD_LOOKUP_CODE   ,
                aha.HOLD_DATE          ,
                aha.HOLD_REASON        ,
                aha.RELEASE_REASON     ,
                aia.DESCRIPTION        ,
                aia.INVOICE_CURRENCY_CODE,
                aia.INVOICE_AMOUNT  ,
                aia.BASE_AMOUNT     ,
                aia.BASE_AMOUNT     ,
                pha.SEGMENT1        ,
                pha.CURRENCY_CODE   ,
                pha.CREATION_DATE   ,
                pla.LINE_NUM        ,
                pda.QUANTITY_ORDERED,
                pll.QUANTITY_RECEIVED,
                pda.QUANTITY_BILLED  ,
                msi.segment1         ,
                pla.ITEM_DESCRIPTION ,
                pla.UNIT_PRICE       ,
                aid.UNIT_PRICE       ,
                aid.AMOUNT           ,
                aha.RELEASE_LOOKUP_CODE,
                ppf.FULL_NAME          ,
                aid.INVOICE_PRICE_VARIANCE,
                aid.QUANTITY_INVOICED
    ORDER BY    aia.invoice_num;

    Have a look here:
    http://forums.macrumors.com/archive/index.php/t-982315.html

Maybe you are looking for