Total qty in Plant

Hello friends,
If I want to see total quantity of all line items batchwise(not MMBE), in a particualr plant, Do we have T.code for it?
Can someone clarify my question?
regards,
seetaram

hi
MC.5
MB5B
MB53
MC.9
MC.1
MB52
reward if helpful
regards
kunal

Similar Messages

  • Reg: i want to get total qty of partculary month

    Hi All,
    i have developed a report
    the output fields are material,plant and qty.
    my requirment is for that material and plant what is the total qty in that month
    who to sum the qty?
    example is
    material       plant      qty
    10000023    4210       1
    10000023    4210       2
    10000023    4210       3
    But i want get like this
    material       plant      qty
    10000023    4210      6
    please can you help
    thanks
    kavi

    Try this sample code..
          Sort I_ZQMBW_FUJ_VENDQFR by MATNR PLANT
          LOOP AT I_ZQMBW_FUJ_VENDQFR INTO WA_DATA.
            AT END OF MATNR.
              LOOP AT I_ZQMBW_FUJ_VENDQFR INTO WA_DATA WHERE LIFNR = WA_DATA-MATNR.
                V_COUNT = V_COUNT + 1.
                AT END OF PLANT.
                  WA_DATA-TOTAL_QFR = V_COUNT.
                  MODIFY I_ZQMBW_FUJ_VENDQFR FROM WA_DATA  TRANSPORTING TOTAL_QFR   
                                                                    WHERE MATNR = WA_DATA-MATNR
                                                                       AND   MTH = WA_DATA-MTH.
                  CLEAR V_COUNT.
                ENDAT.
              ENDLOOP.
            ENDAT.
          ENDLOOP.
    Hope this helps...

  • SSRS 2008 have 2 colums with amount needs to add Total cost and than total cost column divide by Total qty get avg

    SSRS 2008,  have this report
     Qty Column --------- Est cost column -----    Mark up Cost Column  -   Did add Total cost column
    4 pcs-                       $ 2000.00  --------------$  50.00 --------------- $ 2050.00
    Avg  Cost                                                                                      
    $2050/4=  512.50
    how to write this exp to get value $ 512.50 
    what I did , its not giving me correct result,
    =Sum(Fields!estCOSTAMOUNT.Value+Fields!COSTMARKUP.Value)/(Fields!QTY.Value)
    can some one please advise what I am doing wrong.
    thanks in advance

    I tried both exp, did not work
    may be I was not  clear in the question
    Qty Column --------- Est cost column -----    Mark up Cost Column  -   Did add Total cost column
    4 pcs-                       $ 2000.00  --------------$  50.00 --------------- $ 2050.00
    2 pcs ------------------$ 1500.00  --------------=$100.00 ----------------$1600.00
    Total   qty  6  pcs-----$ 3500.00------------------$150.00---------------$ 3650.00
    Avg  Cost                                                                                      
    $3650..00/6=  608.33
    my field name
    =Sum(Fields!COSTAMOUNT.Value)  +  want to add cost amount and Mark up and divide with qty total
    =Sum(Fields!COSTMARKUP.Value)
    =Sum(Fields!QTY.Value)
    please help how can I write it to get the result

  • To get total qty delivered using ALV in a report

    Hi All,
    I am getting Quantity Delivered iout-lfimg in a ALV Report, in the last line I have to display total qty delivered. Can some one please help me to get this total qty delivered using ALV.
    Thanks,
    Veni.
    FORM get_data.
      SELECT Avbeln Akunag Avsbed Awadat_ist
             Bwerks Bmatnr Blfimg Bvrkme
             C~vbeln
             INTO TABLE IDELI
             FROM LIKP AS A
             INNER JOIN LIPS AS B
                       ON avbeln = bvbeln
             INNER JOIN VBFA AS C
                       ON Bvbeln = Cvbelv
                       AND BPOSNR = CPOSNV
             WHERE A~VBELN IN S_VBELN
                   AND A~ERDAT IN S_ERDAT
                   AND A~ERNAM IN S_ERNAM
                   AND A~VSTEL IN S_VSTEL
                   AND A~VKORG IN S_VKORG
                   AND A~KUNAG IN S_KUNAG
                   AND A~VSBED IN S_VSBED
                   AND A~WADAT_IST IN S_WADAT
                   AND B~MATNR IN S_MATNR
                   AND B~WERKS IN S_WERKS
                   AND C~VBTYP_N = 'Q'.
    ENDFORM.                    " get_data
    FORM process_data.
      loop at ideli.
        if sy-subrc = 0.
    concatenate ideli-vbeln ideli-ddeli into lv_wdelno.
          MOVE ideli-vbeln  TO iout-vbeln.
          MOVE lv_wdelno       TO iout-wdelno.
          MOVE ideli-kunag  TO iout-kunag.
          MOVE ideli-vsbed  TO iout-vsbed.
          MOVE ideli-wadat_ist  TO iout-wadat_ist.
          MOVE ideli-werks  TO iout-werks.
          MOVE ideli-matnr  TO iout-matnr.
          MOVE ideli-lfimg  TO iout-lfimg.
          MOVE ideli-vrkme  TO iout-vrkme.
        endif.
        append iout.
        clear iout.
        clear lv_wdelno.
      endloop.
    ENDFORM.                    " process_data

    Hi,
    While building the fieldcatalog, for the total qty column use the below code :
    gs_fieldcat-do_sum = 'X'.
    Thanks,
    Sriram Ponna.

  • Total Qty in Audit Report

    Hi,
    In the Audit report for the items,it is showing the total value of the items at the end.But it is not showing the total qty.Can somebody guide me how to get that.
    Thanks and Regards,
    S.G.Sekar

    Hi,
    that is SAP default.
    i'm afraid , if that could be done.
    because there is not blank cell so that by Pressing CTRL + clicking the column header you can display total.
    thanking you
    Malhaar

  • User exit to change total qty field in co01

    Dear Friends ,
    i need to increase  total qty field by 5 in co01 transaction in general tab  . which exit or badi should be used to accomplish the task .
    Thanks
    Amit Ranjan

    Hi,
    try from these exits-----
                                                                                    Exit Name           Description                                                                               
    CCOWB001            Customer exit for modifying menu entries                     
    COIB0001            Customer Exit for As-Built Assignment Tool                   
    COZF0001            Change purchase req. for externally processed operation      
    COZF0002            Change purchase req. for externally procured component       
    PPCO0001            Application development: PP orders                           
    PPCO0002            Check exit for setting delete mark / deletion indicator      
    PPCO0003            Check exit for order changes from sales order                
    PPCO0004            Sort and processing exit: Mass processing orders             
    PPCO0005            Storage location/backflushing when order is created          
    PPCO0006            Enhancement to specify defaults for fields in order header   
    PPCO0007            Exit when saving production order                            
    PPCO0008            Enhancement in the adding and changing of components         
    PPCO0009            Enhancement in goods movements for prod. process order       
    PPCO0010            Enhancement in make-to-order production - Unit of measure    
    PPCO0012            Production Order: Display/Change Order Header Data           
    PPCO0013            Change priorities of selection crit. for batch determination 
    PPCO0015            Additional check for document links from BOMs                
    PPCO0016            Additional check for document links from master data         
    PPCO0017            Additional check for online processing of document links     
    PPCO0018            Check for changes to production order header                 
    PPCO0019            Checks for changes to order operations                       
    PPCO0021            Release Control for Automatic Batch Determination            
    PPCO0022            Determination of Production Memo                             
    PPCO0023            Checks Changes to Order Components                           
    STATTEXT            Modification exit for formatting status text lines           
    regards,
    Prashant

  • How to get total number of plants, employees, jobs and respective tasks

    Hi Gurus,
    I have requirement where in I need to give client information about root object. Information being sought is on the total number of plants, employees, jobs and respective tasks performed by employees.
    Is there any standard report available to fetch this information? Or please let me know how to collect all this information?
    Thanks in Advance.
    Rupali

    Total number of employees S_AHR_61016369
    Jobs S_AHR_61016497
    Tasks S_AHR_61016522, S_AHR_61016523 & S_AHR_61016524

  • REM - Total Qty in each Reporting Points

    Hai PP Gurus,
                   Actually i have 5 RP (Operations) for one FG.In Bacflushing i confirmed 2 RP. Like that i confirmed 25 Planned Ord. Now i want to check how many quantities are waiting for third operation(3rd RP) that means i want to check the total qty for waiting the next operation in each RP.
                  Pls throw some light on this......
    Thanks & Regards,
    S.Ganeshraja

    Hi Ganesh,
    Have u tried T.code MCRM. Inside the report  u can see reporting point status by Drilldown option for selection.
    please check and reward if it is usefull
    regards
    pradeep

  • Total Stock vs Plant Stock

    I have the following problem with the stock:
    The total stock (MBEW-LBKUM) shown in the material master data (Accounting 1 tab) is not equal to the Plant Stock (MARD-LABST) shown in the Plant Stock tab (there is only unrestricted stock).
    In my opinion they should be the same because:
    - The valuation area is a plant (transaction OX14)
    - I´m not using valuation categories (which determines the valuation type). Thus in table MBEW the field valuation type is blank, the same as the valuation category.
    Any ideas on why the stock is different?
    Thanks in advance!

    Dear  Agustin
    Actualy i was also facing the same problem in my previous project.Also I have gone thru some of the threads in SDN few ppl were facing the same problem
    just check the entries in Table
    MARD and MBEW for the material for which u are getting the difference.
    what must have in the begining that ur GR must have been done with the non valuated stock
    Check in the table MARDH and MBEWH to find the period where it started to become different.
    MARDH has all stock, MBEWH has only valuated stock.
    It all happened in the begining when the stk is uploaded with zero price and when the first GRN happens then the price of that material gets updated in the material master,
    the stk must have been uploaded twice due to that reason some stk are valuated and some stk are non valuated ,that u can see in MB5B T-code ,for valuated stk the table is MMBE and the valuated + Non valuated stk gets updated in MARD so by the difference of stk in MARD and MBEW u will get the Non valuated stk.
    How ever in MM03 -> Accounting View -> Total Stock is the Total Valuated Stock.
    In MMBE, Total Stock comprises of Valuated and Non Valuated Stock.
    Also, if there are Sales Order Stock with Individual Valuation, these Stocks will not be shown in Accounting View -> Total Valuated Stock, however this will be in MMBE.
    Please refer the threads posted by me
    1)How to Convert Non Valuated stk into Valuated
    2)Inventory difference problem in MM03 and MMBE
    3)Qty Differene problem in MMBE & MM03
    where as to solve your problem is to only make a program in which it will update the MARDH stock and MBEWH stock so that in future the problem does not arise.
    Coz our sales person was finding the stock in MMBE but he was not able to do the delivery.
    Coz there were no valuated stock.
    To solve this I have made a program in which both the stocks will remain the same.I didnt got any solution thats the reason we have to take thsi step
    Hope this finds useful .If it does I will expect the Points from you
    Regds
    Shail

  • Total Qty and Valuation is "0" for Items w/out Movement for the Prev Period

    Hi MM Experts,
    We encounter error message "Valuated stock becomes negative"when we try to post a goods issuance against a production order with posting date Jan 31, 2011 (our current period is Feb 2011). I checked the materials' stocks and there are enough stock for the issuance. I checked the material valuation in the material master and I found out that the Total Stock Qty and Total Stock Valuation for period 01 2011 is both "0". The Total Stock Qty and Valuation for periods Dec 2010 and Feb 2011 however have the same value. I also checked the stock movements from December to Feb and I found out that there were no movements for January (which means the quantity and value should be the same as end of Dec). I tried simulating the posting of goods issuance using Feb as the posting date and the system did not issue any error message.
    Have anyone encountered the same issue? Is this standard to the system? We need to post the issuance using posting date Jan 31 and we would really appreciate any inputs/ help.
    Thanks and regards,
    She

    Hi Raj,
    We have made the balance as Zero Now.
    The point here earlier ie when the Account was not having Open item status, system has calculated Foreign currency valuation based on currency and not on Line Item.
    Where as now it is calculating based on line item(which is Open item).
    The point is expectation is system to calcuatate forex valuation for future items ie items posted after Open item activation , where as currenty When the account is Zero system is calculating Forex difference.
    regards
    N.Kumar

  • STO returns and visibility of qty at plant vendor in MD04

    Hi Guru's,
    When I create a return STO in R/3 the requirement appears at the receiving plant in MD04 but no receipt appears at the supplying plant (it is a return so opposite to normal).  When I create a delivery for this STO nothing changes in the MD04 view at receiving or supplying plant.
    We would like to see the return and the return delivery as a receipt in MD04 so it it contributes to available qty.  Can you provide some ideas on how this could be done?
    Thanks
    Andrew

    Hi,
    I have similar problem for our client. Can you explain me how to you resolved the issue?
    Thanks,
    Muthu

  • Un-restricted total stock for Plant/Material/StLoc combo, Split-val & WBS

    Hi
    Users need  Un-restricted total stock for combination Plant/Material/StLoc combination ; we have MARD-LABST.
    Further, needs WBS & split -Valuation materials stock in the same report or SQVI. I tried to create SQVI, but it`s giving WBS stock as multiple times for SLocs.
    I`m using tables QBEW,MSPR,MCHB in the table join.
    Pls advise me suitable solution as Std SAP report or SQVI.
    Thanks,
    Ganesh

    Thanks for reply.
    But, I need unstricted stock for Mat/Plant/StLoc also to be displayed in the same report .i.e. MARD-LABST.
    The MBBS gives stock at Plant level for WBS.
    Can both be clubbed? Or need to get from separate reports?
    Rgds,
    Ganesh

  • Total Qty

    Dear all
    We have sub-contracting scenarion
    my client used to give unifor stiching to subcontractind vendor for different sizes, we maintain BOM for cloth,buttons and etc
    Ex.
    for material 200820:PILOT BLAZER u2013 SIZE u2013 48 u2013 (DHIR) it is a finished product.
    Components:
    200175     FABRIC-BLACK-NO.0134013730-SHADE-3-RYMD     276      M
    200177     LINING  cloth- RED                                                     276      M
    200795     ABS BUTTON WITH LOGO "BIRD" SIZE:24L     828      EA
    200796     ABS BUTTON WITH LOGO "BIRD" SIZE:32 L     414      EA
    this is for one size -48 ,we have different sizes say 10-12 ,we are giving only one PO(sub-con) PO to vendor ,my requirement is
    for all the sizes we provide same cloth and same buttons etc. now i want know the total PO qty material wise with out checking each and every line item in PO (PO has 15 line item)
    i mean 200175(FABRIC-BLACK-NO.0134013730-SHADE-3-RYMD) how much qty i need to send Vendor for all the Sizes), where can i get this is there any report to get the or i need to customize, or i can find out from tables.
    Regards
    venu gopal

    Hi,
    If you do MB1B + 541 + PO reference w/o specifying the PO item (just give the PO no. w/o item) or you run transaction ME2O for your vendor you can see the aggregated qty of your components - and you can ship it out to your vendor from these transactions.
    (In ME2O, the summarized qty contains component qty necessary for all open L-PO > here you can see the details clicking on the icon under the material (component) no.)
    BR
    Csaba

  • Total qty field in OACT and PCH1 tables

    Hi,
    What field in the OACT and PCH1 tables will give me a total quantity of pieces on the a/p invoice or purchase order, respectively?
    Thanks,
    Shelby

    Hi
    Are you trying add the fields that are present in Suda query.?
    You can just use Ctrl Click on the colum and it gives you a total .
    Otherwise ,try this
    you need to add field and same to group if you are using sum
    SELECT T1.DocNum AS 'Document Number',T1.CardName , T1.DocDate,T1.Comments,SUM(T1.TotalExpns) AS 'Total Freight Charges',
    SUM(T0.Quantity) AS 'Quantity'
    FROM  [dbo].[PCH1] T0  INNER  JOIN [dbo].[OPCH] T1  ON  T1.[DocEntry] = T0.DocEntry
    WHERE T1.DocType = 'I'
    GROUP By T1.DocNum,T1.Cardname,T1.DocDate,T1.Comments
    Hope this help
    bishal
    Edited by: Bishal Adhikari on Mar 6, 2009 1:21 PM

  • Query FMS to display total qty SO

    Dear All,
    I would like to have total quantity of item that sold to the customer in the BP master data customer.
    The total quantity is based on SO quantity. I have created a UDF and I try to use this query FMS:
    SELECT SUM(QUANTITY) FROM INV1 with (NOLOCK)  INNER JOIN OCRD
    T0 ON T0.CARDCODE = INV1.BASECARD WHERE YEAR(DOCDATE)
    = YEAR(GETDATE()) AND T0.CARDCODE = $[$5.0.0] AND T0.CARDTYPE = 'C'
    Pls give advice if there is something wrong with the query or if the query is not valid to have
    such result. Thanks in advance
    Steve

    Hi,
    when run the FMS using mine (modified from yours):
    SELECT SUM(QUANTITY) FROM
    [dbo].[INV1] T0 WITH (NOLOCK) INNER
    JOIN [dbo].[OINV] T1 ON T1.DocEntry = T0.DocEntry
    inner join ocrd t2 on
    t2.cardcode = t1.cardcode
    WHERE YEAR(T0.DOCDATE) = YEAR(GETDATE())
    AND T2.CARDCODE = $[$5.0.0]
    AND $[$40.0.0] = 'C'
    or yours:
    SELECT SUM(QUANTITY) FROM
    [dbo].[INV1] T0 WITH (NOLOCK)
    INNER JOIN [dbo].[OINV] T1 ON
    T1.DocEntry = T0.DocEntry
    WHERE YEAR(T0.DOCDATE) =
    YEAR(GETDATE()) AND
    T2.CARDCODE = $[$5.0.0]
    AND $[$40.0.0] = 'C'
    will erupt "internal error (3006)..." message. I could not understand why it is happened.
    Rgd,
    Steve "Edu"

Maybe you are looking for

  • Corrupt songs will play in quicktime - but won't copy to HDD.

    Hi All, Background/Symptoms: My macbook pro (2008 unibody) crashed a little while ago. It started being really sluggish, so I tried to install an update and during the update I got an error. I turned off the computer and it wouldn't boot past the app

  • How can I edit a .zip or .jar file?

    I want to create an application that can edit files stored in a zip file on the fly? How can I do this? Thanks.

  • Download Assistant won't work.  Error 107.

    Download assistant doesn't work.  Login works okay but then I get "Error communicating with Adobe.   Error 107.  Restart download assistant."  I'm on Windows XP 32 and restarting the assistant or the machine doesn't help.  This worked fine last night

  • Duplicate Contact list in 6303

    hi there, i have update my nokia 6303 software. after the update when i recovered the data from nbu file. there were two such files, i was confused and i restored my contatcs from both the files one by one. Now my fone is showing each contact twice.

  • IPhoto slideshows on my iPad

    I have seen one of my iPhoto slideshows on my iPad so I know it is there.  It was put together in iPhoto with music and I THOUGHT I viewed it in my video app.  I cannot find anything in my video app now except two purchased videos.  I have the latest