Purchase Order Open quantity calculation.

Hi All..
I would like your help in finding out the logic behind calculating the open quantity for a given line item of a purchase order.
Iam aware that i should go to the EKBE table to see purchase order history. Can someone tell me what are all the conditions i need to consider to calculate the Open quantity.
Iam able to give a value E to field BEWTP (Purchase Order History Category) in EKBE and for all the recieved records iam adding the quantity for movement type 101 and removing the quantity for movement type 102 that finally gives my total GR qty. Then iam doing Original PO qty - GR qty to get the Open qty.
Let me know if this logic is wrong or else is there any other conditions to consider.
Appreciate your help and will reward.
THanks.

subtract the PO quantity EKPO-MENGE with the delivery quantity field EKET-GLMNG
Thanks
Seshu

Similar Messages

  • Purchase order open quantity

    Hi,
    I am making one report for open purchase order quntity.But there is some problem
    In delivery shedule tab of  purchase order,If delivery date is in future, that purchase order quantity
    also shown by system as open quantity. So whether this open quantity is taken into account or not.
    So please guide me.
    Thanks and Regards
    Anil

    Hi,
    You can also user other transaction for open purchase order quantity.
    Enter ME2M t-code.
    Then select WE101 in selection parameter option and click on execute button.
    Then go in change layout option and take To Be Delivery quantity field in display mode.
    You can see open purchase order quantity.
    I hope it is useful for u.
    Regards,
    Mahesh Wagh

  • Purchase orders : Open and Completed,Open Only,and Completed Only

    Hi Friends,
    I have got a new requirement in Existing report I have to add few fields Like :
    Slectio screen will be :
    Purchase orders :
    Open and Completed     only
    Open Only
    Completed Only
    When I select open and Completed only, it display only those purchase orders.
    if i select Open only, it should display only open purchase orders, Like wise for Completed .
    Could you please from which table i can find out the purchase is open and completed, or open only, completed only?
    Could provide me the fileds for
    Open and Completed     only ?
    Open Only ?
    Completed Only?
    Regards,
    Xavier.P

    Hi Xavier ,
    Purchase orders :
    Open and Completed only -- All PO in EKKO Table
    Open Only -- Table EKPO for which Final Invoice Indicator(EREKZ) is not set
    Completed Only -- Table EKPO for which Final Invoice Indicator(EREKZ) is set
    Regards
    Ramesh Ch

  • Batch determination issue in process order Material quantity calculation

    Dear Gurus,
    We are facing issue in auto batch determination in process order (Material quantity calculation ).
    eg Material X  is active material 200 KIA used in BOM as
    10  X   200  KIA  
    20  Y   10           Filler
    30  Z
    40  X   200  KIA
    50  Y
    60  Z
    We select line item 10 and 40 and do Batch determination system proposes 2 batches for line item 10 as Batch A and B
    and for line 40 again Batch A (with 0.01 KIA) and batch B proposed which is wrong.
    For line Item 10 Batch A and B
    For line Item 40 Batch B and C or as per FIFO logic.
    As Batch A should be consumed in Line item 10 then it proposed Batch B and so on....
    We have already maintain data in COB1.
    Can any body explain what is wrong in determination.
    Regards,
    J.H.Pert

    Hi Pert,
    Follow the below link you have some idea OK.
    Any questions revert me back.
    Batch search strategy
    Regards,
    Madhu.G

  • Service purchase order with quantity

    Hi all,
    Is it possible to create a service purchase order with quantity ?
    Our client is using sap b1 2005b pl39.
    Expecting you all valuable reply.
    Jeyakanthan

    Hi, Jeyakanthan,
    I guess there are 2 ways out for this:
    1. Define the Service as an item ...i.e. create aitem master for it.Then you can define the quantities for it.
    2. Use a UDF in the service type document as quantity and put a FMS to calculate the qty.
    Nagesh

  • VBBE Table for Sales Order Open Quantity......

    Hi Experts,
    In VBBE Table I found sales Order Open Quantity but Some of the Materials are not showing in this VBBE table which are still pending (Open).
    What may the reason.
    Yusuf

    Hi CHR,
    In S001 table i found related material open qty. but there is no link with vbeln posnr and etenr (schedule date). Only Customer Code (Kunr) is available.
    This is no use for me for making report.
    Yusuf

  • Purchase order with quantity range value

    Hi All,
    I want to have PO price to be taken from vendor info with quantity based values.
    For ex: The vendor has fixed a rate for 500 qty with X rate. and above 500 qty Y rate.
    My scenario is i want to raise the PO with this rate. How can i do this?
    Note: If i do first PO with 300 qty, then rate it is taking is X*300
    Now if i do second purchase order, with 300 qty, then the first 200 qty should go with X rate and remaining 100 should go with Y rate. ie, this purchase order will have combination of X & Y rate.
    Please give the solution for this.

    hi...
    U can perform this pricing by doing some modification in ur conditon type...
    In M/06 open ur condition type and under Scale tab...chooose scale type ..here assign scale type "D" i.e. Graduated-to interval sc
    And config the scale in purchase-info record..
    S Type    s quantity     amount            
         to            200               X
                         300               y
    then it will calculate : 200X+100y=Z
    try this out...
    Hope it works,,
    Thnks
    Edited by: ashish2210 on Jul 20, 2011 3:20 PM

  • Stock mouvement 351 from purchase order : committed quantity

    Hello,
    I currently have MRP running for a division. It creates purchase requisitions with the quantity necessary to transfer. In ME59N there is a check availability between the purchase requisition and the purchase order (transfer between division). So in my purchase order, there are 2 different quantities available : schedule quantity and committed quantity.
    Schedule quantity is the same quantity as in the purchase requisition.
    Committed quantity is equal to the schedule quantity if there is enough stock in the issuing plant. If there is not enough, the committed quantity is equal to the quantity available in the issuing plant.
    So far everything is perfect. But when I create my stock movement 351 in MIGO or MB1B, I can't find a way to select the committed quantity by default. The movement is related to the purchase order, and selects automatically the schedule quantity.
    Is there a standard way to force the committed quantity in the movement 351?
    Thanks in advance for your help!

    Hi Charlotte,
    In standard SAP it not possible to have committed quantity in MIGO or MB1B, by default system will pickup the open quantity (schedule line quantity). But if try to execute the good movements (351) it will give you the error of quantity deficit M7 021 ("Stock Deficit") if you try to withdraw more than available ( committed quantity).
    Also note committed quantity is only updated with the ATP check, but will not be changed automatically per goods movement. it is the standard behavior.
    Regards,
    R.Brahmankar

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

  • To set a Tolerance limit in a Purchase order, for quantity variance.

    Hi ,
    I am looking for an option to have a tolerance limit set in a PO to check the quantity variance.
    Please advice.
    Thanks
    Montee

    Hi
    Check this SPRO - MM  - Purchasing  - Purchase order - Material Master - Define Purchasing value keys - Maintain GR/ IR Delivery for Tol under delivery  &  Tol Over delivery
    if Possible maintain Shipping Instruction
    Thanks & Regards,
    Mani.

  • Creation of Purchase order without Quantity

    Dear experts,
    Good Evening,
    My client requirement is to create a purchase order without any quantity but with price ,is it possible by any chance.
    Thanks
    Vijay rebala

    Sorry for not responding ,but business wants purchase order
    That's probably what is wrong with your scenario. Business shouldn't "want a purchase order", Business should want a process that works, irrespective of the transaction.
    It's up to the people that know how the ERP works, to tell the business how they should use it.
    If they are in the negotiation phase, they shouldn't be using a Purchase Order to do it, they are basically exchanging quotations.
    The Purchase Order should be used when you have already agreed to the terms. That's how SAP standard works,.

  • Process Order Base Quantity calculation - WPL

    Hi,
    In COR2 when changing Total order quantity (Litres) (CAUFV-GAMNG) the Base quantity (Kgs) automatically re-calculates (CAUFV-BMENGE).
    As far as I can see this is calculated from the WPL found in the material master > additional data > units of measure e.g. 1000lts = 1255kgs.
    However if I create a process order it calcualtes with say 1.255 Kg/l, I then change the WPL in the material master, come back into the order and then change the Total order quantity. The base qty is still using the old WPL.
    My question is where does the base quantity calculation take the WPL from? If it does take it from the material master is there anyway of making the process order pick up the current WPL in the calculation and the not the previous one?
    thanks
    Tom

    Hi Pert,
    Follow the below link you have some idea OK.
    Any questions revert me back.
    Batch search strategy
    Regards,
    Madhu.G

  • Automatic Purchase Order Rounded Quantity

    Hello Everybody,
    I have a doubt with automatic purchase order, here is the situation:
    Purchase Requisition (ME51N) reference on a Contract
    ITEM 1 - Quantity 750,920 (Total Value $750,92)
    ITEM 2 - Quantity 29.041,640 (Total Value $29.041,640)
    Total Value PR: $29.792,56
    Automatic Purchase Order (ME59N)
    ITEM 1 - Quantity 750 (Total Value $750)
    ITEM 2 - Quantity 29.041 (Total Value $29.041)
    Total Value PR: $29.791
    I would like to know if when I execute the ME59N to generate automatic PO, the quantities from PR always will get rounded? It's possible to adjust manually (standard way) to generate them with all the quantity of the PR?
    Thank You!
    Best Regards,
    Raphael Palmieri

    HI,
    "CUNI is only for display, in background system will consider decimals in table level."
    Rephrase - CUNI you can only define how the decimals are presented to the user, but stored in tables is always with 3 decimals.
    Note: 23771,
    The same has been discussed many time, Follow mr JürgenL -
    Unit of measure rounding.
    Increase in decimal places for UOM

  • Purchase Order - Pricing - Quantity scale from inforecord...

    Gurus
    Today we are running purchase order item pricing - where we have prices in inforecord - quantity scale prices...
    We have only one plant - and inforrecords are created for plant AAA.
    Quantity scale prices for plant AAA => material 801020
    Qty 2 => price 100
    Qty 5 => price 90
    Qty 9 => price 80
    So far - so good...
    But then "someone" decided to create two new plants...
    So now we can en up with:
    item 10     Material 801020      Qty = 2     Plant = AAA
    item 20     Material 801020      Qty = 3     Plant = BBB
    item 30     Material 801020      Qty = 4     Plant = CCC
    And - of course - we want to continue to use the quantity scale prices...
    Summarize the qty per material.
    Qty = 9
    But how can we solve this "scale-problem"...???

    I think the word "Group Condition" is the functionality I've been looking for.
    In our PB00 we have the flag set for group cond - and we have no group condition routine specified....but I have not succeeded to group the item qty based on material numbers....
    I created my own VOFM formulas...
    form frm_gruppenkey_095.
       xvakey          = '095'.
       xvakey+3(18) = komp-matnr.
    endform.
    ...and now it works...... !!!!!

  • Open order & open quantity

    Hi
    I need to Develop a report which gives open orders number ,  open quantity , customer name.
    in VA05 is ther any possibility of getting open order quantity.
    Plz help

    Dear All
    Thanks for replin,
    i'm trying to create a query -such that it gives list of open orders (Not Delivered & Partially delivered) + Open quantity.
    i tried VBBE/KFSA  VBAK/VBFA TABLES IN QUERY BUT WHEN I EXECUTE ONLY PARTIALLY DELIVERED ORDERS I'L GETTING BUT ORDERS WITH NO DELIVERY IS NOT GETTING DISPLAYED.
    PLZ tel me is there any other table or link to get  open orders (Not Delivered & Partially delivered) + Open quantity.*

Maybe you are looking for

  • Lumia 521 Bricked was there an update pushed 2 days ago

    I had a lumia 521 with developer preview, I hadn't done anything new to it and all of a sudden phone completely died. When i plug it in to the charger it tries to boot shows the nokia splash and than goes to the battery sign. Here is what I have trie

  • Getting error in configuring Sybase with OBIEE

    hi, I am new to OBIEE and we are preparing a POC where we want to show OBIEE capabilities. for this I want to generate report based on data from SyBase database. what i have done -----> I am able to create DataModel problem i am facing -------> I am

  • HT1918 when i tap itunes store on my iphone, how do i get to my account settings

    When I tap itunes store on my iphone, how do i get to my account settings?

  • IMac backlight OR LED Screen Panel Problem.

    So for about 6 months now i've noticed these 'smudge marks' people have been talking about behind the glass screen in my iMac 27" which is a late 2011 model (about 13/14 months old) and was bought new fro the iMac store. Then about 6 weeks ago i star

  • CRM and RE-Fx Integration

    HI all, imin need of some inputs where in how can i integrate CRM to RE-Fx objects im mysap erp 6.0 your suggestion in this regard will very useful for me for which i will be soo thankful. suresh s