What could be the query to get Spend Amount for a Product name in EBS?

Hi Experts,
I need a help to write a query in EBS to get Spend Amount for any given Product Name and Top Level Category (Segment1).
It can be two different query or a single one. Please reply if anyone knows how to do it. I need it for testing purpose.
Thanks in advance.

All good here Sudipta.
You can try the below SQL.
SELECT msib.description,mcb.segment1,SUM(pla.quantity*pla.unit_price) total_spend
FROM
po_lines_all pla,
mtl_categories_b mcb,
mtl_system_items_b msib
WHERE pla.category_id = mcb.category_id
AND pla.item_id = msib.inventory_item_id
AND msib.organization_id = <enter your item master organization id>
GROUP BY msib.description,mcb.segment1
If you don't want to use the PO_LINES_ALL, is there any other sourced you are planning to use for spend.
SELECT mcb.segment1,SUM(pla.quantity*pla.unit_price) total_spend
FROM
po_lines_all pla,
mtl_categories_b mcb
WHERE pla.category_id = mcb.category_id
GROUP BY mcb.segment1
and do not need the po_lines_all table. I'm doing a data validation between OBIEE reports and EBS test data. In report i'm keeping only Product Name and Spend Amount to make it simple. Now I need to check the values are same in report and EBS. Thats the criteria.
Thanks
Sudipta

Similar Messages

  • When i got my new iphone 4, its in recovery mode. while restroing with itunes, im getting error at restoring firmware stage? what could be the reason? pls help me for solution.

    when i got my new iphone 4, its in recovery mode. while restroing with itunes, im getting error at restoring firmware stage? what could be the reason? pls help me for solution.

    You got a new iPhone 4, and out of the box the phone is in recovery mode? If that's the case, return it.
    If you don't want to do that. what error code are you getting?

  • MY IPHONE 4 16GB IT SWITCHES OFF AUTOMATICALLY EVEN WHEN I HAVE MORE THAN 60% BATTERY AND WHEN I CONNECT IT TO MY LAPTOP IT RESTARTS WHAT COULD BE THE REASON PLS SPECIFY AND SOLUTIONS FOR IT SHOULD I VISIT AN APPLE STORE FOR IT

    My Iphone 4 switches off automatically with 60% battery balance and doesnt start, also when i connect it to my laptop it starts back and shows the battery balance and it stay on for another few hours even without recharging.
    what is the reason for this. do i need to take it to the apple store to get it checked
    pls inform as its a costly phone and i cant just take it to any roadside person.
    awaiting your reply

    These features are most likely result of faulty battery. Make Genius reservation and take to Apple Store for free quick battery diagnostic testing.

  • Imported album to itunes library but it will not sync to my ipod, tried with my husbands ipod and the same thing. What could be the problem?

    imported an album to my itunes library, but it won't sync with my ipod classic. I tried it with my husbands ipod also and the same problem. What could be the problem?

    Thank you all for your replies. Here is what i ended up doing. I cannot afford any 3rd party software so i went to itunes and manually entered all my playlists. As I had indicated my purchased music was on my new computer just not the playlists  and I could not sync my ipod. After I rebuilt all my playlists I tried to restore my ipod to factory defaults/new. All of the steps called for in apple support and elsewhere were not available to me. I connected my ipod, went to my computer, right clicked my ipod, and formatted. That wiped my ipod so when I connected to itunes it then gave me a restore option. I did the restore and all is good in the empire again. I can now buy new music and sync my ipod so I am a happy camper.
    Thanks to all.

  • When ever i try logging into FaceTime or iMessage on my Macpro i get The server encountered an error processing registration. Please try again later. what could be the problem..N.B I'm located in trinidad in the caribbean message

    When ever i try logging into FaceTime or iMessage on my Macpro i get The server encountered an error processing registration. Please try again later. what could be the problem..N.B I'm located in trinidad in the caribbean message

    Hi,
    As the Other threads suggests I would check the Date and Time settings on the Mac and compare that with the settings in the router.
    Messages (and iChat before that) send Time stamped info to Login and to send IMs.
    Obviously most people set their Macs to their Time Zone and nearest city/town.
    What people sometimes forget is that their Router/Modem device(s) have to be set correctly as well.
    EDIT
    Also Add a Public DNS server to your System Preferences> Network > Advanced Button > DNS  tab
    A Google one such as 8.8.4.4 or 8.8.8.8 seem to work well for most people
    10:15 PM      Saturday; March 17, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously
    Message was edited by: Ralph Johns (UK)

  • Hi, I m using an iPhone 4 and my yahoo push email was working just fine but for the last few days I am experiencing some problem that is the emails are not getting pushed , I have to manually fetch the mails. So what could be the reason for this....

    Hi, I m using an iPhone 4 and my yahoo push email was working just fine but for the last few days I am experiencing some problem that is the emails are not getting pushed , I have to manually fetch the mails. So what could be the reason for this.....I have set the email setting to "push" mode. Moreover I can't edit the mail server address ....current it's on Yahoo SMTP server

    Will it get rectified and restored...if so after how long. What could be the reason for such outage kindly share,  as I am facing real problem because of this...

  • I have a 13 inch Macbook Pro. I have bought it just 5 months back. All of a sudden, i am unable to turn the mac on. It doesn't even get Charged. What could be the issue ?

    I have a 13 inch Macbook Pro. I have bought it just 5 months back. All of a sudden, i am unable to turn the mac on. It doesn't even get Charged. What could be the issue ?

    If you're unable to turn it on, let alone even charge it then it definitely sounds like a battery issue to me. I'd wait for someone else to reply just to be sure but I think somehow the battery by the sounds of it must have died. However, I could be very wrong.
    If you're still under applecare which you should be then it should be an easy free fix. Hope this helps!

  • HT1338 I have version Mac OS X 10.5.8. I no longer get software updates. What could be the problem?

    I have version Mac OS X 10.5.8. I no longer get software updates. What could be the problem?

    No problem. You have to pay for the next upgrades, just like you paid for the last one.
    Upgrade Paths to Snow Leopard, Lion, and/or Mountain Lion
    You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99. To access the App Store you must have Snow Leopard 10.6.6 or later installed.
    Upgrading to Snow Leopard
    You can purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard — Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mountain Lion if your computer meets the requirements.
         Snow Leopard General Requirements
           1. Mac computer with an Intel processor
           2. 1GB of memory
           3. 5GB of available disk space
           4. DVD drive for installation
           5. Some features require a compatible Internet service provider;
               fees may apply.
           6. Some features require Apple’s iCloud services; fees and
               terms apply.
    Upgrading to Lion
    If your computer does not meet the requirements to install Mountain Lion, it may still meet the requirements to install Lion.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service — this includes international calling numbers. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.
    Upgrading to Mountain Lion
    To upgrade to Mountain Lion you must have Snow Leopard 10.6.8 or Lion installed. Purchase and download Mountain Lion from the App Store. Sign in using your Apple ID. Mountain Lion is $19.99 plus tax. The file is quite large, over 4 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mountain Lion — System Requirements
           Macs that can be upgraded to OS X Mountain Lion
             1. iMac (Mid 2007 or newer) — Model Identifier 7,1 or later
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) —
                 Model Identifier 5,1 or later
             3. MacBook Pro (Mid/Late 2007 or newer) — Model Identifier 3,1 or later
             4. MacBook Air (Late 2008 or newer) — Model Identifier 2,1 or later
             5. Mac mini (Early 2009 or newer) — Model Identifier 3,1 or later
             6. Mac Pro (Early 2008 or newer) — Model Identifier 3,1 or later
             7. Xserve (Early 2009) — Model Identifier 3,1 or later
    To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
    Are my applications compatible?
             See App Compatibility Table — RoaringApps.
         For a complete How-To introduction from Apple see Upgrade to OS X Mountain Lion.

  • Im trying to reinstall the Facebook app. And it says "waiting" I can't get it to download. What could be the problem?

    Im trying to reinstall the Facebook app. And it says "waiting" I can't get it to download. What could be the problem?

    Are you on WiFi or 3G? If WiFi, when I've had this happen, first I go to Settings & turn WiFi off. Wait a minute, then turn it back on. Usually fixes things.

  • I had quite a few notes in the 'Notes' app. I suddenly find that all of them, except 3 have disappeared. What could be the reason and how can I get my notes back?

    I had quite a few notes in the 'Notes' app. I suddenly find that all of them, except 3 have disappeared. What could be the reason and how can I get my notes back?

    Not fully au fait with iCloud. I don't use it. But if you have done a backup to iCloud then this might help. This reply will refresh your post thereby giving others an opportunity to comment. Meanwhile, read up about iCloud in the User Guide. Here's the link to download it - http://support.apple.com/manuals/#ipad

  • The words in the .docx (MSWord 2010) file are getting merged when the file is transferred to another computer for printing. What could be the reason?

     The words in my .docx file are getting merged when the file is transferred to another computer for printing. For eg. the sentence "rate of success ......"  is displayed as "rateof success" on the other computer. What could
    be the reason for this? How to solve this issue?  

    Have you checked that the document is using the exact same font on both machines? If the second machine doesn't have the font installed that's used in the original document on the first machine, Word will pick the closest matching font, and that may
    display slightly differently.

  • Hello,I have done this successful in the past but on my IPad it shows I have 4 apps that need to be updated so when I hit the update tab all I get is a white screen. When I hit the purchase or other tabs it opens up. What could be the problem?

    ****,I have done this successful in the past but on my IPad it shows I have 4 apps that need to be updated so when I hit the update tab all I get is a white screen. When I hit the purchase or other tabs it opens up. What could be the problem?

    There have been numerous reports on the forum today regarding this issue. It seems to be an issue at Apple, but no information has been posted on the status site.
    http://www.apple.com/support/systemstatus/

  • HT1454 I have a speaker with I phone 30 pin dock, it use to work fine but i am not getting error saying accessory not supported,how i can determine what could be the problem

    I have a speaker with I phone 30 pin dock, it use to work fine but i am not getting error saying accessory not supported,how i can determine what could be the problem
    i am getting the same error with my rf transmitter that i use in my car

    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Did this start happening after an iOS update? Sometimes an iOS update will break compatibility.
    Sometimes this works:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                             
    - Restore to factory settings/new iOS device.

  • I am using ios7 , while i am getting call i am not getting reject option, What could be the issue?

    I am using ios7 , while i am getting call i am not getting reject option, What could be the issue?

    Hello Mallikarjunaj
    The decline button will only come up when you are using the phone, like surfing the web or reading a message. Check out the article below for more information.
    iPhone: Silencing or Declining a Call
    http://support.apple.com/kb/TA38605
    Decline a call
    Do one of the following:
    Press the Sleep/Wake button twice quickly.
    Press and hold the mic button on the headset for about two seconds, then let go. When you let go, two low beeps confirm that the call was declined.
    Tap Decline. Decline appears only when you’re using iPhone.
    Regards,
    -Norm G.

  • Rapid deployment of HFM getting failed at "Install Financial Management domain" step. Kindly Suggest what could be the reason and how to eliminate it?

    Rapid deployment of HFM getting failed at "Install Financial Management domain" step. Kindly Suggest what could be the reason and how to eliminate it?

    Rapid deployment of HFM getting failed at "Install Financial Management domain" step. Kindly Suggest what could be the reason and how to eliminate it?

Maybe you are looking for

  • Cannot open query in Excel (BEX analyzer)

    Hello Experts, Issue: Cannot open the BEX report in Excel but can open the same report on IE. 1) I am trying to open a BEX report "ReportA" in Excel (BeX Analyzer). 2) As soon as the report opens it shows me a message "Do you want to open the 3.X wor

  • Function module to update the values in STPO table :   VERY URGENT!!!!!!!!!

    Hi All, Can any one tell me is there any Remote function module to update the values of components in STPO table while creating Sales order BOM, Material BOM, and WBS BOM. For example I want to update the Spare Part Indicator for Item components base

  • Question about Dolby Digital 5.1 in Soundtrack Pro 3

    Hi folks, I am pretty confused in regards to using Soundtrack Pro 3 to create and export a AC-3 dolby digital 5.1 file to be used in burning a Blu Ray DVD using Toast Titanium 11. I admit that overall I am somewhat Final Cut Studio savy but for the l

  • Add custom dictionary files

    Hi, I am trying to add custom dictionary files to our office installation on a TS server. its 2012 R2 server running office 365 32bit. i have a script that adds the paths to the custom dictionaries to the registry. the script adds 2 entries for each

  • Deskjet F2120 All in one

    Need Help My Copier stoped working,the printer and scaner works ok