Logic for Calculating Period wise Stock??

I wasnt to get the  stock of any year/period. I know  it comes from MBEW/MBEWH .Can ny body tell me the logic to calculate stock? or there any direct table available from where it can just be picked up. I can not use stock standard report for some reasons.
Regards,
Sunil

Hi,
If it is with respect to a plant and storage location, then we need to use MCHB and MCHBH tables in which Stock for the current period we will get it from MCHB and Stock for the previous period we will get it from MCHBH.
Opening Stock  = Stock from MCHBH for the Period -1.
Closing Stock  = Stock from MCHB for the Period
Regards,
Lijo

Similar Messages

  • Period wise stock report

    Hi,
    I want period wise Stock Report like MB52.
    I want Report Like these
    In these report i want Urestrected Stock,Transist Stock,Blocked Stock,Return Stock with Values.
    If any standard T code is there in sap plz give me

    Hi,
    As per your requirement :
    It is better to go for a z-report. Ask your ABAPER to create the same as per your requirement.
    Otherwise you can fulfill your requirement with the help of several tcodes like MB52, MC.9, MB5B, MMBE etc.
    Hope this will resolve your issue.
    T & R,
    Brijesh

  • Pls tell me the exact formula for calculation of Safty Stock with quality example

    Pls tell me the exact formula for calculation of Safty Stock with quality example

    Hi Devendra,
    safety stock is a quantity of stock which should be planned to be in inventory to protect against fluctuations in demand or supply. Therefore it is considered in planning.
    The Product Planning Details screen is mainly a planning screen, giving an overview on the planning situation for a product in a planning area. The projected stock reflects the planning behavior, displaying the shortages relevant for the planning run.
    As the safety stock has to be always in stock, the projected stock takes it into account as an immediate demand. That is why it reduces the projected stock, for example, if the stock on-hand is 0, then the initial planning situation for the product with a safety stock shows a negative projected stock.
    For more information please check the help document “Material Planning Settings “ under section safety stock which explain with pictorial rep.
    hope it help you.
    Regards,
    Suresh

  • SAP logic for calculating the replenishment requirement - IS Retail

    Hi All,
              Could you explain from where does the RPLRQ field is getting picked up from the WRPT table.And what is the SAP logic for calculating the replenishment requirement for a particular article.
    Regards,
    PSS

    Dear PSS,
    Field RPLRQ represents for the replenishment requirement determined in the previous replenishment run. This can be changed when follow-on documents are created if order optimizing is active (for example, if quantities are to be rounded off).
    Bye,
    Muralidhara

  • 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

  • XMII Logic for calculating mean time

    Hi All,
    My xMII is connected to OPC and from OPC server I am getting the Status of few equipments. I am trying to calculate the mean time between failures. Let me be bit precise.
    Lets take for example, an equipment called Reactor. The Reactor was in running status at 6:00. The status was failure at 6:15, again failure at 6:30. So, I have to track the mean time between two successive 'Failures'. If the time difference between two successive failures exceeds 15 mins, then an entry of that equipment is to be made into the database.
    Can anybody help me out with a logic as to how should I proceed??
    And please explain the steps in detail.
    Thanks in Advance,
    Lipsa.

    If your OPC tag is a digital tag, you can se the totalizer block and some simple math to achieve this.  But you'll need to read the documentation first, try it, then come back with questions! 

  • Logic for Calculating Pending Purchase Order Receipts

    Hi,
    I am developuing one report which displays weekly production and inventory coverage details.
    I have a problem.  i dont know how to calculate the pending puchase order weekly basis.
    Can any one help me
    Regards
    Guhapriyan.

    Hi Guhapriyan!
    In table EKKO / EKPO you find the purchase orders. Be sure, they are still open: EKPO-ELIKZ = space.
    In table EKET you will find (estimated) arrival dates -> take deliveries of corresponding week.
    Regards,
    Christian

  • FM for calculating stock on a warehouse number

    Hi all
       Anybody knows a FM for calculating a material stock on a warehouse number? I need a FM which works similar to trx LS26, i need the stock sorted by storage type.
    Thanks and regards

    I found these FMS` ..May be it helps you or give you some guide lines..
    /SAPNEA/SMAPI_STOCK_GETLIST    Get stock list for warehouse and van       
    CBIH_LB11_QTY_GET_STOCK_TOTAL  EHS: User Exit - Determine Warehouse Stock f
    L2018                          BAPI for Bus.Object WarehouseTransOrder    
    L3016                          BAPI for Business Object Warehouse Stock                                                                               
    Thanks

  • Serial number wise stock and Ageing

    We want to develop the stock report serial number wise and it should have the ageing based on the receipt date.
    Please provide T code or table for serial number wise stock.
    Please provide valuable inputs

    Check IQ09, Copy program RIEQUI21 of IQ09 & develop report applying your logic of ageing based on dates with the help of Abalper.

  • Logic for carry forward of previous stock to current period stock.

    Hi Experts,
    Client is using already MC.9 for see the stock analysis report, however as per there requirement we are exploring BOM as well as fetching quantity from table level as well. in my report I am experiencing  difficulty to carry forward previous period closing stock quantity to current period stock quantiy, if there is no received for current period, however the same is happens in MC.9
    Could any one tell me what is the logic behind MC.9 which is do carry forward previous period closing  stock to current period stock quantity in report.
    As per the requirement I am using S031, S032,S033, however unable to get logic for carry forward the previous month stock quantity to current month.
    have a requirement of creating a report of showing material stock period wise for each plant in below mention format.
    Header 1
    Header 2
    Header 3
    Header 4
    LFGJA/LFMON
    ROH (MT)
    HALB (MT)
    FERT (MT)
    11.2013
    100.000
    121.000
    121.00
    12.2013
    50.000
    12.000
    123.00
    01.2014
    23.231
    .23.234
    45.342
    02.2014
    23.231
    34.094
    45.098
    03.2014
    34.098
    98.983
    00.000
    04.2014
    00.000
    69.093
    98.098
    05.2014
    00.000
    89.098
    00.000
    For Example Break up of ROH material plant wise in below mention format.
    LFGJA/LFMON
    WERKS
    MENGE (MT)
    11.2013
    P001
    30.000
    11.2013
    P002
    50.000
    11.2013
    P003
    20.00
    Thanks in advance,
    SKN

    Hi,
       The last period closing stock = current period opening stock. You may get the details from MBEWH and S032 tables. Refer the doc: Material Stock and Valuation History tables - how to read them
    Regards,
    AKPT

  • Batch wise stock for a given period or month

    Hi,
    My company wants to implement stock ageing report in MM.
    We manage the stocks in Batches. For us the main criteria for stock ageing is batch creation date.
    The report should run stock ageing based upon the date range given as an input screen
    For ex : date range in input can be of today or as of 30.06.2010.
    If the report is run as of today then I am able to get the batch stock from table MCHB . Quantity from field "CLABS"  and the batch creation date from the field "ERSDA"
    But if the report to be run as of 30-06-2010. Then I am not able to get the data from MCHBH as of 30.06.2010.
    I have checked for one material in the table and as per stock it should be 351 as of 30-06-2010 but in the MCHBH table for the month 06. year 2010 it is showing as 136 pcs only.
    As our LIS tables are not getting populated correctly I am not able to check those tables too.
    Can any one guide me with the logic or the table where I can get the batch stocks for a particular month.
    I need Material, Batch, Quantity month and year .
    Please advice how can i get the data and from which table.
    Thanks you for your support in advance.
    Regards
    Fazal

    Hi Jurgen,
    Thanks for your reply. I am not looking for any analysis report or LIS report.
    i am looking for simple ageing report for a date entered by the user. I got the logic and tables for the current date but if i need to refer the stock ageing of previous date like my stock ageing at 30-06-2010. I am not able to get any tables where i can have the batch stock for a given date or a month.
    The report output format to be
    stock <=30 days
    stock>30 and <=90
    stock>90 and <=180
    stock>180 days
    The criteria for calculation will be the date entered by the user in the input screen. If the user enters the date as 30-06-2010 then all the stock received in the month of june and still lying in my storage location will fall the category <=30 and display in the report.
    Stocks received in the month of march, april and may will fall under the category "stock >30 and <=90".
    If I can get the batch wise stock for a particular month , I can pick the posting date of the Goods receipt from the batch number and calcuate my ageing (i.e date entered in the input scren of the report 30-06-2010 - batch posting date).
    I am also referring to the note which you have sent but in the mean while if you can help me to identify the tables where I can get the batch stock for a particular month.
    Thanks
    Fazal.

  • Batch wise stock for a Purchase order

    Here, i am receiving the goods from the customer for jobwork, while receiving the material (cloth) itself i wont receive the design what i have to print on the material.(For eg customer will send me some 5000 mtrs, he wont mention the design for that. but we have to give a lot number for the whole 5000 mtrs, then after 1 week he will give design for 2000 mtrs. and also he will tell 2000 mtrs 4 colors i have to divide that 2000 mtrs into 4 different batches and i have to bring it in to stock. and also i have to see the report that customer issued 5000 mtrs and for 2000 mtrs he had given program remaining 3000 mtrs he has to give program(Design)).
    what i did is i created new doc type in PO (customer Cloth Receipt)
    I made number range for that doc type as what they are currently maintaining now (so that number will be lot number, it will be the identification for that customer to track the material what he have supplied)
    i created the new output type so that i can give the printout as an acknowledgement to customer
    i created the customer as vendor
    i did inbound delivery for that material what i have received (5000 mtrs) from customer(Vendor)
    when i receive the program(design) for 2000 mtrs 4 different batches
    i did GR against the inbound delivery so that while doing GR i can create 4 different batches and i can bring that 2000 mtrs into stock.
    Pls guide me some steps where i can make this process simple......

    Hi Jurgen,
    Thanks for your reply. I am not looking for any analysis report or LIS report.
    i am looking for simple ageing report for a date entered by the user. I got the logic and tables for the current date but if i need to refer the stock ageing of previous date like my stock ageing at 30-06-2010. I am not able to get any tables where i can have the batch stock for a given date or a month.
    The report output format to be
    stock <=30 days
    stock>30 and <=90
    stock>90 and <=180
    stock>180 days
    The criteria for calculation will be the date entered by the user in the input screen. If the user enters the date as 30-06-2010 then all the stock received in the month of june and still lying in my storage location will fall the category <=30 and display in the report.
    Stocks received in the month of march, april and may will fall under the category "stock >30 and <=90".
    If I can get the batch wise stock for a particular month , I can pick the posting date of the Goods receipt from the batch number and calcuate my ageing (i.e date entered in the input scren of the report 30-06-2010 - batch posting date).
    I am also referring to the note which you have sent but in the mean while if you can help me to identify the tables where I can get the batch stock for a particular month.
    Thanks
    Fazal.

  • Closing Stock For Each Period in Inventory Infocube

    Hello Guru's,
    Can we have closing stock of each material  for entire period in Invnetory Infocube ? or through any logic or transformation routine can we create this keyfigure  at infocube level ?
    I know that to get Closing Stock  ( Opening Stock + Goods Receipt - Goods Issue), we have to have Opening Stock as well for each month. in 0IC_C03 infocube, we only have Goods Receipt Qty and Goods Issue Qty keyfigures. We don't have Opening Stock and Closing Stock keyfigures as those are calculation which works during run time of query but still we want to have this information at Infocube Level.
    Do please let me know your thought as i appreciate your help in advance.
    Regards,
    Komik Shah

    hi,
    I will check that t code.
    thanks and regards,
    Devina

  • Stock report for a period (based on posting date)

    Hi Experts,
    We have a requirement as under:
    1) We want a report for a period say from 01.04.2011 to 30.09.2011 (closed period for both MM and FI postings). Report is being taken on a later date say 01.12.2011.
    2) The report should say the status of stock as of 30.09.2011 only even of being taken in the month of December
    3) I tried to take the desired report through MB5B for the period 30.09.2011 to 30.09.2011 (selection date fields) on 20th december, 2011 and noticed that if same report with the same selection criteria is taken at two different times, output data is not the same whereas MM and FI posting periods are already closed.
    Can anybody suggest alternative SAP standard report where output will remain the same if report with same selection criteria is taken at different intervals ELSE in case of change we should be able to see the documents posted in between if back dated entries have been posted after opening MM /FI period.
    thanks

    sure it speaks the same, but it mentions as well the reasons (1) and has much more information (2)  and a solution.(3)
    1)
    user starts transaction MB5B for a very large number of materials or for all materials in a plant
    During the runtime of transaction MB5B, goods movements are posted in parallel:
               - The results of transaction MB5B are incorrect.
               - Each run of transaction MB5B returns different results for the same combination of "material + plant".
    Example: Transaction MB5B should process 100 materials with 10,000 MM documents each. The system takes approximately 1 second to read the material master data  and it takes approximately 1 hour to read the MM and FI documents. A goods movement for a material to be processed is posted approximately 10 minutes after you start transaction MB5B. The stock for this material before this posting has already been determined. The new MM document is also read, however. The stock read before the posting is used as the basis for calculating the stocks for the start and end date.
    Even for an old and closed period, MB5B starts today and calculates backwards  any movement to finally get the stock for  the time your specified in your selection.
    2)
    The SAP standard release does not include a solution
    so you have to understand that there is no real alternative transaction in SAP
    3) and then they provide a large section with a workaround that can be developed by an experienced programmer within 3 to 5 days.
    So how shall anyone here be able to tell you an alternative report?
    if someone does, then it is an owndeveloped z-report which is not available in your sap system.
    if you know that people want lookup period closing stocks at any time in future, then either schedule MB52 at month end and store the list somewhere (and do not allow backposting)
    or have an Abaper create a stock report based on the history tables MARDH, MCHBH, MBEWH etc.
    And even here you may encounter an issue at some day, if you start archving special stocks or material masters, because then the stock figures from the historic tables are gone and you cannot rebuilt a reliable stock report .

  • Consignment opening and closing Stock Period wise details

    My requirement to get the opening and closing stock of particular customer with particular
    material period wise. If there is no transaction for a period  for particular customer
    and particular material , ( which table store the entry without transaction for that particular customer
    and particular material ) then how to get the openning and closing of that customer
    for that particular material. I have checked MSKU and MSKUH tables for this, but this is not fulfillg my requirement
    Thanks.

    I need to develop a report based on consignment stock.....
    MSKU AND MSKUH TABLES STORE THE ENTRY OF CUSTOMER AND MATERIAL WITH PERIOD WISE. I want opening and closing stock of customer with particular material for particular period.The
    problem is  if there is no activity of a particular material with  that particular customer for particular period then how to get value . I have to get the value based on selling price thats why not using MB51.....
    Thanks......

Maybe you are looking for

  • SET_TABLE_FOR_DISPLAY - Edited value from dynamic internal table need to be captured

    Hi all, I have created  2 tabstrip screns which contain ALV GRID DISPLAY  in a container with dynamic internal table and editable columns .I want to capture the edited value from this ALV GRID display.I have used SET_TABLE_FOR_DISPLAY  and for this d

  • SQL Express HA configuration

    Hi , i want to configuration SQL DB high availability using sql express 2008 r edition without domain environment . As far as I know express edition have limited features and come to know that only merge replication available . http://social.technet.

  • JavaScript to swap an img for an swf, need help...

    Heya, So I have an mp3 player that is generated dynamically, it displays a compact play button beside each song an artist has published. But what happens on the high content pages is the flash just jams the browser. So I want to show an image to star

  • Location services - is this active all the time??

    I was wondering whether anyone new if location service in the iPhone 3g is constantly on in the back ground? If it is does it drain battery?? Hopefully this only starts when an app that requires it fires up.

  • Illustrator no longer displays the white channel of a placed DCS/.eps.

    I should have spoke up sooner because I thought this would get fixed pretty quickly but I just upgraded to CS6 and it's still broken. I use Photoshop to generate color separations for screen printing. We do simulated spot process which means we print