Report To View Item Sales By Geography

Hello All -
I would like to see a report that shows how well our products sell by U.S. State.   Also, rather than see a list of individual items, I would like to see the cumulative totals of those items that have the same first four digits in the item number.  Our item numbers are 9 digits in length - so for all items that share the same first 4 digits, I would like to know what the cumulative sales are by state. 
Help?!
Thanks,
Mike

Hi Mike ,
Start with Something like this
Select SubString(Itemcode,0,5) as ItemCode,
Sum (case when CRD1.State = 'CA' then  Linetotal else 0 End )as CA ,
Sum (case when CRD1.State = 'IL' then  Linetotal else 0 End )as IL
from  INV1 inner Join OINV on OINV.DocEntry= INV1.DocEntry
inner Join OCRD on OCRD.CardCode= OINV.CardCode
inner Join CRD1 on OCRD.CardCode = OCRD.CardCode
Where CRD1.AdresType='B' and OINV.DocType='I'
Group by SubString(Itemcode,0,5)
Start with one or two state to start and then extend upto 50 ...Basically you have to test whether result are coming as expected or Not
Hope this is the start ..
Thank you
Bishal

Similar Messages

  • Inventory listing report to view item balance with the model number in R3

    Hi,
    Anyone have any ideas does R3 provide standard report to view the report with inventory listing on balance,description,model number?
    Kindly provide the t-code.

    Hi Karen,
    Check the below reports (t-code's)
    MB52, MMBE, MB5B, MB51
    If you need additional info revert.
    if helpful award points
    Regards,
    Vivek

  • Standard report to view Released SD credit locked orders or deliveries

    Hi Experts,
    Is there any standard report to view the sales order or deliveries which are released due to credit control
    system for a particular period?
    Thaks in advance
    SR

    Hi Ram,
    Info stru-      S066 
    Description-       Open orders: credit mgmt         
    Period unit- Month
    Update  -Synchronous updating(1)    
    S067----
      Info structure is not exist in our system.
    Regs.
    SR.

  • SD report for the open sales orders with items

    Hi,
    Is there any standard SAP report which display open sales order togeather with the open items. I want to have columns target quantity, delivered quantity and open quantity.
    Any tip?
    BR
    Saso

    Dear Saso,
    I think, instead using Report: VA05/ VA05N; its better to use Report: VL10C
    In this report, you will get all the Sales Orders along with Materials - relevant for open delivery, along with Open Qty. and various other options can be selected from "Change Layout - (Ctrlt+F8)".
    Best Regards,
    Amit
    Note: Don't maintain any Field-Entry (while executing the Report: VL10N; in order to list all Sales Orders. But, if you want to list Sales Orders based upon some criterias, maintain the Field-entries, as reqd.

  • Report for viewing Sales order no against delivery date & actual GI date

    Hi Experts,
    Is there any report for viewing Sales order no against delivery date & *actual GI date*
    Because in VL06F , i can only able to get planned GI.
    Please guide regarding the same where i can get 'ACTUAL GI DATE ' against above combination .
    Regards,
    Sujit S.

    dear Hrishi,
    i followed your suggestion, but couldn't get desired results,
    here i can get planned GI date, where i wanted to get Actual GI date for complted deliveries,
    thanks for your valuable reply.
    @ G. Lakshmipathi ;-
    i think i will need to develop z-report for fetching the data from the tables
    VBAK (to get sale order reference) and
    LIKP (to get delivery and actual GI date)
    thanks for your reply,
    Regards,
    Sujit

  • Discoverer Viewer Report with Page Items Slow Performance

    I created a report in Discoverer User that has page items and parameters and runs fine (under 3 minutes) in Discoverer User, but when I try and run it in Discoverer Viewer it takes a long time. It took over 70 minutes before manually terminating it. I made a copy of the report and removed the page items and tried to run it again in Discoverer Viewer and now the report runs in under 3 minutes. Any idea why a report with page items would run in Discoverer user fine, but not discoverer viewer?
    I am using Oracle Business Intelligence Plus 10g (10.1.2.55.26)

    As long as you can access the middle-tier server where Discoverer Viewer is running, you should be able to run and view Discoverer worksheets.
    While it is difficult to even start guessing what the problem might be, if the machine you installed Discoverer on has DHCP addressing, you will run into problems.
    Thanks
    Abhinav
    Oracle Business Intelligence Product Management
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN : http://www.oracle.com/technology/products/bi/
    Discoverer : http://www.oracle.com/technology/products/discoverer/
    BI Software : http://www.oracle.com/technology/software/products/ias/devuse.html
    Documentation: http://www.oracle.com/technology/documentation/appserver1012.html
    BI Samples : http://www.oracle.com/technology/products/bi/samples/
    Blog : http://oraclebi.blogspot.com/

  • Deliery block sales orders report for TAS items

    Hi,
    User requirement is need a report which gives list of sales orders which have the delivery block in  sales order schedule lines.( of third party items TAS)
    I found V.14 and VA14L to find out the sales orders which give the list of sales orders which are blocked for outbound delivery (in schedule line delivery block).
    However, for third party items sales order with item category TAS are not coming in the report of V.14.
    I think the reason is because of the third party items are not relevant for delivery hence v.14 report not fetching the data of third party orders(TAS), is this my understanding is correct?
    If the user is insisting on for even third party items also they want a report which should give the list of sales order which are blocked for delivery block then what is the best way to advise the user?
    And does it make any sense putting delivery block for third party items ? because we are not delivering the goods to customer and even if you put delivery block we can’t stop PR,PO and MIGO and MIRO etc .
    Thanks,

    is this my understanding is correct?
    Absolutely correct.
    they want a report which should give the list of sales order which are blocked for delivery block
    Since the inventory / stock of material would be handled out of SAP, what is the need to set a delivery block.  Even if you set delivery block, vendor is going to deliver the material.
    what is the best way to advise the user?
    Convince the user what they are expecting in SAP are logically incorrect.  When the material is being delivered by a vendor, what is the use if you set delivery block for this item?  What they are going to achieve. 
    And does it make any sense putting delivery block for third party items ?
    Definitely, no
    G. Lakshmipathi

  • Is there any report to view vat on purchase items

    is there any report to view vat on purchase items. Please give t code

    Hi
    Use this t.code S_ALR_87012357
    Regards
    T N R

  • Items Sales Report

    Hello.
    I need to make an items sales report, but i have diferences between OINV.DocTotal and (INV1.Quantity * INV1.Price). What is the correct way to make this kind of report?
    regards
    Oscar

    thanks for every one, I found the answer:
    SELECT T0.DocEntry, T1.DocNum,
           (SELECT (T2.DocTotal - T2.VatSum) FROM OINV T2 WHERE T0.DocEntry = T2.DocEntry) 'DocNeto',
          (ROUND(SUM(T0.LineTotal),4) - T1.DiscSum) 'DetTotal' FROM INV1 T0
       LEFT JOIN OINV T1 ON T0.DocEntry = T1.DocEntry
    WHERE YEAR(T0.DocDate) = 2008  AND T1.DocType = 'I' and T0.DocEntry = 8755
    GROUP BY T0.DocEntry,T1.DocTotal,T1.DocNum,T1.DiscSum
    I did this query to match the header and details invoices.
    Thanks, for your time.

  • Standard report to view Sales value with Cost price

    Dear All,
    Is there any standard report to view Sales value for a particular period for  customer's comparing with Cost value. For Example,
       Customer     Month           Sales Value     Cost value
        A                 April '10         10,000/-             ?
        A                 May '10            5,000/-             ?
        B                 April '10          15,000/-            ?
        C                 June '10           20,000/-           ?
        C                 July '10           10,000/-            ?  
    Regards
    KS

    Hi,
    There is no report which gives customer wise sales figures and their cost structure. Cost structure is something which has to be taken from material master or using MM material documents.
    However you can very easily create a report. You can use VBAK, VBAP, MBEWH, MBEW and MSEG tables to arrive at these figures

  • Inactive Item report to show Item bought within a specific period and not sold within a specific period by whse and have stock

    Hi
    I'm trying to come up with query report to show Inactive Item bought within a specific period and not sold within a specific period by whse and have stock
    The report should show  Item Number, Item Name ,Item cost,Retail Price [Based on a price list], Qty in Whse, Last Purchase Date, Last sale Date etc.
    e.g item bought between 2011-2013 and have not been sold with the same date range or the last 12 months.
    Regards
    Brian Ndunda.

    Hi,
    Try this query:
    SELECT T0.[ItemCode], T0.[ItemName], T0.[OnHand], T0.[AvgPrice], T0.[LastPurPrc], T0.[LstSalDate] FROM OITM T0  left JOIN INV1 T1 ON T0.ItemCode = T1.ItemCode left JOIN OINV T2 ON T1.DocEntry = T2.DocEntry WHERE T1.[Quantity] is null and  T0.[OnHand] >0 GROUP BY T0.[ItemCode], T0.[ItemName], T0.[OnHand], T0.[AvgPrice], T0.[LastPurPrc], T0.[LstSalDate]
    Thanks & Regards,
    Nagarajan

  • KE24 line item report  ( profitability line item report)

    Hi all,
    we need sub total sale order wise automatically in KE24 line item report  ( profitability line item report)  . How can i do for this .
    could you please help me.
    Regards,
    K.Satish
    [email protected]

    Hi,
    Please forward the same to my mail id:[email protected]
    Thanks in advance.
    Regards,
    Prasad

  • Report on changes to sales orders

    Hi Experts,
    I am looking for a way to report on changes to sales orders, specifically the row shipping date and quantity.
    I can see that the data is apparently in tables ADOC and ADO1 but am having trouble getting useful results. What I need is a report that, for sales orders only and for a date range, shows all changes to row quantities or row shipping dates. The type of output that would be useful is:
    Change date  - document # - row# - Item code - old shipping date - new shipping date - old qty - new qty
    filtered on change date for sales orders only. This seems beyond my preferred option of XL-Reporter and I'm getting lost in the history tables in creating a query.
    Best Regards
    Matthew

    Hi,
    Without doing the query for you, history tables are linked as the "normal" table but with the addition of the LogInstance column. Then the UpdateDate column (from base table ie. ADOC) will tell you when it was changed.
    Your query isn't an easy one... SInce you have to link an instance (ie. LogInstance = 1, which will be the original created object) to all the modified ones.
    Regards,
    Eric

  • Report for viewing credit limit block released documents

    Hello All,
    Our client's requirement- credit limit check to be carried out and authorised persons can release the blocked orders.
    But is there any report at month end to see how many documents were released and who released them  Is there any standard report for viewing these or ABAP has to develop them?  VKM2 transaction- released SD Documents would not show any released documents once billing is done i.e, once the sales documents is released it cannot be known who released it and when, how to track this?. so what can be the solution for this? Please suggest
    Regards,
    RAJ

    Dear Raja,
    Use VKM4 t code.
    You can see both credit released sales orders and deliveries.
    Put Overall credit status as D.
    You can see how much value was released, when it was released. But with which user id it was released you cant see it.
    Regards
    Abhilash

  • A report to view the cash flow coming from Purchase Orders.

    Hi All,
    Could anyone suggest me a report to view the financial obligations which comes from Purchase Orders?
    Thanks
    Gandalf

    Hi,
    You will have to activate basic cash management (part of FSCM) and use TCode FF7B (liquidity forecast). What the report would do is, based on the delivery date of the purchase order and the payment terms of the vendor (plus some grace days for clearing the payment as per configuration) determine the date of expected payments and project the cash (and bank) balance by days/week or months.
    Alternatively you can write your own ABAP code which will do the same thing.
    a. Take a list of all open POs and determine the delivery date (EKKO and EKPO)
    b. Add the payment terms as per purchase order to the delivery date
    c. Compute the cost of the purchase order item
    d. Display the report which projects expected payments by date
    Rgds
    Shivram.

Maybe you are looking for