Open PO Quantity and Open PR Quantity

Dear Friends,
How can we get Open PO Quantity and Open PR Quantity?.
I used 2LIS_02_ITM, 2LIS_02_SCL to 0PUR_C01 Cube and 0PUR_DS03 DSO and I have done lots of R & D by using restrictions i.e. Delivery Completed indicator, I'm getting GR Qty, but not Open PO Qty..
And in teh same way how can I get Open PR Qty?. From EBAN table, I can create Generic DS, But is the any SAP Defined DS's apart from 0DF_IS_DFS_32
Thanks
Ganga.

HI,
Check the below link for EBAN which will help you in getting a generic datasource working like a standard datasource to get details of EBAN.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10b68b99-022e-2a10-999d-c4dc9ec24a59&overridelayout=true
Thanks,
Arun

Similar Messages

  • Open order quantity for "PurRqs" and Purchase Order"

    Hi,
    In one of my report I have to display the "Open Quantity" for 'PurRqs' I am using logic as follows:
    Input the "Pur Req" and  its "Item Number" in table EBAN in the fields EBAN- BANFN and EBAN- BNFPO and fetch the value of fields EBAN- MENGE and EBAN- BSMNG. Do the subtraction EBAN- MENGE minus EBAN- BSMNG and consider the value after subtraction as open quantity.
    But in display 'Purchase' order in the tab "Quantities/Dates, there is field with "Open Quantity", my question is if this "Open Quantity" update in any table-fields? or is ther any 'Functional Module" to get this 'open quantity' directly? so that I can avoid the logic of subtraction.
    Same question is for "Purchase Order", is ther any table-field or 'functional moduel' where I can get open PO quantity insteed of using tanle EKET and fields MENGE/WEMNG

    Hi
    What ever logic you are useing is right and go ahead with this and the same logic is for also Scheduling agreement.

  • Table and Field for Open Order Quantity for a Customer and Material

    Hi
    I created two sales orders 3 and 5 quantities, and delivered 1 qty in the second order.
    when I checked the table VBBE or VA05, I am able to see 3 and 4 qantities open.
    but I want to see the total 7 as open order qty, i.e, 3+4=7
    because both the orders are placed by the same customer and same material
    can u please tell me in which table exactly the total open order quantity for a customer and total open order quantity for a material is stored
    Madhu
    Edited by: madhubabu rao on Jul 1, 2008 1:49 PM

    HI,
    U can get the information in VA05 as there are columns like confirmed quantity and order quantty and status. U can use  summation button (add upto values) to get required information.
    Thx,
    Pramod

  • Open PR Quantity and Open PO Quantity

    Dear Friends, Good Morning..
    Please suggest me...
    I need to create a report with Inventory + PO + Plan data.
    In case of PO I need
    Open PR Quantity  and
    Open PO Quantity
    Open PO Quantity : I'm getting from 0PUC_C01 InfoCUbe i.e.
    Open PO Quantity =  PO Qty -  GR Qty.
    But how can I get Open PR Quantity  please help me.
    Thanks
    Gnaga

    Hi,
    I dont see anything like open PR quantity. u cant have GR based on PR, even if it is an internal order an STO has to be cretaed out of this PR.
    Check for more with ur functional consultant and design acordingly.
    regards
    Joga

  • Report on Total U/R stock and Open PO quantity

    Dear Friends,
    Is there any standard report or table which gives the present unrestricted usage stock and Open purchase order stock for all materials in a storage location or material group as selection instead of single material. If we can have open Puchase requisition quantity also in report then it will be more helpful.
    Thanks for timely help ......
    Best Regards
    Varsit

    Hello Varsit,
    There is not stardard report available for this information, but you can link EKPO, EKBE (PO history) table and MARD table to get this information. For Purchase requisition, you can use EBAN table.
    Hope this helps
    Regards
    Arif Mansuri

  • Material Confirmed quantity and Open quantity

    Hi All,
      I am working on a report where the user wants the material confirmed quantity and open quantity at the batch level. I know for open quantity VBBE-OMENG can work. Just need confirmation that this is the correct field. However for confirmed quantity I am not able to narrow it down to one field. I have the following fields as possibilities but not sure which is the right one.
    1) VBBE-VMENG
    2) VBEP-BMENG (This is the at the sales order level though. We need it at the batch level)
    Can you please let me know if i have the right approach here? The report has Material, plant, sloc and batch along with a bunch of other fields.
    Regards.
    Sid

    Hello,
    you should extract the quantities from all the deliveries selected for material and batch, and selecting only open deliveries.
    Use a selection like this:
        SELECT lips~MATNR lips~WERKS
               lips~CHARG lips~LFIMG
          INTO TABLE lt_lips
          from lips as lips
          INNER JOIN vbup as vbup
            on lips~VBELN = vbup~VBELN AND
               lips~POSNR = vbup~POSNR
         WHERE lips~MATNR = p_matnr
           AND lips~WERKS = P_WERKS
           AND lips~CHARG = P_CHARG
           AND ( vbup~WBSTA eq 'A' or
                 vbup~WBSTA eq 'B' ).
    Best regards,
    Andrea

  • Open PIR quantity, unconverted Pld orders and open Prod/ STO orders

    Dear all,
    How to deal with open PIR quantity, unconverted planned orders and open production/ STO orders in the next MRP run? Do we need to delete/ reduce them manually?
    Thanks and Regards,
    Raghu

    Hi Shiva,
    Thanks for your immediate response. I have still some confusion.
    Last month, I have material A with Production order quantity of 30000.
    'A' has a component 'B' which is an in-house produced material. Three planned orders each of 10000 were generated for B. Of these two planned orders were converted to production orders. One is still in planned order form.
    This month I am not going to use this planned order of B. I get new requirement for A. So during MRP run I get the planned orders for B also.
    For the last month requirement, as I have not converted one planned order of B to prod order, there will an open quantity of A prod order in this plant and open STO quantity in another plant. Again the PIR will also be not reduced to the same extent. If I reduce the PIR manually or through some reorganization, what about the open quantity of prod order and STO
    I think I can TECO the prod order of A. Is there any such thing for STO also?
    Thanks and Regards,
    Raghu

  • How to find open orders and open quantity

    Hi abap gurus,
    i want to find the open orders with the quantity  means those orders for which we don't have goods issues(and partial deliverys is also possible). i get this scenario but i don't know how to start.
      i think i should go to VBUP table and get all the orders
      which have overall status GBSTA = 'A' OR 'B'.
      So from this i will get all the open orders but i need to find open quantity also .
      please tell me how can i find out and  which table do i need to use.

    You need to check between delivery line item table as well sales order line item table.
    Sales order Line item table : VBAP
    Delivery line item table : LIPS
    if order qty and delivery qty are same then there is no open qty if not then there is open qty.
    Thanks
    Seshu

  • Purchase orders and their open order quantity with their due dates.

    hi friends
    i need to build  a query  where i can see the purchase orders and their open order quantity and their respective due delivery dates.i have never done  this.
    ME2M serves my requirement  upto little but i cannot see the delivery dates in that report.
    please help mein finding the steps involved in building the query.
    Thanks
    Alahari

    Use the table EKPO and EKKO
    adhoc querry is a tool in which we can create report
    to get report we have to use three t. codes
    1.sq03-->is for to create user group
    2.sq02--.is for infoset Querry
    3.Sq01-->for exact querry
    try with these codes or revert with ur response
    follow the link for query creation
    First check this link,
    SAP Query Creation
    SAP Query -A Reporting Tool for Functional Consultants(Part 2)
    SAP Query 1
    SAP Query -A Reporting Tool for Functional Consultants (Part 1)
    Always after going to SQ02 or SQ01 T Code ,first click on Environment in the menu ->Query Areas-->
    Standard Area Client specific and then start creating the Infoset or else the query.
    Still if you are not satisfied means,please revert back.

  • Purchase orders and their open order quantity with their due delivery date

    hi friends
    i need to build a query where i can see the purchase orders and their open order quantity and their respective due delivery dates.i have never done this.
    ME2M serves my requirement upto little but i cannot see the delivery dates in that report.
    please help mein finding the steps involved in building the query.
    Thanks
    Alahari

    Deliver date is available in table EKET field EINDT.
    Use table : EKKO ,EKPO, EKET.

  • Reg Open sales order item and the quantity

    Hi experts:
    I am getting open sales order item based on inner join of tables(vbak, vbap, vbep). Not using vbbe table in inner join as it doesnt carry all pending open records.
    can any one say how open sales order items  and their quantity can be retrieved?
    I searched forum and saw usage of vbuk and vbup tables, but it does not accomplish our scenario.
    Thanks in advance,
    Sashti.

    Hi,
    1) fetch the header information from VBAK table.
    2) Based on VBAK table fetch all the line items from VBAP table.
    3) Now fetch from VBFA table.
    *-Fetch from VBFA to get the delivered qty
      SELECT vbelv               " Preceding sales and distribution document
             posnv               " Preceding item of an SD document
             rfmng               " Referenced quantity in base UOM
        FROM vbfa
        INTO TABLE lt_vbfa
         WHERE vbelv   = gv_vbeln
           and vbtyp_n = 'J'.
    4) By comparing VBFA-POSNR just filter the records from the VBAP internal table. Remained lines are open lines of the sales order.
    Regards,
    ~Satya

  • Close old open POs of GR and IR quantity differ.

    Hi,
    We are having some open POs of year 2006, 2007. These POs are not archived due to Quantity delivered differs from qty. invoiced.
    Now GR, IR are archived and business wants to close these POs.System is not allowing as there is difference in GR and IR quantity.
    Is there any standard SAP report which will allow to put deletion indicator in such POs.
    Thanks
    Sudhir

    Sudhir,
    Have you tried MR11?  That's precisely what it is supposed to fix: The GR/IR clearing program posts a document that 'fixes' cases of 'quantity delivered' not equal to 'quantity invoiced.'
    If you have done this already, there should be an entry for GR/IR adjustment in your PO history, and all the quantities should add up.
    I haven't tried this in similar circumstances, but I don't think the fact that the GR and IR are archived would prevent you from clearing the difference with MR11.  If you have really cleared this difference, and quantity invoiced = quantity received, I'd suggest having a technical person trace through the program to find the source of the problem.
    - Jeff

  • Optimize Performance in getting Quantity of Open PO per Material and Plant

    Hi,
    Recently I have a project that requires me to get the quantity of the open Purchase Orders (no Goods Reciept yet). The current code I have to get this are as follows (with some alterations):
    <b>select MATNR WERKS MENGE
    from EKPO into table i_purchase
    for all entries in i_tab
    where MATNR = i_tab-MATNR
       and WERKS = i_tab-WERKS
       and ELIKZ = space.
    loop at i_tab.
           loop at i_purchase where matnr = i_tab-matnr
                                          and werks = i_tab-werks.
               i_tab-menge = i_tab-menge + i_purchase-menge.
           endloop.
    modify i_tab.
    clear i_tab.
    endloop.</b>
    Now there is nothing wrong with the program here its just that the user I know would tend to proccess a large number of materials per report and would cause a <b>Time Out</b> because of the data being proccessed. It also needs to be run online so background processing is out of the question.
    Question is, is there a better way where I can get the same results with a better performance and possible avoiding the same time out again (i.e. other database tables, improved logic, coding impmlementation, etc.) ?
    Hope to hear from you soon.
    Take care and good day.

    Hi,
    Try this:
    IN select stmt:
    1.  use select statement validating i_tab. like:
    if i_tab is not initial.
    select MATNR WERKS MENGE
    from EKPO into table i_purchase
    for all entries in i_tab
    where MATNR = i_tab-MATNR
    and WERKS = i_tab-WERKS
    and ELIKZ = space.
    endif.
    2. Chk this possiblility:  do not add elikz = space condition into wyhere clause of select stmt and remove unwated entries from i_tab using DELETE i_tab where elikz =ne space. this will surely improve performance of select stmt as elikz is not a key field.  but this chk once.
    In LOOP:
    1. donot use loop stmt insterasd use read table stmt for that sort itab with fields MATNR WERKS. and then use BINARY SEARCH in thi s clause. using bs will improver ur prg perfromance drastically.
    2. instead of loop at itab use field symbol this is also very help ful. but try above oprtion and then go for it... any way loop with fs is better than loop at itab .
    Hope this will help u.
    Jogdand M B

  • Open quantity in credit memo and debit memo

    Dear Friends,
    I am facing one problem in billing cycle. I am creating credit memo directly with ref to invoice(With out cr memo request). I am describing  scenario below.
    I have created Invoice 8012003 with one item with 10 quantity, after that I am creating credit note with ref to Invoice no 8012003, here I am creating credit note with 3 qty. Sub subsequently when i create credit note with ref to invoice number 8012003, in open billing quantity system is showing 10 quantity instead of 7.
    I have used copy requirements 027 and billing quantity field is disabled.
    Kindly advice.
    Kaushal

    Hello ,
    you could check the field VBRP-POSAR in your credit note .
    If it's 'A' , it's only a value position.
    That could come from table TVAU , field VAUNA -
    the last part in copy requirement 027 .
    Regards Wolfgang
    Dear Wolfgag,
    Thanks a lot for your kind reply, k've checked, VBRP-POSAR is 'A' in and VBRP - AUGRU AUFT is blank. Please let me know whether order reason is affecting open quantity field or i've modify routine 27 for  passing value ' '(Standard Item) instead of 'A'(Value item).
    Please note that i am creating credit memo direct ref to invoices.
    Thanks a lot in advance.
    Kaushal

  • Open Target Quantity and Open Target Value in Contract

    Hi,
    When we execute transaction 'ME3N', it displays the report which is having columns as 'Open Target Quantity' and 'Open Target Value'. I have the similar requirement to read this 'Open Target Quantity' and 'Open Target Value'  of contract.
    Is there any table which stores these values or is there any function module which gives the value of 'Open Target Quantity' and 'Open Target Value'.
    Thanks,
    Siddhi

    Hi,
    Thank you for the reply.
    I tried to find that way too. But I was not able to get the table / field for 'Open Target Quantity' or 'Open Target Value'.
    Now, I am looking for the logic to get the 'Open Target Quantity' and 'Open Target Value' in contract.
    Can anybody please help me with getting this logic?
    Thanks,
    Siddhi

Maybe you are looking for

  • No drilldown option for Formulas in structure

    Hi Experts, Could you throw some light on the following issue. My char structure is as follows,I have a grouping done on GL and when i drill down I shd see the GL only for selections and not for formula i.e. the formula should not drilldown and show

  • SOAP and SSL problem

    I am using JDeveloper 9.0.3 and the Oracle SOAP library which is shipped with Oracle JDeveloper. My application connects to a SSL enabled webservice. The first problem I encountered was a 'no njssl9 in java.library.path' error. I used the tips from L

  • Dual Network cards

    I have a G4 and want to add a NIC to ftp from a private network. If I don't disable the onboard ethernet port it doesn't work, how can I have both cards working where one card does only internet ant the other does ftp from an assigned IP network

  • Image cache managment

    Just tought i would add this, sorry if its a duplicate, *have the ability to purge/create previews for a folder/collection. *and or standard size preview expiry. *Some indicator next to the folder/collection that previews don't exists. I know 1:1 pre

  • .app created by Adobe AIR is not getting installed on my macbook?

    I created an ADOBE AIR app using flash professional on my windows PC, this gives me an application with extension .app, I tried opening this on my macbook( Mac OS 10.6.7 X) that already have adobe AIR , it's not opening. Do I have to add or install a