Stock (unrestricted, Qual Inspection, etc) in a given period

I am developing a custom report to print std price, unrestricted stock, stock in quality inspection, block stock, etc for a selected month.
Mow as we all know there are four tables:
MARD and MARDH  Stock
MBEW and MBEWH  Valuation
As we all know that current data are stored in MARD and MBEW where  as history is stored in remaining two tables.
Also, if there is no activity in a particular month, there will not be a corresponding record in the table. Thus program may have to select last available month.
I can write a code to do all these, but I am sure SAP may have a function module which can give me all these information.
I will appreciate if some one let me know FM.

Hi Ganu,
  I have taken Trasaction MMBE as reference.I have debugged this & found some FM's good for me for knowing stock.See if it can be of some help to you.

Similar Messages

  • Transfer posting stocks from quality inspection to unrestricted, problem

    Hello Guys,
    kindly help me i am having problems doing transfer posting (mb1b) using movement type 321. because in my stock overview (mmbe) thera are stocks in Quality Inspection, i want that to be trasfered in Unrestricted Stock. that's why i execute transfer posting but there is an error occured doing it so. the error is "change the inspection stock of material 1078 in QM only". how could i make this stocks transfer to unrestricted?
    please advise me the correct way to settled this.
    thanks and regards,

    Hello Guys,
    I am very thankful for all of you contributing to this thread of mine hope in some other time you can work it out with me again I already done all this resolutions you have mention and I also know that is all the right wya to solve this issue but i dont see my problem exists on the configuration in material tpye allocation because in our business sample the FERTin standard SAP but with us it is customized name, have different code it was not define in TLtype in material allocation for quality inspection (Q), now i know what to do to call our admin to authorized my config there.
    Thank you so much i will closed this thread now please help me in some of other query next time. hehehehe..
    Regards,

  • OMJJ - Where I diferentiate "Stock quality inspection" -  "Stock unrestricted use"?

    Good morning, experts!
    I need to know how to set up a move for the input material in quality stock, without having to use the QM or configure the material. We have the standard movement 503 that is received at the stock in quality inspection and the movement 501 that the entry into stock unrestricted use. In what field of transaction OMJJ I make this differentiation?
    I appreciate your help.

    Hi,
    If one you use 501 the stock is sent to Quality inspection, then this could happen because you have checked the Post to Insp. stock indicator in the material master (Purchasinf view).
    Post to Inspection Stock
    Specifies whether the material is subject to quality inspection (without inspection lot processing) and whether a goods receipt is posted to inspection stock. The indicator is copied to purchase order items and goods receipt items as a default value.
    Dependencies
    You can select this indicator, if no stock-relevant inspection type has been selected in the inspection setup, and therefore no stock-relevant inspection lots can be created.
    If you activate a stock-relevant inspection type, the entry in this field is deselected and can no longer be maintained. In this case, a corresponding indicator in the inspection type controls whether goods are posted to inspection stock.
    When you use 501 the stock should be posted as unrestricted stock, then you can move the stock from Unrestrected to Quality Inspection stock using movement type 322 (use t-code MB1B).
    With movement type 321 you can move from  Quality Inspection stock to Unrestricted.
    Kind Regards,
    Mariano

  • Show defualt (unrestricted) but i want in migo stock type (Quality inspecti

    Dear all,
    When i done migo 101 againt STO PO  in migo screen stock type show defualt (unrestricted) but i want in migo stock type (Quality inspection)
    plz describe

    Dear all thanks
    Let me confirm one thing
    My scanerio is STPO (stock transfer order) In this scanerion material will be available in both plant receving and supplying plant
    Is it require to activate QM inspetion type in both plant ?
    If yes so which inspection type  is required ?
    Edited by: Harish Parab on Jan 21, 2011 12:25 PM

  • How to scrap specail stock in quality inspection...

    hi guys:
    I have a query, Is there any possible way to scrap the sale order stock in quality inspection without transferring it to the unrestricted stock and that also through inventory count(mi01,04,07),
    Actually we have damage lighting stock which is received against sale order(automatically transferred to quality inspection), and customers are replaced with new units, then this stock is called back in head office, for this we have a complicated process in use, first this stock is scraped from suppose "a" storage location after transferring it to unrestricted, then loaded back to "a", to make an STR for it from Head Office.
    So is there any way to scrap all special stock(complete storage location) against different sale orders at one go. whether the stock is available in unrestricted, quality inspection or blocked stock.
    I hope I am understood.
    Please help me to get through this complicated process.
    Regards
    Salar...

    Thx you guys are fantastic; I appreciate your help;
    below given is the post which has helped me, but there is some problem at the end, after the click of this point "11. (Click) in the gray box next to the session name and click . " there was nothing to proceed with, though I have posted the count through mi24 and post the difference with mi07, but still want to know what goes wrong with mi31, I have given the appropriate time for back ground processing....one thing to note there were 2 old inventory documents seen to be pending of the same storage location I was posting the count off, is this the reason of problem in processing of mi31,,,,,,please guide...
    Hi Buddy This transaction is used to create physical inventory documents for multiple materials in your plant and storage locations. Inventory documents may be created and printed prior to the count date; however, the posting block should not be set until the day of the actual physical inventory count. 1. From the SAP R/3 System screen, enter transaction code MI31. 2. Click or press Enter. The Selected Data for Phys. Inventory Docmts w/o Special Stock screen displays. 3. Enter or select a value for each of the following required fields: - Plant (enter plant code) - Storage location (do one storage location at a time) - Name of session Remove the checkmark from the Materials marked for deletion field will exclude items previously marked for deletion from the inventory document. The default session name is MB_MI01. Enter your initials and the session number after the default session name to identify it as your own. Example: MB_MI01_WW1 - Max. no. items/doc - use 99 for main storage location; - use 300 for truck storage locations. - Planned count date - enter date of inventory count - Physical inventory number - enter fiscal year followed by plant number and storage location. Example: 2004FY60118071. MI31 Create Physical Inventory Documents (in batch) - Set posting block - check if count is immediate; do not check if creating batch documents ahead of the inventory count date. - Sorting u2013 click on and select Plnt- Stor.bin description-Material. 4. Erase any variants under u201CDisplay optionsu201D. 5. Click . The Batch Input Created for the Creation of Phys. Inv. Docmts screen displays. Enter through any system information messages or errors. 6. Click . The Batch Input: Session Overview screen displays. 7. Click in the gray box next to the session name to highlight row. Click . The Process Session {Session name} dialog box displays. 8. Select the Background radio button. 9. Click . The following message displays: u201CX session(s) transferred to background processingu201D. It takes approximately 5 to 6 minutes for the system to process a batch session. Please wait at least 5 minutes before continuing with Step 10. 10. Click in the gray box next to the session name and click . The Batch Input: Log Overview screen displays. 11. Click in the gray box next to the session name and click . The Batch Input Log for Session {Session name} screen displays. If the batch processing is completed the last line in the Message column should read u201CBatch input processing endedu201D. If this message does not appear on the last line adequate time was not provided for the batch process to be viewed. SAP continues the batch processing in the background. Use transaction MI24 to retrieve a complete list of Physical Inventory Documents created. 11. Record the physical inventory document numbers created. You will need the document numbers to print the inventory documents. Clicking on can print this list. 12. View the log for any errors generated. A material master record being blocked for updates at the time of processing may cause errors. Add the material to a physical inventory document using transaction code MI02. Regrds Yogesh
    Thanks & Regards
    Salar...

  • Deficit of BA stock in Quality Inspection

    Hi All,
    I have a situation that's a bit complicated.  I hope I don't confuse anyone.  I'm trying to do a UD for an item, but I'm getting a Deficit of BA stock in quality inspection. 
    We purchased 200,000 of an item and a GR was done.  This was done during inventory, the item was physically counted and someone made an error in the count.  At that point an inventory adjustment transaction was done deducting 151,000 from inventory, leaving 49,000.  I believe that somewhere in this mess someone cancelled the material document that was created when the 200,000 was received in the first time, so technically, the 49,000 doesn't really exist in the system. 
    Later that day, when it was discovered that the physical count was entered incorrectly, the inventory adjustment transaction was also reversed.
    As a result of the above we now have two inspection lots hung up in QI, one for 151,000 and one for 49,000, and we can't seem to get rid of them.
    When we attempt to do a usage decision we get the following error message:
    "49,000 EA incorrect posting to block stock, error msg:
    Deficit of BA stock in qual. insp 49,000 ea:"
    BTW, none of these quantities (The 49,000 or 151,000) shows up in MMBE.   We've tried posting the stock in QA32, but of course it doesn't exist.  What are we missing?

    Hi Xamaica,
    If lot status is ' REL CALC SPRQ' that means  this lot is not canceled, you should be able to post.  If  the lot status would have been  LTCA then selection profile will help you in filtering canceled lots.
    please  give inputs  on following:
    We purchased 200,000 of an item and a GR was done.
    Have you posted the stock of 2 lacks  to unrestricted and then later  inventory was done ?
    This was done during inventory, the item was physically counted and someone made an error in the count. At that point an inventory adjustment transaction was done deducting 151,000 from inventory, leaving 49,000.
    Since system allowed you to do inventory  that means stock of  2 lacks was available that time in unrestricted.
    I believe that somewhere in this mess someone cancelled the material document that was created when the 200,000 was received in the first time, so technically, the 49,000 doesn't really exist in the system.
    If inventory is done and only 49000 stock is remaining, document can't be canceled, may be somebody must  have again  done inventory  and removed that  49000 also.
    Later that day, when it was discovered that the physical count was entered incorrectly, the inventory adjustment transaction was also reversed.
    As a result of the above we now have two inspection lots hung up in QI, one for 151,000 and one for 49,000, and we can't seem to get rid of them.
    I still believe that the status can't be   REL CALC SPRQ, one more thing, you said  you purchases 200,000 then how you get  two  lots of  151000 and 49000?  what insp type  is activated please  confirm?
    If stocks  are not available then  you should Block the lot  as  nothing is required from this lot.
    If status is 'REL CALC SPRQ'  then go to MIGO and cancel that document strait away.
    Pl check and revert.
    Best Regards,
    Shekhar

  • How to consider 'Stock in quality inspection' in SNP

    Hello,
    In my SNP Planning Area there is a Key Figure (Quantity Available) to display the stocks (CC- Stock; CE- SubConStk; CK- RstrUseStk).
    The business want me to add the QM stocks (Stock in quality inspection) in the SNP run so I added the category CF to this KF however the QM quantities never are available.
    Could you pls give some information?
    Thanks,
    Leo

    >
    Senthil Mareeswaran wrote:
    > Hi Leo,
    >
    > Your requirement can be done.
    >
    > In transaction /SAPAPO/MSDP_ADMIN,  if you double click a particular planning area, it will display
    > the various key figures, info, key figure aggregation, locking logic etc.,
    >
    > Under key figure tab, click on key figure selection, you need to maintain category group and
    > category which corresponds to stock in quality inspection. 
    >
    > Use the category group to specify the order categories you want to be considered by
    > Supply Network Planning (SNP) when reading the key figure from liveCache.
    >
    > You create category groups in SNP Customizing activity Maintain Category Groups. You can also
    > specify per category the quantity types you want the system to read.
    >
    > Hope this will resolve your query.
    >
    > Please confirm your findings.
    >
    > Regards
    > R. Senthil Mareeswaran.
    Hi Senthil,
    I followed the steps you have given, but I'm still not able to see the value populating in my SNP Planning tables.
    I created ZCC - ATP Category group and assigned CI, CK ATP category for Blocked stock and restricted stock.  I added 9AADDKF2 in my SNP planning area and changed the semantic to 000 to make it livecache order KF. I assigned the ATP Category group ZCC to this KF and saved the planning area. After activation, I went to my planning view, but this KF value is not populated.
    Is there something I'm missing here?
    Thanks,
    Rajesh

  • Block for payment in MIRO if there is blocked stock in quality inspection

    Hi all,
    In quality inspection, if they put some quantity into blocked stock, then i should go for payment block in MIRO . Here
    the QA status may be Pass or Fail.
    my payment block will depend upon blocked stock in quality inspection but not on QA status.
    Thanks
    babu

    Hi Pabitra
    If the material is taken to QI, then no liability is created for the vendor during GR. Now if you pass it in QA, then the stock moves to Unrestricted stock. Now if you transfer from Unrestricted stock to blocked stock, this will not block MIRO, as the GR/IR has already been hit.
    if you bolck payment for these type stock, then you can take help of User Exit, in MIRO
    Regards

  • Table for Customer stock in Quality inspection

    Hi
    In which Table the following is stored
    For current month
    Customer stock in Quality inspection
    Unrestricted use Consignment Stock
    For previous month
    Customer stock in Quality inspection
    Unrestricted use Consignment Stock
    Thanks
    RG

    >
    R G wrote:
    > Hi
    >
    > In which Table the following is stored
    >
    > For current month
    > Customer stock in Quality inspection
    > Unrestricted use Consignment Stock
    >
    > For previous month
    >
    > Customer stock in Quality inspection
    > Unrestricted use Consignment Stock
    >
    > Thanks
    > RG
    Check the following tables:
    MSKU,MKOL
    MSKUH,MKOLH
    Regards,
    Indranil

  • Error: Deficit of SL stock.in.qual.insp

    Hi Experts,
      GR posting for inbound delivery posted successfully in EWM and ECC with status COMPLETED. If i see the stock comparison in ERP system:
      There is difference qty appearing in ERP side as quality inspection stock . i.e. for example there is an item in delivery with delivery qty: 12 EA, it is 
      updating WM qty as 12 EA. but ERP stock showing as 11 EA with Deficit of SL stock.in.qual.insp 1 EA.
      Some times behaving like, if there is qty 40 EA of item, but it showing as 60 EA - Deficit of SL stock.in.qual.insp for that item in SMQ2 ERP side.
      Below screen shot for Stock comparison in ERP:

      Hi Jurgen,
      Thank you very much for your reply and time.
      Here is the report from last 6 months and message, what is showing at SMQ2 ERP side.
      Delivery - 973414923 with line item qty is: 2EA. which is deficit of stock error now in ECC SMQ2.
      When i see in EWM for Document generated with ERP delivery - all the items with all the activities   in "Completed" status, but in header of the EWM document shows Warehouse activity and
      Putaway staus are "Partially COmpleted".
      ECC side - delivery status is COMPLETED.
       Material: 1S3889 Plant 0001 Sloc 0001
    M

  • QM- Stock en quality inspection

    Hi gurús,
                   Some units of material still been in quality inspection but the used decision for the inspection lot for this material and batch already exist.
    When we try to do a 321 movement type from transaction MB1B to move the material from quality to unrestricted stock, the system display the error message "Change the inspection stock of material MP.0V961 in QM only".....But the inspection lot had the used decision already taken
    ¿How can we transfer the stock from quality inspection to unrestricted stock?
    Thanks in advance for the help
    Regards
    Enzo

    Option 1: What you can do is deactivate QM for this material temporary. Move the stock from quality to unrestricted then and activate QM again.
    Option 2: Add a new inspection type 04 to the material. When you transfer post the material it creates a inspection lot where you should make a decision for. When you did this delete inspection type 04 again.
    Option 3: You have somehow wrong entries in a table. I had the same here, when i wanted to transfer post sales order stock unrestricted with a mvt 311 to another storage location i got the same error.
    I created a SAP note for that and this was the reaction:
    the error message is indeed not justified.
    It is caused by a faulty entry in control table T156M.
    Display T156M using se16 with key BUSTM='MAA7'. You get 6 entries.
    Change the display in order to show table field LBBSA:
    BUSTM ZUSTD CNT02 LBBSA
    MAA7 01 01
    MAA7 02 02 <<<< wrong! LBBSA should be '01' for this line
    MAA7 0 01 08
    MAA7 0 02 08
    MAA7 2 01 01
    MAA7 2 02 02
    the same table entry has two more invalid settings, fields SMSKA and
    SMSSA:
    T156M key BUSTM MAA7
    ZUSTD
    CNT02 2
    ->
    SMSKA AQ1 -> should be A01
    SMSSA ASQ -> should be ASL

  • Unrestrected use stock to quality inspection stock

    Hi,
    plz tell me how can transfer Unrestrected use stock to quality inspection stock for same material and same palnt

    Hi Prasad, Make sure that inspection type 08 is assigned and activated in Material Master's QM view. Then you would be able to move the stock from unrestricted to quality using MB1B (Mvt/Type 322).
    Also check : Stock Reversal - From Unrestricted to Quality
    Edited by: m_n_novice on Sep 5, 2009 2:02 PM

  • Sto stock to Quality Inspection stock

    Hi,
    I want Sto stock to Quality Inspection stock.Then i want Quality Inspection stock to production purpes
    I want return stock to Quality Inspection stock.then Quality Inspection stock to normal stock

    HI,
    For the material to go into quality stk,in the puchasing view of material master for the receiving plant tick the post to inspection  stk & save.
    Then do the STO the material will come automatically into quality stk.
    Even if u dont tick in material master still u can receive the matl in QI stk when doing migo by selcting the QI stk.
    After receiving the matl u can move it by using tcode MB1B & mvmt type321 to Unrestricted use.
    IN SAP only the unrestricted can be issued to production.
    Edited by: Murugan mgl on Aug 13, 2009 8:15 AM
    Edited by: Murugan mgl on Aug 13, 2009 8:16 AM

  • Cross Docking for stock category Q (inspection stock)

    Hello everyone,
    My client uses cross docking in 4.7 release and recently a requirement came up where they wanna be able to cross dock stock received from production while the User Decision from QM is still pending.
    I have tried to walkthrough the code behind planned/opp cross docking and realised that only available stock is taken into consideration.
    I d be really grateful if anyone could suggest how to best approach and tackle this issue? Please consider that the quant should not lose the inspection lot number so that once UD is given, the stock category changes automatically.
    Thank you
    Kind Regards

    Yes it is possible. In the IM/WM interface tables, in the second table, you can vary the process according to stock status. See the third column.
    LogisticsExecution \ Warehouse Management \ Interfaces \ Inventory Management \ Define Movement Type
    Following is the config. help text for the field
    Special Stock Indicators for Whse Mgmt
    Use
    In the Materials Management system you can post different transactions using one movement type.  For example, posting goods receipt to unallocated stock or goods receipt to
    stock in quality inspection.
    These transactions are treated differently by the system on the basis of this indicator.  Together with other indicators of a movement type in the Materials Management system, this indicator is used to correctly allocate a movement type in the Warehouse Management system so that the transaction can be posted accordingly.
    Regards,
    Nick

  • 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.

Maybe you are looking for

  • HP Printer Assistant won't open

    Hi, I have a HP Offficejet Pro 8600 Plus, and am using a windows 8.1 pc.  I am trying to open the printer assistant so that I can scan and OCR.  I used to be able to do this fine, but now I can't even start the Printer Assistant.  I have tried reinst

  • Unable to edit the MobileXI3BB.jad file for pre-configuration settings

    According the Note:1542478 - How to pre-configure connection settings for BusinessObjects XI 3.1 Mobile clients? We are trying to edit the MobileXI3BB.jad file to avoid the Config seeting from client side.But wonder we are not able to see the below d

  • Default File Name in Description of the DIR,

    Hello Sap Gurus, We are having  automatic DIR creation from notification screen, DIR creation takes place automatically. The requirement is when the DIR is created automatically the File name should be defaulted to the description of the DIR, This is

  • How can i add hardware button control

    dear sir/madam i am using htc explorer mobile smart phone and port the Firefox OS to my mobile its working fine and not pick upping the network for Sim card always searching for network and home key only working how can i add menu,back and search but

  • In out mp4 n95 tv

    can anyone tell me the best mp4 setup for watching video on tv via n95 tv out Do not! hack your phone its very very bad