Reservation of Quantity in Batch

Dear all,
Please consider the following scenario.
There are 2 batches of material M1 with following quantity
B1 40 Ton
B2 40 Ton
There are two sales order S1 and S2 of 30 quantity of M1 each
From sales order S1 I have created a delivery D1 and selected batch B1 for these 30 tons. The PGI will be done later.
Now when I create delivery D2 from S2, and if I assign B1 again for 30 ton,  the system is allowing it. I want to stop this and only allow the remaining 10 tons to this second delivery.
Is this possible in standard SAP?

Dear Sulab,
Even if you assign more quantity than available quantity system will throw error message while doing PGI system will not allow you to do the PGI with that excess quatity.
I hope this will help you,
Regards,
Murali.

Similar Messages

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

  • Error :- Another User has altered the quantity of Batch B01

    Hello Experts,
    I have created a addon through which in Sales Order while entering the quantity and pressing tab automatic Batch allocation
    is done row wise for items . This process is working fine while entering .
    But from last two days while adding the Sales order with batch allocated sap is throwing an error message that
    "Another User has altered the quantity of Batch B01 in Warehouse SYD in row - 11"
    This is not my addon error message .This error is thrown by SAP which has blocked the Sales Order Entry.
    I am confused about what to do with this .Since this problem need to be resolve urgently .
    Please help me regarding this.
    thanks ,
    Amit

    Hi Jisha,
    The problem which i was facing is not yet fully solved .
    Since in SAP 8.8 the message is much more understandable as this is happening because another user has allocated the
    batch quantity for the same item and the Batch is allocated for another user.
    If you can try creating a Item - X of Quantity - 10 into two Batches A  and B
    A- 5 Qty
    B - 5 Qty
    Then if one User say "User - A'" opens the Sales Order Form and select the Item - X  with Quantity - 5 and then select the Batch option system will automatically allocate the first Batch (A) for 5 Qty  and the Order is not yet saved.
    Same time if another user "User - B" opens a sales order and select the same Item - X with quantity - 5 and then select the
    Batch Option system will automatically allocate the first Batch (A) for 5 Qty (But actually the first user has already allocated the
    5 Qty for Batch - A ) . Then while adding the Order "User - A"  order gets allocated with Item - X 5 Qty into the Batch table.
    When the second user tries to add the order with Item -X allocated in also Batch - A system generates this message
    " Another User modified the quantity of Batch A" since this batch is already allocated by user - A.
    This was the cause for this message and still i have not found any solution for that.
    Just told the clent to reallocate the batch for the items where this message is thrown .
    Thanks & Regards,
    Amit

  • Another user changed quantity of batch

    Hi all
    I wrote an importer tool who creates delivery notes (based on orders). It also adds batch numbers.
    Anyone knows an error message like this: "Delivery note could not be created: [OIBT], "An other user has changed the quantity of batch ... in Warehouse... in line 1" (SAP error code -10)
    A customer reported the error, so i do not see it on my machine (i am only connected with manager/manager). Had anyone a similar problem? Are there any workarounds?
    Thanks & Regards,
    Martin

    Martin,
    First I would verify that no other user in the system is trying to update batch numbers at the same time as your import is happening.  You may also want to look at this post and verify that you are not leaving any connections open.  Also what version and patch level of Business One are you using?
    Another User Modified Table RDR1(-2039)
    Hope this helps,
    Eddy

  • Change in delivery quantity for batch managed items.

    30.09.2010
    Hi friends,
    We have activated batch management. During delivery after the batch is determined and if i want to change the delivery quantity say for example from 50 to 30 then first i have to go and adjust the quantity in the batches to toal 30  and then come back and change the delivery quantity from 50 to 30.
    After searching the forum i have found  user exits, but other than the user exits is there a standard configuration wheren if i change the delivery quantity the quantity is adjusted in the batches.   Please advise.
    Regards,
    Udaynath.

    Udaynath
    Did you try working with the batch strategy config?
    Try working with fields a) Over Del allowed, and b) Qty proposal.
    Path: SPRO/IMG/Logistics - General/Batch Management/Batch Determination and Batch Check/Strategy Types/Define Sales and Distribution Strategy Types
    Hope this helps. Let me know.

  • [OIBT] , 'Another user has altered the quantity of batch  .....

    Hi All
    I Have this problem when I've try to make a Delivery Notes
      Set pdoc = pCompany.GetBusinessObject(oDeliveryNotes)
      pdoc.CardCode = CardCode
      pdoc.CardName = CardName
      pdoc.DocDate = Date
      pdoc.DocDueDate = Date
      pdoc.TaxDate = Date
      Set pdcLine = pdoc.Lines
    'Loop
    do while mObj.count
      pdcline.ItemCode = mObj.ItemCode
      pdcline.Quatity = mObj.Quantity
      pdcline.Price = mObj.Price
      pdcline.BatcNumber = mObj.Batch
      pdcline.Quanity = mObj.BtchQuantity
      RetLng = pdoc.Add
      If RetLng <> 0 then
          LogDf oCmp.GetLastErrorDescription , PATHDF ,True
      End If
    Batch is present in the B1 and the Quantity is the same... I make this operation in a Loop iteration
    Bye Thx..

    Please check this thread:
    Error While Making Inventory Transfer
    Thanks,
    Gordon

  • Reservation: withdrawn quantity exceeded requirement quantity

    Hi Gurus.
    Please help.
    Is there a way to check why withdrawn quantity exceeded requirement quantity in reservation? System should get standard message M7362 when this happens. Settings in OMCQ are correct.
    Thanks in advance...

    Hi,
    The message might relevant for the scenario of GI to reservation, which issued quantity greater then reserved quantity in reservation.
    You may check your reservation with MB25 for listing your reservation document and I suggest to use MB26 for collective and more accurate GI processing of relevant reservations.
    Cheers,
    Girang

  • Delivery picking by inputting picked quantity on batch input subitem

    Hi All,
    For example: there is one item in a delivery document which is batch splitted into a subitem 900001. now i want to pick this delivery in my program.
    in foregroud, i need to input 'picking quantity' on subitem level(900001) so that the status can be changed from A to C meaning picking finished.
    I tried using FM LE_MOB_DELIVERY_UPDATE but there isn't field for 'picking quantity'. some one advised using SD_DELIVERY_UPDATE_PICKING, but seems it has the same problem.
    Thanks advance for your help.
    Legend.

    Resolved.
    I am using function 'SD_DELIVERY_UPDATE_PICKING' for the picking:
    Part 1. Populate VBKOK
                    REFRESH VBKOK.
    Delivery# - DC2_VBELN
                    VBKOK-VBELN = DC2_VBELN.
                    VBKOK-VBELN_VL = DC2_VBELN.
                    APPEND VBKOK.
    Part 2 Populate VBPOK
    Delivery Items - ITAB_LIPS
                    REFRESH ITAB_LIPS.
                    SELECT * FROM LIPS
                    INTO TABLE ITAB_LIPS
                    WHERE VBELN = DC2_VBELN.
                    REFRESH VBPOK.
                    LOOP AT ITAB_LIPS.
                      CLEAR VBPOK.
                      VBPOK-VBELN_VL = ITAB_LIPS-VBELN."Delivery
                      VBPOK-POSNR_VL = ITAB_LIPS-POSNR."Delivery Item
                      VBPOK-POSNN = ITAB_LIPS-POSNR."Delivery Item
                      VBPOK-VBELN = ITAB_LIPS-VBELN."Pick Order
                      VBPOK-VBTYP_N = 'Q'.
    Check UECHA to determine whether the item is splitted subitem,
    because we only want pick the splitted subitem.
                      IF ITAB_LIPS-UECHA IS NOT INITIAL.
                        VBPOK-PIKMG = ITAB_LIPS-LFIMG."Picked Qty
                        VBPOK-MEINS = ITAB_LIPS-MEINS.
                      ENDIF.
                      VBPOK-NDIFM = 0.
                      VBPOK-TAQUI = ' '.
                      VBPOK-CHARG = ITAB_LIPS-CHARG.
                      VBPOK-MATNR = ITAB_LIPS-MATNR.
                      VBPOK-ORPOS = 0.
                      APPEND VBPOK.
                    ENDLOOP.
    Picking
                    CALL FUNCTION 'SD_DELIVERY_UPDATE_PICKING'
                      EXPORTING
                        SYNCHRON      = ''
                        NICHT_SPERREN = ''
                        VBKOK_WA      = VBKOK
                        AUFRUFER_T    = ''
                      TABLES
                        VBPOK_TAB     = VBPOK
                        PROT          = PROT.
                    COMMIT WORK.
    Hope this help for those have the similar problem.
    Thanks.
    Legend.

  • Stock in Transit quantity by batch for previous period

    Hi all,
    Is there any way to get the information of stock quantity for stock in transit by batch for previous period?
    In standard SAP system, when the stock is issued with reference to STO with movement type 641, the stock will be stored in the system as stock in transit.  As the stock is sit at plant level, the standard SAP report does not show what batch was issued.
    I have a requirement to display stock value of previous period down to batch level.  Hence, SIT of what batch of previous period should also be displayed.
    Any idea of how this can done, or any workaround solution?
    Thanks.
    Tom

    MB5T lists the difference between delivery goods issued and goods receipt to your POs, as so called virtual stock in transfer
    MB52 lists the stock in transfer that had been done with inventory managment movements and was updated to MARC table.
    you have to find the movements (use MB51) that posted the stock that you can see in MB52.
    see info in OSS  Note 982345 - FAQ: stock overview MMBE

  • Reserves stock quantity in the Inventory cubes

    Hello
    I need to add a new KF: reserved stock qty to the inventory cubes? Does anyone have an idea if there is any R.3 field for the same or any specific t-codes where I can search. Or is it a calculated kF in the cube (with routines) or in the query?
    Thanks.
    Srini.

    HI,
    You talk to MM guys an dask how to capture the reversals using some MOvement types and Item Catogories and then you just add one norma Keyfigure and write code in Transformations like below, this code is sample one and I'm using for other purpose, in the same way you do it..
    CLASS lcl_transform IMPLEMENTATION.
      METHOD compute_ZQMM_TURS.
    *   IMPORTING
    *     request     type rsrequest
    *     datapackid  type rsdatapid
    *     SOURCE_FIELDS-BWAPPLNM TYPE /BI0/OIBWAPPLNM
    *     SOURCE_FIELDS-MOVETYPE TYPE /BI0/OIMOVETYPE
    *     SOURCE_FIELDS-CPQUABU TYPE /BI0/OICPQUABU
    *     SOURCE_FIELDS-BASE_UOM TYPE /BI0/OIBASE_UOM
    *    EXPORTING
    *      RESULT type _ty_s_TG_1-/BIC/ZQMM_TURS
        DATA:
          MONITOR_REC    TYPE rsmonitor.
    *$*$ begin of routine - insert your code only below this line        *-*
    **********SURENDRA REDDY ON 12-09-2009**************BEGIN*****
    ... "insert your code here
    *--  fill table "MONITOR" with values of structure "MONITOR_REC"
    *-   to make monitor entries
    ... "to cancel the update process
    *    raise exception type CX_RSROUT_ABORT.
    ... "to skip a record
    *    raise exception type CX_RSROUT_SKIP_RECORD.
    ... "to clear target fields
    *    raise exception type CX_RSROUT_SKIP_VAL.
    IF ( SOURCE_FIELDS-MOVETYPE EQ '453'
    OR  SOURCE_FIELDS-MOVETYPE EQ '454')
    * AND  COMM_STRUCTURE-/BIC/ZXAUTO IS INITIAL
    AND SOURCE_FIELDS-BWAPPLNM EQ 'MM'.
    * result value of the routine
      RESULT =  SOURCE_FIELDS-CPQUABU .
    where ZQMM_TURS = normal kf to get the quanity based on movement type and others..
    Thanks
    Reddy

  • Same batch is reserved with many times during reservation

    Hello Expert
                   I am facing a problem during reservation of material with Batch no.
      Suppose
                      A1 is reserving material with batch(0000179) with quantity 300
                      A2 is also reserving the same material with same batch(0000179 ) with same quantity 300
                      my question is as follows with two conditions.
                  1) condition-1  material is in stock with 300 quantity only.
                      suppose  A1  has reserved material with same batch&same quantity before A2
                      if A2 also trys to reserve same material with same batch&same quantity or differenet quantity after
                      reserving by A1.
                      system should throws error message that material is already reserved first by A1 for the same batch.
                 2) condition-2  material is in stock with 600 quantity only.
                     suppose  A1  has reserved material with same batch&same quantity before A2
                     if A2  trys to reserve same material with same batch&same quantity
                    system should  allow to reserve the material  to A2 with  the same batch&same quantiy.
    please guide me to overcome this problem.
    Best Regards & Thanks
    Sanjay Agrawal

    I have the exact same problem. When I signed up 2 years ago I had great service in my house, and now I can't make a phone call even from the driveway. How does service degrade so badly? My contract is up in a couple months and I'm probably going to go to T-Mobile because they have WiFi Calling, unless Verizon can fix this. My poor wife works from home and can't even call out anymore.

  • How to Restrict Confirmed Quantity in Sales Order (Based on Batch Expiry)

    Dear SD Experts,
    Currently our sales order confirms any amount of quantity if stock is available. And only during delivery it checks for the expiration of the batch and reduces the delivery quantity to batches available in stock within expiry.
    But since we are doing a bulk creation of deliveries at the end of the day, the check for expired batches is happening too late and no visibility for the data entry operators of stock that cannot be delivered during creation of the sales orders.
    So I am looking for solution to restrict the confirmed quantity in sales order to actually confirm only stock what can be delivered. i.e. based on expiry of the batch.
    Thanks!

    hi
    in Logistic general - batch mangement - batch determination allocation and check activation - maintain allocate SD search Procedure/ activate check
    check this for your sales area and sales document type and then in the search procedure maitain the strategy to check the Expiration date.
    regards,
    Sudhir

  • Negative Quantity in Fixed Reserve Quantity in MMBE

    Hi,
    In which case will this field be negative??
    My understanding, we can only reserve stocks with quantity.  Is it correct?

    Hi,
    If you issue the material before posting the Goods recipt the stock will show with Negative quantity.
    You can reserve the quantity for movement type irespective of available stock.
    The quantity means the volume of material you required in the future date.

  • Confirmed quantity or reservation - What is correct concept

    Dear Gurus,
    I am facing the trouble between the concepts of confirmed quantity and reservation quantity. As I know material's quantities in SO will be confirmed after run ATP and TOR if stock quantity is enough, and see in  stock requirement list this quantity is in confirmed. But I am not sure that confirmed quantity is different with reservation quantity for SO or not. If not how can I reserve this quantity for SO not by MB1C. I afraid that, other staff will create SO and delivery it before my SO can be delivered. Please explain for me in this case.
    Thank for your support!

    Hi,
    Let us take the scenario like:
    Total Unrestricted stock as on 08.11.11 = 100 pcs
    Sales Order number 6000001 QTY 10pcs with confirmed schedule line for delivery on 08.11.11
    When next sale order is being created, you can see the ATP qty as 90 only and not as 100. So if the sale order qty is 100 pcs,
    then system confirms only 90 pcs.
    Hence,
    If availability check is customized properly, then, the issue of SAP confirming schedule line without stock does not arise.
    Your fear that other staff creating a SO and delivering before your SO also does not arise. You can check the u201CATP quantity fieldu201D in the Sales tab of the overview screen for each item.
    Reservations will not show in MMBE.
    Please check and confirm
    Hope this helps.
    Regards,
    Sharan

  • ATP check according to batch reservations?

    Hi,
    I would like to know whether it's possible to check availability including the reservations - meaning the reservations created for a specific batch. For instance I am going to destruct a specific amount of a specific batch, say 1000 of batch X, for which I create a reservation with a specific movement type, and I am going to destruct this amount later. I can see this amount in the reserved stock but when I create the delivery I have those 1000 units of batch X assigned to the delivery item. Is there any way the reserved stock can actually be blocked for other usage ?
    Thanks in advance.

    Hi,
    I have already selected "include reservations" checkbox. When it didn't work I selected "check dependent reservations" as 'X' - Include all reservations. It still doesn't work, even though I create a reservation for the whole stock for a specific date, I can create a delivery with the exact batch. Is there any other way or is there maybe something I'm missing. Is there something about movement type customizing that defines how the movement will react to the stock? Because at the moment I can create reservations for the same date more than once; for twice even three times more than Unrestricted stock. For instance if I have 5000 units of stock, I can create first reservation for today with 5000 units, then another reservation for today with 5000 units again. Is it normal to be able to create reservation for the same batch/amount/date more than once?

Maybe you are looking for

  • SMART PLAYLISTS:  ORGANIZING BY DATE ADDED & KEEPING ALBUM TRKS IN ORDER

    Dear Knowledgeable Users of iTunes: I would like to create a a Smart Playlist that will do the 2 following things: 1) Play albums in the order of date added (I solved this one) 2) Play the songs in the order they come on the album (Couldn't solve thi

  • Compression does not save space

    Hello All, OS: AIX 5.2. We are creating seven backup files every day. We transfer files to our backup server via ftp. No we have request to compress files. So I create a backup folder and put all seven files into one pax folder as below: pax -wvf bac

  • Print under conditions inSmartforms

    Dear Gurus , I want to print in a window the following data : case 1       case   2    case  3 case 4       case   5    case  6 case 7       case  8     case  9 If case 1 or case 2 etc  are x to put beside the field the <679> . I will do it with a co

  • Getting No argument error while installing orcale 11g on linux 6

    As i have completed all the preinstallation task,but after creating the oracle a/c and installing oracle data base getting error No argument found and also i am unable to get the coorrect version of java on linux 6 please help me for this one

  • Toggle Image Buttons using Javascript - How?

    Hi, Hoping someone can assist me with javascript and how to toggle buttons. My scenario is as follows - I have two buttons side by side, say Button_A and Button_B but I also have two other buttons, i.e Button_C and Button_D which are not displayed at