Track documents based on a purchase order

Hi,
One of my customers asked me yesterday if there is a good way to follow the steps from a purchase order to goods reciept and AP invoice? If you have a large purchase order with many items and only a few of them are copied to goods reciept PO at a time, and you have several goods reciepts PO and many invoices. How can one best track all of these documents and get a good overview?
I tried using Drag & Relate, but it's not good enough to get the whole picture. So I would really appreciate if you have some tips, or if there could be a way to create a report for which documents are based on a purchase order.
Best regards,
Lena-Marie

Hello Lena-Marie - welcome to the forum.  You might want to start with this and add some more into and/or change the WHERE clause to pull up the information you need.   Such as T2.DocNum =
This SQL was restricted to display only some open items...
If you need more help changing this particular SQL, just contact me directly through my business card's alternative...
Regards - Zal
--E-PU Audit Review of Purchase Orders to AP Invoices Workstation Ver 1 ZP 2011 02 14
--DESCRIPTION:  SQL shows ONLY those lines from the Purchase Orders or Goods Receipts or AP Invoice that are still open and needing to be worked.
--AUTHOR(s):
--Version 1 Zal Parchem 14 Feb 2011
SELECT
T2.DocNum AS 'Purch Ord',
T2.DocDate AS ' Ord Date',
T1.ShipDate AS 'Expected',
T1.ItemCode AS 'Product',
CASE
WHEN T1.[LineStatus] = 'O' THEN 'Open'
WHEN T1.LineStatus = 'C' THEN 'Closed'
ELSE 'Error'
END AS 'Row Stat',
CASE
WHEN T2.Canceled = 'Y'
THEN 'Yes'
ELSE ' '
END AS 'Cancelled?',
T1.LineNum+1 AS 'Line',
T1.Quantity,
T1.OpenQty AS 'Open Qty',
T4.DocNum AS 'Goods Rcpt',
T4.DocDueDate AS 'Rcpt Date',
CASE
WHEN T3.[LineStatus] = 'O' THEN 'Open'
WHEN T3.LineStatus = 'C' THEN 'Closed'
ELSE ' '
END AS 'Row Stat',
CASE
WHEN T4.Canceled = 'Y'
THEN 'Yes'
ELSE ' '
END AS 'Cancelled?',
T3.LineNum + 1 AS 'Line',
T3.Quantity,
T6.DocNum AS 'Return',
T5.LineNum +1 AS 'Line',
CASE
WHEN T5.[LineStatus] = 'O' THEN 'Open'
WHEN T5.LineStatus = 'C' THEN 'Closed'
ELSE ' '
END AS 'Row Stat',
CASE
WHEN T6.Canceled = 'Y'
THEN 'Yes'
ELSE ' '
END AS 'Cancelled?',
T5.Quantity,
T8.DocNum AS 'AP Invoice',
T7.LineNum + 1 AS 'Line',
T7.Quantity,
T10.DocNum AS 'AP Cred Memo',
T9.LineNum + 1 AS 'Line',
T9.Quantity
FROM POR1 T1
LEFT OUTER JOIN OPOR T2
ON T1.DocEntry = T2.DocEntry
LEFT OUTER JOIN PDN1 T3
ON T2.DocEntry = T3.BaseEntry
AND T1.LineNum = T3.BaseLine
AND T1.ItemCode = T3.ItemCode
LEFT OUTER JOIN OPDN T4
ON T3.DocEntry = T4.DocEntry
LEFT OUTER JOIN RPD1 T5
ON T4.DocEntry = T5.BaseEntry
AND T3.LineNum = T5.BaseLine
AND T3.ItemCode = T5.ItemCode
LEFT OUTER JOIN ORPD T6
ON T5.DocEntry = T6.DocEntry
LEFT OUTER JOIN PCH1 T7
ON T4.DocEntry = T7.BaseEntry
AND T3.LineNum = T7.BaseLine
AND T3.ItemCode = T7.ItemCode
LEFT OUTER JOIN OPCH T8
ON T7.DocEntry = T8.DocEntry
LEFT OUTER JOIN RPC1 T9
ON T8.DocEntry = T9.BaseEntry
AND T7.LineNum = T9.BaseLine
AND T7.ItemCode = T9.ItemCode
LEFT OUTER JOIN ORPC T10
ON T9.DocEntry = T10.DocEntry
WHERE
(T1.LineStatus = 'O' OR T3.LineStatus = 'O' OR T5.LineStatus = 'O')
ORDER BY
T2.DocNum,
T1.LineNum,
T4.DocNum,
T3.LineNum,
T6.DocNum,
T5.LineNum,
T8.DocNum,
T7.LineNum,
T10.DocNum,
T9.LineNum
FOR BROWSE

Similar Messages

  • Invoice Value tolerances based on the Purchase Order type..

    Hi Gurus,
    Can anyone please tell me if there is a way to assign the variance (tolerance limit) to the Invoice document based on the Purchase Order? What I want to do is that when the Invoice is posted in the system, the system should be able to check the document type of the Purchase Order and then based on that the tolerance limits should be applied on the Invoice. for example PO document type NB- tolerance for Invoice plus/ minus 10%, Document type FO- tolerance limit plus/minus 5%.
    I know we can do it based on the Vendor but we use the same vendors for a number of purposed ( a number of PO types)hence can use that.
    Thanks in advance
    Anoop

    Hi,
    Check on it:-
    Purchase Order Tolerance
    http://wiki.sdn.sap.com/wiki/display/ERPSCM/MM-IV-LIV-CRESetTolerancesforIncoming+Invoice
    pherasath

  • Material Statuses based on the Purchase order Document type

    Hi Experts,
    We need to maintain the Plant material status based on the purchase order document type.
    Example - If I am using NB for normal purchase orders and ZB for STO procurement then, there should be a material status which should give warning message - 'do not use ' for ZB STO purchase orders and it should allow to create NB purchase orders for that same materials.
    Please advise what are the possibilities?
    Thanks
    Regards
    MM

    Hi Gurus,
    Thank you for  your reply, Please find my replies below
    @@ - Mallinath - We need this restrictions for some type of materials ( with specific Material types) which should not be procured through inter company STO process, buying plant should use the normal purchase. for other Material types they should be able to use the inter company STO process.
    @@ DEV - We are already using the Spl. Procurement keys for inter company STO process.
    Example - Material type ZXYX should not use the inter company STO process, but it should be allowed all other processes.
    Please advise how we can control this process?
    Thanks
    Regards
    Raja

  • Create an AP Invoice based on a Purchase Order using SDK

    Hi,
    What are the steps to create an AP Invoice based on a Purchase Order using DI API?
    Which methods of which objects to use and what parameters to pass?
    Thanks.

    Hi Rajesh,
    Here is a sample to create an Invoice based on a Sales Order. The same way you can change as per your requirement:
    SAPbobsCOM.Documents oInvoice = default(SAPbobsCOM.Documents);
                oInvoice = (SAPbobsCOM.Documents)SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices);
                oInvoice.CardCode = "C000003";
                oInvoice.DocDueDate = DateAndTime.Now;
                oInvoice.Lines.BaseType = Convert.ToInt32(SAPbobsCOM.BoObjectTypes.oOrders);
               oInvoice.Lines.BaseEntry = Convert.ToInt32(3616);
               oInvoice.Lines.BaseLine = 1;
                oInvoice.Lines.Quantity = 3;
                oInvoice.Lines.Add();
                oInvoice.Lines.BaseType = Convert.ToInt32(SAPbobsCOM.BoObjectTypes.oOrders);
                oInvoice.Lines.BaseEntry = Convert.ToInt32(3616);
                oInvoice.Lines.BaseLine = 2;
                int kth = 0;
                kth = oInvoice.Add();
                if (kth != 0)
                    int irrcode;
                    string errmsg;
                    SBO_Company.GetLastError(out irrcode, out errmsg);
                    Program.oMainSAPDI.ShowMessage(errmsg, BoStatusBarMessageType.smt_Error);
    The main thing to remember is Base Type, Based Entry and Base Line.
    Hope it helps.
    Thanks & Regards
    Ankit Chauhan

  • Accounting document number display in purchase order history tab

    Is it possible to display the accounting document number in the purchase order history tab?  Currently it is displaying material document number for Good receipts and LIV (logistic invoice verification) document number for Invoice receipts against material document number colmn.  We can get to the accounting document number by drilling into the LIV document number.  We are looking for a way to display the accounting document number in the display screen of purchase order history tab instead of drilling down. 
    Is there an option to display accounting document number of the MIRO posting in ME23N , purchase order history tab?
    Truly appreciate any help in this regard.

    Thanks for the response.

  • What is the  FM/BAPI  to get the Goods Receipt  Based on the Purchase Order

    Hi ,
    I want FM/BPI  to get the Goods Receipt  Based on the Purchase Order in MM.
    Thnx in advance

    Hi
    BAPI_GOODSMVT_CREATE
    Thanks & Regards
    Kishore

  • Linking document info record and purchase order

    Hi all,
    I hope that someone can help me because I'm having a problem with creating links between document info records and purchase orders.
    By default in SAP I can create links between document info record and purchase order ITEMS! When I create that link, I can see it in document info record under Object links tab, but when I double click on the number of purchase order nothing happens (I expected that this purchase order will open).
    Why is that so?
    Why can't I access purchase order from document info record even though the link exists?
    The other question is about creating object links to purchase orders, not purchase order items! Is it possible to link document info record with purchase order?
    I would appreciate quick answer because we're in the middle of a project and we're stuck with that problem.
    Thanks!

    Hi Karlo,
             As you mentioned, object links could be linked to Purchase order items. In customisation you maintain these entries under the node SPRO > Cross Application Components> Document Management--> Control Data --> Define Document Types --> Define Object Links.
    There are many links in the standard system (possible entries).
    The system automatically determines the screen number (dialog box) where the key data for the object is maintained for document maintenance.
    You can check the screens when the screen entry is missing or contains errors by doing the following:
    Start the Object Navigator and display the objects for the development class  CV.
    Expand the function group 130. The structure nodescreens lista all screens that can be used for object links.
    You can make an object link to SAP objects that are not shown in the possible entries list. To do this, proceed as follows:
    In the standard system, there are already two special screens for the module pools SAPLCV130 and SAPLCV140 for the linked SAP object.
    You must create two new screens with the same number for the module pools SAPLCV130 and SAPLCV140 .
    The processing logic must follow that of screen 1204 in program SAPLVC130.
    Create function module OBJECT_CHECK_XXXX (XXXX = object name)
    If the object can be classified, this function module already exists .
    Otherwise copy the function module for linking equipment DOCUMENT_CHECK_EQUI and change it as required for the new object.
    Hope the above instruction helps in solving your problem,
    Sojan
    Note : Award points if you find the information useful

  • Document in transfer for purchase order - creation not possible

    Hi Experts,
    we get this error when we do confirmation"'document in transfer for purchase order - creation not possible'"
    any inputs are appreciated
    Rg
    sam

    Hi All,
    We have resolved the above problem.
    When user does confirmation ,if it sucessfully  created then there will be  no entry in BBP_Document_tab table.If it's in error in process and next time when user tries to do GR then he will encounter a pop up message "Document in transfer for PO, creation not possible".
    So we need to delete the entries from table BBP_DOCUMENT_TAB using FM BBP_DELETE_FROM_DOCUMENT_TAB.
    Then check again in BBP_DOCUMENT_TAB now there will be noentry there...so now user can do the confirmation from SRM,he will not encounter this error now.
    Thanks to all the ppl who has replied
    sameer

  • Cannot query AR invoices based on the purchase order number in R 12 1.3

    Hi,
    We need to query invoices based on the purchase order number, However when we try to Ct+F11 get the message *"Please fill in selective criteria in at least one of the following fields for performance reasons: GL Date, NUmber,Bill to etc."*
    Is this a new feature or a bug?
    Thanks and Regards,
    MPH

    Hi All,
    I found the solution in the following note.
    *How to prevent Blind Query or Query on Non Indexed Column in Transaction, Receipts, Collections forms? [ID 753222.1]*
    Thanks and Regards,
    MPH

  • Account Document Number Against the Purchase Order No.

    Hi,
    I have 2 queries in my report...
    1..i want Account Document Number Against the Purchase Order No.
    2..and Account Document Number Against the Invoice No.
    Note:.. Account Document Number have the 55... series. foe ex. 5500017019...
    Plz let me know in which table i can get it...
    Thanks...

    Hello Prince,
    To find the GR no. against the FI doc number the tables involved will be BKPF, RSEG, EKBE.
    Plz see the algorithm below for details:
    1. Select the A/C'ing docno. from BKPF. For the FI docs selected, get the incoming invoice details from RSEG.
    RSEG-BELNR = BKPF-AWKEY+0(10)
    RSEG-GJAHR = BKPF-AWKEY+10(4)
    Please note you can restrict the FI docs selections by using BKPF-AWTYP = 'RMRP'.
    2. From RSEG you get the PO number (RSEG-EBELN) & then go to the PO History Table EKBE to get the GR number (EKBE-BELNR).
    EKBE-EBELN = RSEG-EBELN
    EKBE-EBELP = RSEG-EBELP.
    Hope this is clear.
    BR,
    Suhas

  • Blocking goods receipt based on unprinted purchase order

    Hello,
    I want to block goods receipt based on purchase order that hasn't been printed yet. How can I do it? Thanks.

    Hi,
    I dont think In standard setting you cannot acheive this.
    First maintain print immediately while saving the application in condition record.
    Please provide the list of P.O's which you are investigating in ME9F, provide the application as EF and Processing Status as 0 (Not processed)
    This way, you will get the whole list of P.O's which have not been printed out, please note that outputs can only be processed on successfully released Purchase Orders.
    Show this to your technical team. They can develop a report using the same logic used above by the report and validate the PO as PO listed in the above report.
    and use exit in MIGO to validate.
    I have not tried this, I think you can achieve the requirement with help of technical consultant.
    hope it helps
    sBk
    Edited by: Sujithbk on Dec 27, 2011 12:09 PM

  • Tracking of information in a Purchase Order

    Hi,
    Can anyone explain how to put and track the below mentioned information in a Purchase Order?
    ETS (Expected Time of Shipment by Vendor)
    ETA (Expected Time of Arrival of goods at Customer location)
    Advance Payment made to Vendor
    Thanks in advance

    You can use confirmation control in PO for tracking
    1. OMGZ to Configure Confirmation control.
        Here you can specify the order in which you expect confirmations from your vendors.
    2. MK02 - to assign Confirmation Control to Vendor in Purchasing View.
    3. To view acknowledgments that have been received,
    in PO choose Item --> Confirmations --> Overview
    To track downpayment - check this out
    advance payment against PO

  • Changing PO document type for automatic purchase order opened by GR

    Hi to all,
    You know, there is a feature to customize automatic PO creation upon GR. The system uses "NB- Standart Purchase Order" document type. But, i need to use a different document type (like ZNB) that i have copied from standart one.
    How can I change default document type for PO in customizing. Or, am I able to do that in customizing.
    Thanks,
    Hakan.

    Goto OLME --> Define default value for document type
    here for T-code  MB01 - cahnge to your doc type
    Read that documentation for more info

  • Down payment based on the purchase order

    i raise one purchase order 1000 Rs  in t code me21n after popup with number.  based on purchase order i pay advance amount 500 Rs with reference of purchase order number (in  f-48 i have given number reference field). when i saw the purchase oder (me21n)  in status tab down payments fields not updated like purchase order 1000 only and down payment 0 only the system showing.

    Hi
    In F-48 enter the input parameters and when you click enter it takes you to next screen. here you would enter the amount for 2nd line item. It is here you would enter the Purchase doc field.
    If the same is not visible, then check the field status for the GL field status group in OBC4 and also posting key field status in OB41
    Thank You,

  • Standard SAP Document Type DB (Dummy Purchase Order)

    Hello fellow experts!
    I have seen this PO document type at previous clients and was wondering what the intended use is?  I know this was not customer-specific because I had seen it at several client sites (using 4.6c and 4.7).  It looks like my current client has deleted it from their list of document types so I can't research it myself.
    I first asked about it when I was attending SAP's MM Configuration course SCM550 several years ago.  This document type was not mentioned in any training materials but was clearly visible in the training system.  The instructor asked his colleagues at the end of the day but was never able to provide an answer.  I see no reference to it on help.sap.com or by doing a Google search.
    Any information would be greatly appreciated.  There may be some great functionality I've never known of!
    Regards,
    Jason

    In ECC 6.0 It is blanket PO
    Dummy PO and Blanket PO are same
    In general the Blanket POs are used for consumable materials such as Xerox papers with a short text (does not need to have Master Record) with Item Category ' B' i.e.limit, where in the PO validity period as well as the limits are to be mentioned for the simplicity of procurement.
    In SAP, Blanket Purchase Orders refer to the business process where you have a Purchase Order with a validity period (start / end date) and a limit on the item. No Goods Receipt takes place. Payment is triggered by Invoice.

Maybe you are looking for

  • 24" 2.4ghz imac freezes constantly after 10.5.8 update

    Hi, I have a 24" al imac that run perfectly for years until I installed the 10.5.8 update. Now my screen dims, displays the power button graphic and says "press the power button to restart..." which I do and then send the report to apple... It's lock

  • Import from p2 hd cards to final cut x

    It wont import from my p2 hd cards to my FCX ? any answers?

  • Create AP payment via Cash Management

    Hi all, In EBS 12.1.3 i try to create an AP Payment via Cash Management Responsibility. But when the forms redirects me where i should create the payment - one of the field/BANK_ACCOUNT_NAME/ is populated by default with strange value. I suppose it s

  • Printing Documents through the Default Printer

    I have come across a problem, where it is getting difficult for me to enable my swings application to print a paper through the default printer which is installed. What should i do in this regard?

  • Upgrading from ios 3.1.3  to ios 4.3

    i have an iphone 3gs running on ios 3.1.3. i want to upgrade to ios 4.3. will i lose all my data  such as songs, contacts, messages on my iphone? and if so, is there any way of doing this without losing data?