Open Purchase Order report

Hello All,
Anyone know how I can get the list of Open Purchase orders?
Currently we are pulling all those POs with the following characteristics:
PO item where
        all schedules have received qty zero.
Open Schedules (EKET) - Don’t want fully or partially received
     Received Quantity (wemng) = zero
The performance is not the greatest.
Just curious to know how others are arriving at the list of Open Purchase Orders.
Ideas / Thoughts???
Thanks for any input.

Why not checking for Final Invoice indicator EKPO-EREKZ = 'X'
or/and Delivery Completed Indicator EKPO-ELIKZ = 'X'.
select *
from ekpo
into table it_ekpo
where delkz ne space and (erekz = 'X'
   or elikz = 'X').
Regards,
ravi

Similar Messages

  • Return nothing when run Open Purchase order report(by Buyer)

    We implement iPro/PO in Oracle. I finished the PO setup. But now user report that they are not able to generate any output for a particular Buyer when they run the Open Purchase Orders Report(by Buyer) report in the PO module. Even I leave the parameter wide open for the request, it also does not return any information.
    Does it relate to the PO setting in system? Anyone can kindly guide me how to check such problem?

    Hi Kyla,
    PO raised by the buyer is 'STANDARD','BLANKET','PLANNED' ? What is the PO Status..? It should be "OPEN"..
    Query used in this report is as below :
    Query - Company
    SELECT gsb.name c_company
    , fsp.inventory_organization_id c_organization_id
    , gsb.currency_code C_CURRENCY_BASE
    , gsb.chart_of_accounts_id STRUCTURE_ACC
    , mdv.structure_id STRUCTURE_CAT
    , mdv.category_set_id c_category_set_id
    , flo1.meaning c_yes
    , flo2.meaning c_no
    FROM gl_sets_of_books gsb
    , financials_system_parameters fsp
    , mtl_default_sets_view mdv
    , fnd_lookups flo1
    , fnd_lookups flo2
    WHERE gsb.set_of_books_id = fsp.set_of_books_id
    AND mdv.functional_area_id = 2
    AND flo1.lookup_type = 'YES_NO'
    AND flo1.lookup_code = 'Y'
    AND flo2.lookup_type = 'YES_NO'
    AND flo2.lookup_code = 'N'
    Query - Buyer
    SELECT distinct(pov.vendor_name||papf.full_name)
    , papf.full_name Buyer
    , pov.vendor_name Vendor
    , pov.vendor_id
    , papf. person_id employee_id
    FROM PER_ALL_PEOPLE_F PAPF
    , po_vendors pov
    , po_headers poh
    WHERE poh.agent_id = papf.person_id
    AND poh.vendor_id = pov.vendor_id
    AND poh.type_lookup_code in ('STANDARD','BLANKET','PLANNED')
    AND nvl(poh.closed_code,'OPEN') NOT IN ('FINALLY CLOSED', 'CLOSED')
    AND nvl(poh.cancel_flag,'N') = 'N'
    /* AND papf.full_name = nvl(:P_buyer,papf.full_name) */
    /* Bug#2453022 Commented out the above condition and replaced
    it as follows as the user parameter P_Buyer will now return the id and not the name */
    AND papf.person_id = nvl(:P_buyer,papf.person_id)
    AND pov.vendor_name BETWEEN nvl(:P_vendor_from,pov.vendor_name)
    AND nvl(:P_vendor_to,pov.vendor_name)
    AND EXISTS (select 'x'
    from po_lines pol
    , po_line_locations pll
    , po_releases por
    where pol.po_header_id = poh.po_header_id
    and pol.po_line_id = pll.po_line_id
    and nvl(pll.closed_code,'OPEN') not in ('FINALLY CLOSED','CLOSED')
    and nvl(pol.closed_code,'OPEN') not in ('FINALLY CLOSED','CLOSED')
    and nvl(por.closed_code,'OPEN') not in ('FINALLY CLOSED','CLOSED')
    and nvl(pll.cancel_flag,'N') = 'N'
    and nvl(pol.cancel_flag,'N') = 'N'
    and nvl(por.cancel_flag,'N') = 'N'
    and pll.shipment_type in ('STANDARD','BLANKET','SCHEDULED')
    and pll.po_release_id = por.po_release_id(+))
    AND PAPF.EMPLOYEE_NUMBER IS NOT NULL
    AND TRUNC(SYSDATE) BETWEEN PAPF.EFFECTIVE_START_DATE AND
    PAPF.EFFECTIVE_END_DATE
    AND DECODE(HR_SECURITY.VIEW_ALL ,'Y' , 'TRUE',
    HR_SECURITY.SHOW_RECORD('PER_ALL_PEOPLE_F',PAPF.PERSON_ID,
    PAPF.PERSON_TYPE_ID,
    PAPF.EMPLOYEE_NUMBER,PAPF.APPLICANT_NUMBER )) = 'TRUE'
    AND DECODE(HR_GENERAL.GET_XBG_PROFILE,'Y', PAPF.BUSINESS_GROUP_ID ,
    HR_GENERAL.GET_BUSINESS_GROUP_ID) = PAPF.BUSINESS_GROUP_ID
    ORDER BY papf.full_name
    , pov.vendor_name
    Query - PO
    SELECT distinct(pol.line_num) Line
    , poh.segment1 ||decode(por.release_num,null,'','-')|| por.release_num PO_Number_Release
    , poh.currency_code C_CURRENCY
    , plt.line_type Line_Type
    , &P_FLEX_CAT C_FLEX_CAT
    , &P_FLEX_ITEM C_FLEX_ITEM
    , pol.item_revision Rev
    , pol.item_description Description
    , pol.po_header_id
    , pol.po_line_id
    , poh.vendor_id
    , poh.agent_id
    , psp.manual_po_num_type
    , poh.segment1
    , por.release_num
    , nvl(por.po_release_id,-1) release_id
    FROM po_line_locations pll
    , mtl_system_items msi
    , mtl_categories mca
    , po_lines pol
    , po_releases por
    , po_headers poh
    , po_line_types plt
    , po_system_parameters psp
    WHERE poh.po_header_id = pol.po_header_id
    AND pol.po_line_id = pll.po_line_id
    AND pll.po_release_id = por.po_release_id(+)
    AND pol.line_type_id = plt.line_type_id
    AND pol.item_id = msi.inventory_item_id(+)
    AND msi.organization_id(+) = :c_organization_id
    AND pol.category_id = mca.category_id
    AND nvl(pll.closed_code,'OPEN') not in ('FINALLY CLOSED','CLOSED')
    AND nvl(pol.closed_code,'OPEN') not in ('FINALLY CLOSED','CLOSED')
    AND nvl(poh.closed_code,'OPEN') not in ('FINALLY CLOSED','CLOSED')
    AND nvl(por.closed_code,'OPEN') not in ('FINALLY CLOSED','CLOSED')
    AND nvl(pll.cancel_flag,'N') = 'N'
    AND nvl(pol.cancel_flag,'N') = 'N'
    AND nvl(poh.cancel_flag,'N') = 'N'
    AND nvl(por.cancel_flag,'N') = 'N'
    AND pll.shipment_type in ('STANDARD', 'BLANKET', 'SCHEDULED')
    ORDER BY decode(psp.manual_po_num_type,'NUMERIC',
    --bug#3614924
    decode(rtrim(poh.segment1,'0123456789'),NULL,to_number(poh.segment1))
    , null)
    , decode(psp.manual_po_num_type,'NUMERIC',null, poh.segment1)
    , por.release_num
    , pol.line_num
    Query - Shipment
    SELECT pll.shipment_num Shipment
    , nvl(pll.promised_date,pll.need_by_date) P_Date
    , pol.unit_meas_lookup_code Unit
    , DECODE (POL.order_type_lookup_code, /* <SERVICES FPJ> */
    'RATE', PLL.amount,
    'FIXED PRICE', PLL.amount,
    PLL.quantity) Ordered
    , DECODE (POL.order_type_lookup_code, /* <SERVICES FPJ> */
    'RATE', PLL.amount_received,
    'FIXED PRICE', PLL.amount_received,
    PLL.quantity_received) Received
    , DECODE (POL.order_type_lookup_code, /* <SERVICES FPJ> */
    'RATE', PLL.amount_billed,
    'FIXED PRICE', PLL.amount_billed,
    PLL.quantity_billed) Billed
    , pll.price_override Unit_Price
    , DECODE (POL.order_type_lookup_code, /* <SERVICES FPJ> */
    'RATE', (PLL.amount - NVL(PLL.amount_received, 0))/
    DECODE(NVL(PLL.amount, 0), 0, 1, PLL.amount),
    'FIXED PRICE', (PLL.amount - NVL(PLL.amount_received, 0))/
    DECODE(NVL(PLL.amount, 0), 0, 1, PLL.amount),
    (NVL(PLL.quantity, 0) - NVL(PLL.quantity_received, 0))/
    DECODE (NVL(PLL.quantity, 0), 0, 1, PLL.quantity)) * 100 Percent_Due
    , plc.displayed_field Open_For
    , pll.po_line_id
    , nvl(pll.po_release_id,-1) join_release_id
    FROM po_line_locations pll
    , po_lines pol
    , po_lookup_codes plc
    WHERE pol.po_line_id = pll.po_line_id
    AND nvl(pll.closed_code,'OPEN') not in ('FINALLY CLOSED','CLOSED')
    AND nvl(pol.closed_code,'OPEN') not in ('FINALLY CLOSED','CLOSED')
    AND nvl(pll.cancel_flag,'N') = 'N'
    AND nvl(pol.cancel_flag,'N') = 'N'
    AND plc.lookup_type = 'DOCUMENT STATE'
    AND plc.lookup_code = nvl(pll.closed_code, 'OPEN')
    AND pll.shipment_type in ('STANDARD', 'BLANKET', 'SCHEDULED')
    ORDER BY pll.shipment_num

  • Open purchase orders report

    Hello,
    I am trying to write an open purchase orders report.
    Is there any field that indicates that an purchase order item is closed or not? I tried with the EKPO-WEPOS (goods receipt indicator), but it is allwais filled.... , or EKPO-ELIKZ (delivery completed), but not working....

    In my case a PO item is opem if the order quantity is smaller than the goods receipt quantity.
    I solved the problem in this way:
    SELECT ekpomenge eketwemng FROM ekpo
        join eket on ekpoebeln = eketebeln and ekpoebelp = eketebelp
        INTO CORRESPONDING FIELDS OF TABLE t_comenzi
        WHERE ekpo~matnr = s_matnry-matnr
        AND ekpomenge < eketwemng
        AND ekpo~loekz = space
        AND ekpo~elikz <> 'X'
        AND ekpo~werks = p_plant.
        IF t_comenzi[] IS NOT INITIAL.
        data diferenta like count_com.
          LOOP AT t_comenzi INTO s_comenzi.
          diferenta = s_comenzi-menge - s_comenzi-wemng.
            count_com = count_com + diferenta.
          ENDLOOP.
          REFRESH t_comenzi.
        ENDIF.
    I hoped to find a better way, but so far is the only way...

  • Open Purchase Orders Report with Confirmation Dates

    Hi Friends,
    I have searched a lot for the following need and I have found nothing. I was wondering if there ia any report that I can show the scheduled delivery dates from a Purchase order. I have seen in ME2L that by placing EINT in scope of list I can see the schedule lines. However, if there is a new delivery date due to supplier confirmation that have been placed in PO with the indicator AB this is not appeared. At the same time if there is a partial quantity that has already been delivered then it does not appear as well. So, I need a report with all the scheduled delivery line plus the open quantity.
    Many Thanks in advance,
    Ioannis

    It is very strange. Because what I see is that in this report the confirmation date is not appeared although the schedule line is appeared. Then If I go to change the confirmation date in PO for second time then it is appeared. I have no idea why this is happening

  • Backorder open purchase order report

    Hi All,
    Any item that have an open PO in the system for xx, yy & zz are coming up as backorder on the reports. Not all on order items are actually on backorder. Could you please advice what steps we need to do.
    Instance details: 11.5.10, Linux

    Hi Redro;
    Please check Note:Back To Back Order Is Not Creating The Purchase Requisition [ID 435554.1] and see its helpful
    Regard
    Helios

  • OPEN PURCHASE ORDER

    DEAR ALL,
    WHETHER WE HAVE A STANDARD REPORT IN SAP TO GET QUANTITY AND VALUE DATA OF BACK DATED OPEN PURCHASE ORDER?
    PURCHASE ORDER HAS BEEN PREPARED IN JANUARY, DOWN PAYMENT IS MADE IN THE MONTH OF MARCH, MATERIAL IS RECEIVED (GRN MADE) IN AUGUST
    IN ABOVE CASE WHEN I GENERATE A OPEN PURCHASE ORDER REPORT AS ON 31.03.2008 IT IS NOT SHOWING ME THE QUANTITY & VALUE DETAILS OF OPEN PURCHASE ORDERS.
    PLEASE LET ME KNOW THE WORK AROUND.
    WAITING
    AMIT

    Dear,
    Enter ME2N, Select WE101 in selection parameter field.
    Then enter other required detail and click on execute button.
    So system give you list of open purchase order.
    Then click on change layout button.
    Transfer Still to be invoiced (qty) field Column Set to Display column set mode.
    And click on continua button.
    Duse to this field you can track for how many quantity good receipt is created of purchase order.
    Regards,
    Mahesh Wagh

  • Report with open Purchase orders and open Goods Receipt (without invoices)

    Dear All,
    We require a report in purchasing which will show:
    1. open purchase orders
    2. open goods receipts
    We do not want POs and GRs that have been created into invoices to be included in the report.
    At the moment we tried ME2N with RECHNUNG in selection parameters but it includes invoices. We have tried other selection parameters and reports but the results are not helpful.
    I have also checked SDN but there is no correct answer. Most of them specify the ME2N with RECHNUNG as a solution but this does not work for us.
    Any help would be appreciated.
    G.

    Hi,
    Try ME2N, Select WE101....Also Select ALV
    go to next screen....Go to change layout
    Select to be deliverd(Qty) and Value, also to be invoice(Qty) & Value.
    Hope Help U!
    Regards,
    Pardeep Malik

  • Report including open purchase order quantity for one storage location

    Hello gurus,
    I am looking for a report giving me the total/available stock and the open purchase order quantity for all materials stored in a certain storage location.
    I.e. like this:
    Plant 0001, storage loc. 01
    Material        stock        open purchase order quantity
    100000        200 pcs.   50pcs.
    Is there such a report in SAP standard?
    Thanks
    Alicia

    hI
    U want the report like this ,
    MAterial stock availablein storage location and with Open PO quantity for the same material.???
    This report u can get in 2 different transaction . the n u can combine and create one custom transaction .
    One is for materil stock in storage location is MB52 or MB5B
    THen ME2N for open PO quantity for that material.

  • Report for open purchase order quantity

    Dear experts,
    Is there any report for showing open purchase order quantity for which goods are not yet received?
    Regards
    babu

    Hi
    ref the blw link which will have the complete sap std reports
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/erplo/sapStandardReports

  • Report to display open purchase order by vendors

    Hi all,
    Please let me know the report that displays the open purchase orders by vendors
    Thanks in advance
    sunil

    Dear Sunil,
    Added to erlier reply, you can get by ME2L/ME2M...., inselection parameters select WE101. Which gives all the POS that are open. You can restrict y giving the vendor number.
    If your proble is resolved, please close the issue
    With Regards,
    krishna

  • Idea/Suggestion for Report on Open Purchase Orders

    Note: coding is not necesary
    give me an idea /suggestions how to develop a report which lists all open purchase orders not acknowledged for different vendors  plz if u give me step by step procedure it will help me in developing
    Title edited by: Alvaro Tejada Galindo on Jun 5, 2008 11:23 AM

    Hi kumar,
       DEFINITION :A standing/open order is a Purchase order which has been issued to a vendor, against which specified purchases may be made for a specified period of time. When repeated purchases of the same type of supply items are expected, multiple purchase requisitions may be eliminated by submitting one purchase requisition to establish a standing/open order. This request must be accompanied by a justification memorandum. Standing purchase orders are issued for supply type items and services only.
    JUSTIFICATION :  Request for standing/open orders are approved by the Director of Purchasing, provided they are sufficiently justified. Purchases made by the standing/open order method are often more expensive, and should be considered carefully.
    LOGIC:  Open purchase orders meanse,the purchase order not realse due to  some reasons.
         The purchase order table EKPO (or) EKKO.
            You find the both tables
             fields:          LOEKZ  = Deletion Indicator.
                                ELIKZ  = Delivery completion.
              You checks  above fields  NOTEQUAl to SPACE
                example:   LOEKZ   NE '  '
                                ELIKZ  NE  '  '
                     above fields equal to space that orders realsed.
      example:  select * from ekpo
                                  into  itab
                                  where  ebeln = pametervalue
                                     and  loekz ne '  '
                                     and  elikz  ne '  '.
                Above statment excutes dipalys the open purchase orders.
           Thaks,
           sreddy.

  • Report for Open Purchase Orders

    how to develop a report which lists all open purchase orders for given period & plant ? plz idoint want coding .. but give me guidlines & suggestions to develop my own  plz tell where could i nstart & end for this report help me sdn
    Edited by: Alvaro Tejada Galindo on Jun 5, 2008 11:32 AM

    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.
    Report  showing the open Purchase orders
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Jun 5, 2008 11:32 AM

  • 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

  • Purchase Order Report

    When Iam trying to take Purchase Order report,
    Fields in PO Report are as follows:
    Posting date, Purchase Order number,Vendor Name, Item Name, Qty, Unit Price, Total Price, & Status.
    For eg:
    PO Num 100 contains 5 Items, Out of which Goods Receipt PO has been raised for 3 Items. and Goods Receipt PO for remaining 2 items have not been raised.
    In this case PO status is OPEN.
    When iam generating PO Report, It shows Status for all the Items are OPEN. bcoz status for the PO is OPEN.
    I want the report to show the status is Closed for the Items for which Goods Receipt PO has been raised. and similarly status must be OPEN for the items for which Goods Receipt PO has not raised. ( PO number is same ).
    Your answers will be very helpfull.
    Thankyou.

    Hi,
           I have created a Column in Purchase Order Screen and i have given two options by name Open/Close.
    I have Created new field by going into......................      Path: ToolsUserdefined FieldsManage User defined fieldsmarketing documentsrows.
    And i have selected check box  set valid values for fields  and i have given Open and Close Options.
    This is effecting in new Purchase Orders which iam creating from now. But it is not reflecting in Purchase docs which i have created earlier.
    So Please let me know what to be done inorder to reflect this change in all Purchase Order Doc's.
    Your Answers will be very much helpfull.
    Thankyou.

  • Purchase Order Report In R12

    Hi All,
    I have created a purchase order report in R12,in the test instance the report is running perfectly for all the operating units but when i moved the rdf to the LIVE instance the report is running for only one operating unit(nothing is hard coded in the rdf) and the report says completed normar but after clicking on view output i am getting a msg as the output is not generated for the concurrent request.
    After clicking on the view log i am getting an error msg as
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.US7ASCII
    Enter Password:
    REP-0004: Warning: Unable to open user preference file.
    Report Builder: Release 10.1.2.2.0 - Production on Tue Aug 19 16:41:18 2008
    Help me in fixing this issue.
    Thanks in advance

    Somu,
    chk note:
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=210795.1

Maybe you are looking for