Purchase Request (PR) to Purchase Order (PO) days taken

Expert,
We are using SAP 9.0 PL4
We need Query for PR to PO days taken
Example
I make Purchase Request on 05/09/14 than make Purchase Quotation on 07/09/14 finally made Purchase Order on 10/09/14 with line item 5
We need report
From PR date to PO date. How many days taken?
My problem is how to join with PR to PO directly because PR to PO not tag directly in between we made Purchase Quotation.
Please advise
Thanks in advance
Mukesh Singh

Hi Mukesh,
Try this query. It connects the 3 tables that you need. You need to add the fields that you want to see on the report.
SELECT T0.[DocNum], T1.LineNum, T0.[DocDate], T1.[ItemCode], T1.[Dscription], T1.WhsCode, T1.[Quantity], T3.CardCode, T3.Cardname, T2.BaseType , T2.[BaseRef] , T2.[BaseLine],  T2.DocENtry , T2.[Quantity] , T4.DocEntry, T5.DocNum, T4.Quantity, t4.price, t4.basetype
FROM OPRQ T0  INNER JOIN PRQ1 T1 ON T0.DocEntry = T1.DocEntry
left outer join PQT1 T2 on T1.DocENtry = T2.BaseEntry and T1.LineNum = T2.BaseLine and T2.BaseType = '1470000113'
left outer join OPQT T3 on T3.DocEntry = T2.DocEntry
left outer join POR1 T4 on T2.DocENtry = T4.BaseEntry and T2.LineNum = T4.BaseLine and T4.BaseType = '540000006'
left outer join OPOR T5 on T5.DocEntry = T4.DocEntry
order by t0.docnum, T1.LineNum
Regards,

Similar Messages

  • Purchase Request 'copy to' Purchase Order

    Hi Experts,
    Is it possible to select specific Items in Purchase Request before converting it to Purchase Order?
    For example, I have 100 Items on Purchase Request and only 5 items should be converted to Purchase Order.
    I am using SAP B1 9.0 pl.5
    Thanks!

    Hi,
    Is the issue is rectifed ???
    if yes,can u please close the thread ....!
    By marking the "Correct Answer"...
    Regards,
    Prasad

  • Purchase request for stock material

    Hi
    when MRP runs, take all purchase request of all production order for STOCK material and aggregates all request together in one purchase order. In this way, I lost binding between purchase request and production order. Is there a way to make MRP not aggregating request but use different position for different purchase request in case of stock material?
    regards
    Gabriele

    Gabriele,
    MRP does not create purchase orders.  I assume you are talking about the Purchase requisitions created by MRP.
    In MTS by definition there is no 'binding' between supply elements (such as Purchase reqs) and demand elements (such as production order reservations).  In MTS, all production is 'anonymous'.
    You can cause MRP minimize the amount of aggregation of supply elements by changing lot size of the components to EX, and ensure that the 'individual/collective' indicator (MRP4) is not set to '2', but there is no way to guarantee a 1-to-1 relationship under all circumstances between mrp rqments and mrp supply (purchase requisitions)
    Companies that have a business requirement to 'hard-link' supply to demand use MTO.  If this is your requirement, it will never be completely satisfied with MTS.
    Rgds,
    DB49

  • Purchase order vs Purchase Request vs Purchase Requisition

    Good Day Gurus,
    Could someone tell me the differences bet these three in detail
    thanks in advance

    1) Purchase requisition created by user dept. or automatically by MRP run, which can be converted to purchase order or RFQ (request for quotation). its a internal document
    for more details:
    http://help.sap.com/saphelp_47x200/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm
    2) Purchase request : nothing like this in SAP
    3) Purchase order : A out going document which we send to vendor or supply plant to deliver required materials with other condition like when to delivery ,delivery address, pricinging condition, payment terms and condition etc
    for more visit http://help.sap.com/saphelp_sbo2004a/helpdata/en/32/27074bfc8bb54ba46dc5e76a8838f4/content.htm

  • Purchase Order and Purchase Request

    Hi Gurus,
    do you know how can I get a Purchase Request Number for an item in Purchase Order?
    I cannot find it in any BI Content Data Source...
    Regards,
    Dorota

    In R/3 tr: /nme23n- display purchase order
    It will show the last Purchase Order that you displayed.
    On the Purchase order on the top left corner, click on purchase order, and click "other purchase order".
    the pop up asks you to enter either purchase order or purchase order number
    enter the purchase request number for which you want to see the purchase order and hit ok and vice versa..
    go to status tab and double click on purchase order
    you will get the corrsponding purchase order for the purchase request..
    and if you chose purchase order on the pop up you can get the purchase request number
    For the data source:
    2lis_02_itm, 2lis_02_scl
    http://help.sap.com/saphelp_sm32/helpdata/en/8d/bc383fe58d5900e10000000a114084/content.htm
    Both of them together can address your requirement.

  • Vendor down payment request to MM purchase order

    We want to post vender down payments request and make the relation with the purchase order.
    Up to now the systems ask for the purchase order number (mandatory) and the line item number (mandatory)
    As we have with our customer PO's with sometimes more than 100 line items, we do not want to relate down payments request for every PO line item.
    Is it possible to link the total amount of the down payment request to the purchase order as a whole, so without the line item numbers.
    Thanks
    Martien
    Edited by: M. van den Eshof on Mar 12, 2010 1:10 PM

    Dear Martien,
    we have had the same problem here at our company. In ECC6.0 we haven't found a solution for this.
    We are doing a workaround:
    We post the down payment request only on one, the main item in the purchase order. But this causes negative effect on cash management.
    If you find a other solution, so please tell me.
    Best regards.
    Manuel

  • Down payment request to the purchase order as a whole for f-48

    Hi Gurus
    I want to post vender down payments request and make the relation with the purchase order.
    Up to now the systems ask for the purchase order number (mandatory) and the line item number (mandatory)
    As we have with our customer PO's with sometimes more than 100 line items, we do not want to relate down payments request for every PO line item.
    Is it possible to link the total amount of the down payment request to the purchase order as a whole(we can say as Header), so without the line item numbers.
    Actually looking for any screen exit is available for that or any other way.
    Regards
    RK

    Check for FI user exits in this link
    http://wiki.sdn.sap.com/wiki/display/ERPFI/UserExitsin+FI
    Check also this links
    USer Exit / Badi F-47  & F-59
    http://wiki.sdn.sap.com/wiki/display/ABAP/Find%2bApplication%2bclass%2bwith%2bExits%2band%2bBadis%2bfor%2ba%2bTransaction
    Edited by: Jeyakanthan A on May 25, 2010 1:03 PM

  • Down payment request to the purchase order as a whole

    Hi Gurus
    I want to post vender down payments request and make the relation with the purchase order.
    Up to now the systems ask for the purchase order number (mandatory) and the line item number (mandatory)
    As we have with our customer PO's with sometimes more than 100 line items, we do not want to relate down payments request for every PO line item.
    Is it possible to link the total amount of the down payment request to the purchase order as a whole(we can say as Header), so without the line item numbers.
    Regards
    RK

    Hi
    Actually looking for any screen exit is available for that or any other way
    Rgs
    RK

  • EhP 5 New function, sharing template of Purchase Request or Purchase Order

    Hi Experts,
    From SAP ERP MM EhP 5, we can create, save and load " template " of Purchase Request or Purchase Order.
    This is discribed on SAP release note of EhP 5 "LOG_MM_CI_3: Public Templates in Purchase Orders and Requisitions".
    Does someone know whether this public document template is shared cross company codes, cross clients?
    Best regards,
    Tadasuke

    Hi Tadasuke,
    Maybe here you can get some info
    https://websmp107.sap-ag.de/erp-ehp
    Regards

  • Wrong updation of Business Area in Purchase Request and Purchase Order

    Hi Team,
               We have by mistake updated business area in purchase request and purchase order, how do we remove this from purchase request and orders. business area is not applicable in our business scenario.
    Do we have any standard correction program in sap to remove this.
    Please suggest.
    Kind Regards
    Sreeddhar

    Hi  Emrah Iscigil,
                             Can you please be explain in detail.
    Kind Regards
    Sreedhar

  • WF: mail to user for purchase request and purchase order

    Hi all,
    I activated the WF for released of purchase request and purchase order and the system correctly send mail to the user, but not only one, seven mail for purchase request released...
    Is there a possibility for sending mail only time?
    Thanks!
    Best regards,
    Gaetano

    can you please check the parameters you have maintained for the report which is used for generating the mails?
    please maintain the flag --> one mail for workitem --> and let me know the system response.

  • Item text in Purchase request is not copied to Purchase orders.why?

    que1:Item text in Purchase request is not copied to Purchase orders.why?
    que.2:where this item text is get stored, i mean to ask which table.
    please reply asp.
    SAP Learner.

    hi
    >que1:Item text in Purchase request is not copied to Purchase orders.why?
    spro >mm>Purchase Order>Texts for Purchase Orders>Define copying rules for item(line item) texts.
    spro >mm>Purchase Order>Texts for Purchase Orders> Define copying rules for header text.
    >que.2:where this item text is get stored, i mean to ask which table.
    use function module  READ_TEXT and table STXL
    regards
    KI

  • Purchase requestions to planned order

    How to convert purchase requestions to planned order while running MRP.

    Dear Prabhu,
    1) MRP Creates either plan orders or Purchase Req Based on initial settings
    2) so if MRP creates plan orders then we need to Convert plan orders to Purchase req
    3) through t-code MD16 you can convert in Mass
    Regards
    Madhu

  • Purchase request referring to a deleted purchase order

    Hi,
    I'm working at a release upgrade from 4.6 to ECC 6.0 and I'm facing the following issue.
    I created a purchase order referring to a purchase request.
    Although I've deleted the purchase order, its number is still displayed in the purchase request.
    Instead in the previous release 4.6c, after having deleted the purchase order, its number disappeared.
    Do you know how to solve this different behaviour?
    Thanks!

    Ciao Elisa,
    If PO item was delete, system will update the PO qty in PR statistics with ZERO.  And appear information to advise this item has been opened. But 'Processing stat' will still keep 'B' - Ordered.
    For your reference, please also kindly review the note 493315
    FAQ: Purchase requisition (general)  -> question 1
    ~~~~~~~~~~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~
    1.  You delete a purchase order item with reference to the purchase requisition. Why is the last purchase order in the purchase  requisition not reset and why is processing status "B" not changed?
    Answer:
    See Note 65839.
    "This is actually not an error. This is because checks for whether a purchase requisition has already been completed are always made on the basis of the quantity ordered. The processing status and the last purchase order are not used in this case.
    Thus the processing status and the last purchase order are not reset, since it very often occurs that purchase requisitions are completed via several purchase orders - that is, they are partially ordered several times. In this case, it would even be completely incorrect to reset the status when deleting the last purchase order item, since the previous purchase order can still exist.
    However, since the program no longer has this information, namely, which purchase order is the last active one, the processing status is left on "B" and the purchase order number is not corrected, because this could only cause "even more incorrect" statistics."
    Regards,
    Mauro

  • Drill down of purchase request number field in Purchase order

    Hi, We need Drill down of purchase request number field in Purchase order. Please help.

    Hi
    In VOV8 as far as i understood by your query you are asking about the following :
    Enter Purchase Order number - This indicator checks for the purchase order number and if you dont enter the purchase order number then system will consider the sales document number as purchase order number
    Check Purchase order number  -  If you check then system  will check wheather the purchase order number existed or not for this sales document type
    Regards
    Srinath

Maybe you are looking for

  • Anyone else lose bluetooth connection with car radio since updating to IOS 6?

    I've lost consistent connection between my iPhone 4S and car radio (Kenwood) ever since I upgraded to IOS 6.  This is apparantly happening to lots of people. I use this bluetooth for hands-free calling on my phone so I'm hoping Apple will come out wi

  • Interactive Image: Text Styles?

    Is there a standard text style we can edit to modify what shows up in the text boxes when an interactive image zooms in? According to the Style menu it's "Body Bullet" text, which just by looking at it you know that's not right. I don't see an "Inter

  • See the user's hostname when doing transactions at any given time.

    Hi SAP Experts, I want to see the hostname it used the user when the user is executing a transaction at a particular date and month. And current condition Security Audit not active. Can I see this? I can see on tCode ST03N (1 month ago), but I can't

  • Duplicate profiles and Roles

    Hi, I created a few profiles with special roles and metadata fields in my ucm. I did all the work in my computer and now i want to change the machine(computer) and i don't want to loose all my work. Are there any ideas how to duplicate all my profile

  • How to connect to a foreign WS type HTTP with credentials using OSB

    Hello there! Im new with OSB and i need to connect to a foreign WS of HTTP type that accept and XML parameter (i use the post method to send it, but now i need to use this OSB system). How can i do this connection? if the url has a uri like this: htt