Qty Sold Via Month Via Stock Item

Hi All,
I am trying to write a formula that will show in a cross tablular format the Qty Sales via Month.  (please note i can not use a cross tab report due to formatting issues). My report so far looks like this.
Group Header 1   = Stock Category Group ie Milk, Cheese, Bread etc
Group Header 2  =  Stock Code
Details =  Transaction Line information from invoices Qty sold, Date, Month No, Month Name
Group Header 2  =  Stock Code Group
Header 1   = Stock Category Group ie Milk, Cheese, Bread etc
In Footer 2 (Stock Code) I have added 12 formula one for each month:
This is the one for February
if {@MONTH} = 2 then
Sum ({@TLqty}, {TransactionLines.IdxStockCode})
I get a total but its for ALL the Months for that Stock Item??
please help thanks
Mike

Can you group by month, and put the formula there?
or, if that does not work well, try a running total, use the same type of formula,
and you can reset on change of month.  Failing that, can you post some sample data.

Similar Messages

  • Captilization of  the materil Via Stock Rote

    Hi
    I need some clarification
    Can we captilize the materil Via Stock Rote ,Please Explain How the materail can be booked to asset with Stock route (Blank Acct Assingement)
    Regards
    Sameer

    Hi
    Buy the material in the standard purchase order. Then issue to asset in transaction MB1A wtih movement type 241.
    regards
    Antony

  • How  do I find sold stock items to edit?

    Numbers were never much good in this regard. I started using Numbers with my iBook years ago and I had the same problem. I spend hours scrolling down my accounts looking for stock items to mark as sold. Is there no way to find them quickly? "Find" doesn't work; it crashes my computer every time. I don't want to move from Mac to Windows but might have to.

    Hello Fried_Chicken,
    Is the online article, you followed, the tip found at:
    Add background color text styles to TextEdit
    If so, did you download the added "style" file that they linked to? Is it not added to your "Styles" pop up menu? Or rather, when you select "Other" from the Styles pop up menu?
    littleshoulders

  • PR and PO should be display in IWBK report for stock item.

    Hi Exterts,
    Our client requirement is to display PR and PO number in IWBK report for stock item as well.
    I know PR and PO can be display in IWBK report for non-stock item but how we can display PR and PO for stock item,as PR is generated through MRP for stock item.
    Please share your ideas on this.
    Regards
    Vishu

    Vishu,
    In typical MRP settings you "procure to stock" not "procure to order".
    This means that there is no direct link between the PM/CS orders and any PR/POs created via MRP.
    Subsequently you will not be able to show this data in IWBK.
    However, we are currently designing a customer-specific report similar to IWBK that also counts the number of open POs for a given material on a PM/CS work order. The user can then navigate to ME2M (PO list) or MD04 (stock requirements list) to get further details.
    PeteA

  • Monthly Sale By Item

    Hello,
    We are looking for a Query that will show all of our items and monthly sale by Qty and Amt.  This includes items that do not have sales for that month - those fields would just be left blank.
    So, header would be...
    Item #...Jan Qty...Feb Qty...Mar Qty...etc...Jan Amt...Feb Amt...etc...
    Does anyone know a Query that can do this?
    Sales analysis will just show only items that have sold. 
    This is similar to Queries we have asked for in the past that shows all items. 
    Thanks!
    Mike

    creo que nececitan algo como esto:
    DECLARE @FECHAINI DATE = '2015-01-01';
    DECLARE @FECHAFIN DATE = '2015-02-28';
    DECLARE @sql nvarchar(MAX) = '';
    DECLARE @columns_1 nvarchar(MAX) = '';
    DECLARE @columns_2 nvarchar(MAX) = '';
    SET @columns_1 = STUFF(
    SELECT DISTINCT
        ',Piezas_Mes' + cast( MONTH(DocDate) as varchar) + '_año_' + cast( YEAR(DocDate) as varchar)
    FROM
        (SELECT DocDate FROM OINV where DocDate BETWEEN @FECHAINI AND @FECHAFIN) AS P
    FOR XML PATH('')
    ), 1, 1, '');
    SET @columns_2 = STUFF(
    SELECT DISTINCT
        ',Monto_Mes' + cast( MONTH(DocDate) as varchar)  + '_año_' + cast( YEAR(DocDate) as varchar)
    FROM
        (SELECT DocDate FROM OINV where DocDate BETWEEN @FECHAINI AND @FECHAFIN) AS P
    FOR XML PATH('')
    ), 1, 1, '');
    SET @sql = N'
    select
        Z.PRODUCTO,
        Z.DESCRIPCION,
        ' + @columns_1 + ',' + @columns_2 + N'
    from
            select
            FROM
                    SELECT
                        a.ItemCode AS PRODUCTO,
                        a.Dscription AS DESCRIPCION,
                        ''Piezas_Mes'' + cast( MONTH(b.DocDate) as varchar) + ''_año_'' + cast( YEAR(b.DocDate) as varchar) AS MES,
                        a.Quantity AS CANTIDAD
                    FROM INV1 AS a
                        INNER JOIN OINV AS b
                        ON a.DocEntry=b.DocEntry
                        INNER JOIN OCRD AS c ON b.CardCode = c.CardCode
                    WHERE b.DocType = ''I'' AND b.DocDate BETWEEN ''' + CAST( @FECHAINI AS VARCHAR) + ''' AND ''' + CAST( @FECHAFIN AS VARCHAR) + '''
                UNION ALL
                    SELECT
                        d.ItemCode AS PRODUCTO,
                        d.Dscription AS DESCRIPCION,
                        ''Piezas_Mes'' + cast( MONTH(e.DocDate) as varchar) + ''_año_'' + cast( YEAR(e.DocDate) as varchar) AS MES,
                        (d.Quantity * -1) AS CANTIDAD
                    FROM RIN1 AS d
                        INNER JOIN ORIN AS e
                        ON d.DocEntry = e.DocEntry
                        INNER JOIN OCRD AS f ON e.CardCode = f.CardCode
                    WHERE e.DocType = ''I'' AND e.DocDate BETWEEN ''' + CAST (@FECHAINI AS VARCHAR) + ''' AND ''' + CAST( @FECHAFIN AS VARCHAR) + '''
            ) as TABLADATOS
            pivot
            SUM(TABLADATOS.CANTIDAD) for TABLADATOS.MES IN(' + @columns_1 + N')
            ) as P
    ) as Z
    inner join
            select
            from
                    SELECT
                         a.ItemCode AS PRODUCTO,
                         a.Dscription AS DESCRIPCION,
                         ''Monto_Mes'' + cast( MONTH(b.DocDate) as varchar) + ''_año_'' + cast( YEAR(b.DocDate) as varchar) AS MES,
                         a.LineTotal AS TOTAL
                    FROM INV1 AS a
                        INNER JOIN OINV AS b
                        ON a.DocEntry=b.DocEntry
                        INNER JOIN OCRD AS c ON b.CardCode = c.CardCode
                    WHERE b.DocType = ''I'' AND b.DocDate BETWEEN ''' + CAST( @FECHAINI AS VARCHAR) + ''' AND ''' + CAST( @FECHAFIN AS VARCHAR) + '''
                UNION ALL
                    SELECT
                         d.ItemCode AS PRODUCTO,
                         d.Dscription AS DESCRIPCION,
                         ''Monto_Mes'' + cast( MONTH(e.DocDate) as varchar) + ''_año_'' + cast( YEAR(e.DocDate) as varchar) AS MES,
                         (d.LineTotal * -1) AS TOTAL
                    FROM RIN1 AS d
                        INNER JOIN ORIN AS e
                        ON d.DocEntry = e.DocEntry
                        INNER JOIN OCRD AS f ON e.CardCode = f.CardCode
                    WHERE e.DocType = ''I'' AND e.DocDate BETWEEN ''' + CAST( @FECHAINI AS VARCHAR) + ''' AND ''' + CAST( @FECHAFIN AS VARCHAR) + '''
            ) as TABLADATOS
                pivot
            SUM(TABLADATOS.TOTAL) for TABLADATOS.MES IN (' + @columns_2 + N')
            ) as P
    ) as Y
    on Z.PRODUCTO = Y.PRODUCTO and Z.DESCRIPCION = Y.DESCRIPCION
    order by
    PRODUCTO,
    DESCRIPCION;';
    EXEC sp_executesql @sql;
    SALUDOS ...

  • Sales order line for Non Stock items progressed to Closed status, need to be Cancelled.

    Hi,
    First time posting to this community, I hope someone can help.
    Currently we have a setup where non stock items are being added to sales order lines (charges, etc.).
    These lines are being progressed through to Closed status automatically.
    Users are reporting that they have entered the line in error and would like to change the status of the line to Cancelled.
    We are unable to return the material (RMA) as it is non stockable/transactable etc.
    Current workaround is to adjust the stock and make finance aware so that the line does not get invoiced.
    However, the system still shows that the line is closed (i.e. provided to customer) which is not correct.
    Is there any way of getting the line to a status of cancelled?
    Your help is very much appreciated.
    Regards
    Tim

    Hi Arif,
    Many thanks for the warm welcome.
    I'm thinking the only course of action I have for future, is to make the items stockable/transactable/returnable such that an RMA can be performed if added in error.
    We can put a large qty into stock at zero value.
    Thanks for your help in any case.
    Tim

  • Variable size item Vs Stock item

    Hi Experts,
    I have a doubt regarding the use of variable size item over standard stock item. I will give an example as under.
    I have an item called cable which is to be added to a header material. This cable will be used in many header materials. I tried using variable size item as an item category and given the following parameters
    Size 1 as 5 M(UOM)
    Formula (L1)
    Number (1) ST
    System calculates the value as 5 M for qty var sz item
    In the item over view screen, quantity against the material 1 ST
    My query is instead of giving the qty as 5 M and use a formula, what if i directly give the item as stock item "L" and directly define the qty as 5M. If there is no difference between the above, why should we use the variable size item? instead we can directly calculate and give the qty for the item right. Kindly clarify the application of variable size item over standard stock item category.
    In both the cases I will be having one material code in the system and the qty will be changed in the respective BOM of two different header materials.
    Regards,
    Sridharan M

    Hi
    In addition to the stock keeping unit you can provide the details like length, width and thickness, say for example if you want to fabricate a metal part. You may need length width and thickness of the plate to be used for fabrication. This details you will be entering in the variable size items and using the formual you can calculate the required quantity in KG.
    This kind of variable size items you need not calcualte the weight of the material you just need to enter the sizes as per the drawing as you prepare the BOM.
    This varies with respect to size.... Variable Size Items
    Soundar

  • Unit of measure for Stock and Non-stock Item in CJ20N

    When I attach Material to an activity (item Category N   Non-stock item) in Project Builder (CJ20N), It is peaking its Base unit of Measure as unit. Now when I try to change it, it is showing an error
    Item category N: Only base unit of measure M allowed
    Message no. CO344
    But for the same material if I change the item Category to L   Stock item, then it allows me to change the unit.
    Please guide me regarding this Behavior. Is there any customization, by doing which it will allow me do the same for Non-stock Item or It is not Possible.

    firstly I am assuming that the activity is internal processing type - doesn't matter really
    now to attach a material select actvity and from the template area click and drag material which will open the material detail screen in the work area
    because it is a non stock item I am assuming text description - in the requirements qty you enter the qty and next to it the units - changeable
    if you choose a material number maintained as material master then obviously the unit will be from the material master.
    If you are using an externally processing activity then in config check OPUU for the network type and see if order unit has been populated - that might be the problem

  • Goods receipt indicator is PO is not set for Stock -item

    Hi Gurus,
    I have created PO for a raw material but it is so strange that the Goods receipt indicator in Delivery tab is not set (it is greyed out also). Then, I cannot do Goods receipt for PO anymore.
    Normally, this Goods receipt indicator is set automatically if material is stock-item.
    Can anyone help me find out the reason?
    Thanks,
    Hong

    Hi,
    For the material type RAW MATERIAL ,  aganist your plant ( Which is given in the PO) have you activated QTY UPDATE check box?
    Check in the transcation OMS2
    Select your material type and click on the Qty update / Value update ( Which is in the left hand side window).
    Check QTY UPDATE check box aganist ur plant code. If not activated, check / activate check box.
    If this check box is activated, then only GR checkbox is activated in the PO - Delivery screen
    Regards
    KRK

  • The sum of the confirmed quantity exceeds the sum of stock items

    Hi,
    I have two sales order. Material is same. Both of them related project stok.
    First sales order's qty=1. I created purchase order and post goods receipt.
    Second sales order's qty=2. I created only purchase order.
    I cannot create delivery for first sales order. System giving message.
    Information message : The sum of the confirmed quantity exceeds the sum
    of stock items
    20000978     10     Only 0 ST of material 7ML18301CF  available
    20000978     10     An item with no delivery quantity is not permitted. Item will be deleted.
    But I have a 1 qty on project stock.
    Please help me.

    hi,
    this is to inform you that,
    please run this report in SE38, SDRQCR21 if you have any inconsistencies in the system.
    it seems there is an issue with MARD-DISKZ  & please correct it.
    but i have a doubt MB51 is material document llist.  why you are checking stock there.
    please confirm.
    regards,
    baljia
    Edited by: balaji timmampalli achari on Nov 17, 2010 9:00 AM

  • Procurement of more quantity than required in case of non stock items

    Dear Experts,
    Requirement is given below.
    I have one maintenance order with non stock item category N for quantity 5 pieces which is actual need.But user wants to procure 50 pieces against order and consume 5 pieces and rest will keep as stock.
    But in case of procurement against non stock item the moment we received the Goods (GR), all procurement quantity  will goes to consumption account and postings will happen accordingly.Correct me if i am wrong.
    Now my requirement is to keep the remaining stock 45 pieces (5 pieces consumed against actual need) as stock and to be consumed whenever there is a need.Can it possible to keep as stock in storage location which was procured against order as non stock item.
    How can i resolve this issue.
    Please somebody can help me.<<Text removed>>
    Thanks in advance.
    Reddiy.A.V
    Edited by: Matt on Oct 12, 2011 6:46 AM

    For the orders which you consumed, do the reversal of that material document. Also create one GR for the qty which has been returned to vendor & keeping the stock to storage location.
    In future, define those as stock items, so that this work around won't be required.

  • Automatic Purchase Requestition creation for item category "L" (Stock Item)

    Hi All,
    I have a query,
    When components are assigned to a maintenance order whose item category is "L" (Stock Item).
    As soon as components are assigned a reservation number is generated by the system immediately.
    Now my requirement is,
    for an item category which is "L" (Stock item), while I am saving / releasing the order, system should do availability check and based on the qty available it should automatically generate reservation (in case of full qty is available) or a purchase requisitions ( in case of non availability).
    Is this feasible? If so kindly let me know how it can be done.
    Currently in my case,
    i am getting a reservation number for an an item whose item category is "L" but the stock qty is "zero". System should have ideally generated a purchase requisitions number for such a case because of actual available qty being "zero"
    Is there any setting called "reservation time" so that after checking the availability of that item system decided whether a reservation number should be generated or a purchase requisition number?
    Thanks and with best regards
    Kannan J

    Hi Thyagarajan,
    I wud like to share with you  a content of SAP documentation which is as follows:
    "You can plan materials that are required to execute the task for each operation in the maintenance order. The materials can be bill of material components for the reference object or freely assigned material.
    <u>The materials that you plan for the maintenance order will be reserved in the warehouse, if they are kept in stock. You can set the reservation time in your system using the customizing function. In customizing, it is decided for each order type, whether the system should make the material reservation effective or generate the purchase requisition immediately or only when the order is released.</u>
    An availability check can be called up when components are assigned in the order.
    An automatic availability check is performed when the order is released. The order can also be released if there is no availability.
    A material provision list and material withdrawal slips can be printed together with the order papers.
    Planned goods issues are entered with reference to the reservation, such as reservation number, unplanned goods issues with reference to the order number.
    The goods issues entered appear in the document flow of the order."
    Now with this, is there a way out to resolve the issue?
    Best Regards
    Kannan J

  • Schedule line confirmation date for 3rd party sales( non stock item)

    Hi ,
    While creating an sales order i have a stock  item and 4 non stock items . All the non stok items are similar to 3rd party sales as they are services . While created the sales order for the no stock item the confirmed schedule date is given as 12 days in the future or in one case after month .
    Can  someone please help me in understanding how the dates are being calculated . I havent created any PO for the non stock items.
    I would like the confirmed date to be picked as the system date.

    Hi,
    There can be multiple reasons for this.
    You have not mentioned the material type. Anyhow, first check Material Master 
    Purchasing view> GR Processing Time field
    Sales / general Plant > Set up time and processing time field
    If MRP views are maintained
    In MRP2 View > Scheduling.
    In case you do not want availability check to be carried out
    Untick Availbility check and TOR check boxes in VOV6 for the schedule lines determined for these materials.
    Hope this helps.
    Regards,
    Sharan

  • Stock & Non stock item

    Hi Experts,
    Could you please tell me how to recognised the stock material.
    Like if we consider material type NLAG it is purely non stock item.Like wise which are the material type is consider for stock item.
    How can we identified the stock material.
    AR

    Hi,
    Stock material is kept with value and Qty both.
    while
    Non-valuated material (Material Type UNBW):
    This type of material is managed on a quantity basis, but not on a value basis. This makes sense for materials of low value, stocks of which nevertheless have to be monitored (for example, operating manuals).
    Non-stock material (NLAG) (Material Type NLAG):
    Inventory management is not possible for these materials either on a quantity or value basis. For frequently required consumables, the use of this material type nevertheless enables you to store the information required to create
    purchasing documents (such as texts and units of measure).
    When a material is procured directly for consumption, no material master record is necessary. In connection with consumable materials, you can distinguish between the following cases:
    • Consumable material without material master record
    • Consumable material with material master record that is not subject to
    inventory management (on either a quantity or value basis)
    • Consumable material with material master record that is subject to inventory management on a quantity, but not a value, basis
    Regards,
    Pardeep malik

  • Automatic PR creation for stock items (Category - L)

    Hi All,
    My requirement is as follows:
    When I create PM orders for stock item, system generates a reservation number.
    But the actual qty is sytem for such items are less than planned qty or NIL qty.
    How to create PR's for such items automatically by system ?
    Is MRP run required to be activated for such items (i.e: maintenance of MRP views in material master) or any other way to do it for stock items (L) ?
    If so, what all fields need to be filled in material master?
    Is there a way for doing MRP run only for material type ERSA (spare parts) or only against reservation numbers created through maintenance orders or against MRP controller?
    Kindly post your valuable feedback.
    Thanks in advance and best regards.
    Kannan J

    Hi,
         For automatic p.o creation, you can use reorder point.
    In material master mrp1 view, use mrp type VB, reorder level ex. 50 pc.
    Maintain lot size HB, maintain max stock level 100 pc.
    When the requirement comes it will consume from stock. If the stock goes below reorder ponit(50), it will create planning file entry.
    When you run mrp (MD01), it will automatically create p.o.
    But without running mrp, system can not create p.o
    With that you can maintain your stock.
    Hope it will help.
    Regards,
    Dharma

Maybe you are looking for

  • What is this cable?

    My iPod video came with a black cable with a yellow end and a black end...it doesn't work with my tv so wth is it for?

  • No. of JVM in Cluster Environment

    Hi When two servers(Tomcat) to be configured in cluster in one host(one machine), does it need two separate JAVA_HOME. Most of the scenarios, it uses only one JAVA_HOME. Does this mean, Tomcat uses one JAVA_HOME(JVM) and loads under its own instances

  • Qosmio F60 - No additional touchpad and Fn function after Win 8 upgrade

    I recently installed Windows 8 on my Qosmio F60 and now I have some issues, I think it might be driver related but not sure which drivers in particular. 1. The touchpad still works for moving the pointer but swiping along the right edge doesn't scrol

  • Unable to create a new "output type"

    I am a newbie. forgive me. I am logged on to my IDES (client 000) using the SAPUSER username. I am doing SD configuration and I am on the stage of output determination. I was about to define a new output type but I cannot do it because the "new entri

  • How do you change between 12 and 24 hour format on ipad

    how do you change between 12 and 24 hour format on ipad