Query for top 10 selling products and their current stock

Hi ppl
I am using the sales overview cube 0SD_C03 to get top 10 selling products. What I want is to get the current stock available of the top 10 products from Material Stocks/Movements cube 0IC_C03. From what I know, we have to make a multiprovider to get this information. Can anyone guide me how to go about it?

Hello Javed,
                     You can use Replacement path for this.
1.Create a report for Top 10 Products in InfoCube 0SD_C03 - Exampls Report A
2.Create another report with Stock and use a variable for Product with processing type replacement path in InfoCube0IC_C03 - Example Report B
3. In Report B and assing the Report A to this variable.
When you execute the Report B it will execute the Report A in background and displays it in Report B.
Hope it helps,
thanks
Chandran

Similar Messages

  • Oracle query for top two salary of each group departmentwise

    oracle query for top two salary departmentwise

    sigh...
    But anyway,
    Top-n queries:
    http://www.oracle.com/technology/oramag/oracle/07-jan/o17asktom.html
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2853107469873
    and ofcourse lots of 'em here on OTN...

  • Poll: Are you pleased your Vista Drivers and their current featur

    So my question goes who here uses their Sound Card to do more such as decode Dolby Digital (any kind) for SPDIF IN/OUT or any other function that enables you to do more for your home entertainment system, that Vista currently doesn't support?
    POLL:
    Are you pleased with your Vista Drivers and their current features? (A respectable question)
    Yes
    or
    No
    Maybe we can have a Poll about the feelings of the community without it being blocked for "stirring up trouble", we have an opinion lets see what the community thinks.Message Edited by cyphin6 on 03-20-200705:06 PM
    Message Edited by cyphin6 on 03-20-200705:07 PM

    Why is it that people think they have all these "rights"? There is a difference between a "right" and a "privilege". It is painfully obvious that most people who say that have a "right" to do something don?t know what their rights are at all.
    First and foremost, moderating a privately owned forum is not a violation of anyone's "rights". Before someone complains about their "right to free speech" being violated because of a forum moderator, you need to understand about the right to "free speech" in "America" (Actually you should say in the U.S. because Cuba is part of "America" as well and they don't have a constitutionally guaranteed "right to free speech" ) applies to CONGRESS and what CONGRESS can't do. Basically, it restricts the government, not private citizens and private forums.
    And even though you may have the "right" to say something, it doesn't mean that anyone here has to listen to you...and that includes the moderators and forum owner. In other words, they can tell you to shut up by locking or deleting a topic. If you want to practice your ?right? beyond that, open your door and shout at the top of your lungs?and when the police show up, you can'tell them?all about your ?rights?
    Message Edited by SGV on 03-20-200705:45 PM

  • I called a contact and their current location showed up. I've never noticed or seen that before. Is that feature only available during calls or can I find current locations of any of my contacts?

    I called a contact and their current location showed up. I've never noticed or seen that before. Is that feature only available during calls or can I find current locations of any of my contacts?

    Your friend may have this turned on -
    Settings - Privacy - Location Services - scroll all the way down - System services - Share my location - toggle on

  • Standard Query for Top 10 queries and Users

    Hi Experts,
    Is there any query which gives the details like ,
    1. Top 10 queries executed in a month
    2. Top 10 users ( By no of queries executed )
    Regards,
    Bhadri M.

    1. Top 10 queries executed in a month
    Use Query 0TCT_MCA1_Q0142.
    In this report you will have to filter variable BI Object to Queries and also it gives stats for the last 30 days, you have have to remove the SAP User exit variable in case you do not want to use the 30 days option. And then you will have to define Condition for Top 10.
    2. Top 10 users ( By no of queries executed )
    Use Query 0TCT_MCA1_Q0141.
    Similarly you have to modify this query.
    -Neelesh

  • SQL Query for TOP 10 Average CPU

    Have a SCOM Report request for a line graph showing top 10 average CPU for a group of servers. I have a query that will show all of the servers in a group for the last day, with the average CPU by hour. How can I extend the SQL query to only select the TOP
    10 average CPU from the group? Here is the Query I have:
    SELECT
    vPerf.DateTime,
    vPerf.SampleCount,
    cast(vPerf.AverageValue as numeric(10,2)) as AverageCPU,
    vPerformanceRuleInstance.InstanceName,
    vManagedEntity.Path,
    vPerformanceRule.ObjectName,
     vPerformanceRule.CounterName
    FROM Perf.vPerfHourly AS vPerf INNER JOIN
     vPerformanceRuleInstance ON vPerformanceRuleInstance.PerformanceRuleInstanceRowId = vPerf.PerformanceRuleInstanceRowId INNER JOIN
     vManagedEntity ON vPerf.ManagedEntityRowId = vManagedEntity.ManagedEntityRowId INNER JOIN
     vPerformanceRule ON vPerformanceRuleInstance.RuleRowId = vPerformanceRule.RuleRowId
    WHERE
    vPerf.DateTime  >= DATEADD(Day, -1, GetDate())
    AND vPerformanceRule.ObjectName like '%Processor Information%'
    AND vPerformanceRuleInstance.InstanceName = '_Total'
    AND (vPerformanceRule.CounterName IN ('% Processor Time'))
    AND (vManagedEntity.Path IN (SELECT dbo.vManagedEntity.Name
    FROM dbo.vManagedEntity INNER JOIN
    dbo.vRelationship On dbo.vManagedEntity.ManagedEntityRowId = dbo.vRelationship.TargetManagedEntityRowId INNER JOIN
    dbo.vManagedEntity As CompGroup On dbo.vRelationship.SourcemanagedEntityRowId = CompGroup.ManagedEntityRowId
    WHERE CompGroup.DisplayName = 'bemis ibb prod'
    ORDER BY path, vPerf.DateTime
    Results
    DateTime
    SampleCount
    AverageCPU
    InstanceName
    Path
    ObjectName
    CounterName
    2/26/15 3:00 PM
    2
    1.98
    _Total
    servername.corp.com
    Processor Information
    % Processor Time
    2/26/15 4:00 PM
    2
    2.09
    _Total
    servername.corp.com
    Processor Information
    % Processor Time
    2/26/15 5:00 PM
    2
    1.72
    _Total
    servername.corp.com
    Processor Information
    % Processor Time
    2/26/15 6:00 PM
    2
    1.83
    _Total
    servername.corp.com
    Processor Information
    % Processor Time
    Thanks in Advance!
    Mike Hanlon

    Hi 
    Sql Query
    SELECT TOP 10
    vPerf.DateTime,
    vPerf.SampleCount, 
    cast(vPerf.AverageValue as numeric(10,2)) as AverageCPU,
    vPerformanceRuleInstance.InstanceName, 
    vManagedEntity.Path, 
    vPerformanceRule.ObjectName, 
     vPerformanceRule.CounterName
    FROM Perf.vPerfHourly AS vPerf INNER JOIN
     vPerformanceRuleInstance ON vPerformanceRuleInstance.PerformanceRuleInstanceRowId = vPerf.PerformanceRuleInstanceRowId
    INNER JOIN
     vManagedEntity ON vPerf.ManagedEntityRowId = vManagedEntity.ManagedEntityRowId INNER JOIN
     vPerformanceRule ON vPerformanceRuleInstance.RuleRowId = vPerformanceRule.RuleRowId 
    WHERE 
    vPerf.DateTime  >= DATEADD(Day, -1, GetDate())
    AND vPerformanceRule.ObjectName like '%Processor Information%'
    AND vPerformanceRuleInstance.InstanceName = '_Total'
    AND (vPerformanceRule.CounterName IN ('% Processor Time'))
    AND (vManagedEntity.Path IN (SELECT dbo.vManagedEntity.Name
    FROM dbo.vManagedEntity INNER JOIN
    dbo.vRelationship On dbo.vManagedEntity.ManagedEntityRowId = dbo.vRelationship.TargetManagedEntityRowId INNER
    JOIN
    dbo.vManagedEntity As CompGroup On dbo.vRelationship.SourcemanagedEntityRowId = CompGroup.ManagedEntityRowId
    WHERE CompGroup.DisplayName = 'bemis ibb prod'
    ORDER BY path, vPerf.DateTime
    Regards
    sridhar v

  • "My Adobe" site is permanently redirected to "Adobe ID" site. There is no way to retrieve serial numbers for CS 5.5 products and below.

    How can I get my serial number for CS 5.5 Master Collection and CS 5.5 Captivate? This was retrievable only a few days ago using the "My Adobe" site at (adobe.com/account.html)
    The My Adobe URL (adobe.com/account.html) has a permanent redirect to the new Adobe ID URL (accounts.adobe.com/) Just a few days ago, Adobe "My Products and Services" contained my collection of serials.Users now cannot access this URL at adobe.com/account/my-products-services.html with the redirect in place.
    The new Adobe ID site "My Products" at (accounts.adobe.com/products) reports "You have no registered products." We need the "My Adobe" classic site back to access our registered serials.
    Adobe should update their help documentation that references the old link (adobe.com/account.html) as well. Here are a couple of examples:
    Where is My Adobe account info | How to sign in/out « Caveat Lector
    Serial number, Redemption, and Product codes | Student & Teacher Editions

    https://accounts.adobe.com/products shows all my products with their serial numbers back to 2005 when I first registered PSE2.0 that came bundled with my camera, and the two example pages with old links properly redirect to the Plans page and all I have to do is click View all products and again I will see my list back to 2005.
    So things are working just fine for me.  If it says you have no products, maybe there are changes still percolating through the server network that aren’t in place from where you’re surfing from, or maybe you have multiple AdobeIDs and are signed into the one that doesn’t have products registered to it.
    In other words, things appear to be working just fine with my AdobeID using either the old links or the new links and so I’d reword the request to be that you want the new site to work properly.   The old site did have another layout that required clicking into each product to see the serial number whereas the new site list everything on one page without clicking into anything.  I prefer the new way.

  • Query for updating prices if product IDs same

    I have a large Windows SQL 2000 database of products that
    need to have
    2007 prices.
    I have another Windows SQL 2000 database that has the correct
    prices
    that I can import into Windows SQL 2000 as a new table.
    I want to be able to UPDATE the Prices where product IDs
    match.
    What would an SQL query look like that would run in Query
    analyzer?
    So, basically, I need a query that would compare the product
    IDs and
    update the price column with the new price.
    Neither database is in the same location. One that holds the
    correct
    pricing is basically inaccessible to me. I can get a
    delimited file
    though. I know how to get that in.

    I've a table called Track, which has three columns named Part1, Part2 and Part3. I want all values of Part1 to be separated by a comma (,);
    No, don't go there.
    This breaks a fundamental point for relational databases: no repeating groups. A cell should hold an atomic value. And this is not only a matter of purism. Relational databases are designed from this principle, and breaking this means that you will need
    to write complex and higly inefficient code.
    The values in Part1 should be in a separate table, with one value per row.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Query to Find all the Tables and their corresponding columns,dataType in DB

    Hi all,
    I need a query which can give me all the Tables existing in my DB and their corresponding Columns existed for those tables and Datatype for each column .
    Thanks in Advance,
    viajy

    Hi,
    For your user tables you can use USER_TAB_COLUMNS.
    Just give DESC USER_TAB_COLUMNS at your SQL> prompt.
    You will know on that object.
    Regards,
    Sailaja

  • Query for inserting data into table and incrementing the PK.. pls help

    I have one table dd_prohibited_country. prohibit_country_key is the primary key column.
    I have to insert data into dd_prohibited_country based on records already present.
    The scenario I should follow is:
    For Level_id 'EA' and prohibited_level_id 'EA' I should retreive the
    max(prohibit_country_key) and starting from the maximum number again I have to insert them
    into dd_prohibited_country. While inserting I have to increment the prohibit_country_key and
    shall replace the values of level_id and prohibited_level_id.
    (If 'EA' occurs, I have to replace with 'EUR')
    For Instance,
    If there are 15 records in dd_prohibited_country with Level_id 'EA' and prohibited_level_id 'EA', then
    I have to insert these 15 records starting with prohibit_country_key 16 (Afetr 15 I should start inserting with number 16)
    I have written the following query for this:
    insert into dd_prohibited_country
    select     
         a.pkey,
         b.levelid,
         b.ieflag,
         b.plevelid
    from
         (select
              max(prohibit_country_key) pkey
         from
              dd_prohibited_country) a,
         (select
    prohibit_country_key pkey,
              replace(level_id,'EA','EUR') levelid,
              level_id_flg as ieflag,
              replace(prohibited_level_id,'EA','EUR') plevelid
         from
              dd_prohibited_country
         where
              level_id = 'EA' or prohibited_level_id = 'EA') b
    My problem here is, I am always getting a.pkey as 15, because I am not incrementing it.
    I tried incrementing it also, but I am unable to acheive it.
    Can anyone please hepl me in writing this query.
    Thanks in advance
    Regards
    Raghu

    Because you are not incrementing your pkey. Try like this.
    insert
       into dd_prohibited_country
    select a.pkey+b.pkey,
         b.levelid,
         b.ieflag,
         b.plevelid
       from (select     max(prohibit_country_key) pkey
            from dd_prohibited_country) a,
         (select     row_number() over (order by prohibit_country_key)  pkey,
              replace(level_id,'EA','EUR') levelid,
              level_id_flg as ieflag,
              replace(prohibited_level_id,'EA','EUR') plevelid
            from     dd_prohibited_country
           where level_id = 'EA' or prohibited_level_id = 'EA') bNote: If you are in multiple user environment you can get into trouble for incrementing your PKey like this.

  • Query for Customer site Phone number and Fax number  in Oracle Apps

    Dear All,
    Can anyone guide me how to write qurey for Customer site phone number and Fax number for Acive customers.
    Thanks in advance.
    Best Regards
    NRC

    Hi Team,
    This is a shipping report in header level we have the customer information with site address. The requirement is along with site address we need to show the phone number and Fax number .For this we need to write the formula column.Thes are the comes through HZ parties only. I have no idea how to achieve this.
    Best Regards
    NRC

  • ABAP User Roles and Query for accessing particular T- codes and Reports

    dear Gurus
    I have one problem, i want to know about ABAP User Query ,i have one requirement my user wants to Lock all the HR Std versus Customized reports in T- code SQ01,other department peoples also see the Payslips and Hr personal reports which is harmfull to the dept so i want to Lock all the reports in Std T- code in SQ01 and i have created one Customized User Roles or Query in which the T-codes and Reports are assigned only those particular user can access the T-codes and Std reports .how can it be possible i dont have any idea about user roles and Queries .
    kindly help me out or send me some documents related to user roles and queries
    regards ritesh sharma

    Hi Ritesh,
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/103cafc2-7a64-2b10-14b3-eddb7d324561
    Regards,
    Flavya

  • SAP query for asset report with retirement and depreciation retirement

    Hi Expert,
    Can anyone tell me in table ADA which filed is holding the figure of retirement and retirement depreciation?
    Thank oyu

    Hi,
    Max.
    For your question you can check the tables ANEP for asset transactions line items and for asset value fields you can check out ANLC.
    I hope this may help you.
    If you have any doubts feel free to ask.
    Regards,
    Pankaj A Bhalerao.

  • Query for top 5 items

    Hi All,
    Looking for a query that would return the top 5 sales items along with sales values, between a date range
    Thanks
    Ranjit Krishnan

    Hi,
    You may try this if Credit Memos do not need to be included:
    SELECT TOP 5 T1.ItemCode, MAX(T1.Dscription) as 'Item Description',  SUM(T1.LineTotal) as 'Amount(LC)'
    FROM dbo.OINV T0
    INNER JOIN dbo.INV1 T1 ON T1.DocENtry = T0.DocENtry
    WHERE t0.docdate >= [%0\] and t0.docdate <= [%1\] AND t0.doctype = 'I'
    GROUP BY T1.ItemCode
    Order by SUM(T1.LineTotal) DESC
    Thanks,
    Gordon

  • You have to love HP products and their customer service and technical support

    My daughter has one of your ZV5000 notebooks. She has been very happy with it until the last few months when she started having charging issues. After investigation I found out that HP had a class action suit over this very problem. I called customer support and I emailed customer support trying to get HP to live up to it's obligation and fix it. I got no where and after several hours I gave up. She decided to get a new notebook. She bought a Compact Presario CQ50-130US from Staples. When she got it home she tried to connect to my wireless router and couldn't. We called technical support and spend the following 2 hours trying to get it to connect. I spoke to several techs none of which knew what they were talking about. They would read step by step from some try this if that doesn't work try this directions they must have. If that wasn't bad enough we constantly had to ask for it to be repeated because we couldn't understand them. They spoke English but with such heavy accents you couldn't understand what they were saying. The last tech was going to call Comcast my internet provider. I told him they provided the internet service not the router. He couldn't understand that. After keeping me on the phone for 15 minutes he came back to say he couldn't get threw and would call me back when he did. There customer service must be as good as yours is to get threw to. I got a call 24hrs later to ask if everything was alright. They never fixed the problem how could it be alright? By then she had decided to return the new one and buy a product other than HP or Compact. I would up fixing her old laptop something HP should have paid for but didn't. I have always trusted and respected the HP name. I am very sorry to see what it has become to stand for. Inferior products that you don't stand behind and customer and technical support that can't speak English and don't have a clue as to what they are doing. How sad! Do you think any of my family or friends will be buying an HP product?

    well, this IS a means of finding a resolution for some issues. so why SHOULDNT they read this forum? i can assure you that there are people who are not just reading stuff off a book or a document. in fact, that is the biggest cliche's that exists today.
    Make it easier for other people to find solutions, by marking my answer with \'Accept as Solution\' if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"
    I am an ex-HP Employee.

Maybe you are looking for

  • Getting an error message when trying to connect to Telepresence Meeting - "Call Denied"

    I am getting an error when trying to connect to Telepresence units I have been using for quite some time. I tried multiple computers and multiple destinations. The error message "call denied" pops up within seconds after trying to connect. Any ideas?

  • Apple TV Upconverting?

    Doe's AppleTV have any up-converting video capabilities and/or algorithms, as found in an up-converting DVD player. I find my up-converting DVD player is much better then my older dvd player. Before I invest in an AppleTV I would like to see this obv

  • Using jquery to animate this (link included)

    Hi there, I'm in the completion stages of a website for a client. Still some things to fix (like activating the form) but essentially, this is the heart of the site and how it will work. http://www.vilverset.com/main.php As you can see by clicking th

  • Possible iPhone bug with custom recurring day schedule?  Need help.

    In Microsoft Outlook I have a 64 day schedule that is set up as single all day recurring events each day. Each day of the 64 day schedule recurrs every 64 days. Day 1 recurrs every 64 days, day 2 recurrs every 64 days, etc., etc. When I synced this t

  • Byte Order for Floating Point Types

    I need to send an array of floating point values from an x86 C++ application to a Java application. I am using a socket to transfer the data. What, if anything, do I have to do about preserving the correct byte order?