How to find the open purchase order qunatity

hello Friends ,
i have a requirement like below.
If there is any receipt posted for the PO line item but if this is reversed then the new receipt should be permitted for posting. If there is any partial quantity reversal done then further receipt should not be allowed.
Eg. If PO is for 100 qty, receipt is for 50 qty and reversal is done for 50 qty then new receipt posting should be allowed.
If PO is for 100 qty, receipt is for 50 qty and reversal is for 40 qty then new receipt posting should not be allowed.
please tell me how i can solve the problem.
please tell me the logic in data base table level .
thanks
Anant
Edited by: anudeepmca on Feb 26, 2010 12:38 PM

You can get all postings relating PO in EKBE table, this is the base for you to add validation logic if there are any partial reversals occurred.

Similar Messages

  • How to  find the Open sale orders till date for  given plant and material ?

    Hi experts,
                     I have a requirement to calculate the open sale orders for a given plant and material. I have tried in VA05 wherein i can get only for the material and sales area combination. From the document nos obtained from VA05 i can then find the plant. But my question is how do i get the output of VA05 into my progra. (can i use submit for a module pool report ).
    Also if ther is some other standard table or Function module to find the open sale orders till a given date ,it will be even more helpful....in which case i can drop the VA05 route.
    Kindly help
    Thanks in advance
    Ashwin

    Hi Ashwin,
        You can use SAP Tables VBAK and VBUP to get to know if the document is complete or not.
       VBUK-GBSTK is the field that will give you the status of the Sales Order .
      VBUK is used at header level , whereas VBUP is used for Item level.
      So in your case what I would do is :
      Get the Sales Orders that satisy the plant and material criteria from VBAP table , take this Sales Document numbers and go to VBUK or VBUP table to get the Sales Order Status. 
       If I need to find the open quantity as well I will link to VBFA table based on the document number.
      Reward if helpful.
    Thanks,
    Imran

  • HOW WE FIND OUT OPEN PURCHASE ORDER AND CLOSED PURCHASE IN THE TABLE?

    HI,
    PLZZ HELP ME.
    what are fields names for open purchase order and closed purchase order
    thanks

    Hi param,
    Go to mseg table, pass the purchase order number and purchase order item. if the mseg-menge = ekpo-menge for the corresponding purchase order then consider the purchase order is close, else it is still open. even check if the entries are not there for corresponding purchase order in mseg table then also it is open.
    select mblnr zeile matnr menge from mseg into it_mseg where ebeln = it_ekko-ebeln
    and    ebelp = it_ekpo-ebeln.
    if sy-subrc <> 0.
    then consider the purchase order is open.
    This is the first case.
    even u can consider like this
    if sy-subrc = 0.
    if it_ekpo-menge > it_mseg-menge.
    then also the purchase order is open.
    Regards,
    Santosh Kumar M.
    Award points if it is useful.

  • Downloading the open purchase order list

    HI Friends,
    Please let me know how to download the open purchase order list from SAP aong vth buyer codes.
    Regards,
    A.S.kumar

    Hii
    Go to ME2N, give the details what ever u want in that screen and in Scope of list - select ALV.
    If u select ALV , it will show in the format of excel sheet , so u download as lik that .
    In selection parameters - u mention WE101/WE102 ...etc , according ur requirement.
    Any clarification , let us know
    Thanks
    SAP-MM
    Edited by: MM group on Feb 19, 2010 6:04 AM

  • How to find the open PR in SAP

    how to find the open PR list in SAP

    HI,
    Using T-code ME5A - List Display of Purchase Requisitions and give input data's are as follows.
    Plant                :  _______
    Scope of List  : ALV
    Tick Mark of the below options :
           Assign Purchase Requisition to be tick
           "Partial Ordered" Requisitions to be tick
            Released Requisitions Only to be tick
            Requisition for overall Release to be tick
    After that, execute the report shown only released and Open  purchase requisition(PR) details.
    Hope, it is useful for you.
    Regards,
    K.Rajendran

  • Report  showing the open Purchase orders

    Hi Experts,
               Is there any standard report to view the open Purchase orders.
    Developing a new report is the only solution.
    Thanks

    Hi,
    You need not create Zreport.
    Either you can use ME2N with selection parameter WE101 & Scope of list BEST
    or
    Go to SE16
    Use Table EKPO
    Use Filed name ELIKZ
    If you give X list of all the delivery completed items.
    If you leave blank list of all Open PO items will display.
    Reward points if found useful.
    Regards,
    Vengat

  • How to see the customer purchase order acknowledgement ?

    How to see the customer purchase order acknowledgement ?
    in that PO ACK where we see the UOM and Qty ?
    thanks & regards,
    Srikanth.

    hi
    Customer Purchase Order is nothing but the Sales Order in your system
    Customer Po acknowledgement is nothing but the Acknowledgement that is sent out (output type BA00) to the Customer after the Sales Order has been created.
    Note: Purchase is to Customer - Sales is to you as the Vendor.
    cheers
    Nandu
    Edited by: Nanda Kumar Veeraraghavan on Apr 1, 2008 12:11 AM

  • HOW TO KNOW THE  EACH PURCHASE ORDERS GROSS INVOICE  VALUE

    HI SIR,
    ANY  BODY PLESAE TELL ME
    HOW TO KNOW THE  EACH PURCHASE ORDERS GROSS INVOICE  VALUE BY GROUP WISE PER SPECIFIC TIME PERIOD.

    hi
    try ME80FN
    regards
    vijay

  • Muse Accordion widgit, I need to know how I find the  (Open Closed )  link it seems to have vanished

    Muse Accordion widgit, I need to know how I find the  (Open Closed )  link it seems to have vanished all I can find is ( Expand  behavior and Overlap Items Below.)

    If I got your query right, do you mean you don't have all the options in the Accordion Options panel as pictured below?
    If the above is true, can you try re-inserting the Accordion panel and check if the options then become available for you. Also, please check if you're running the latest version of Muse i.e. 4.1.8 as on today.
    If the problem persists, please try creating a new Muse project and see if you are able to replicate the behaviour on a fresh Muse site as well.
    Thanks,
    Vinayak

  • How to find document of purchase order

    Dear All,
    I just want to know how to find the document which is attached when creating Purchase order, can this document insert in oracle database or server directory...??
    if it is in oracle database please mention table name or directory path where file or document exist.
    Thanks

    Hi;
    Please review below search:
    http://www.google.com.tr/#hl=tr&tbo=d&sclient=psy-ab&q=ebs%2Bpurchase+order++document&oq=ebs%2Bpurchase+order++document&gs_l=hp.3..0i10i30j0i30j0i10i30j0i30.264.1781.0.2035.5.4.0.0.0.0.423.811.0j2j4-1.3.0...0.0...1c.1.ftCvA3OOHXE&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.&bvm=bv.41524429,d.d2k&fp=d36553db39999835&biw=1536&bih=711
    For all notes please see:
    For r12.1.1:
    http://download.oracle.com/docs/cd/B53825_01/current/html/docset.html
    For r12:
    http://download.oracle.com/docs/cd/B40089_10/current/html/docset.html
    For r11:
    http://download.oracle.com/docs/cd/A60725_05/r11_doc.htm
    Regard
    Helios

  • R12 - How to customize the seeded Purchase Order PDF report

    Hi,
    We need to customize the layout AND the data of the seeded Purchase Order pdf report that is generated in PO Summary form when user picks drop-down menu Inquire->View Document. I know how to set up the Document Type with a customized layout but I do not know how to update the XML data that feeds the layout.
    Thanks, Mike

    Mike,
    Please review the following documents.
    Note: 374165.1 - How To Customize The PDF Output For Printed Purchase Order Report (Portrait) ?
    Note: 406094.1 - How To Diagnose Issues Within Oracle Purchasing PDF File Creation for Printing
    Regards,
    Hussein

  • What is the open purchase order

    ·     Developed a report that displays open purchase order.

    To be abit more serious, what field is feeding it?  Where are you taking it from?

  • Error while closing the open purchase order for MRP run

    HI expets,
                     We are facing issue while closing the old purchase order(18.12.2007) for MRP run, if we are clicking delivery completed for the particular line item ,system is showing the error NET PRICE MUST BE GREATER THAN ZEROthough we have made GR and IR aganist the line item an value is also showing in the purchase order history tab, but in the condition tab there is no value showing for the particular line item .Kindly suggest the way forward.
    regards
    Karthick sundaram

    one thing for sure, you cannot proceed without maintaining proper conditions in the PO.
    Why they are not there or not anymore there is probably caused by customizing or vendor master data changes.

  • How to close an open Purchase Order?

    Hi Gurus,
    What is way to close the Purchase Order?
    Our normal practice is to tick on the delivery completed indicator.
    I am looking for a solution to solve the problem of having to amend the outstanding PO quantity and price at the end of the year to match the final invoice value which is lower than the PO value. This is because these POs are usually sent out with an estimate value and the final value can only be confirmed upon final invoice receipt. Reason we have to amend the PO is because if we just tick on delivery completed, when OPC runs the report to track the invest status, the remainder will appear as open in that report. However, this PO will appear as closed in MM report, as it should be.
    Many thanks in advance.

    Hi,
    Have you thought about making the report read the delivery completed indicators so that it knows which ones are closed.
    The DCI is the approaved method of closing a PO and so I would make sure that the report is correct rather than changing the process.
    Steve B

  • How to find the open po line item by using EKKO &EKPO tables

    Hi Gurus,
        what i am doing is finding out the OPEN PO line item from EKPO table. I know it has to check the ELIKZ field from the EKPO table.Can you please clarify me on the same in more detail.I has to use the ELIKZ  EREKZ fields from EKPO table.

    Use the field ELIKZ in EKPO. If the field is Blank its an OPEN PO Line Item
    refer this link.
    How to open PO line item

Maybe you are looking for

  • ITunes Match crashes during 3rd step when uploading songs to the iCloud

    Hello There, I have just one issue with iTunes Match which causes me to be slightly skeptical, although it is such an amazing way to listen to music ect. I have about 15000 songs and most of them were added on the iCloud, however only around 200 stil

  • HP Deskjet 3520 e-All-in-O​ne Printer

    sir my problem about my printer is i dont install the cartrige that come with the packages of my printer and i just throw it long ago now a cant use my printer because the printer dont want to recognise regular cartrasdges....what im i going to do no

  • Import 2 avi files and combine in 1 dvd

    Hi En experts! I have installed the Encore Cs5 Trial with Win7 64bit. Now i will import 2 avi files (part 1 and part 2 for a video) and combine in sequence and after write a dvd for my tv-dvd player..is possible? Give me please instructions... Thank'

  • LSMW - LF as record separator

    Hi, I want to use LSMW to upload longtexts to SAP. Source file is an excel spreadsheet with two columns containing the material no and the longtext. If the longtext contains more lines each line is separated by an LF (word wrap within cell in excel)!

  • Speaker setup for Apple TV

    I am interested in purchasing Apple TV to be able to play itunes and other music apps (spotify, iheart radio, pandora) thru my ipad to the TV speakers when my MacBook is turned off.  Is this possible?  The other capability I am looking for is multipl