Enhancement on MRRL - Create MM ERS Invoice based on Head Office

Hello Experts,
There will be multiple vendors who supply materials.  However, the Invoice should be created only on the Head Office Vendor. This is standard functionality.
Supply vendor 1 - Head Office - X
Supply vendor 2 - Head Office - X
While creating invoices on the head office, the system should create only one invoice for all the purchase orders / GRs from all the supply vendors who have the same Head Office ( partner function PI).
Standard possible options are
1. Document selection per vendor
2. Document selection per purchase order
3. Document selection per order item
4. Document selection per delivery document/service entry
MM space replied
Hi,
   Refer the note: 520814 - MRRL: System behavior during document selection which explains the system design and the note: 159455 - Documentation: Enhancement MRMH0001 (MM-IV)  which explains the exits and the trigger points.  You may check the feasibility.
Regards,
AKPT
I saw there is an exit MRMH0001, but I am stuck to proceed further.
Anyone implemented for the same requirement.
Regards,
Vadamalai A

Thanks for your reply.
How to get the selection screen value 'Doc. selection' in the program Include ZXM08U20.
Below are the values are exist in selection screen
1. Document selection per vendor
2. Document selection per purchase order
3. Document selection per order item
4. Document selection per delivery document/service entry
Regards,
Vadamalai A.

Similar Messages

  • Create MM ERS Invoice based on Head Office-MRRL

    Hello MM Experts,
    There will be multiple vendors who supply materials.  However, the Invoice should be created only on the Head Office Vendor. This is standard functionality.
    Supply vendor 1 - Head Office - X
    Supply vendor 2 - Head Office - X
    While creating invoices on the head office, the system should create only one invoice for all the purchase orders / GRs from all the supply vendors who have the same Head Office ( partner function PI).
    Standard possible options are
    1. Document selection per vendor
    2. Document selection per purchase order
    3. Document selection per order item
    4. Document selection per delivery document/service entry
    Is there any settings to achieve or any development needed?
    Can you please anyone worked on this scenario?
    I appreciate your earliest response.
    Regards,
    Vadamalai A

    Hi,
       Refer the note: 520814 - MRRL: System behavior during document selection which explains the system design and the note: 159455 - Documentation: Enhancement MRMH0001 (MM-IV)  which explains the exits and the trigger points.  You may check the feasibility.
    Regards,
    AKPT

  • 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

  • Create a second invoice for one condition in my price procedure.

    Hello,
    I am facing the following problem:
    I have a price procedure in which I have several conditions. One of these conditions ZZ01 (a discount) is statistical and has to be invoiced on a seperate invoice (immediately not via rebates).
    I create my main price procedure XX01 including condition type ZZ01 and I also created a second pricing procedure XX02  in which I only have my condition ZZ01. I now want to create a credit note ZG2 (copy of invoice type G2) based on my standard F2 invoice. When I try to do this the system always tells me that the price procedure for ZG2 is XX01 even though I determined in customizing that price procedure XX02 has to be found. (I tested this with a G2 credit note request (price procedure XX01) and invoiced this with billing type ZG2 (price procedure XX02))
    Is there a possibility in copy control to tell the system that it should redetermine my price procedure when I create a ZG2 invoice based on the F2 invoice?
    Thx,
    Mattias

    I am guessing that the url to the page in question is long. There are several ways to you could do this. A redirect on the server would be best and you can search this forum on ways to do that.
    If that is the questions here, why not just have your people bookmark the page for quick access?
    Jim

  • Synch of invoice based on delivery (without Delivery doc)

    I've created in SBO Invoice based on Order (without Delivery document). Such Invoice act like delivery document and make stock postings. Why my order after synchronization doesn't change status to <i>send</i>? I've checked SHIPMENT table and there is no such document like my invoice.

    Hello John,
    I think the most simple way is to create a delivery first in SBO. After you have created all your deliveries you can use the Document Genaration Wizard to create all your invoices. After that you can use the option Document Printing to print all the invoices.
    This way you only have to enter all the information once and the information (delivery) will be synchronized with Webtools.
    Tim

  • Create bullling doc. based on sales office

    Hi All,
    I have one scenario like ,
    we need to find out the T-Code which is creating the billing document based on sales office.
    For example we don’t want to create billing  for sales office 4017.
    This is running in background.
    Thanks,
    Amjad

    Hi!
    Have you tried VF06 transaction?
    If it does not know it in standard, just copy the program RV60SBAT into a ZRV60SBAT, add your field to the selection screen, code it into the select and that's all.
    Regards
    Tamás
    Message was edited by:
            Tamás Nyisztor

  • ERS - transaction MRRL creating invoices with value ZERO service

    Hello!
    I have a service sheet, then a 101 movement,I reverse it and created the 102.
    By mistake the ERS was run and created a IR with zero value.
    I tried to reverse de IR document in MR8M and I get the error:
    You are not allowed to have zero lines only
    If I try to modify the Service Sheet I get:
    An invoice already exists for this entry sheet
    According to note 385905:
    ERS zero documents cannot be cancelled. As these are documents without an update to FI, such a cancellation process is also not useful.
    How can I post this invoice correctly??
    I need the IR backed out so I can re post the invoice correctly. If I try to create a new service enry sheet the system tell me it is complete.
    THANKS!!!
    Edited by: SussyO on Jun 29, 2010 12:55 AM

    Dear Sandra,
    For every purchase order with flag 'ERS' a table entry is generated.
    If a goods receipt is posted, this GR should be invoiced via ERS
    (Tr. MRRL). Manually posted invoices should be avoided, because
    the table entry will not be deleted. A new invoice receipt must be
    created while running ERS (but with amount and quantity zero and without
    FI documents) in order to give a message to the vendor because he
    has sent you an invoice by mistake.
    The different handling has intentionally been implemented because
    in Tr. MRRL, you can use the message determination.
    Using Tr. MRRL, a message to your vendor is created (because he may
    have sent you an invoice probably by error). Now he'll get a zero bill.
    Also, please verify the SAP note 385905 which explains that these invoices are
    visible in your PO history. It goes onto say that these  documents cannot be cancelled and anyway, because they have no FI docs, such a cancellation would be useless. And please verify more one SAP note 415286.
    Regards,
    Paulo Evaristo

  • ERS invoice creation MRRL

    Hi,
         In my system we are creating ERS invoices using the MRRL transaction , but this is taking too long . We are using MRRL to settle shipment cost documents , the approx. number of settlement sheets generated every day in our business scenario is about 2500 . So inspite of running MRRL every day ( in Doc. selection 4 - since 3 errors out with max no. of items allowed in FI ) the job takes nearly 4- 10 days to complete a weeks invoices.
    Any help would be welcome here.
    Kunal

    Hi,
    You can create 3-4 variants with set of Vendors and run the job.
    Ex. vendor 000001 to 000200 - > Variant 1
       Vendor 000201 to 000400 ...> Variant 2
      Vendor 000401 to 000600 ....> Variant 3.
       Vendor 000601 to 000800 ...> Variant 4
    Hope this this will deduce the overall job completion time very much.
    Thanks,
    Kumar Arcot

  • ERS Invoice - Invoice done manually, Still it is coming in MRRL

    Hi Experts,
    I have a PO with all prerequisites of ERS. I have done Goods Receipt also.
    Instead of running MRRL for Automatic settlement, i have done Invoice for the entire quantity manually.
    Query: But while running MRRL, these PO's are also coming into the Automatic Settelement.
    Analysis: 1) I have checked by selecting the "Final Invoice" indicator in PO and 2) In VMR, Cheked "Double check invoice". But it doesn't work. Still these PO's are coming while running MRRL.
    Can you please suggest us??
    By,
    Prabhu.

    To clarify what happens:
    1)  when a GR is done for an ERS item an entry is put on table EKRS
    2)  invoice is done manually for this item -  entry is NOT deleted from EKRS 
    3)  MRRL is executed for this vendor/line item.  
              -   MRRL finds entry in EKRS as the manual invoice does NOT remove it from EKRS.  
              -   MRRL identifies that the GR has been paid
              -   MRRL will create a ZERO value MM document
              -   MRRL will remove entry from EKRS
    There is configuration that will prevent manual invoices being created for ERS line items.  Transaction OMRM message M8 225
    Regards,
    Sandra

  • Creating an invoice based on a delivery via DI API

    Hi,
    Each time a user creates a delivery (not always based on a sales order), the add on I have developed creates an invoice based on it. This happens without any issue in most cases but I am receiving the following two errors on the client site and have not been able to recreate the issue here...
    One of the base documents has already been closed  [INV1.BaseEntry][line: 1]
    Number of items drawn is greater than open quantity  , 'Item A'
    Does anyone have any idea what could be causing this?
    Thans for any help,
    Robin

    Hi Thomas,
    Thanks for teh reply but unfortunately this is not the case - for example...
    A delivery which is returning this error for Item A, has a quantity of 20 but has 7400 in stock, so it is not going into a negative quantity.
    The only way I could get this error ("Number of items drawn is greater than open quantity"), not using the add on but working within B1, was to create a delivery note, then create an invoice based on it, increase the quantity of the item on the invoice, and the error displays in B1 on the info bar at the bottom.
    I cannot see how the user can affect this, as when they are creating the Delivery, the Invoice creation is automatic (triggers on the add button after the Delivery has been successfully added), and they don't even see the Invoice form.
    Robin

  • Create AR Invoice based on GRPO

    My client has the following scenario:
    They sell stock to specific customers at cost(they sell it for the same price as what they get charged by their supplier).
    In SAP they create the following documents :
    On the Purchasing side:
    Purchase Order ---
    GRPO
    On the Sales side ;
    Sales Order
    Invoice
    Because the value of the GRPO and the Invoice is the same, they want to be able to automatically create the AR invoice once they create the GRPO.
    Is there a way to create this/automate this?
    thanks in advance
    Janice

    Hi Janice,
    Above Scenario is not Possible in System.
    In Standard this is not available but You can achieve this with the help of SDK or Third Party Add-On.
    Hope this help
    Regards::::
    Atul Chakraborty

  • How to reverse an ERS invoice?

    Hi all,
    I need some advice as to what is the proper way of reversing an ERS invoice. Example. I have a purchase order which the invoice was generated via ERS. Later we realized that the GR we have done was incorrect. Invoice has been issued for that GR. The FI went ahead to create a credit memo via MIRO and then the warehouse people have reverse the GR.
    Is this the correct way? I did testing. When I tried to reverse the GR without cancelling the invoice, I will receive an error message that says Deficit of PU IR quantity 1.000 CRT.
    Then I tried cancelling the invoice via MR8M but the system Igives me a meesage saying nvoice doc. 5105614721/2008 was created via evaluated receipt settlement
    I read through some forums and some have advised that we can set the indicator at this setting SPRO-> Materials Management -> Inventory Management and Physical Inventory -> Goods Receipt -> For GR-Based IV, Reversal of GR Despite Invoice. I am not able to set this indicator as the client's environment will not allow me to do so.
    Appreciate any advice.

    Hi,
    MR8M will not work.
    The other way to do this would be to reverse the GR manually (mvt 162) and then run MRRL again to post an invoice cancellation document that can be sent to the vendor. For this to work though, the 'Rev GR despite IR' flag needs to be set for mvt 162 in OMBZ (config). Also before setting this flag, you need to ensure that this does not affect other non-ERS returns using mvt 162.
    Reference. stated in Help.sap.com
    Credit memos can also be created using ERS: if an invoice has already been posted for a goods receipt and goods have since been returned, the system automatically generates a credit memo for the returned quantity during the next ERS run.
    reg,
    Ashok

  • Single ERS Invoice for multiple POs with different GS and same IP

    Dear All,
    I have a Requirement as per the below scenario:
    We need to have single invoice created using ERS (MRRL) functionality in the below scenario:
    Two POs created with different Partner function GS (goods supplier) and same IP (Invoice party partner function).
    Ex:
    GS IP PO GR ERS
    vendor1 10001 4500001 500001 Yes ( GR-IV-Yes, GR done- Yes, same payment terms - 001)
    vendor2 10001 4500002 500002 Yes ( GR-IV-Yes, GR done- Yes, same payment terms - 001)
    When I run ERS for last 1 week (GR) and select the option (Doc selection – per IP or other criteria like GRs posted in last one week) , system should create 1 invoice document. Standard SAP posts 2 documents for each GS.
    I have tried using 2 user exits for MRRL, but none of them work for this functionality.
    Thanks,

    Hi,
    Go for  MIRO without MRRL.
    Instead ERS, you can post single  Invoice(MIRO) for multiple POs  for one vendor.
    OR
    Check with Technical consultant and go for development to have single ERS output for multiple ERS invoice documents for single vendor.
    Regards,
    Biju K

  • Cancelling ERS invoice of Freight GR

    Hello all,
    I know there already exist some threads about this topic, but I couldn find any with the connection to the freight solution (freight costs).
    MR8M
    Due to Message No. M8414; I'm not allowed to book an invoice cancellation in MR8M for an ERS invoice. Reason is
    If you want invoice creation to take place completely using ERS, then you must cancel the goods receipt and not the invoice document. ERS will then create the relevant cancellation invoice document for the canceled goods movement. When the goods receipt is entered again, ERS creates the invoice document according to the goods receipt quantity and the conditions from the purchasing document that are valid at that time.
    This method is the only means of guaranteeing that the messages that may be created during ERS are also issued.
    This is clear for me, so I want to book the cancellation of GR in MIGO
    Here the error message is: Transaction code MBST (=> use transaction ML81 / ML85) not defined
    So I want to take ML81 or ML85
    But here I do not have any chance to change, delete or cancel the GR.
    I also checked transaction OMBZ.For GR-Based IV, Reversal of GR Despite Invoice for movement type 102.
    Where can I finally start cancelling this process?
    Hope anybody can help me,
    kind regards Barbara

    Hi,
    Please refer below link in this regard. Thanking you.
    cancellation of ERS invoice and GR

  • Park FI document created by ERS settlement

    i have completed all the steps of ers and comepleted the ers run... but my client requirement is that they want the FI document which post automatically in ers after the PO and MIGO is completed should be parked not posted automatically...in short the FI document should be parked not posted automatically... is that possible???? please help...
    Regards,
    Abhay
    Message was edited by: Jürgen L

    Hi,
    Another way of mapping your requirement.
    Create a new payment term as Z900 in t.code:OME2 and keep B (Blocked for payment) in Block key field in Pmnt block/pmnt method default segment and then assign the new payment term  Z900 to vendor master in t.code:XK02 and save.
    Create new purchase order for that vendor code and do all ERS process(MIGO,MRRL and MR90) where your all ERS invoices posted with auto-payment block.
    Now go for releasing blocked invoice with t.code: MRBR and then pay to your vendor.
    Regards,
    Biju K

Maybe you are looking for