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
Similar Messages
-
Report for batch numbers and delivery
Dear gurus,
Is there a report that
I can see batch numbers and delivery at the same time?Use t.code VL06 and click on List outbound deliveries button.
In the selection screen, enter details like sales org, distribution channel, division, shipping point and actual or planned goods movement date (per your requirement) and execute.
In the next result display click on item view button. To get the batch data, click on change layout button. From the list of fields available (hidden field list) on the right hand side, select on batch and click on left arrow button.
Then click on copy button. You can see the batch details with delivery line items.
This report is useful, where in you can select addtional fields from layout button.
Regards -
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,
MikeHI Gordon --
Found out the problem - had orders rather than invoices checked!
Thanks,
Mike -
User Query - Expanding the Sales Analysis report
Dear All,
I have to make a Sales Analysis Report for a client, but groupping by Countries, which is not possible with the built in Sales Analysis Report. I have tried many ways to complete a user query but always failed. I have to aggregate the Sales Invoices, decreased by the amounts on related target Credit Memos (if there are ones) and group by Countries (taken from CRD1.Country).
Please help me out, if you can.
Thank you very much,
Balazs BartaHi
Please search the forum with Sales Analysis Report .
Lots of thread are discussed and queries are given,.
Hope this helps to solve your problem
Here is one of the thread
Sales analysis
Thank you
Bishal
Edited by: Bishal Adhikari on Feb 24, 2009 1:20 PM -
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 BrianHi,
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 -
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 muchHi 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 -
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,
HeatherHI 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 ShethHi,
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 -
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,
AvrahamHi 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 -
Data Ownership in Sales Analysis Report
The company has sales employees around the world and the company is not interested that each of them
can see the others sales, so when an employee runs a sales analysis report they should only see
their own documents but it not happened despite the data ownership funtion was activated and all the
options related with the sales analysis excluded forms was filtered by header only.
According to SAP Support team their comments were:
"We have reproduced the issue in our testing database. After verification, we noted that this is the current system definition as described in the attached Data_Ownership2004_A.pdf file. In page 11, it mentions that Data Ownership Authorizations apply to sales and purchasing documents, the Open Items List, Sales Opportunities and Sales Opportunities Reports. This is why the header filtration does n ot work in Sales Analysis Report.
As the requirement is currently not available in the standard software version of SAP Business One, we would like to ask you post your requirement in our SAP Business One Product Development Collabora tion forum."
Due to the current situation and the disconfort that this can produce, I will appreciate a lot your help.
Thanks in adavance,
Manuel BarreroHi Vassilis,
Sorry, but in my opinion it's correct.
We also use Drop Ship and like you said in the Stock Posting List we don't have any document and it's perfect. In other way when we sell an item we want and it's true the quantity that B1 is showing.
We want to see the for a itemcode we sold 100qty qith the value of 1000.
There's no way to avoid this SAP B1 behaviour.
Kind regards,
Augusto -
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,
-SteveHi 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 -
Inaccurate Sales Analysis Report
Hi all
Our client has requested an option to print Sales Analysis result with a restriction to filter by types of credited Sales Revenue account. Sometimes the Credited Sales account is not a genuine Sales account but other Freight Charges or Clearing account which has to be differentiated for reconciliation with General Ledger.
Kedalene ChongHello,
This option is not available in SAP Busines One for the time being. We will consider it as a candidate for one of the next major released. Thank you.
You may try to create own Sales Analysis report via Crystal Reports or adjust one of the available Sales Analysis XL Reporter templates to filer by G/L Accounts involved.
Peter Dominik
B1 Solution Management -
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! -
Hi all.
I would be glad if I could get a response for this question from someone at SAP. Though all responses are very welcome.
There seems to be an error on the Sales Analysis report. The report runs fine with selection criteria for Customers and Sales Employees but when you run it with the Items Selection Criteria it returns the correct rows but wrong amounts in the Gross Profit and Gross Profit % columns which also means that the totals are also wrong.
I have tried to follow the issue but everything seems to be OK.
My last resolution is that there may be something wrong with the stored proc that B1 runs to produce this report.
Please help! Urgent.Wilfred,
You should create a message with SAP Support on this issue.
Eddy -
Sales Analysis Report based on Supplier-wise
Hi Experts,
My client requirement is ,We are into trading so , we want a Sales analysis report based on Supplier-wise. like,
Selection critieria is
1)Supllier name
2)From and To date.
Heading are
Item name Sales UoM Jan(quantity) Feb(quanitity) mar(quantity) April(quanitiy).........
here, i need only the sum of the quantity for the items for that particular month based on the date giving in selection criteria.
Regards,
Dwarak
Edited by: Dwarak@SMS on Aug 23, 2010 4:29 PMHi experts,
For my clients requirement,
I could able to alter my previous query(find below).
My object is
1)To get sales report based on Manufacturer.
2)To get the TOTAL SALES QUANTITY OF THE MONTHS in the report. I go that in the below query, and only thing is that is have to minus the total Credit note for items to get the ACTUAL TOTAL SALES OF THE MONTHS. so , can anyone help me to alter the query to get me the ACTUAL TOTAL SALES OF THE MONTHS.
the query is
SELECT T0.ITEMCODE,T0.ItemName,T0.OnHand,
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 1 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'JAN ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 2 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'FEB ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 3 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'MAR ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 4 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'APR ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 5 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'MAY ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 6 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'JUN ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 7 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'JUL ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 8 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'AUG ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 9 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'SEP ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 10 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'OCT ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 11 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'NOV ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 12 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'DEC '
FROM dbo.OITM T0
LEFT JOIN dbo.INV1 T1 ON T1.ItemCode = T0.ItemCode WHERE T0.SellItem = 'Y' and T0.[FirmCode] =[%0]
GROUP BY T0.ItemCode,T0.Itemname,T0.OnHand,YEAR(T1.DOCDATE) HAVING YEAR(T1.DOCDATE) =
YEAR(GETDATE())-0
ORDER BY T0. ITEMCODE
Maybe you are looking for
-
I just got an iPod touch 5g for Christmas and last night I was FaceTiming a family member and I noticed my speaker sounded a little wired, like it blew out which I don't even know how I did it! I never have it up full blast! Does the 1 year limited w
-
Load special characters in oracle by using informatica
Hi All, I'm trying to load data from flat file to oracle databse table using Informatica power center 9.1.0 and I have some special characters in source file. Data are loaded sucessfully without any errors but these special characters are loaded dif
-
HP compaq elite 8300 Display port options
HI I can't get picture from HP compaq elite 8300 minitower DisplayPort at all. I have only adapter DP -> DVI, and DVI - DVI cable between HP LP2465 monitor, because there is only DVI inputs. I think, that Elite 8300 give only VGA- signal... shall I g
-
Hi SDN Community, We had a brilliant ABAP'er who developed the following code in table class SE24 in SAP BW. But he is gone now! I would like to adapt this same code to the START Method instead of the INIT Method. But I am unfamiliar with ABAP, and I
-
I have acquired an extra user that appears at startup called 'Update Required.' I believe this was probably created when I installed Yosemite on an already encrypted disk (I wanted to do a clean install and thought it might save time to encrypt it wh