On-order stock quantity from MMBE transaction

Hi all,
I am developing a Z report in which i want to get the ON-ORDER STOCK which is display in MMBE transaction. So i need the linkage for deriving the on-order stock , iam having material no, plant, storage location, batch . Or any table from which i can dereive the on-order stock
Regards,
Madhukar Shetty

Hello Madhukar,
As you are referring MMBE, I am not sure whether MSKA (Which is SO stock) is helpful. This could give you the stock and u can refer your VBELN there.
I think you need MCHB or MCHA tables to see the stock from MMBE. These tables will give you a specific stock per company per batch in all storage location.
Hope this will help you.
Regards,
Ravindra Sonar

Similar Messages

  • Material on-order stock quantity calculation

    Can anyone tell me the function module or method used by SAP to determine the amount of a material on an open purchase order (not yet received)?  I need to document a BW functional spec but cannot seem to be able to document how SAP does this.
    Examples of what i am looking for are:
    MMBE, on-Order stock quantity (Per material/Plant/Storage Locaiton)
    ME2K, Selection parameters WE103 - Still to be delivered (per PO)
    Thanks.

    Ram
    I have found that function module previously but cannot seem to be able to execute it.
    Import Parameters:
    X_ELIKZ = Blank
    X_LOEKZ = Blank
    X_MATNR = my material number
    X_MEINS = Unit of Measure
    Tables:
    XTAB = <B><U><I>What do I use here?</B></U></I><BR>
    XWERKS = my plant
    No matter what I enter in XTAB (I have tried Blank, EQ, NB so far) I get an ABAP Dump:
    <I><B>The IN itab operator is used with internal tables which have the following structure:
      SIGN(1)   OPTION(2)   LOW LIKE db_field   HIGH LIKE db_field
      The OPTION column should contain only one of the following values:
       "EQ LE GE CP BT NE LT GT NP NB"
    The value 00 is not allowed here.</I></B>
    <BR><BR>
    When analyzing the error, I found table MDBS that conatians the Order Qty and GR quantity - so I think I may be able to use this instead.

  • How to Fetch Sales Order Item Quantity from Customer table(ztable)?

    Dear Guru's,
    My scenario:
    While creating Sales order the item quantity should be fetched from a Ztable. So iam using the Userexit "V46H0001 - - Customer functions for resource-related billing", in that i have implemented my code in the Function Exit - EXIT_SAPLV46H_001 and the FM documentation says
    This function module allows you to change item information for generating a new item.
    In order to achieve this, you must change the relevant field in the structure C_VBAPKOM.
    So i activated that exit and wrote the following code to test it as follows;
    break-point.
    C_VBAPKOM-zmeng = 10.
    But it seems not working, even it doesn't stop at the break-point when i type the material number for the item in the sales order and press enter...
    Please guide me in this regard, am i correct in choosing the User-Exit? what else have to be done in order to fetch the item quantity from the ztable....
    Please suggest if there is some other way to do this, i also heard that we can do this through Routines...
    Thanks in Advance...
    Regards
    Karthik D

    I have solved this  and you can found how i solved in the last reply of the following thread....
    [SD UserExit - V46H0001 - Customer functions for resource-related billing|SD UserExit - V46H0001 - Customer functions for resource-related billing]
    Thanks
    Karthik D

  • Reserved stock quantity from MB25 t-code in R/3

    Hello Guyz
    1. I have to extract reserved stock quantity (difference quantity) from t-code MB25 into my Inventory Cube (0IC-C03) in BW.
    2. The user has advised me that the movement type is always '301' and the storage loc. is always '9998'. The problem is, in the cube, when I look at that specific movement type and storage location, I still have multiple records divided into 'material doc. numbers'. 
    3. On the R.3 side, I have the 'Reservation number and its Item' as the key fields.
    4. How can I get my partilcuar KF from this t-code in R/3 into my cube in BW?
    5. My specific question is: The KF exists at the stor. loc. level.. how can I bring it down further at the material doc number level in the cube?
    Regards,
    Atul.

    Very helpful answer Shalini. Thanks. So, I can enhance this extractor 2LIS_03_UM with these 2 fields. Then based on this, I can extract my 'Reserved Quantity' (KF) into 0IC_C03.
    But I notice in R/3 that the 'reservation number and item' are the same for multiple document numbers. ie
    Doc No.----> Reservation No--
    > Item
    100                      ABC                                1
    101                      ABC                                1
    102                      ABC                                1
    103                      ABC                                1
    104                      ABC                                1
    But in MB25, I have
    Reservation No -
    > Item----
    >Diff. Quantity
           ABC                        1                       5000
    How can I extract my KF, if there is a one-many relationship between reservation no and item & material doc number?
    Any suggestions.. anyone??

  • Sales Order Stock Transfer from one plant to another plant

    I am transfering sales order stock from one plant to another, using movement type 301E MIGO.
    But when i go to Detail Data tab i found the Dst tab gray and only special stock field is appearing in grey there. So when I input all the data in from box it also copied in destination box. I also went to where tab page but the same data is appearing in both area from and destination.
    In my opinion both area should be writeable, how can I make the detination detail available in there and should be writeable.
    Please advice.
    Best regards

    Hi,
    Please go to MB1B in that give movement type as 301 and SP Stock as E and provide Plant Storage location and press enter...
    as well in MIGO select the Transfer Posting and provide Movement type as 301E and press enter If in OMBW the plant and Storage location is Mandatory then it will not go ahead for Posting.s
    Try at your end.
    Regards,
    Ninad Kshirsagar

  • Process Order Confirmation Quantity from Preceeding Operation

    Hi All,
    Please can you let me know if the below requirement can be met:
    I have 2 phases to confirm (both are milestone confirmations). The Process order header quantity is 100 kg. While doing the confirmation for Phase 1, I do a final confirmation  for 90 kg. Now while doing the confirmation for Phase 2, the system still populates the default yield as 100 kg and not 90 kg.
    Is there a way to display 90 kg as default yield for Phase 2? Is there a standard Config that can help? If not what is the solution?
    Thanks,

    Hi,
    Please refer the following link.
    http://help.sap.com/saphelp_47x200/helpdata/en/b1/c04d83439a11d189410000e829fbbd/frameset.htm
    Regards
    Kannan

  • MMBE: on-order stock

    Hi experts!!!!
    does anybody know from where I can get the on-order stock shown in transaction MMBE??? a report, a table or a structure, etc..... I need to build a report which shows a list of items with the current stock and the on-order stock apart from other fields.
    Best regards

    Hi Gorka Medinabeitia,
                              You can get the values from the table MDBS
    just write the logic ,
    SELECT EBELN
                EBELP
                MATNR
                MENGE
                WEMNG
                BSTYP
                LOEKZ
                ELIKZ
                RETPO
                FROM MDBS INTO TABLE LT_MDBS
                FOR ALL ENTRIES IN lT_MARC
                WHERE MATNR = lT_MARC-MATNR AND BSTYP = 'F'
                AND LOEKZ <> 'L' AND ELIKZ <> 'X' AND RETPO <> 'X'.
    data : lv_menge type mdbs-menge,
             lv_amt(13) type c.
    in loop of the internal table lt_mdbs,
    lv_menge = lv_menge + wa_mdbs-menge - wa_mdbs-wemng.
    lv_amt = lv_menge.
    at end of matnr.
    wa_final-menge = lv_amt.
    clear : lv_amt, lv_menge.
    endat.
    endloop.
    Best regards,
    M.S.AmirtharajVijay.

  • How to do Goods Issue from Sales Order Stock?

    Dear All,
    we are doing a trading Scenario & based on customer requirement we procure the goods from our vendor & we receive it to Sales Order(special) Stock. Now what are the settings to be done in the Sales/Shipping so that when we do a delivery for our customer the Stock is Issued from our Un-res Sales Order Stock & not from un-res stock ?
    Hope its clear.
    Regards,

    Hi Sam,
    Thanks a lot for the reply.
    Sorry for not explaining the scenario in the begining.
    See I have to configure a trading Scenario with some changes from the std.
    As in trading Process there are 3 entities.
    1. Customer - X
    2. Company - Y (Who performs trading)
    3. Vendor - Z
    Following is the breif requirment.
    Company Y generated an inquiry in system for an item with respect to customers RFQ. Now since Y doesnt manufacture the product(item) it creates a PR in background with respect to inquiry.
    Based on this PR, Y procures & receives the good into Un-restricted Sales Order Stock (with ref Inquiry doc no:).
    Now based on price Quoted by Z, Y will create a Quotation with ref to inquiry & finally a SO for Customer - X with ref to the Quotation.
    Now at the time of delivery (creatd with ref SO) system is not able to issue the goods from the sales order stock since the stock is stored with ref to inquiry no: & delivery is with ref to SO.
    So I am planning to simulate a cycle by creating a delivery & PGI with ref to Inquiry.
    If you can suggest a way out, it will be highly appreciable.
    Hope its clear.
    Regards,

  • Sales Order stock on Contract

    Dear Experts,
        I have a question.
    We have a requirement to hold inventory as Sales Order stock wherein the stock would be recieved onto a Contract (using a PO). Later on, this is followed by creation of Call off Sales Orders against the above Contract as periodically requested by the Customer. Before Delivering such SOs, we are planning to transfer the requisite stock/quantity from the parent Contract to the SO using transfer posting MB1B.
    I was wondering if there is a way to Configure an automatic transfer of inventory from the Contract to the new SO being created instead of we doing it manually using MB1B.
    Warm Regards,
    Roopesh

    Hi Mario,
        Thanks a lot for responding. I am not familiar with WBS. I was wondering if WBS needs SAP PS. By the way, we do not use SAP PS.
    Warm Regards,
    Roopesh

  • Stock removal from supplying plant

    Hi.
    We have done STO between company code to company code. We did delivery and billing and the material has been received by the receiving plant and the invoice entry completed.Total process got completed.
    After that there was a need of reversing the delivery. we cancelled the billing, reversed the delivery and subsequently deleted the delivery (by mistake) instead of making changes.
    Because of this there is a imbalance now exisitng between supplier and customer in accounting. Anyhow the imbalance can be done adjusted manually by accounts department but the concern is how to remove the stock from the issuing company code plant.
    Please note while reversing & deleting the delivery the delivery stock quantity reversed and gone back to the issuing plant. we can't go further to reverse the good receipt of the receiving plant as the stock from the receiving plant already got consumed.
    Now my question is how to remove the stock from the issing plant (it is merely showing in stock overview and not physically available, want to get write-off from the issuing plant. Client wants to remove the stock without affecting any account entry. I guess it is impossible.
    I am thinking physical inventory, scrapping but these will affect account entries too.
    Is there is any way to do the removal of the stock at table level.
    Please suggest your expertise ideas...
    Regards
    Rifaie M

    Hi,
    New delivery creation not possible there is no new purchase orders.
    The STO cycle got completed.
    somebody deleted the delivery number by mistake.
    Can you advice how to remove the stock quantity from the plant (issuing)?
    Regards
    Rifaie M

  • Stock Quantity at Mc.9 and MMBe is not Matching

    Hello,
    The stock Quantity for a prticular material in MMBE is not matching with stock qunatitty  in MC.9 and Mc.5
    Can you please suggest me how to resolve this.
    Thanks & Regards,
    SAGAR

    Hello,,
    MMBE is the correct value for the current stock quantity. MC.9 and the other reports use tables S031/S039 or thereabouts, which is updated incrementally each month using the previous month's record and the issues / receipts during the month. Once the file gets corrupted - and it does - in our case about 5% of records are incorrect - that incorrectness is perpetuated in the following months, and the difference remains forever.
    You can determine that the S031 record is in error by starting with the current month and looking at the Val stk rec qty and the val stk iss qty movements and the valuated stock, which will allow you to calculate what the stock at the end of the previous period should be. Run MC.9 for the previous period, check the valuated stock corresponds to that calculated, and repeat with the movements. You can do this in yearly periods until you find the error and then go down finer. I find that most of our corruption occurred in the first few months of using SAP.
    If anyone knows of a method to regenerate the whole record in the S tables
    I would be grateful for the info.
    Conclsion:MMBE reads the current stock, while MC.9 or MC.5 are transactions that are feeded from infomation structures (which are updated with lower priority than stock tables). If an update of a infostructure fails, then there is no harm to the stock table update, but your statistics are just out of sync then.
    So in short, you can trust MMBE, but no the statistic transactions
    Regards
    Mahesh Naik.

  • Sales order stock not showing in stock overview(MMBE)

    Hi,
    I have a MTO scenario where against the sales order production order has been created.
    Production order has been delivered & the material document showing 101E movement type.
    After that the material has been transfered to another storage location with in the same plant with movement type 311E.
    We can see the sales order no. on each material document.
    But in stock overview no sales order stock is there against the particular sales order and because of this user is not able to create delivery for the same sales order.
    Please guide in this matter.
    Regards,
    Susrikant

    Hi,
    In MMBE, check for the log on the movement type. You can find it in MMBE once the report is displayed. Select the storage location and then check for the Movement of goods from Menu > Environment > Movement types. It will have all the details of quantity moved in and qty moved out. You can easily identify thro' which movement type this material and qty is moved.
    Also check the tcode MB52.
    Hope this helps.
    Thanks
    Mukund S

  • Revaluation in stock transfer to Sales Order stock from unrestricted

    User is trying to do a stock transfer posting from unrestricted to Sales order stock.  Now the system is throwing an error saying that account setting has not been done for UMB (OBYC setting).  I have given the GL for this UMB transaction type in OBYC>  UMB is for posting Gain/Loss from revaluation.
    I dont understand how a revauation happens when we transfer stock from unrestricted to Sales Order Stock ?  What is the purpose of that in our scenario, could you please explain.

    Hi:
            Normally it should not happen in case of stock transfer posting. Please check the movement type settings for valuation class of your material and see if the transaction type UMB has been set against valuation class in OMJJ...Account grouping.
    Hope it will help you.
    Regards

  • Copy of target quantity from Contract to Sales Order

    Hi all,
    The desired document flow is Quotation --> Contract --> Order.
    Thru copy control the target quantity from quotation flows in to the contract, but the target quantity is not copied into the sales order from the contract.
    The document type with the item category for the document types are as follows :
    Quot. Doc type ZQT (Copy of AV)    and item category AVN (Standard item)
    Contr Doc type EWK2 (Copy of WK2) and item category WVN (Maint contr item)
    Order Doc type ZSD (Service Order)    and item cateogry WVN(Maint Contr item).
    Please suggest a solution.
    Regards,
    Udaynath.

    dear udaynath
    check copy control settings
    Copy Control is used ,
    Copy control is basically used to transfer information from one document to another. In other words it helps in connecting and sharing information between two documents in a cycle like from example between quotation and a sales order. The following controls available at copy control configuration -
    You can store copying requirements at every level in copying control. Copying requirements contain the specific requirements for each business process and can be stored at every level. The reference document can only be created if all these requirements have been met.
    Examples of copying requirements that have been included in SAP standard system are –
    a. Header level – copying requirement 001 checks, for instance, whether the sold to party in the source and the target document are the same
    b. Item level – copying requirement 301 checks, for instance, whether the item that is to be used as a copy has a reason for rejection or completed status.
    c. Schedule line level – copying requirements 501 ensures that only schedule lines with an open quantity greater than zero are copied.
    To control the copying procedure, at each level you create:
    a. Data transfer routines – these routines control how fields are copied from the preceding document.
    b. Copying requirements – you define requirements that are checked when you create a document with reference. If these requirements are not met in any particular case, the system issues a warning or error message and if necessary terminates processing.
    c. Switches – there are switches for setting specific controls for each transaction. for example, you can activate or deactivate the transfer of item numbers from the preceding document at the header level for sales documents..
    possible scenarios:
    1- sales document - sales doc' VTAA
    eg: inquiry - quotation
    inquiry - order
    quotation - order
    quantity contract - order
    2- sales doc - delivery doc - VTLA
    eg: sales order - deliver ( OR- LF)
    returns order - return delivery
    3- sales doc - billing doc - VTFA
    eg;Cash sales - cash sales billing
    credit memo req - credit memo
    4- delivery - billing - VTLF
    eg: standard del - invoice ( LF- F2)
    5-billing - sales VTAF
    eg: standard invoice - credit memo req
    Invoice - Invoice correction req
    6- Billing - Billing VTFF
    eg: Invoice - credit memo
    flow will be done , only if their copying requirement condition meets
    like header sold to party is same.
    it has data transfer routines DataT-in which it has routines by which system transfers what data has to be copied.
    Update document flow-- this has to be mark if we want the system record the previous document numbers in track.
    rewards if it helps
    siva

  • Transfer of material from sales order stock to subcontractor

    Iam having subcontracting operation in routing. But i am not able to transfer of material from sales order stock to subcontractor when i do 541 movement

    Dear Mayuresh,
    You cannot move Sales Order assigned material directly to Sub contracting Vendor stock.
    For doing so firstly unassign the Sales order stock by transaction MB1B & movement type 411E.
    After this you can provide the stock to the vendor by transaction MB1B & movement type 541O.
    Other way is to create account assigned Purchase Orders. Thereafter create virtual sub contractor storage location in your plant. Transfer your Sales Order assigned material to these Virtual locations so that you can see the stock provided to the vendor. Now during Goods Receipt of the finished goods you can consume the material by movement type 543E.
    Regards,
    Subha.

Maybe you are looking for

  • How to go for BEx application iView

    Hi Gurus        I am new in portal since last 2-3 months. Now my project requirment is to work with Functional BW and SCM consultant.        Functional consultant creating Queries in "Query Designer" and They are viewing or executing through "Bex ana

  • Fan View in Stack doesn't work

    I'm enjoying the new Leopard features. However, suddenly when I put a folder in the dock to use as a "stack" the FAN view doesn't work. I just get a fan of dumb-looking lines. The grid view works. What gives? Many thanks, Tom

  • Trouble with captions...

    Trying to get some caption switching working and having trouble. Trying to use a dropdown to change the caption of another dropdown. Tried a switch statement with no luck (commented out at the bottom of the code block below) - caption wouldn't change

  • 8 million members in ASO - is it possible

    All, Pls excuse me in asking this questions if i am not making sense. I have around 8 million memebers . Can i think of building a ASO cube out of it. do let me know Thanks MS

  • Apple doesn't give guarantee for my Ipad

    I bought an Ipad in January 2013 at Apple Store in south center 801 south center mall tukwila wa 98188 and actived in Jan 2013. Last month,  my ipad is broken and cannot start up, so i brought it to the Apple Store but they said this is the stolen Ip