Sales Analysis Report Additional Field for viewing

Good Day Experts!
Is it possible for us to display an additional field  to be viewed in Sales Analysis Report?
I'm talking about a vacant field from BP Master data, and somehow append it into form settings and put it into the report?
Is there any store procedures that we can look for prior to this matter? Our client need something more on that particular issue.
Thank you very much

Hi Elmar,
It is not possible to add field on SAP sales analysis report , but you can create report based on query with required fields.
Check http://wiki.sdn.sap.com/wiki/display/B1/D-SLSalesARModuleSQLPostedto+Wiki link for some sales queries , it might help you.
Thanks,
Neetu

Similar Messages

  • Pivot sales analysis report by day for a particular month - sap has by month and annual

    Hi guys,
    I'm trying to come up with a pivot sales analysis query report for items for the month by displaying individual days sales, sales amount, gross profit, gross profit %
    e.g
    Month of March
    1st, 2nd, 3rd, 4th.....31st march. In sap their is a sales analysis report by
    days of the month
    1st March
    2nd march
    31st march
    item no
    item description
    Qty
    sale amount
    gross profit
    gross profit%
    qty
    sale amt
    gross profit
    gross profit %
    Qty
    sale amt
    gross profit
    gross profit %
    sugar
    20
    20,000
    5,000
    25
    30
    30,000
    10000
    33.3
    40
    40000
    15000
    37.5
    n02
    n03
    no4
    Regards Brian

    Hi,
    Due to pivot limitation, not possible to get above data in pivot table.
    Try this simple query which matches system sales analysis by item.
    SELECT t1.itemcode as Itemcode, T1.[Dscription] as 'Item description',  sum(T1.[Quantity]) as Qty, sum(T1.[LineTotal]) as 'sales amount', sum(T1.[GrssProfit]) as 'Gross Profit'
    FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry WHERE month( T0.[DocDate]) = '1' and year( T0.[DocDate]) =2014 GROUP BY T1.[ItemCode], T1.[Dscription]
    Thanks & Regards,
    Nagarajan

  • Adding Data Field to Sales Analysis Report

    Does anyone know how to add data fields to Sales Analysis Reports, either in PLD or CR?  On Sales Analysis by Customer, I need to add the total quantities for all items sold for the sales included in the report, excluding negative quantities.
    Thank you,
    Avraham

    Hi Avraham.......
    You can create your own Query Report for getting all the desired outputs and it will be easy to show in reports also.....
    Regards,
    Rahul

  • Time reporting screen - additional fields for clock in/clock

    Hi all, I have an issue with time reporting that I would appreciate your help in resolving. We would like to add additional fields for clock in/clock out data from external clocks. I think I saw it somewhere but now I cannot find it in the CAC2 configuration. Can you help? Thanks in advance, Maya

    see if following link can help:
    Custom field added to CATS but not showing in Data Entry View'

  • Additional Fields for Report FBL1

    Dear All
    I need to add User Name field (USNAM) and few other fields to the layout for report FBL1(Vendor open line items).
    I have added the field USNAM under "Define Additional Fields for Line Item Display". But the field is still not showing up for selection in the report FBL1.
    Pls advice.
    Rgds
    Nitika

    Hi Nikita,
    Once you have added special filed you have to run the below mentioned program to extend the new filed in FBLxN report.
    Run below program from SE38:
    RFPOSXEXTEND
    BALVBUFDEL
    The correct way to fix this is mentioned in SAP note 984305. Running report BALVBUFDEL resets the buffer.
    The special field is now available in the layout selection.
    Hope this helps.
    Pls assign points as way to say thanks

  • 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

  • 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!

  • 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 does not match Cost of Sales Account

    My client is running SAP B1 8.81 PL 6.  He has set all items to standard costing method.  He has discovered that the difference between the Sales Amount and the Gross Profit amount on the Sales Analysis report, which should equal the Cost of Sales for the Items, does not match the Cost of Sales G/L account on the P&L report.  If you look at a sample of rows, the above difference divided by the quantity equals the standard cost of the item.  There are no manual journal entries that affect the COS account for the posting period that is being analyzed.  I cannot see any mathmatical difference or problem with the above analysis, nor can I find the problem.  There is about an $85K difference between the reports.  The Sales Amount on the Sales Analysis report matches the revenue account on the P&L to the penny.  Has anyone ever compared these 2 reports?  Thank you for your help.
    Bill Turek

    If you right click on an Invoice and choose "Gross Profit" it will give you a setting on how you want to calculate the Gross Profit for that invoice.
    In the accounting point of view the "Base Price" should be "Item Cost" so that the Gross Profit will be (Net Selling Price - Item Cost = Gross Profit). This will give you the same Gross Profit amount between P and L and Sales Analysis Report.
    However, SAP B1 gives the user the ability to select a different base price other than the Item Cost.
    This gives the user the flexibility for the Sales Report. Example (Net Sales Price - Vendor Sales Price = Gross Profit). People do this sometimes because  the item's cost fluctuates if you use FIFO or average cost and they want a uniform cost to calculate their Gross Profit.
    In summary if the Base Price is not set to "Item Cost" then there will be difference in the Gross Profit between the P and L and Sales Analysis Report.
    See screenshot:
    -Eric Alo-
    B1 Financial Consultant

  • 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

  • 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.

  • Sales Analysis Report per Sales Employee with BP Reference No

    Hi All,
    I need your assistance in creating a query that balances back to Sales Analysis Report but I require the BP Reference No to show per row.  I have created 2 queries through Query Generator.  The 1st contains the OINV and OSLP tables with Fields:  DocNum, NumAtCard, SlpName, DocDate, CardCode, CardName, DocTotal
    The 2nd contains the ORIN and OSLP tables withe the same Fields.
    I need to combine these 2 queries and I need assistance with the DocTotal.  I need the amount before tax.
    This report needs to balance back to the SAP B1 Sales Analysis Report.
    Your assistance would be appreciated.
    Regards,
    Desiré Janse van Rensburg

    Thank you for your assistance!  After googling a few pages I came across this query.  I adjusted it to comply to my needs.
    Herewith query if you guys are interested:
    SELECT
    T0.DocNum AS 'Invoice Nr',
    T0.NumAtCard AS 'Customer Ref Nr',
    T1.SlpName AS 'Salesperson',
    --T0.SlpCode AS 'SP Code',
    T0.DocDate AS 'Posting Date',
    T0.CardCode AS 'Customer Code',
    T0.CardName AS 'CustomerName',
    'Credit Memos' AS 'Doc Type',
    ((T0.DocTotal) * -1) AS 'Total Docs',
    (((T0.DocTotal - T0.VatSum) - T0.TotalExpns) * -1) AS 'Product Sales',
    ((T0.GrosProfit) * -1) AS 'Gross Profit',
    CASE
    WHEN (((T0.DocTotal - T0.VatSum) - T0.TotalExpns) * -1) = 0.00 THEN 0.00
    ELSE (((T0.GrosProfit) * -1)/(((T0.DocTotal - T0.VatSum) - T0.TotalExpns) * -1)) * 100
    END AS 'Gross Profit %',
    ((T0.PaidToDate) * -1) AS 'Paid To Date',
    ((T0.DocTotal - T0.PaidToDate) *-1) AS 'Open on Docs'
    FROM ORIN T0
    INNER JOIN OSLP T1
    ON T0.SlpCode = T1.SlpCode
    WHERE
    (T1.SlpName LIKE '%%[%0]%%' OR '[%0]' = ' ')
    AND T0.TaxDate >= '[%1]'
    AND T0.TaxDate <= '[%2]'
    UNION
    SELECT
    T0.DocNum AS 'Invoice Nr',
    T0.NumAtCard AS 'Customer Ref Nr',
    T1.SlpName AS 'Salesperson',
    --T0.SlpCode AS 'SP Code',
    T0.DocDate AS 'Posting Date',
    T0.CardCode AS 'Customer Code',
    T0.CardName AS 'CustomerName',
    'Invoices' AS 'Doc Type',
    (T0.DocTotal) AS 'Total Docs',
    ((T0.DocTotal - T0.VatSum) - T0.TotalExpns) AS 'Product Sales',
    (T0.GrosProfit) AS 'Gross Profit',
    CASE
    WHEN (((T0.DocTotal - T0.VatSum) - T0.TotalExpns)) = 0.00 THEN 0.00
    ELSE ((T0.GrosProfit)/((T0.DocTotal - T0.VatSum) - T0.TotalExpns)) * 100
    END AS 'Gross Profit %',
    (T0.PaidToDate) AS 'Paid To Date',
    (T0.DocTotal - T0.PaidToDate) AS 'Open on Docs'
    FROM OINV T0
    INNER JOIN OSLP T1
    ON T0.SlpCode = T1.SlpCode
    WHERE
    (T1.SlpName LIKE '%%[%0]%%' OR '[%0]' = ' ')
    AND T0.TaxDate >= '[%1]'
    AND T0.TaxDate <= '[%2]'
    Thanks again for the replies!

  • Sales analysis report- showing & totaling both Invoices & Credit memos on o

    I have written a Several sales analysis reports based on INV1 tables and RIN1 tables, (Invoice lines and Credit memo lines) for SAP B1 using crystal. I would like the data from both the invoices & the credit memo to list & total on the same report. But have had no luck doing this.
    Is it possible?
    How would I go about doing it?

    Solved my problem, I used the "Show SQL Query" window on my existing reports copied and pasted them to SQL Management Studio as a View, used keyword Union All to join the two queries (Invoices and Credit memos)  and used the view as the data link to create a new report in Crystal Report writer.
    This got me both of the data files into the report detail line and allow for summing.
    Problem solved.
    Thanks for the input.

  • 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

  • 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

Maybe you are looking for

  • Missing font error on PDF conversion

    FrameMaker book that has been updated and converted with same set of fonts and styles many times will not convert to PDF on one machine. (I use a Mac running XP in Parallels for Frame, then Distiller Mac.) The error is "findfont" looking for Helvetic

  • HT1498 I forgot my pass code for my Apple TV ?  Help please

    I'm stuck I need my passcode for my AppleTV  Which I forgot to do I do now?

  • How to Run Sqlservelet in Sun??

    Hi ! Just finished setting the Apache server and the xsqlservelet . Now how do i run the servelet? Could could some tell me the step please. Thanks Kaiser null

  • IPod stuck at 0:00

    Hello. I've had a 5G iPod for probably close to 9 months now. Sometimes, when I go to play something on my iPod, the iPod gets stuck at 0:00. I can exit the song, pick something else, look at the artwork (or the show description if it's a podcast) an

  • How to access Return Code sent to client from within a plugin

    If the server sends back some kind of error to the client I want to be notified inside a plugin. For this I know I can use the SLAPI_PLUGIN_POST_RESULT_FN. But this function gets called every time the servers sends anything to the cleint. I want to s