MIRO based on purchase order and delivery note

Hi
It seems I can do a supplier invoice based on PO or some POs.
I can also do a supplier invoice based on delivery note or some delivery notes.
But I can not do MIRO based on delivery note AND purchase order.
Business scenario: I need this when I have supplier invoice with a lot of lines based on a lot of different PO and different PO lines. The delivery note consolidate together all this different lines. Together with these lines I want to add another item of non good receipt item, so there is no delivery note.
I want to add this item with a reference to the PO line in addition to the lines that were created with a reference to a delivery note.
Thanks
Ofer

Thanks,
I want to use PO reference for specific PO and delivery note for other PO in the same invoice.
The problem is I cant use delivery note for the other PO cause there is no MIGO there.
Thanks
Ofer

Similar Messages

  • Joining Sales Orders and Delivery Notes in Query

    Hi Experts
    Please could someone provide me with the correct SQL syntax for joining tables ORDR, RDR1, ODLN and DLN1 in a query?
    I need to show a list of the (rows of all open sales orders) and (closed sales order (which have a delivery note) between certain dates).
    Thanks
    Jon

    Hi Gordon
    Thanks for your help.  Could you help me a little further?  I am writing the query to show me a mixture of (Open Order rows which contain item code 'C&P') and (closed orders between 2 dates which also contain C&P) - both need to have the customer having property 54 set as 'Y'
    Working with what you sent me it almost works but for some reason I cannt fathom it won't show the open orders only the closed.  I think it may have some do with my last JOIN
    This is what I have:
    SELECT T0.DocNum 'Delivery No', T0.DocDate 'Delivery Date',  T3.Quantity 'Delivery Quantity', T1.DocNum 'S/O No', T1.DocDate 'SO Date', T1.DocStatus, T3.ItemCode, T3.Dscription, T2.Quantity 'SO Quantity', T2.Quantity-T3.Quantity 'Balance Quantity', T2.LineTotal'C&P Price After Discount', T2.DiscPrcnt, T2.Project, T4.QryGroup54'Carriage Deal', t2.freetxt, t1.comments
    FROM DBO.DLN1 T3
    INNER JOIN DBO.ODLN T0 ON T3.DOCENTRY = T0.DOCENTRY LEFT JOIN DBO.RDR1 T2 ON T3.BaseENTRY = T2.DOCENTRY AND T2.ItemCode = T3.ItemCode LEFT JOIN DBO.ORDR T1 ON T2.DOCENTRY = T1.DOCENTRY INNER JOIN OCRD T4 ON T0.CardCode = T4.CardCode
    WHERE (T2.ItemCode LIKE 'C&P%%' AND T1.DocStatus='O' and t4.qrygroup54='Y')  or (T2.[ItemCode] LIKE 'C&P%%' AND T1.[DocStatus] = 'C' and T4.QryGroup54='Y' and (T0.DocDate Between '[%0]' and '[%1]'))
    Thanks
    Jon

  • Status of sales order and delivery notes

    Hello,
    what is the status of sales orders that permit to create delivery notes for this sales orders.
    And what is the status that block us to create delivery Notes.
    Regards.
    Zied.

    Hi..
    1. The over all status of the sales order in header shuld be Being processed...Rejection status shud be  nothing rejected..Delivery status shuld be Not delivered....Credit status shuld be Approved/released
    2. Status will be Blocked if any block is assing to the sales order or else it wud be Not blocked
    Reg,
    JJ
    Edited by: Jagsap on Nov 25, 2009 11:03 AM

  • Purchase Order and Delivery

    I am using DELVRY03 and FM: IDOC_INPUT_DESADV1. I want to in wch function does the PO confirmation and Inbound Delivery gets updated or generated. I want order confirmation without the inbound delivery.Can anyone help me in this matter????

    i got to know how to proceed. Thanks all for helping me out

  • Creation of Z reports for client adding two more column that is Purcahse order and delivery dates with Internal order wise

    HI Experts,
    Can any one help me to add two more column for standard report that is purchase order and delivery dates for Internal order wise.
    But here problem is when i checked with ABAP team they said there is no standard functional module to add two column.
    Please note below :
    Selection criteria is: 1) controlling area
                                  2) Fiscal Year
                                  3) From date and To date
                                  4) Plan Version
                                  5) Order Group.
    My client suggested : S_ALR_87012993 this tcode to run, but we suggested with S_ALR_87013019 as in this tcode we can get all the details
    That is required output fields, as it is showing all details but on yearly basis, he wants this to be period wise and also Abap team is not able to find standard functional module in the second tcode as well.
    Out Put fields to Pop up
    1) Orders.
    2) Budget
    3) Actual
    4) commitment
    5) Alloted
    6) Available
    These are two additional column
    7)Purchase order
    8) Delivery date.
    Require your help to know which all tables are included to extract above out put fields please help me.
    Thanks in Advance.
    Regards,
    Sudesh

    Hi Preeti,
    Thanks for reply, can you please let me know is there any other way to show the output fields.
    As my client is very specific to run the report on period wise, i also tried to execute the standard tcode S_ALR_87013019 and were we are getting all the required outputs to pop up but this is on year wise, but we can also check by period basis by clicking on order number and actual period basis where we can see period basis.
    Also one more question,what is the commitment table which is popping up in this, please advise.
    Thanks in advance.
    Regards,
    Sudesh

  • How to block sales order and Delivery order based on payment terms ?

    Hi  experts ,
    I have an sceneria to block the sales order and delivery based on payment terms ?
        For eg )  Customer payment terms  is Z001 which is 5 % discount within 30 days , No discount within 60 days.
                        My requirement here is a)   if open item exceeds 30 days , delivery to be blocked
                                                               b)  if open item exceeds 60 days , Sales order to be blocked..
    Pls give me a solution....

    HI Kakas,
    If possible in configuration , pls let me know .
    payment terms is     5 % within 30 days if customer pays
                                     No discount  within 30 to 60 days if customer pays.   
    Here , i need to control , sales order to be allowed and delivery not to be allowed  for a customer if any open invoice within 30 to 60 days and sales order to be blocked if  open invoice exceeds 60 days..
    Is this possible in Credit management ?.. 
    pls let me know...
    with Regards
    S.Siva

  • How to List Sales Orders based on Creation Date and Delivery Priority

    Dear all,
    How can we list Sales Orders based on creation date and delivery priority.
    I tried using vl10a transaction code, but there we can see sales order based on delivery date.
    we need to list all sales order based on delivery priority and sales order creation date.
    can any one of you tell me which standard report gives such kind of report. Your suggestions will be highly appreciated.
    Thank you
    Raghu Ram

    Hi Raghu,
    There is no st report available as per your req.
    Using SQVI, you develope one report that is list of sales orders based on your req.
    SQVI is used to convert a Quick View into a query.
    Quick Viewer:
    The Quick Viewer allows you to define reports without having to program yourself. The Quick
    Viewer is especially useful for new users and occasional use.
    Quick Viewer is a tool for generating reports. SAP Query offers the user a whole range of options for defining reports. SAP Query also supports different kinds of reports such as basic lists, statistics, and ranked lists. Quick Viewer, on the other hand, is a tool that allows even relatively inexperienced users to create basic lists.
    Quick View definitions are user-dependent. You can transfer a Quick View into SAP Query in order to make reports, for example, accessible to additional users, or to use the other functions available in SAP Query.
    The following is a comparison of Quick Views and queries:
    Quick Views possess the same functional attributes as queries. However, only basic lists may be defined with Quick Views.
    In contrast to queries, no user group assignment is necessary with Quick Views. Each user has his/her own personal list of Quick Views. Quick Views cannot be exchanged between users. Quick Views may, however, be converted to queries and then be made available to other users in a specific user group.
    Info Sets are not required for Quick View definition. Whenever you define a Quick View, you can specify its data source explicitly. Tables, database views, table joins, logical databases, and even Info Sets, can all serve as data sources for a Quick View. You can only use additional tables and additional fields if you use an Info Set as a data source.
    The Quick Viewer uses various controls. Certain hardware and software requirements must also be fulfilled before you can use the Quick Viewer.
    To define a Quick View, you select certain fields according to your data source that determine the structure of your report. The report can be executed in basis mode with standard layout or may be edited using drag and drop and the other toolbox functions available in WYSIWYG mode.
    Reports created using the Quick Viewer may also be passed to external programs (Excel, for example).
    Call the Quick Viewer using System -> Services -> Quick Viewer (or transaction SQVI).
    Enter the name of the Quick View. Quick View names can contain a maximum of 14 characters.
    Choose Create.
    Enter a title for the Quick View and remarks, if you think they are relevant.
    If you do not want to base your list on a table, use the possible entries pushbutton in the Data source field to select another data source. You can choose logical databases or Info Sets. In addition, you may also create table joins. For further information, see Selecting a Data Source.
    Choose Basis mode if you want to create the list directly with no list design. Choose Layout mode if you want to define the layout of your list yourself.
    SQVI Table Quick viewer – Used to created quick client dependent reports
    Probably the easiest and most flexible way to do this is thru one of the ABAP query transactions.
    Transaction SQVI can do this and it has a very good help function that explains how it works... the drawback is that it is only for one user.
    You can play around with it and see if it meets your needs...
    The query results will come back in an ALV Grid or Excel... you can select what fields are returned, and have a selection screen to enter the search criteria.
    You can get the report by joining the tables VBAK and VBAP.
    If you have any queries, i will forward screen shots to your id.
    Reward points pls.
    Regards,
    Govind.

  • 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.

  • While executing TCode F13 and F13E, purchase order number is not appearing.how it should be displayed into tcode f.13, please any one help me

    While executing TCode F13 and F13E, purchase order number is not appearing.how it should be displayed into tcode f.13, what are the requirements need to display into tcode f.13, please any one help me, i am facing this problem in  production server

    Hi Nattu,
    Please check it will show the PO no under Purchasing doc field
    Check which layout you are applied.
    its should be
    SAP&F124
    Without Specification of Crcy
    Regd,
    Khan.

  • Linking field between purchase order and inbound delivery

    Hi
    I have to enter some data in the purchase order and it has to automatically updated in the inbound delivery.
    For eg: if we enter bill of ladding number in purchase order, it has to get automatically populated in inbound delivery.
    Regards
    shaker

    Hi,
    Is the example provided by you, just for example purpose or is that the field you want to copy? If that is the field you want to copy from PO to Inbound document, then how would you know the BoL no. / details at the time of PO creation?
    However if it is just an example & you want to copy some other field, then you might want to evaluate the below exits:
    MM06E001  User exits for EDI inbound and outbound purchasing documents
    LMELA010  Inbound shipping notification: Transfer item data from IDOC
    Check with your abaper.
    Regards,
    Vivek

  • RFC For Order and Delivery creation in SD from CRM - text not getting copie

    Hi
    I am trying to find out how the order and delivery is created in R3 if I create a return order in CRM, as we have one issue in which the text is not being copied to delivery??
    Thanks in advance
    Sameer

    Please check if you have any custom code/user exit in ECC which uses transaction code (VA01 , VA02 or VA05 etc) prior to invoking credit checks. 
    Orders created via CRM will not have transaction code set (SY-TCODE).

  • I am not able to get in sales order and delivery  24 hours

    Hi Frinds,
    i am not able to get in sales order and delivery  24 hours even i have defined pick pack time wrkdays 24hrs in
    CONFIG PATH:-Implementation Guide for R/3 Customizing (IMG) -> Logistics ->Execution->basic shipping Functions-> scheduling-> Delivery Scheduling and transporting Scheduling -> Define Scheduling by Shipping Point Or Transaction code:-OVLZ.
    Expected  Results:-Create sales order and delivery and check that the delivery The order has 24 hours after the transfer order is confirmed to allow time to pack order
    *can you help any body  to get in sales order and delivery  24 hours .
    Regards
    Madhu

    Dear Madhu
    Apart from OVLZ, you can also check in VOV8 where for your sale document type, check whether any value is maintained in the field "Lead time in days" at the bottom screen.
    thanks
    G. Lakshmipathi

  • To Find MIGO, MIRO No of a Purchase Order and List Of Vendors ?

    Hi Experts,
    Required your inputs on the Following, Please Guide.
    1) My End user has created a Purchase order, and he has done G.R and followed invoice also. And he doesnt remember the G.R Number and Invoice Number, for that Purchase Order.
    a) How and where to find GR Number and Invoice Number for that Purchase Order ?
    b) Please sugest is there any transaction to find the GR Number and Invoice Number ?
    c) How to Find the Open Purchase orders? Is there any transaction to look Over Open Purchase Orders ?
    2) My Enduser has Created Vendors with respect to different Company Code.
    a) Is there any Standard report to find the List of Vendors with respect to Company Code ?
    Please advice with your Valuable inputs.
    Best Regards
    Javeed

    Hi,
    Go to transaction code ME23N and then at item level click on tab called u2018Purchase order historyu2019 for the particular item. You can see both GR & Invoice doc. No.
    Transaction ME2L to see the open PO.In the selection screen of this T code please select Scope of List u2013 ALV AND Selection Parameters u2013 WE101 . Then execute. You will get open Pos.
    Regards,
    Manish

  • Old Purchase orders and template - Price Information not taken into account

    Hi experts,
    In MDM catalog, I have a product with 'Price Information' and with 'Contract price'. I create a shopping cart with the 'Price Information'.
    Then, I create another shopping cart using the anterior througth the functionality 'Old Purchase orders and template'.
    The price taken into account is the 'Contract Price'
    Is this the standard procedure?
    Thanks in advance,
    R Silva

    as far as i know the price preference is in this order
    1. Contract price
    2. Purchase Info record
    3. list price
    so in that case - this is standard procedure
    you can confirm - by doing the same process for an item that  has ONLY price information (list price) and see if that price is copied from old to new SC
    thanks
    -Adrivit

  • Creat SC from Old Purchase Orders and Templates - Price not copied

    Hi Experts,
    When Creating SC usinfg  Old Purchase Orders and Templates interface ,
    All details are copied from Old SC to the New one , except the unit price of the item (It is created with price O )
    Please advise where we can set to copy the price also.
    Best Regards,
    Moshe

    15.02.2010 - 14:10:05 CET - Reply by SAP     
    Dear Moshe,
    Thank you for contacting SAP Active Global Support.
    I have logged on to the system and have checked the behaviour with the
    SC: 1000007814. The item in this SC is an catalog item, that means it
    has an catalog price too, which is 0 in this case.
    If you are using the copy function, the system validate the item, and
    set the original values (in this case the price) back to the standard.
    This is the standard behaviour of the system.
    Please use the catalog with price, as designed scenario.
    Kind Regards,
    Laszlo Tordai
    Support Consultant
    Active Global Support - Logistics

Maybe you are looking for