Sales Analysis Report - Items -- blank result

Hi,
I'm testing a setup and running the sales analysis report. It works for the Customer version but I get no results when running on Items.
I'm on SBO 2007A SP01 PL07. There are open and closed invoices for inventory items; no credit memos have been posted. All Item type invoices.
When I run by Customer, I get the correct data - open and closed invoices for that customer.
When I run by Items, I get no results. The date range is the same for both reports.
When I run the purchase analysis on Items, I get data for the same items I am trying to see in the sales analysis.
Any ideas what could be causing this?
Thank you,
Heather

HI Gordon,
I left the default settings: 
- Annual Report, Invoices, Individual Display, No Totals
- Posting Date:  whole fiscal year
- Main selection:  left blank/default (group = all, no properties)
I have double/triple/quadruple-check even the Secondary SElection to make sure there's nothing there.
I have also run it on Due Date instead of Posting Date, still no results (if run on Items).
As I mentioned, the selection criteria is what I want but for some reason that one version, Items, does not work. The other 2 tabs work with the same selection.
Heather

Similar Messages

  • Sales Analysis Report - Items

    Hello -
    We ran the Sales Analysis Report for Items on SAP B1.  It doesn't seem right...the # of items sold is clearly wrong -- it looks like it may be off by over 10X.  Does anyone know what we may have done wrong here?  Did we not set something up correctly?
    Please advise.
    Thanks,
    Mike

    HI Gordon --
    Found out the problem - had orders rather than invoices checked!
    Thanks,
    Mike

  • How to display customer name in sales analysis report (item) layout

    Hi,
    Currently I try to run the sales analysis report by item with secondary selection on customer from & customer to.
    Is it possible for the layout to display the customer from & customer to.
    I try to look for the table name OFLT, but I cannot find it.
    My main concern is to display the customer name in the layout for sales analysis by item.
    Thanks

    Hi,
    The table OFLT stores selection criteria for all form. If there is no customer name/code in system PLD, it is very hard to find table or system variable.
    Tried to get customer name, not successful.
    Alternatively can try to create customized query to get additional field in sales analysis report.
    Thanks & Regards,
    Nagarajan

  • Sales Analysis Report for Batch Numbers

    I am currently having an issue with Batch numbers and sales analysis report item wise. If the goods are delivered it does not show the quantity in the report. is there a way to make the quantites show. Open delivery notes show the quantity in the report. Could the reason be that once the delivery note is closed the quantity does not show in the report.????

    Dear Mr Shah,
    If I understood correctly, you are saying that there is no issue in adding the document with the batch but it is not shown in the Sales Analysis report?
    The Sales Analysis report does not show information regarding the quantity because it focuses on the value of the document.
    In order to have an overview on the trasactions related to the batches please use the Batch Number Transaction Report under Inventory - Inventory report.
    Regards,
    Marcella Rivi
    SAP Business One Forums Team

  • Wrong Qty Showing in Sales Analysis Report

    Dear All
    When we run Sales Analysis Report Item Wise by selecting Delivery Note in the selection, then it shows '0' or '-1' in Quantity field. It should show totat quantity delivered of each item.
    Can anyone elaborate this why it happens?
    Thanks and Best Regards
    Nabeel

    Dear Rahul
    I haven't unblocked negative inventory check. But that will not create any affect in Sales Analysis Report.
    Regards
    Nabeel

  • Query to mimic the items tab of the Sales Analysis report.

    Hi there,
    I'm currently looking to create a query that mimics the behaviour of the Sales Analysis report in B1. The items tab of the Sales Analysis report provides all the data I require - the only issue is that I would like to merge this data with some other data regarding current on hand stock quantities etc. and therefore I would like to be able to pull out the query behind the Sales Analysis report.
    I'm assuming this cannot be done and therefore I'm attempting to build a query to replicate the results. The query needs to show Item No, Item Description, Quantity Sold, Sales Amt (in system currency), Gross Profit and Gross Profit % for items within a given period.
    If this can be done relatively easily, can the query then be modified to show all items (including items that haven't sold in the date range) merely with '0' for Quantity Sold, Sales Amt etc. if the item hasn't been sold in the period, and the appropriate figures if each of these columns if the item has sold. I assume some kind of CASE statement can be used to generate this.
    So the query needs to show Item No, Item Description, Current quantity in stock, Quantity Sold, Sales Amt (in system currency), Gross Profit and Gross Profit % for all items within a given date range.
    I hope you can assist me with this problem.
    Thanks
    Grant.

    Hi,
    Thanks Gordon that was exactly what I needed.
    I've been trying to add some additional columns to the query but I'm experiencing some errors and I can't quite tell why.
    Basically, here's the code from another working query I have which I wish to merge into the query you've suggested above:
    SELECT T0.[ItemCode],
    T0.[ItemName],
    T3.[ItmsGrpNam],
    T4.[Name] AS [Sub-Category],
    T5.[Name] AS [Sub-Sub-Category],
    T0.[CardCode] AS [Pref Supplier],
    T6.[FirmName] AS [Brand],
    T0.[U_Range],
    T0.[OnHand],
    CASE WHEN T0.[StockValue] = 0 THEN 0 ELSE T0.[StockValue] END AS [StockValue],
    T1.[Price] AS [PBK GBP Price],
    CASE WHEN T0.[OnHand] = 0 THEN T0.[LastPurPrc] ELSE T0.[StockValue]/T0.[OnHand] END AS [Ave Cost],
    CASE WHEN T0.[OnHand] = 0 THEN T1.[Price]-T0.[LastPurPrc] ELSE CASE WHEN T0.[OnHand] > 0 THEN T1.[Price]-T0.[StockValue]/T0.[OnHand] END END AS [Margin],
    CASE WHEN T0.[OnHand] = 0 AND T0.[LastPurPrc] = 0 THEN 0 ELSE CASE WHEN T0.[OnHand] > 0 AND (T0.[StockValue]/T0.[OnHand]) = 0 THEN 0 ELSE CASE WHEN T0.[OnHand] = 0 THEN (T1.[Price]-T0.[LastPurPrc])/T1.[Price]*100 ELSE CASE WHEN T0.[OnHand] > 0 THEN (T1.[Price]-T0.[StockValue]/T0.[OnHand])/T1.[Price]*100 END END END END AS [Margin %],
    T0.[LastPurPrc]
    FROM [dbo].[OITM]  T0 INNER JOIN [dbo].[ITM1]  T1 ON T0.ItemCode = T1.ItemCode INNER JOIN [dbo].[OITB]  T3 ON T0.ItmsGrpCod = T3.ItmsGrpCod LEFT OUTER JOIN [dbo].[@U_SUBCATEGORY]  T4 ON T0.U_Subcategory = T4.Code LEFT OUTER JOIN [dbo].[@U_SUBSUBCATEGORY]  T5 ON T0.U_SubSubCategory = T5.Code INNER JOIN OMRC T6 ON T0.FirmCode = T6.FirmCode
    WHERE T0.[OnHand] >= 0 and T0.U_Range not in ('E','X')  
    ORDER BY T0.[ItemCode]
    Essentially I just wish to add the fields which are specified in the query above, but not in the query you've already suggested:
    SELECT T0.ItemCode,
    Max(T0.ItemName),
    Max(IsNull(T0.OnHand,0)) 'In Stock',
    SUM(IsNull(T1.Quantity,0)) 'Quantity',
    Sum(IsNull(T1.LineTotal,0)) 'Sales Amt',
    SUM(IsNull(T1.GrssProfit,0)) 'Gross Profit',
    Case WHEN Sum(Isnull(T1.LineTotal,0)) = 0 THEN 0 ELSE
    SUM(IsNUll(T1.GrssProfit,0))/Sum(Isnull(T1.LineTotal,0)) * 100 END 'Gross Profit %'
    FROM dbo.OITM T0
    LEFT JOIN dbo.INV1 T1 ON T1.ItemCode=T0.ItemCode
    LEFT JOIN dbo.OINV T2 ON T2.DocEntry=T1.DocEntry AND T2.DocDate Between [%0] AND [%1]
    GROUP BY T0.ItemCode
    I was hoping it would be fairly straight forward but so far I've had limited success.
    What am I missing here?
    Thanks in advance!

  • Sales Analysis report results are being affected (or eliminated) by SQL

    When running Sales Analysis by Item (Item Tab), the client keys in item 15454*
    in the From and To Field and selects the first and last Item Codes listed
    in the result set. The first item code is The results of the Sales Analysis report includes items from 15454-048E-1-41.3 through 15454E-XC-10G.
    The result set stops at itemcode 15454-EIA-SMB-B84 despite that fact that there
    are many items with sales with Item Codes higher than the 15454-EIA-SMB-B84.
    The SAP support rep highlighted that the application is ignoring the dash in it's filtering priority even thought the item lookup is accounting for the dash.  The response is that this is the behavior of SQL server.
    It is true that SQL does ignore dashes and possibly other special characters in sorting nvarchar fields.  However, it is important that the lookup (to select a range of items) and the result set remain consistant in the application regardless of the database/datatype. 
    With no ability to customize (or fix) the report from the field, we are requesting this a a design change.  We recommend testing with all other special characters as to ensure that the report is actually producing accurate results.

    Hi Peter.......
    Welcome to SAP Forum....
    You can try this report which gives you result of Sales Order regardless of Current Status...
    Select * From ORDR T0 Inner Join RDR1 T1 on T0.DocEntry=T1.DocEntry
    Put the desired field in place of * which ever you want in report......
    Regards,
    Rahul

  • Hide Particular Item Group from Selection Criteria of Sales Analysis Report

    Hello Experts,
    Is this possible to Hide Particular Item Group from Selection Criteria of Sales Analysis Report?
    I have one Item Group as 'Special Items'.
    Now, when I open  Item wise sales analysis report, I want to hide above mentioned group from selection criteria.
    Thanks in advance.
    Best Regards,
    Pankit Sheth

    Hi,
    1. Not possible to put validation for selection criteria windows.
    2. In standard, I don't think it is possible to hide only one item group.
    3. Alternatively don't give authorization to user for running sales reports. If still need create customized query and ask user run every month.
    Thanks & Regards,
    Nagarajan

  • Sales analysis report differences when run by Sales Empl as opposed to Item

    My client is running Sales analysis report and notices differences when run by Sales Employee as opposed to by Item.
    I explained that:
    When run by item, the report does not include service type invoices or non-inventory items.
    When run by sales employee it DOES include service type invoices and non-inventory items.
    Are there any other differences I should be aware of?
    Does someone have a query I can run to prove this difference i.e...invoices for non-inventory items for a period? To prove where the difference comes from between the two reports?
    Thanks

    You may try this first:
    SELECT S.ItemCode,
    MAX(S.Description) as 'Item Description',
    SUM(S.LineTotal) as 'Amount(LC)'
    FROM
    (SELECT T1.ItemCode AS 'ItemCode',
    T1.Dscription AS 'Description',
    T1.LineTotal AS 'LineTotal'
    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'
    UNION
    SELECT T1.ItemCode AS 'ItemCode',
    T1.Dscription AS 'Description',
    -T1.LineTotal AS 'LineTotal'
    FROM dbo.ORIN T0
    INNER JOIN dbo.RIN1 T1 ON T1.DocENtry = T0.DocENtry
    WHERE T0.docdate >= [%0] and T0.docdate <= [%1]
    AND T0.doctype = 'I') S
    GROUP BY S.ItemCode
    This is by item type transaction only.
    Thanks,
    Gordon

  • Sales Analysis Report - Monthly report shows blank output

    Hi,
    When i run the Sales Analysis Report - Customer (Annual) report for a data set it shows the correct data - large number of invoices
    However, there is no output available (blank output) when i use the the Monthly version of the same report using the same parameters. Even when i am taking the widest possible range of data sets ( large date range; no properties; All customers) i am not getting any output.  I am using Individual display.
    Please help out.
    Regards.
    Edited by: Manish Chaturvedi on Jul 14, 2009 11:56 AM

    hello
    In sales analysis report have u given posting date for a particular month if not give and select client /customer in group and run the report u will get exactly if not then u do have any postings for a particular month and definr due date that means posting period also
    regards
    jenny

  • Sales Analysis Report by Items - How to chart it

    The sales analysis report by items is great for us but I notice that there is no way of getting a bar chart for example at that initial report level. Only when you drill down in to a group does it show the charts.
    Is is possible to get the Items Groups summary sales report in to a chart?

    Hi Ricky.....
    Chart waise Graphical Representation is given by SAP and it can be easily done in XCelcius.
    All you need to do is you have to create your own report and put this report in XCelcius.
    It is recently launched.....
    Regards,
    Rahul

  • Sales Analysis by Item: Show all items

    I am trying to look for a way to get a report that will show me the Sales Analysis by item, but show me all the items even if the item wasn't sold to any Business partner.
    Example:
    I have the following items and sales for today:
    Item A, invoice $100
    Item B, Invoice $200
    Item C, no sales
    Item D, Invoice $500
    If I run the sales analysis by item they will show me
    Item A, $100
    Item B, $200
    Item D, $500
    but I want to show it
    Item A, $100
    Item B, $200
    Item C, $0
    Item D, $500
    Please let me know if there is a way or a queries that I can do to get that result.
    Thank You,

    HI,
    Sales Analysis per item only display item with records.
    You can attain by creating a query to display your desired output.
    Please try to look in the forum for the sales report.
    example:
    [Sales report for the month.|Sales report for the month.]
    [Re: sales analysis report|Re: sales analysis report]
    [Re: A query report of sales invoices|Re: A query report of sales invoices]
    thanks.
    Clint
    Edited by: Clint T. Pauyon on Sep 24, 2011 12:09 PM

  • Query vs Sales Analysis Report

    I wrote a query that does virtually the same thing as a sales analysis report -- add up all invoice totals and calculate a gross sales number.
    In the sales analysis report ItemXXX has a total sales of $1456.94
    My query ItemXXX has a total sales of $1457.73
    A $.79 discrepancy which I assumed was a result of the fact that my query doesn't include A/R Credit Memos. Only some items have this discrepancy.
    The problem is that if I do an inventory posting list on the item there are no A/R Credit Memos listed. Only A/R Invoices, A/P Invoices, and A/P Goods Receipts.
    What other documents could be affecting this number? Any other things that could be causing this?
    Thanks,
    -Steve

    Hi Nagarajan,
    Im user of Sap Business One, i need the completly query for obtain the Sales Analysis Report
    i have this but in some items dont match
    SELECT  ItemCode,   
            Sum(TotFac) - SUM(TotNC) as  'FacturadoNeto',   
            Sum(GBrutaFac)-SUM(GbrutaNC) as  'GBruta',   
            Round((Sum(GBrutaFac)-SUM(GbrutaNC))/case when  (Sum(TotFac) - SUM(TotNC))= 0 then 1 else (Sum(TotFac) - SUM(TotNC)) end  *100,2) as '% Margen'   
    FROM (   
    SELECT    
    ItemCode = T1.ItemCode, 
    Marca = (Select T2.FirmName from OMRC T2 JOIN OITM T3 on T2.FirmCode = T3.FirmCode where T3.ItemCode=T1.Itemcode), 
    TotFac = Sum(T1.Linetotal),    
    GBrutaFac = SUM(T1.GrssProfit),   
    TotNc= 0,   
    GbrutaNC = 0   
    FROM OINV T0 (NOLOCK) INNER JOIN INV1 T1 (NOLOCK) ON T0.DocEntry = T1.DocEntry                                    
    WHERE (T0.[DocDate] >='20140101' AND  T0.[DocDate] <='20141231') 
      and T0.DocType  = 'I' -- solo facturas por articulos   
    Group by  T1.ItemCode  
    Union   
    SELECT    
    ItemCode = T1.ItemCode,   
    Marca = (Select T2.FirmName from OMRC T2 JOIN OITM T3 on T2.FirmCode = T3.FirmCode where T3.ItemCode=T1.Itemcode), 
    TotFac = 0,   
    GBrutaFac = 0,   
    TotNc= Sum(T1.LineTotal),    
    GbrutaNC = SUM(T1.GrssProfit)   
    FROM ORIN T0 (NOLOCK) INNER JOIN RIN1 T1 (NOLOCK) ON T0.DocEntry = T1.DocEntry                                    
    WHERE (T0.[DocDate] >='20140101' AND  T0.[DocDate] <='20141231')
      and T0.DocType  = 'I' -- solo NC por articulos   
    Group by T1.ItemCode 
    Union
    SELECT    
    ItemCode = T1.ItemCode,   
    Marca = (Select T2.FirmName from OMRC T2 JOIN OITM T3 on T2.FirmCode = T3.FirmCode where T3.ItemCode=T1.Itemcode), 
    TotFac = 0,   
    GBrutaFac = 0,   
    TotNc= Sum(T1.LineTotal),    
    GbrutaNC = SUM(T1.GrssProfit)   
    FROM ODPI T0 (NOLOCK) INNER JOIN DPI1 T1 (NOLOCK) ON T0.DocEntry = T1.DocEntry                                    
    WHERE (T0.[DocDate] >='20140101' AND  T0.[DocDate] <='20141231')     
      and T0.DocType  = 'I' -- solo Fact Anticipos por articulos   
    Group by T1.ItemCode
    ) T   
    Group by  ItemCode, Marca

  • Sales Analysis report in XLR

    SAP XLR Sales per Customer by Item report that published in the portal doesn't include document discount. This is a reason for the differences between XLR and B1 sales analysis report.
    How can I calculate discount from the document in XLR when the report is run by invoice/credit memo lines.
    Edited by: Philip Eller on May 16, 2008 8:56 AM

    Hello,
    In XLR Composer> Sales tab, if you want to design a report group by document number, then choose the Document Number light dimension first,then "discount% per document",  choose item/quantity/row total and so on for row level information. This will give you the result instead of 0.
    If you want to run the report group by items. The same way you can do but the only difference is choose the item Dimension first, then you can also drag document level ,Document number for example.
    Header and row levels table can be connected and use together if there is the relationship between them.
    Choose discount % per document and then use calculation to calculate the discount amount of a document.
    Hope this helps.
    Regards,
    Maggie An
    SAP Business One Forum Team

  • Sales analysis report - in query form?

    Good afternoon. Looking for a bit if help/advice.
    I'm not a complete novice to SAP but what I need is confusing me slightly. I understand the sales analysis report uses many different table as part of its calculations. A company I've recently began working for, who has had SAP for a while, has used sales analysis reports alongside some bespoke reports that are reporting different data.
    Here is their report:
    SELECT T0.[DocNum] AS 'Invoice No.',  CONVERT(VARCHAR(10),T0.[DocDate], 103) AS 'Invoice Date', T0.[NumAtCard] AS 'Cust Order No.', T4.[ItemCode], T5.[U_MSKU] AS 'Manuf SKU', T4.[Dscription] AS 'Description', T6.[ItmsGrpNam] AS 'Item Group', T4.[Quantity], T4.[Price] AS 'Net Unit Price', T4.[LineTotal] AS 'Net/Line Total', T0.[U_ClientNam] AS 'Client Name', T2.[Name] AS 'Division', T1.[Name] AS 'Business Unit', T3.[StreetS] AS 'Ship-to Street', T3.[CityS] AS 'Ship-to City', T3.[ZipCodeS] AS 'Ship-to Postcode'
    FROM OINV T0
    LEFT JOIN [dbo].[@BUSINESSUNITS]  T1 ON T0.U_Bizunits = T1.Code
    LEFT JOIN [dbo].[@DIVISIONS]  T2 ON T0.U_Division = T2.Code
    INNER JOIN INV12 T3 ON T0.DocEntry = T3.DocEntry
    INNER JOIN INV1 T4 ON T0.DocEntry = T4.DocEntry
    INNER JOIN OITM T5 ON T4.ItemCode = T5.ItemCode
    INNER JOIN OITB T6 ON T5.ItmsGrpCod = T6.ItmsGrpCod
    WHERE T0.[DocDate] BETWEEN [%0] AND [%1]  AND T0.[CardCode] = [%2]
    It just doesn't give the same totals as the sales analysis report but I can't reproduce the sales analysis report. How would I go about getting the right figures? Because what we ideally need is to filter the sales analysis results by some of our custom fields:
    [U_ClientNam], [Name] etc.
    How would I go about this? Can I extract parts of the sales analysis report somehow and run it as a query I can manipulate?
    Thanks.

    Hi, not sure if you meant to link to a thread? Based on the query you have given on this thread no totals appear to match however it is much closer than the simple query.
    SELECT Div, BusUnit, isnull([1],0) as Jan, isnull([2],0) as Feb, [3] as Mar, isnull([4],0) as Apr, isnull([5],0) as May, isnull([6],0) as june, isnull([7],0) as July, isnull([8],0) as Aug, isnull([9],0) as Sept, isnull([10],0) as Oct, isnull([11],0) as Nov, isnull([12],0) as Dec
    from
    (SELECT T1.[LineTotal] as Total, month(T0.[DocDate])as month, T8.[Name] AS BusUnit, T9.[Name] AS Div FROM OINV T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN [dbo].[@BUSINESSUNITS]  T8 ON T0.U_Bizunits = T8.Code INNER JOIN [dbo].[@DIVISIONS]  T9 ON T0.U_Division = T9.Code
    WHERE year(T0.[DocDate]) = 2013 and T0.[CardCode] = 'NOR0001'
    union all
    (SELECT -T1.[LineTotal] as Total, month(T0.[DocDate])as month, T8.[Name] AS BusUnit, T9.[Name] AS Div FROM ORIN T0 INNER JOIN RIN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN [dbo].[@BUSINESSUNITS]  T8 ON T0.U_Bizunits = T8.Code INNER JOIN [dbo].[@DIVISIONS]  T9 ON T0.U_Division = T9.Code
    WHERE year(T0.[DocDate]) = 2013 and T0.[CardCode] = 'NOR0001')) S
    Pivot
    (sum(S.Total) For Month IN ([1],[2],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12])) P
    Is what I've just used. Still well off the mark though.

Maybe you are looking for

  • White Screen of Death (or coma, at least)

    Hi everyone, I've been searching all over the place for a couple of days and no solution to the following situation has worked as of yet, so any help would be greatly appreciated. Brand new installation of Snow Leopard on a late 2006 24" white iMac w

  • Webutil - jacob.jar

    Webutil seems dont work without jacob.jar which is not included in webutil_102.zip ! What is the reason ?

  • End of life status for JDK 1.1.8

    I am currently using JDK 1.1.8-003, but I notice from the Sun website that they have begun the end of life process for this product and they will not be supporting it beyond October 09 2002. I should be grateful for advice on which newer version of S

  • Dream weaver8/Adobe dreamweaver CS3

    Now this will show just how new I am to dreamweaver/computer knowledge etc. I recently did a course on dreamweaver8, purchased an update of softwear I already had thinking it contained dreamweaver8? I purchased Adobe Creative Suite 3 Web Premium. now

  • Schedule Agreement scale price is maintained, Pulling wrong price in GR

    Hi Experts, When good receipts of different quantities are entered, they all pick up the lowest price/highest volume regardless of the quantity. Case 1: Delivery schedule for 2 different quantity with same delivery date like eg. qty 5 & 6 and del. da