Inactive Items Report

I would like help writing a query similiar to the inactive items report except i need to show components that have not had any transactions in the past 24 months.
i figured i can query the oinm table but not sure how to write this query.
thanks,
Rich

Rich,
Try this:
SELECT t0.ItemCode, t0.itemname, t0.Onhand, t0.CardCode, t0.InvntryUom
from dbo.oitm t0
where t0.onhand > 0 and t0.itemcode not in
(SELECT distinct t1.itemcode from dbo.oinm t1
WHERE DateDiff(DD,t1.docdate,GetDate())< 731)
order by t0.itemcode
Thanks,
Gordon

Similar Messages

  • Inactive Items Report - SAP 9

    Hello experts,
    I am having an issue with the Inactive Items report in SAP 9 and I'm wondering if anyone else is. This is a system report and as such I do not expect it to have any bugs. What happens is the following:
    I enter a range of item codes and a date of 03/01/2009 for all the documents and I get many items that are indeed in these marketing documents (therefore ACTIVE). I read the help for what this report is supposed to do and its supposed to return items that have had no activity in documents from the date specified (not whether they are marked 'Active' or 'Inactive' in their respective item master records.)
    Does anyone else have this issue? Is there a setting I have to modify in order for the report to behave as expected? Please advise! Thank you very much!

    Hi Cynthia Besada,
    the report is meant to identify items that have not been entered on these documents:
    Sales Quotations
    Sales Orders
    Deliveries
    AR Invoices
    AR Downpayment Invoices
    from the date you specify. Even items with zero quanity in the document rows are considered as 'used' in a document & should not appear. If your report output shows items that are found on documents since the date, then there is something wrong & you ought to record a support incident.
    All the best,
    Kerstin

  • Inactive Items Report mising cost information

    The Inactive Items Report which is found under Inventory / Inventory Reports / Inactive Items does not provide the option to display average cost and total cost on the report. This is very useful information for financial managers trying to determine the value of slow moving or obsolete items.
    It would be extremely useful to have the option to add cost information...perhaps by selected price lists...to make this a more valuable information tool for financial managers.
    Is there a report option which would display this information?
    Note that price lists (average cost) may be different by location. Therefore, the report also needs to show inactive items by location, not only in total.
    Edited by: Dennis Milosky on Jan 26, 2011 1:13 AM

    Gordon
    I am not sure why on one hand you indicate that it is not that difficult to write the report for ourselves, yet say that there are too many variables. These seem to be contradictory statements.
    It seems that since this would be of common benefit to nearly all SAP B1 customers, SAP would want to add it as a future release level report.
    I understand that there are cost variables, but why couldn't there be a pull down menu to select the price table such as with the Inventory In Warehouse Report? In that report, the user is given the option to assign the desired price source.
    Again, it seems as if this would be of common benefit and is worthy of SAP resources.
    Best regards,
    Dennis Milosky

  • How to make Inactive Item Report throught Query

    HI,
    I want to make report which return Inactive Items.I want to displays those Items their transations is null.
    SAP B1 have report of Inactive Items Report.But it's based on Sales documents.I want Inactive Item report
    which is based on Inventory documents. Can any body tell me how can i get Inactive item report through
    Good Issue.
    Can any body help me in this regards
    Sohail Anwar Ali

    This is what I use, be sure to pick a date from the pick list.
    /* The Date Input (Hasn't Sold Since dd/mm/yyyy */
    DECLARE @TODAY TABLE(RepDate datetime)
    DECLARE @DAYLIMIT AS datetime
    INSERT INTO @TODAY
    SELECT DISTINCT T0.DocDate FROM OINV T0 WHERE T0.DocDate = [%0]
    SET @DAYLIMIT = (SELECT MAX(RepDate) FROM @TODAY)
    SELECT T0.ItemCode AS 'Item no',
                   T0.ItemName AS 'Description',
                   T0.CreateDate AS 'Date created',
                   T1.WhsCode AS 'Warehouse',
                   T1.OnHand AS 'On hand',
                   T1.AvgPrice AS 'Avg. price',
                                           (T1.OnHand * T1.AvgPrice) as 'Extended',
                   (SELECT MAX(TA.DocDate) FROM OINV TA INNER JOIN INV1 TB ON TA.DocEntry = TB.DocEntry
                                  WHERE TA.DocDate < @DAYLIMIT AND TB.ItemCode = T0.ItemCode) AS 'Last Inv. Date',
                   (SELECT MAX(TA.RlsDate) FROM OWOR TA INNER JOIN WOR1 TB ON TA.DocEntry = TB.DocEntry
                                  WHERE TA.RlsDate < @DAYLIMIT AND TB.ItemCode = T0.ItemCode) AS 'Last W/O Date'
    FROM OITM T0  INNER JOIN OITW T1 ON T0.ItemCode = T1.ItemCode
    WHERE T1.WhsCode NOT IN ('98 Ret','DropShip','Transit')
              AND T1.OnHand > 0
              AND T1.IsCommited <= 0
              AND T0.ItemCode
                        NOT IN (SELECT TB.ItemCode FROM OINV TA INNER JOIN INV1 TB ON TA.DocEntry = TB.DocEntry
                                            WHERE TB.ItemCode = T0.ItemCode AND TA.DocDate >= @DAYLIMIT)
              AND T0.ItemCode
                        NOT IN (SELECT TB.ItemCode FROM OWOR TA INNER JOIN WOR1 TB ON TA.DocEntry = TB.DocEntry
                                            WHERE TB.ItemCode = T0.ItemCode AND TA.RlsDate >= @DAYLIMIT)
    FOR BROWSE

  • 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

  • Inactive items show in the MRP Report

    Inventory items marked as inactive show in the MRP report - 8.8, SP0, PL12. If there are requirements, they show regardless of whether or not Display Items without Requirements is checked. If there are no requirements and the Display Items without Requirements is checked, inactive items show too. Is this intentional?  My customer wants to know this and doesn't understand why their inactive items are showing in the MRP Report.
    Thanks
    Sally Weinrauch

    Hello Sally,
    Did you check the following path:
    Administration>System Initialization>General Settings-->Inventory Tab
    Under this tab at the very last you have a checkbox " Display Inactive Items in Reports". Please uncheck this option and try running MRP again. Let us know if you still have questions.
    Regards,
    Praneeth

  • Hide inactive items and customers

    Is there a way to hide inactive items and customers in SAP Business One 8.8.  I dont want to show inactive items when we are searching for the items if we dont know the sku.  I simply want to hide them from search.  The same applies to customers.  I know there is an archive feature in B1 8.8 but its only for transaction data to archive.  Any ideas anyone.
    Thank you.

    Hi Russel,
    In Administration - System Initialisation - General Settings - BP Tab
    De - activate DISPLAY INACTIVE BUSINESS PARTNERS IN REPORTS
    In Administration - System Initialisation - General Settings - INVENTORY Tab
    De - activate DISPLAY INACTIVE ITEMS FROM REPORTS.
    I tried this in marketing related docs.
    This will restrict inactive master entries from appearing in reports and in transaction screens.
    But you can not restrict them in masters.
    Thanks
    Malhaar

  • Inactive Items

    Hi all,
    What are inactive items by SAP.
    when I run inactive items from inventory reports by giving date range as 1 mar - 2008 till date with
    quotations
    deliveries
    orders
    down payments
    and invoices check boxes selected.
    the reports lists me 2500 items. some of them are in stock and some of them are not in stock.
    In order to cross check i dragged few of the items on order , invoice and delivery and i found the transactions.
    All those transactions were old transactions.
    Now if i want to delete those items which are not in stock then how do i delete them ?
    by passing delete from oitm from query generator won't be of any help.
    There are related tables from where the same has to be done.
    Pls. help me in this
    Thanks
    Malhaar

    HI
    Items will become 'Inactive" when you assign any Inactive period for that item in item master data...
    The item also become 'inactive' when the 'Active period' got expired for that item..
    You will find that active and Inactive period for that item in item master data..
    People will be using this for specific purpose.....
    You don't need to worry about the inactive since it wont affect your Inventory Audit Report....
    and it wont appear in any of the transaction...
    you cannot delete those items when the transactions has been posted to that...
    Don't delete anything from back end in B1 tables it will lead to serious data inconsistencies and lose your SAP support
    Edited by: kambadasan on Jun 13, 2011 5:15 PM

  • Stocktaking and inactive items

    Hello Everyone,
    Like a lot of businesses we have been having problems with the change of treatment of inactive items in SAP B1 8.8, we are now preparing to take stock and have found that whilst the stock audit report will show inactive items readily, the stock take screen under initial quantities/stocktaking/stock posting does not show the inactive items.
    We do have stock of some inactive items and therefore need to count them, but the absence of the items from the above function makes the job difficult. has anyone else come across this issue and found a workable solution???
    Thnaks in advance for your help
    Dave Jackson

    Thnaks Gordon, just what I needed, I was picking up the incorrect field to describe inactive, have modded the query to get to individual wharehouses so it ends up like this
    SELECT T0.[ItemCode], T0.[ItemName], T0.[frozenFor], T1.[WhsCode], T1.[OnHand] FROM OITM T0  INNER JOIN OITW T1 ON T0.ItemCode = T1.ItemCode WHERE T0.[frozenFor] = 'Y' AND  T1.[OnHand] > 0 ORDER BY T1.[WhsCode]
    Suprised that SAP basic functionality doesnt allow inactive items to be counted though!  that should focus attention on obsolete stock!!!
    Thanks again for your help
    Best Regards
    Dave Jackson

  • AP cleared Item Report

    Hi,
    I am use SAP query to build a AP cleared Item report. The report is similar as we can get from FBL1n, but I need a column as group key, which can not be found in FBL1n report.
    My questions is:
    1. When using SAP query, I use table LFA1 and BSAK, everything is ok, except I could only get the uncleared Item in the table. Like for one item have both Credit and Debit, I could find them in my report. What shall I do?
    The field used in the report:
    Company Code: BSAK-BUKRS
    Vendor Code: BSAK-LIFNR
    Vendor Name: LFA1-NAME1
    Payment Type(Group Key):
    Posting Date: BSAK-BUDAT
    Clearing Date: BSAK-AUGDT
    Document Type: BSAK-BLART
    Fiscal Period: BSAK-MONAT
    Fiscal Year: BSAK-GJAHR
    2. Or if I just need to have a report like FBL1n, but have group key on the report, any other report I could use?

    Hi
    Sorry for my unclear question...
    What I need is: We need a report on Vendor cleared items, which have a column is Payment Type, to refer to what kind of payment to the vendor, like it's a Adv. fee. Our solution is to use GROUP KEY field in the vendor master data to maintain the payment type information, as it's vendor specified. So for common understanding, we could use FBL1n report, use GROUP KEY as a selection and run out the report. Unfortuntely, we could select by GROUP KEY, but we can not have it shown on the report, from the layout.
    So we decided to use SAP Query, which is not a very difficult one. But I found from Query, and the table/ field I refered in my previous message, I could only see some of the records. If one item is cleared in BSAK, I could not find them in my query report made by me. So hope this time my question is cleared, thanks very much.
    Or, if our need is to find a proper field to maintain a information in master data, and also can be shown in the FBL1n report, may u suggest?

  • Reset Cleared Documents and Vendor Open Items Report FBL1N

    Hi all,
    I have following scenario:
    - In last month, we had 2 documents (invoice and payment) cleared against each other. We created open items report as well as open items correspondence sent to Vendor. Obviously, the docs were not included in report.
    - In this month, we have reset and reverse clearing document of the documents. We create report again with the open key date as in last month. It should not include the 2 docs but it did with whichever key date we chose.
    Is there any setting that open item report doesn't include cleared item at the key date when we run report for previous month?
    Thanks and Regards,
    Dau

    Hi Dau,
    If i understand you correctly then you posted and paid invoice in Jan 2012 and generated the open line item report for Jan which correctly did not include this cleared invoice.
    Now in Feb 2012 you reset and reversed this payment document.
    The issue is when you execute the report FBL1N again then you get the open line item for this invoice correct. Please confirm what is the open item key date that you are using here for generating this report
    If you keep it 31.01.2012 then definetly this invoice should not appear in the report but if you keep that 29.12.2012 then this line item would for sure appear.
    The importance of key date is to limit the report to certain date. The system selects all items posted up to and including the specified key date and open for this period.
    so I think your issue is with the key date.
    Hope this helps you.
    Regards,
    Prasad

  • ABC-analysis in Open Items report

    Good day, dear experts!
    I got a task from my chief to find out how to use menu path "Go to - ABC analysis" in Open Items report FBL1N/FBL5N.
    Everything I've found is a message "ABC analysis not possible here", Message no. 0K076, and old-old note for this message 414907.
    Do someone use ABC-analysis for open items?
    I think it's useless, but maybe I don't understand something...
    Irina

    Hi,
    Nope, it is useful.
    Execute FBL1N and select line items (Edit > Select All).
    Then click on any amount column.
    Then click on Goto > ABC Analysis
    You will get the options to classify the line items in the A, B, C categories based on the % creteria etc. on that screen.
    Regards,
    Gaurav

  • Vendor open items report without page break after changing vendor account

    Hi,
    I would like to get the vendor open items report without pagination when the vendor account changes.
    The option of deleting the * mark in the Filter page is not valid for me, because this way the vendor's name dissappear. I mean, it would be ok if I could show in the output of the report the name of the vendors.
    Thanks in advance.

    HI,
    If I understood your issue correctly then in the report S_ALR_87012085 is a field "Summarization level (0-4)" in the output controls.
    You just have to set this field to the value '2'.
    When you set the field to two, the page break will first executed, when the page is "full".
    If you want to see information about the "Summarization level (0-4)" field, you just have to set the cursor in it, and press F1.
    I believe this answer solve your problem.
    Please assign points if it useful.
    Regards
    Ravinagh Boni

  • **URGENT** - Vendor Line Item Reporting

    Dear Gurus,
    Need some “URGENT” help with regards to Vendor Reporting?
    Our business has requested for a Vendor Line Item / header Report, which will display ALL Vendor Items “NET” (before tax).
    At the moment our business it manually taking out Tax in FBL1n (Vendor Line Item Report).
    Please could you kindly let me know if there is ANY report in SAP which displays the Vendor Items NET & GROSS??
    Thanks Very Much
    RICK
    Edited by: Rick Desilva on Apr 22, 2008 4:00 PM

    Hi  Shridhar,
    All I want is a "net column" - Which will display the vendor invocie amount - BEFORE VAT (Tax).
    So on FBL1N or Another SAP-Vendor Report what I need is a
    Net Amount column and a Gross Amount Column.
    I hope this makes sense and someone can assist....
    Thanks & Regards
    RICK
    Edited by: Rick Desilva on Apr 23, 2008 9:36 AM

  • Asset Balances & Cost Line items Report

    Hi,
    I am looking for a Report which would combine Asset (S_ALR_87011963)balance report and Cost line item Report(CJi3) for Projects.

    Hi,
    The flow is like this ( if u r using timesheets for confirmation):
    CAT2 : Timesheet: Enter Times : User enters the time.
    CATS_APPR_LITE  : Approval of timesheet
    CAT5  : Transfer to Projects.
    This will post cost to Projects.
    Another way of getting the Actual cost is Confirmation using CN25 or CN29.
    Regards,

Maybe you are looking for

  • Regarding GUI_DOWNLOAD

    Hi Firends, I am using GUI_DOWNLOAD function module to downlaod the internal table data. It is working fine, if i am not specifying anything in the fieldnames of the function module table parametrs. Here is my situation: I declared two internal table

  • Premier Pro and Canon XF 100 camera

    I need help understanding how upgrading to Premier Pro will help me more easily use the clips from my Canon XF100 video camera.  I now have to open the clips with the Canon Utility that comes with the camera, covert the files to MFX files, I then use

  • No sound even though sound notifications are turned up

    I have an LG G2.  I have all sound notifications turned up but I am still not getting any sound.  Also bluetooth is turned off so it isn't interfering.  HELP!

  • Mounting Solaris 10 concatenated disk array?

    I have attempted to mount a D130 disk array attached to an E420R system running Solaris 10. This array has three drives installed an formatted. I would like to mount the three disks as one large storage partition. It seems to me that I want a concate

  • Problem while I try to run Applet using Appletviewer

    Hi, I have developed a simple Applet using JDeveloper 1.1, here I am using a Dataset, a QueryDataSet and a grid. When I run the Applet within JDeveloper it runs just fine, but when I use the Appletviewer, the Applet starts of well but gives the follo