STO - IDOC INVOIC - MM Receipt on Delivery note rather PO number

Hi Gurus,
I'm processing an MM Receipt INVOIC IDOC to create an Intercompany Vendor Invoice against a Purchase order.
This is integrated in a standard Stock Transfer Order. This IDOC is generated using Output type RD04 from Intercompany billing.
When SAP creates IDOC, it is based on the Delivery note number rather than the PO number, even I have the PO and Delivery in my PO historic, and even if I have IDOC segment E1EDP02 QUALF 001 with PO and segment E1EDP02 with QUALF 016 with Delivery note.
I tried to managed PO item flags: "Invoice Receipt Indicator" or "Indicator: GR-Based Invoice Verification".
But there is no impact.
When I create the MM Receipt manually using TCode MIRO in reference to the PO. It works.
When I create the MM Receipt manually using TCode MIRO in reference to the Delivery not. It doesn't work. I got the same error message "Delivery note/service entry sheet xxxx does not exist".
I conclude that when SAP performs the IDOC, someting in the IDOC tells him to create a invoice in reference to the Delivery note rather than the PO. How can we change it?
Please, could you help me to understand this blocking point and to allow to create the MM Receipt on PO?
Many thanks.
Stéphane.

hello, friend.
i am not an expert in MM, but....
i noticed that when using MIGO, you can do GR based on an inbound delivery, and maybe also an outbound delivery (from STO).  an outbound delivery created in an STO scenario should have links to the STO related PO.  could this be the link you are looking for?
regards.

Similar Messages

  • How to create excise invoice with refer to Delivery Note

    Hi SAP Expert,
    I am doing STOCK Transport process from factory to depot and hitting error while creating excise invoice in Factory.
    From SAP help on Creating Excise Invoice, it said :
    From the SAP Easy Access screen, choose Indirect Taxes ® Sales/Outbound Movements ® Excise Invoice ® For Sales Order ® Outgoing Excise Invoice Create/Change/Display ® …
    If you want to create the excise invoice with reference to a pro forma excise invoice or commercial invoice, choose Excise Invoice ® Create.
    If you want to create the excise invoice with reference to a delivery note, choose Exc. inv. for delivery ® Create.
    Enter the number of the reference document.
    - When i created the excise invoice with reference to a STO Delivery Note, i am getting error : " For delivery 800050092 no document of type JEX exist "
    - I already setup the config to assign Delivery Type NL to billing type JEXP.
    I was doing the steps as below :
    1. ME21N u2013 Create Stock Transport Order
    2. VL10B u2013 Create Outbound Delivery w.r.t. STO
    3. J1IIN u2013 Create Outgoing Excise Invoice w.r.t. Delivery Note
    - Anything that i am missing ?

    Hi Guru,
    Thanks for your reply. It is my typo error. I have maintained the delivery type NL to billing type JEX, instead of JEXP
    I am getting error :
    For delivery 800050092 no document of type JEX exist
    Message no. 8I320
    Diagnosis
    The excise reference document defined does not exist for the delivery.
    Procedure
    Create the excise reference document before running the excise posting transaction.
    - What is it means by create the excise reference document before running the excise posting transaction ? Do I need to create Pro-forma invoice prior to execute transaction J1IIN ?
    I did not check the selection for ": Excise Inv during Billing " in my Excise Group maintainance.

  • IDOC for transfer order for delivery note LT03

    Hi All,
    I need to generate an outbound IDOC upon transfer order creation in Tcode LT03.
    I found there are two types of IDOC discussed in this forum before. One is the Canceling Transfer Order IDOC and another one is the Confirmation Transfer Order IDOC.
    I'm not sure whether these relevant to what I need or not.
    Can i know what FM, message type and basic type should I use for this situation?
    (generate an outbound IDOC upon transfer order creation in Tcode LT03)
    Please advice.
    Thanks.
    Best Regards,
    JL
    Message was edited by:
            KAR SENG LAW

    I found something here,
    Someone is using FM: L_IDOC_INPUT_WMTORD, message type WMTORD and basic type WMTOID01 in doing this when trying to send an Idoc to an external system when a transfer order for a delivery note is created (LT03). Is it OK ?
    need advice.
    Thanks again.

  • Inbound IDoc MBGMCR02 Goods receipt for delivery status 51 Reference Docume

    Hello IDoc experts,
    I try to do a goods receipt for an inbound delivery using inbound IDOC MBGMCR02.
    The inbound delivery is linked to only one PO, and the bill of lading number in the delivery is unique.
    Still I get the following error message:
    Reference Document Number is existing at more then one Purchase Order!
    The inbound delivery is linked to only one PO, and the bill of lading number is unique
    These are the fields I fill:
    E1EBP2017_GM_HEAD01
            PSTNG_DATE:  '20100421
            DOC_DATE:   '20100421'
            REF_DOC_NO: 180000008 (number of the inbound delivery)
            BILL_OF_LADING: 4500001992 (I have put the PO number in the bill of lading number in the delivery)
    E1EBP2017_GM_ITEM_CREATE
            MATERIAL: CH0463COEUR\1 (material number of the first item of the delivery)
            PLANT: ST01
            STGE_LOC: 0001
            MOVE_TYPE: 101
            VENDOR: 100080
            ENTRY_QNT: 100
            ENTRY_UOM: PCE
            ENTRY_UOM_ISO: PCE
            PO_PR_QNT: 100
            ORDERPR_UN: PCE
            ORDERPR_UN_ISO: PCE
            PO_NUMBER: 4500001992
    E1EBP2017_GM_ITEM_CREATE1
            DELIV_NUMB: 180000008
            DELIV_ITEM: 10
    Do you guys have any idea where I go wrong?
    Kind regards,
    Rudy Zijp

    I hope you filled the moment typ indicatior E1BP2017_GM_ITEM_CREATE.MVT_IND to 'B'.
    and E1BP2017_GM_CODE-GM_CODE  to '01 and for Bill of lading field also pass delivery nymber.
    please try with these inputs.
    Regrds,
    Suresh
    Edited by: Suresh Reddy Avutu on Apr 29, 2010 4:40 PM

  • Double Invoice Check - Against the Delivery Note/ Bill #

    Dear All,
    I have a requirement here, Bit different from the Regular Double Invoice Check,
    I will receive the Material A, 10 different times, will do the GR 10 times & enter the Bill # & Challan # during GR. While posting the Invoice i want the system to check against which Bill # i am posting the invoice. Say during GR my Bill #s were 1 to 10. I receive the Invoice from my Vendor from 1 to 5 today, so i posted the invoice. After few days He will send a duplicate Invoice with Bill # as 5, & he will inform me that he lost original Invoice so he is sending the duplicate. As i have'nt posted Bill # 6 to 10, system will accept the Bill 5 also again. How can i avoid these things ?
    regds,
    CB

    Hi,
    Already I am maintaining these Bill # & Delivery Challan # during GR. My issue is during Invoice i want a check. In Invoice we have a reference field at header, If i am posting a single GR as a single invoice thats OK. But if I am posting more than 1 GR in single Invoice, where can i maintain the Bill # ? Any solutions pls ?
    regds,
    CB

  • Delivery note of GR not appearing in Freight Invoice

    While doing GR I entered Delivery Note.But while preparing Invoice against Freight Vendor Delivery note is not appearing in MIRO whereas delivery note is appearing while preparing Invoice against Goods/service items.I want the delivery note to appear when I am preparing invoice against Freight Vendor through MIRO.

    Hi
    Delivery note will come at Item level of the MIRO.
    create the miro and check the item level. It will come after GR Block stock field
    regards
    Prasanna

  • EDI 810 - Delivery note/service entry sheet does not exist

    Hello,
    When 810 Inbound Invoice IDOC is processed with two different materials having the same delivery note number using the function module IDOC_INPUT_INVOIC_MRM, the IDOC post with error code '51 Delivery note/service entry sheet does not exist'  Message class M8 Message number 183. The goods receipt has already been posted for the materials with the same delivery note number in SAP.
    Any feedback??
    Thanks

    Hi
    i had a Similar issue, where the IDOC is getting stuck with Delivery note does not exist.
    You can check Note 1063742. this may help you here. If the note does not work for you then there could be an issue with the fucntion module ME_SELECT_DOCUMENTS since it is only looking for table EKBE-VGABE. where vgabe EQ '1' OR vgabe
    EQ '6' but the delivery document no in the table is 8.
    I am guessing that this could be the issue. My Issue is still not resoved, so i thought of sharing my inputs with you.
    this may work for you.
    If this is already solved for you do let me know what has been done here.

  • Different delivery note in Miro

    Dear all,
    I have three different delivery notes for a PO. I enter this delivery notes in Migo. Now I 'm looking  first delivery note   in Miro ,  I see total quantity that what we enter in Migo. But I want to see what I enter for  this delivery note . How can I see one by one delivery quantity in Miro ? Because I can't check    invoice and delivery .
    Thanks in advance.
    Best regards,

    Hi,
    In MIRO if you enter the PO number system will show all the Deliveries done with respect to PO means if you done deliveries with respect to PO then system will show three line items with quantity & amount on the MIRO screen.
    As you posted 3 deliveries for that PO then in MIRO check there will be 3 line items and also you can find 3 deleivery numbers on the screen.
    In MIRO you can also have a option to post the invoice with respect to Delivery note number. Exact qty and amount will be shown as per delivery note number in MIRO.
    rgds
    Chidanand

  • Delivery note not being created

    Hi,
    I created 2 stock transport orders for a material, having stock qty of 10.  In first STO, i gave qty as 6 and in second STO as 10.
    While create delivery note for second STO (VL10G), since qty was less in stock it only created delivery note with 4 quantity out of 10 mentioned in STO.  Now I added 10 more quantity to stock. 
    But while trying to create another delivery note for pending quantity in second STO in VL10G, the system is not creating another one. Kindly explain.
    regards
    fozters

    Hello,
    Check whehther you have raised the stock in the delivering plant or not. Go to chenge mode of PO and check the availability Environment --> Availability.
    If the stock exists in the delivering plant, you should be able to generate the delivery document from the STO.
    Are you getting any error while trying to create delivery in the background VL10G?
    Prase

  • Delivery note field name and table name in MIGO

    hi experts,
    i want to fetch delivery note for my material document  in MIGO.
    Also based on MIGO delivery note NUMBER , i need to fetch MIRO document number i.e  mir4 dcoument number.
    kindly provide field name and table names for delivery note .
    thnaks &r egards,
    raghul

    hi karthik,
    Thanks for your quick reply.
    Actually i developed a zreport which consists of fields
    1. vendor
    2. refrence
    3. po
    4. material
    5. material document
    6. qty
    7. amount
    8. movement type
    9. plant
    These data i fetched from MB51  by using submit logic.
    All above fields are in one internal table.
    Now Based on MB51 reference  number , i want to fetch
    1. MIR4 number
    2. delivery note
    IN MIR4 tcode.
    Refrence number from MB51 and delivery note in MIR4 document are  same  .
    kindly give me suggestions how to get delivery note and MIR4 number ( inv number) in MIR4 TCODE
    thanks & regards,
    Raghul

  • How could I config a Delivery Notes for a shipping point ?

    Hi Experts!
    I need to config a new delivery notes especially to tie a shipping point and a revenue channel...do you know how to proceed??
    Actually, my client already have a delivery note for a shipping point and a revenue channel, but now I need to create another type of delivery note with other number range for a different shipping point and revenue channel...
    I do not know the path in spro neither if I need to use a Tcode transaction....
    Please let

    the path is for creating new delivery types which can be processed thru txn vl01n, vl10b etc. when you want different delivery types to handle differnt sales document types.to deal with say free samples exports sales from depots etc differently.
    you must be meaning the output from vl03 , is it?

  • Invoice and delivery notes - idocs..

    Hello SD experts,
    I am new to SD.
    Can any one tell me what is the invoice. I mean
    what are the table AND transaction codes I have to go and check ?
    What are delivery notes ?
    My functional consultant is telling that
    there is a consolidated invoice and there are 2 delivery notes that are being combined for this invoice. The invoice # is 6016186004
    For DN#   6073107044 there is a VICS BOL that was passed back that is = 04000000000016146 
                   6073107045 there is a VICS BOL that was passed back that is = 04000000000016023
    and he wants to know how the program selects which VICS BOL fields in IDOC.  He gave me to use IDOC #77122253 in quality system for testing.
    In this case , Idoc checking/testing...I need to go to RSNAST00 program ?
    If so then what are the I need to give
    Output application    (is it V1 or MR ?)       
    Output type    ??

    hi ..
    Please refer below..
    for invoice ,  tables: VBRK and VBRP
    AND transaction codes : VF01 to 03.
    What are delivery notes ?
    after goods issue, we need to issues delivery note to customer.
    In this case , Idoc checking/testing...I need to go to RSNAST00 program ?
    you need to go to VL70 or you can process with RSNAST00.
    Output application type : V2
    Output type : LD00
    Regards
    Venkat.. Ananth Technologies

  • Delivery note cancellation in case of proforma invoice

    Hi SAP Gurus
    I am in a typical automotive industry project where stock transfer takes place from factory to Sales Depo. In thsi case we generate STO orders - delivery note-- PGI-  Proforma invoice--- Excise invoice .
    Now as no accounting documents are generated in the proforma invoice cancellation of proforma invoice is not possible.So it happens that user reverse the PGI and cancels the delivery note.
    In many cases he/she remebers to reverse/cancel  the corresponding excise invoice generated but there are frequent cases as well where delivery note is reversed and cancelled without reversing/cancelling the corresponding Excise Invoice. 
    So i require
    1. Either the corresponding excise invoice gets cancelled at the time of cancellation/reversal of  delivery   note.
    2. If i could create an error message and validation check that restricts and informs user that a corresponding Excise invoice exists or excise invoice still open .
    Please help me out.
    Regards
    Jaydeep

    You can very well control this issue via BADI  LE_SHP_DELIVERY_PROC  where you can see various "Methods" in which you can also see "DELIVERY_DELETION".
    Tell this requirement to your ABAPer who can very well complete the task by using the above method.
    thanks
    G. Lakshmipathi

  • Create a delivery note after an advance invoice is paid

    Suppose that the use of an advance invoice is that you deliver items to your client only after your client has paid the price for these items in advance.
    Now assume the following situation:
    1.
    You book an advance invoice.
    2.
    You wait until the amount of this advance invoice is paid by your client, i.e. until you are informed by your bank on the receipt of a payment.
    3.
    You book the receipt of payment in SAP.
    4.
    After this the status of the advance invoice is set to closed by SAP.
    5.
    This document status makes it unpossible to create a delivery note related to the advance invoice - the only way is to create a seperate delivery note without any relation to the original advance invoice.
    My question: Did I get the situation right? In this case I would say that the behaviour of SAP is erroneous - or are there any implicite reasons for this design decision?
    Any idea to come along with this?
    Thanks for your help!
    Frank.

    My question was too hasty.
    As I wrote in step 4 of my initial message after booking of payment in SAP the advance invoice is closed - this is correct.
    But my conclusion in step 5 is not correct in total:
    It is correct that you cannot create a delivery note as a sequel document to the advance invoice using "copy to" in the advance invoice form, since the advance invoice is already closed -
    but you can create a sequel delivery note document using "copy from" in a delivery note form related to the already closed advance invoice!
    Hence my question is obsolete!

  • Link between Invoice and Delivery note

    Hi,
    Here I am having a requirement to get all the GR made against an Invoice.
    Let me explain it.
    I am having one Purchase order. Now I made the GR with a delivery note number. Now in MIRO I pass the bill or create the Invoice against the delivery note. Now I want to know the delivery note number against that invoice number.
    I cant go by the Purchase order no and item number also. Because I have to show the delivery note number against that Invoice number only. Because so many Invoices and GR can be created for the same PO item.
    FYR please go through the my thread in ABAP general
    [Link between the Invoice and material document;
    Regards
    Shiba Prasad Dutta

    Hi Experts,
    I also need help on this issue. I have a PO with several GRN per item. Also, I already have some invoices registered ate MIGO.
    On EKBE table, per PO, per item, i can check how many GRN I have (VGABE=1) and how many Invoices do I have (VGABE=2) regarding that item of the PO.
    What I need to konw is how can I link the Invoice to the PO.
    Example: EKBE table
    PO ITEM VGABE Material DOC Number
    A    10        1                   100
    A    10        1                   200
    A    10        2                   300
    I can I know, in  terms of tables and fields linkage, to what GRN does Invoice 300 links to?
    Many thanks.
    Joana Faria

Maybe you are looking for

  • How can I build automatically jar with Eclipse?

    Hi, I try to build automatically jar file each time when I save my project.Until now I used right click and Export to jar but that take me more time and it is not efficiently.I have try to configure an new builder from project->properties-> builders

  • Please help to find the correct answers

    Hi, Please send an url to study about the below questions with short and easily understandable explanation with simple example.Please help to improve my knowledge for the below concepts. 1.     String 2.     String Buffer 3.     String Builder 4.    

  • Select a photo via buttonGebruiker van Formulier een afbeelding laten selecteren en dit in formulier invoegen.

    I am working on a form where in the user should be able to select a picture/photo via a button in the form. The button should then open a new window in which the user can select his or her picture/photo. So n the form I am making I thought to insert

  • Unable to transfer music from MacBook Pro iTunes to iPod iTunes

    After syncing my iPod to my computer through iTunes, I have always had my music transfer over without any problems.  Yet this time, after trying to transfer all the songs from my computer to my iPod (which was just a single album), it did not work, m

  • Configuration required on NWDi to use CAF

    Hello Everybody, What all configuration is required on NWDI, if I want to develop CAF rpject through NWDI? Provide all installtion steps and configuration steps. Thanks in Advance, Bhavik