Opening Stock Comapny - Plant - Material - Batch - Storage location Wise

Dear Friends,
I want to do the following report. I will explain the details to you. Pleaes suggest on how to go about it.
1. Since you know that SAP stores stock in a summary form (Plant / Material wise). Our management wants the report on the following hierarchy. (Company - Plant - Material - Batch - Storage). Our management has suggested the following:
a. Create a ZTABLE with the above columns including Quantity (which will contain closing stock quantity).
b. In this calculate and store Closing stock for each month. 
c. an insert / update program has to be created for uploading data in the ZTABLE (selection will contain date).
for ex:
When running the  program for 31st March 2008. system will take the closing stock stored in the ZTABLE for previous months + March Receipt - March issues. the result will be the closing stock for March 2008.
d. Then a report will be prepared using the ZTABLE and other calculated fields.
Can anyone give me the guideline as to how to go about it. Tables to be used and logic to be followed? Or if any other way the result can be achieved then nothing like it.
The Managements final goal is to have any given date closing stock in the above hierarchy (minimizing the Performance issue... that is why the suggestion of ZTABLE)...
Awaiting for your expert opinions.....
Regards,
Jitesh M Nair

Figured out

Similar Messages

  • Downlading Material stocks and its Value, storage location wise

    Dear Experts,
    As we are reimplementing SAP, we need to download the
    a)     stocks Plant and storage location wise for all the materials. Bcoz stocks are maintained in different storage locations.
    b)     Value of stocks for each material in the Plant and storage location wise, Bcoz stock qty will be different in different location and hence the value will be dependent upon the qty ?
    How can we extract this ? From which tables do we need to extract  this ?
    Can any one guide on this ?
    Regards     
    Javeed Ahamed.

    Goto MB52 report ,change the layout asper your requirement and extract to excel.To extract follow this
    go to menu bar
    system-- list-- save -- local file
    alternatively you can take it MBEW table also(se16n)

  • Storage location wise opening, closing stock...date wise...report

    Hi all Experts,
    I am at client site and hav to provide a report containing opening, and closing stock (and issue qty if possible) storage location wise and date option wise.pls help
    regards
    vikas chhabra

    Hi,
    Use MB51 for date wise report
    OR
    Use MCL1, MCL5, MCL9, MCLD (If Warehouse Management you are using)
    OR
    You have to develop an own ABAP report.
    Regards,
    Biju K

  • Storage location wise stock

    hi all mm expert,
    in mb5b , stock come plant wise ie opening stock, closing stock, receiving stock, issue stock and thier values.
    now i required these opening, closing, receiving, issue, value storage location wise with date.
    a plant has 3 to 5 storage location.
    waiting your valuable reslponse.
    regards,
    santosh

    hi
    just give the range of stores
    like aa01 to zz99
    here u will cover up all the stores
    for the ragnge use the logic as per requirement
    also if u have list in excel ,then just go to mb5b and click on arrow in front of it then just pest it u willget all loctions
    regards
    kunal

  • STOCK STATEMENT STORAGE LOCATION WISE

    Dear All,
    Ca we able to take Stock Value on storage location wise for the particular date.
    Thank You,
    Warm Regards
    Mani.

    Hi,
    Stock statement storage location wise can be get, by using T-Code MB5B.
    But Quantity can be gettable on storage location basis. However value can be gettable on Plant level.
    First you have to take the plant stock on any particular date in which you can get Plant Qty and Plant Value. Please divide Plant value by Plant Qty, you can get Rate of each material. After that take storage location wise stock and multiply with Rate.
    Please note that in SAP prices are maintained on Plant level basis. Hence, it is a small workaround.
    Secondly you get Monthend Stock of any month at storage location level with value using T-code mc.9
    Hope this will help you.
    Please reward if useful.
    Ishu

  • Storage location wise project stock valuation

    Hi all,
       I am tying to generate a report for storage locationwise project stock valuation. MBBS is giving the data valuation type as well as WBS element wise valuation.That is fine. I want to show the data storage location wise. So, I have taken MSPR table where I am getting data storage location wise. For this stock, i am picking up unit price from QBEW table. My user says there will be cases that the material comes in with different prices in a same financial period.Here I am facing issue when there are two prices for the same material with same Val.area and same WBS element .Pls tell me how can I pick up the correct price.

    Hi,
    If stock with different price under 1 plant and 1 WBS Element put into different storage location based on the material price then in table MSPR we can have LGORT (storage location) as indicator there. Otherwise, since valuation type is not implemented, there is no other way you can differentiate stock based on price as you mentioned before.

  • Stock transfer order between two storage locations in IS Retail

    Hi,
    I want to have a Stock transfer order between two storage locations in the plant.
    I have activated the "Activate Stock Transfer Between Storage Locations", now i can create a STO and have the "Issuing SLoc" tab.
    Having that i get an error message "Not possible to determine shipping data for material XXX" Message no. 06280.
    I am trying to have the shipping data in customizing for set stock transfer - "Define Shipping Data for Plants", but my site is not listed due to the use of IS Retail. Is there a way to configure it?
    Tnx
    Lior

    Hola.
    Voy a contestar tu pregunta en espanol. Debes crear al centro  emisor  como  deudor  en la transaccion WB02  y ampliar a la organizacion  de compra.
    Posterior, debes crear al centro  receptor como  acreedor en la transaccion  wb02.
    Cesar Moreno. Funcional MM Retail.

  • Reg : client level data,plant level data,storage location level data

    hi
    when we enter the data mm01 we select views.these views are based on cleint level,plant level,storage location level .i want the difference between all the three levels.how do we differentiate.

    As per our business process there are one company and in which many plants and storage location are available. In which many materials are available in different plant in different storage location.
    As per SAP Standard structure: -
    Company >> Company code1 & Company code2... >> Plant 1 & Plant 2 & Plant 3 .... >> Storage location 1 & 2 & 3........
    And in all plant and storage location have different data.
    Suppose in one plant we do quality testing for material and it may be possible in other plant we not perform quality testing for material. So in this case for same material quality data is different for different plants.
    Client Level: - Means data is same for all plant level like Basic data
    Plant Level: - Means data is based on plant level like Purchasing, Plant data, Quality data, Accounting view.
    Storage location level: - Means data is based on storage location level, for different storage location data will be different like Storage location stock data ..
    Due to this you can maintain different data on plant level & storage location level.
    Regards,
    Mahesh Wagh

  • Date Wise and Storage Location Wise Stock Qty & Value Report......

    Hi Experts,
    We want a report Date Wise(As on 31.03.2008) and Storage Location Wise Quantity & Value Report for only Finish Materials. Is there any report ?
    From Mb5b we canot get storage location wise report as we get only plant level qty and value.
    Pl. guide us.
    Regards,
    Yusuf

    Hi Yusuf,
        Try the Tcode: MC.9 there enter the site and article and executeYou will get details of the article
    stock, value. if you double click the article you will get the details of storage location.
    Hope it will be help for you
    Regards
    GK

  • Storage Location wise Stock details on a specific Date

    Dear All,
    Please help me with any T-code or Process by which I will be able to view the opening & closing stock storage location wise on a specific date. In MC.9 it shows the stock on current date or Month-End. In MB5B it will show the stock but not storage Location wise. Requires your sincere advise in this regard.

    HI , 
    There arent many reports  for date wise stocks in satnadard SAP. you will have to run MB5B  storage Location wise for the specified dates. OR
    you can try this one report J3RFLVMOBVED -STOCK OVERVIEW(RUSSIA) ,  Run it and save  a layout.  It should  solve your  problem.
    Regards
    Raviraj.

  • Non storaged material in Storage Location after mov 653

    I have a non storage material.
    when the return delivery picking was done SAP let to put a storage location. for this Delivery item category wit has not flagged "Do Not Check Storage Location". So it has to be checked. Its also true that we have Storage location is absolutely necessary, so without storage locatin we cant deliver, but we should have an error message and not let us deliver using a storage location when its a not storaged material.
    And the problem is that when you have the material in the storage location you cant do nothing because the material has no storage data.

    Hi
    For the Return delivery , delivery item category is not flagged with the feild "Do Not Check Storage Location " . It is not checked because a Returns order are mostly created wrf to sales order / billing document/delivery document. So once you copy the data to the returns order and when you do Post Goods Receipt then at that time there is no need to copy the sloc.
    But ,if the material doesn't have storage data then we cant retrieve how much stock is available in storage locations. So we have to run the report to know how much stock is available in the storage location
    Regards
    Srinath

  • Storage Location Wise Stock Value field and Table

    Hi ,
    Please let me know the storage location wise stock value field and table.
    Regards
    Suresh

    Hi Suresh,
    As per my understanding it is not possible in a single Table.
    If this is required for customized Z report then use this logic it may gives the correct information.
    In the combination of MARD and MBEW.. From MBEW you can get the value for each Base Unit of Measure then multiply that value with storage location stock.
    It may usefull to u..in the mean time i will try for some other option.
    Please revert if u have any query.
    Regards
    Durga Sana

  • Report for Storage location wise Stock with value..?

    Hi guru's
    Can anybody explain me what is T.code i want to use to get a report for STORAGE LOCATION STOCK  with VALUE..?
    Urgent reply me  ..
    Thanks
    sap-mm

    Sorry Mr chetan,
    I want to see only the stock available in my company with Value and storage location wise..
    Please try to get report for this
    Thanks
    sap-mm

  • Storage Location wise stock report

    Can any one let me learn, How to get storage location wise & selected date wise stock report in standard SAP

    HI,
    Then you use T.code: MB51, where you will find the Date Range besides to Storage Location.
    Regards
    VG

  • How to get a opening stock of a material on a particular date

    Hi,
    Could you pls provide me the logic of how to get the opening stock of the material on a particular date. I searched the forum and found the logic to fetch the closing stock at a given period but not for a date.
    An immediate response would be really appreciated.
    Thanks
    Harris

    Dear,
    Please read following part of my code
    FORM GET_OPENING .
       IF IT_FINAL[] IS NOT INITIAL.
         SELECT *  FROM MARD
           INTO CORRESPONDING FIELDS OF TABLE IT_MARD
           FOR ALL ENTRIES IN IT_FINAL
           WHERE MATNR = IT_FINAL-MATNR
           AND   WERKS = '1000'.
         SELECT A~MBLNR A~MJAHR A~BUDAT B~WAERS B~ZEILE B~BWART B~MATNR B~WERKS B~LGORT B~CHARG B~SHKZG B~MENGE B~MEINS B~BUSTM B~XAUTO
           INTO CORRESPONDING FIELDS OF TABLE IT_MKPF
           FROM  MKPF AS A JOIN MSEG AS B
           ON A~MANDT = B~MANDT
           AND A~MBLNR = B~MBLNR
           AND A~MJAHR = B~MJAHR
           FOR ALL ENTRIES IN IT_FINAL
           WHERE B~MATNR = IT_FINAL-MATNR
           AND   A~BUDAT GE P_BUDAT-LOW
           AND   B~WERKS = '1000'.
       ENDIF.
       AKTDAT = SY-DATLO + 30.
       IF NOT ( P_BUDAT-HIGH IS INITIAL OR P_BUDAT-HIGH > AKTDAT ).
         LOOP AT IT_MKPF INTO WA_MKPF WHERE BUDAT > P_BUDAT-HIGH.
           MOVE-CORRESPONDING WA_MKPF TO IT_MKPF1.
           APPEND IT_MKPF1.
           DELETE IT_MKPF.
         ENDLOOP.
       ENDIF.
       SORT IT_MKPF1 BY WERKS MATNR SHKZG.
       LOOP AT IT_MKPF1.
         IF ( IT_MKPF1-XAUTO IS INITIAL ) OR
             ( IT_MKPF1-BUSTM <> 'MA02' AND  IT_MKPF1-BUSTM <> 'MA05' ) .
           MOVE-CORRESPONDING IT_MKPF1 TO IT_MAT.
           COLLECT IT_MAT.
         ELSE.
           DELETE IT_MKPF1.
         ENDIF.
       ENDLOOP.
       SORT IT_MKPF BY WERKS MATNR SHKZG DESCENDING.
       LOOP AT IT_MKPF INTO WA_MKPF.
         IF ( WA_MKPF-XAUTO IS INITIAL ) OR
            ( WA_MKPF-BUSTM <> 'MA02' AND
            WA_MKPF-BUSTM <> 'MA05' ).
           MOVE-CORRESPONDING WA_MKPF TO T_MAT.
           COLLECT T_MAT.
         ELSE.
           DELETE IT_MKPF.
         ENDIF.
       ENDLOOP.
       LOOP AT IT_MARD.
         CLEAR IT_MAT-MENGE.
         MOVE-CORRESPONDING IT_MARD TO FINAL.
         READ TABLE IT_MAT WITH KEY WERKS = IT_MARD-WERKS
                                    LGORT = IT_MARD-LGORT
                                    MATNR = IT_MARD-MATNR
                                    SHKZG = 'S'.
         FINAL-ENDMENGE = IT_MARD-LABST + IT_MARD-INSME + IT_MARD-SPEME + IT_MARD-EINME + IT_MARD-RETME - IT_MAT-MENGE.
         CLEAR IT_MAT-MENGE.
         READ TABLE IT_MAT WITH KEY WERKS = IT_MARD-WERKS
                                    LGORT = IT_MARD-LGORT
                                    MATNR = IT_MARD-MATNR
                                    SHKZG = 'H'.
         FINAL-ENDMENGE = FINAL-ENDMENGE + IT_MAT-MENGE.
         COLLECT FINAL.
       ENDLOOP.
       LOOP AT FINAL.
         CLEAR T_MAT-MENGE.
         READ TABLE T_MAT WITH KEY WERKS = FINAL-WERKS
                                    MATNR = FINAL-MATNR
                                    SHKZG = 'S'.
         MOVE T_MAT-MENGE TO FINAL-SOLL.
         CLEAR T_MAT-MENGE.
         READ TABLE T_MAT WITH KEY WERKS = FINAL-WERKS
                                    MATNR = FINAL-MATNR
                                    SHKZG = 'H'.
         MOVE T_MAT-MENGE TO FINAL-HABEN.
         FINAL-ANFMENGE = FINAL-ENDMENGE - FINAL-SOLL + FINAL-HABEN.
         MODIFY FINAL.
       ENDLOOP.
       LOOP AT FINAL.
         WA_FINAL1-MATNR = FINAL-MATNR.
         WA_FINAL1-MEINS = FINAL-MEINS.
         WA_FINAL1-OP_MENGE = FINAL-ANFMENGE.
         WA_FINAL1-RE_MENGE = FINAL-SOLL.
         WA_FINAL1-IS_MENGE = FINAL-HABEN.
         WA_FINAL1-CL_MENGE = FINAL-ENDMENGE.
    *  WA_FINAL-LGORT = FINAL-LGORT.
    *    READ TABLE IT_MAKT WITH KEY MATNR = FINAL-MATNR.
    *    MOVE IT_MAKT-MAKTX TO WA_FINAL-MAKTX.
         APPEND WA_FINAL1 TO IT_FINAL1.
       ENDLOOP.
    ENDFORM.                    " GET_OPENING

Maybe you are looking for

  • Date and Cost formats in export toward Excel (2013)

    Hi, I'm trying to export Start date and Cost of my project tasks to Excel: File/Save as/ Excel Workbook... but all these date and cost data arrive in Excel with Text format. With the 2003 version, date and cost formats were well recognized. I'm using

  • Dynamic Column Names using Refcursors

    Hi, I have a stored procedure which returns a refcursor. The refcursor contains a SQL query in which the column names and number of columns vary dynamically based on the date parameters passed. "My objective is to return certain XYZ details of employ

  • ITunes 7 Hates my Video Podcasts

    Hoping someone can help. iTunes 7 won't play my old movies, music videos or video podcasts, either on the computer or on the ipod. It recognizes that I have them, but won't play them on the computer, and though I've selected all podcasts (also tried

  • I want to extract part of webservice response(not entire response)

    Hi guys, I created one BPEL process in Oracle Jdeveloper.I am invoking some WSDL url to get the response.It is giving the response in below (example - I am giving some example format here) format: <data> <name> name1 <name> <type> type1 </type> </dat

  • Problem using 'RRX_GRID_CMD_PROCESS'

    Hi Experts. I donu2019t know if this is the right forum, but I have a problem about the FM 'RRX_GRID_CMD_PROCESS'. Iu2019m trying to get a table from a query of mine by this code:     CALL FUNCTION 'RRX_REPORT_OPEN'        EXPORTING           i_genun