Error message in MIRO

Hi Masters of MIRO,
I have REQUIRMENT where i have to display an ERROR message.
currently IF company code, Ref NO & Inv Date alreday exists it issues an error message.
Check if invoice already entered under accounting doc. no. 5100000010 2011
Message no. M8108
now i want add another field called AMOUNT to Company code, Ref NO & Inv Date
IF 4 OF THEM exists THEN only an ERROR message should COME.
how can i achieve this...is their any USEREXIT or BADI where by we can enhance.
much appriciated in advance.
thank you,
pasala.

Hi
Ok now I've understood what u need
The problem is SAP standard check the duplicated invoice for Company Code, doc. date and doc. reference so just as your actual situation; if  it's not set the control for reference, then SAP will use the amount.
That means standard control doesn't use Company code, Document Date, Reference and Amount together.
In the FM MRM_FI_DOCUMENT_CHECK is called the BTE for Argentin only, that any BTE is available there
Moreover the problem is your control is more selective than SAP one, that mean u should deactive the standard control and insert a your own one.
U can try to use the BTE for invoice checking as 00001020, 00001025 or 00001060
But it could be very dangerous to deactive in standard control, so u should consider to change (or enhance) the standard function module MRM_FI_DOCUMENT_CHECK
Max

Similar Messages

  • Error message in MIRO entry: Message no M8285

    During the Invoice verification entry (MIRO), for a USD invoice (Company code currency is INR), I am getting the following error message "Balance in USD Currency Type 10" Message no M8285
    The document is successfully getting stimulated in USD currency but when attempted to post, this message is displayed
    During invoice entry, the system is taking the exchange rate maintained in OB08 for the posting date. Any clue to the cause of the problem?

    HI,
    search SAPNET notes using "MIRO" and "M8285" as search terms. There are some notes, check especially 1319322.
    Best regards, Christian

  • Jurisdiction code error message in MIRO

    Hi,
    I have hidden a field "Smart Number" in all the layouts available in MIRO transaction as this field was not wanted in MIRO. Now I am trying to post an invoice verification for a scheduling agreement using the screen layout "9_6310 Purchase Order - Entry Sheet" in MIRO. System throws me an error message "Enter Jurisdiction Code". If I change the layout to "2_6310 Purchase Order - Delivery Note", system does not throw me any error. Does this error message appears because I made the "Smart Number" field hidden in screen layout configuration?
    I have attached the screenshot of the error message.
    Please suggest.
    Thanks
    Sat

    Hi,
    1st check plant available in your your PO for which you are doing MIRO.
    Use t.code:OX10 and check jurisdiction code is assigned to your plant or not, if not assign it and save.
    Now try MIRO for that PO.
    Also cross check did you assign tax code(input tax code,you have in MIRO)  with jurisdiction code to your company code in t.code: OBCL
    Regards,
    Biju K

  • Make error message for MIRO

    Dear All
    I have a PO, and then the PO is created GR (MIGO-GR; 101). so that stock into the Quality inspect of Stock type.
    I want any error messages when I do invoicing process (MIRO), because the quality process still not finished
    Would you please help me
    thanks
    imron

    Hi,
    Check this Links
    Re: QM related to MIRO
    and
    How Payment can be blocked if Usage Decision(Quality) not done

  • BADI or Userexit for MIRO and FB60 for displaying an error message

    Hello,
    Could you please let me know the BADI or User Exit validation Bank House field and displaying an error message in MIRO and FB60?
    Thanks,
    Md

    Hi,
    you can try with badi MRM_HEADER_CHECK.
    in method HEADERDATA_CHECK you can do something like:
    IF sy-tcode = 'FB60' OR sy-tcode = 'MIRO'.
      IF I_RBKPV-HBKID = 'WHATEVER'.
    * for the message in MIRO you can use this fm
        DATA: gt_errtab0    TYPE TABLE OF mrm_errprot,
              gs_errtab0    TYPE mrm_errprot.
                CLEAR gs_errtab0.
                gs_errtab0-msgty = 'E'.
                gs_errtab0-msgid = 'ZXX'.
                gs_errtab0-msgno = '030'.
                gs_errtab0-source = 'Q'.
                APPEND gs_errtab0 TO gt_errtab0.
                CALL FUNCTION 'MRM_PROT_FILL'
                  TABLES
                    t_errprot = gt_errtab0.
      ENDIF.
    ENDIF.
    Best regards.

  • How to find code responsible  Error Message generated in MIRO transaction

    Hi Gurus,
                    I have to find the code responsible for generating ERROR message in Miro tcode through DEBUGGING. Let me tell you the case...................
    In MIRO,
    We input
    In Basic data tab,
    Invoice Date,
    Posting Date,
    Reference,
    PO no. &
    Tax code as V5 ( VAT @ 8% )  in item data  & then
    In Details tab,
    We enter Business Area    & then
    In Payment Tab
    Baseline date        & then
    In Basic data tab
    We check the check box for Calculate tax &
    entered Amount     & then click entered .
    It displays GREEN button.
    When we click Simulate button & click post then it shows 1 message that " Invoice document still contains messages .".
    And then if we click Messages Button it shows " MSG No. & text -  Enter Bussiness area ."
    So the problem is though we input Business Area , still it shows message Enter Business area.
    So plz tell me how to find that code responsible for error message.

    Ashish- It is because, the error message is called using function module / BAPI. But Ideally when a developer codes to populate the structure of type BAPIRET2, he.she should also follow the following rule, to make the message traceable:
    "Populate BAPI structure for error message
    "Following code will not get called, but is for documentation for traceability.
    if 1 = 2.
      message e004.
    endif.
    That is why i said in my comment, if it is "coded properly" then we will be able trace
    Bottom line: you will not be able to find the program line using this approach.
    But now since you now the error message and number, you can go to the underlying program of MIRO (SAPLMR1M and SAPLFDCB)..click on the find button on the application toolbar, enter the message# and find..PLEASE SELECT THE RADIO BUTTON "In the main program".
    Hope this helps.
    Sajan Joseph.

  • MIRO : Error message for a duplicate entry

    Hi,
    When we enter In MIRO an invoice with the same informations as another invoice that was already posted, the system display a Warning message like the following :
    Message no. F5117
    Check whether document has already been entered with number 1900000008 2009
    Please how to make this message as an Error message ?
    Regards.

    Hi,
    Use tcode OBA5.  Give application area as F5 and press enter. Once inside,  go to new entries, and in message no. type 117.  give E against online and batch and press enter.  then save.
    AshFICO

  • While creating miro error message posting date 009 2011is not open

    sir
    while creating miro the error message is not open open for the posting date 009 2011

    Hi,
    The date format you have mentioned 009 2011 won't be supported by SAP system. Please enter it in correct format. If the format is OK an not working means MM posting periods are not open for this month this error will come.In MMPV give company code and specify the period to close  and save.Again go to same transaction open the period for this month. I hope this will resolve your issue. Thanking you.
    Edited by: Padmasri Garapati on Sep 16, 2011 6:58 AM

  • Reg Error: Message No FF 747 in MIRO Subsequent Credit.

    Hello
    While posting a subsequent credit in miro system is giving error message.
    message is The tax amount must not be greater than tax base amount.
    it is like credit memo for high priced amount in invoice.
    could you please put some light on this.
    thanks in advance.
    Gerhard

    Hi
    In tax code give 0% tax so that it will not caliculate any tax on that. Hope this will help you.
    Regards
    Muralidhar
    To say thanks reward points

  • In MIRO i am getting error message " vendor is not invoicing party in STO

    Dear All,
    i create one STO MM. This is plant to plant transfer STO. i entered few conditions. for this conditions i mentioned Vendor in condition detail.
    at the time of MIRO i am getting error message vendor is not invoicing party in PO ( STO).
    i checked the vendo master. all partner function are maintained.
    so please guide me
    Thanks
    h shah

    HI,
    Check u had done the below steps,
    Create STO and  input the freight/delivery costs in PO and assign the Transporter or Freight Vendor to the conditions by clicking on "Details" button in Conditions Tab
    For that you have to do following settings;
    Go to SPRO > MM > Purchasing > Purchase Order > Define Document Types > Here select "UB" and copy to a new PO Doc type.
    In SPRO > MM > Purchasing > Conditions > Define Price Determination Process > Define Schema Determination > Determine Schema for Stock Transport Orders > Here assign Calculation Schema "RM2000" i.e. Stock Transfer Document to Schema Grp Pur. Org, STO Type (New One) and Supplying Plant.
    Calculation Schema "RM2000" has condition type P101 which will pick up the MAP of supplying plant automatically during creation of STO in ME21N ("Conditions" Tab).
    You can create new freight/delivery cost conditions in M/06 and assign in pricing procedure "RM2000" in M/08
    After STO, do Outbound delivery in VL10D, then GR in MIGO and then go for LIV w.r.t. STO in MIRO
    Here select "Planned Delivery Cost" and do necessary procedure.
    Regards
    KK

  • "HKONT is empty" error message is getting while doing MIRO

    Hi Gurus
    While i am doing MIRO, i am getting the error message of "HKONT is empty". What is this error & how can i resolve and where can i check this G/L Account belongs to what?
    Thanks in adv,
    Regards
    BADRI

    Starting in release 4.6C, MM delivers complete tax information to
    the tax modules. But we are performing some consistency checks. Part of those checks is the test if HKONT is empty and
    T007B-STAZF has not been filled, otherwise we expect to get a correct
    account. There are no further issues in dealing with the flag.
    The error message may occur because of wrong customizing in the
    transactions FTXP and OBCN for non-deductible tax:
    1) FTXP: for the used tax code, please check / set with the button
    "accounts" the accounts.
    2) OBCN: please check for all the account keys of FTXP if some of
    them have the value 3 for the setting "Posting indicator". In that
    case, please check / set the flag 'not deductible' (= T007B-STAZF).
    Please refer to attached note
    377271 MR1M, MIRO: error FF804 'HKONT is blank'
    Please use transaction FS02 to set the tax relevancy on the control datatab for the G/L Account in question. Please see the solution in point
    2 of SAP Note 395919 for more detail.
    395919 MIRO, MR1M: Error messages when calculating tax
    Please also, review the standard system design as outlined
    in Note 39591. In the standard system design, must have the accounts
    set as relevant to tax.

  • MIRO Error -Error Message # FF716

    Hi,
    We are in the process of Upgrading from 4.6C to ECC 5.0. Our Client based in US has two company codes - one of US and other of Canada.
    When we are trying to do MIRO in the  Canadian Company code, while posting to an Asset - Account Assignment Category A, we are getting an error message FF716, and the error message reads as follows.
    <b>Error in assigning the tax group
    Message no. FF716</b>
    <b>Diagnosis</b>
    To guarantee a connection between the automatically created tax items, the initiating line items, and the tax information used for reporting, a unique code is assigned to the line items belonging together. An error occurred during this assignment.
    <b>Procedure</b>
    Contact your system administrator.
    Procedure for System Administration
    Create an OSS message.
    MIRO works fine for the American Company code.
    Can you please guide me how do I resolve this issue?

    Hi
    I would suggest you to check the GL accounts that are involved in this transaction. If those GL accounts are Tax relevant GL accounts please give the Tax Code in the line item (even the 0% tax code) so that the system will not issue such error. There is a function module CREATE_BSET_ITEM which will check whether tax code exist in the line items or not, if the same is not available then it will issue this error message.
    Also as suggested by other friend please check the OBCL for the default tax code assignment for asset accounting.
    Hope this should help you.
    Regards
    Nambi

  • Error message F5 726 in MIRO

    Hi,
    I have a problem, in MIRO when a have a subsequent debit or a invoice with price difference exceeds the defined limit of tolerance in SPRO,  i have a error message F5 726 i'm not understand why?
    I am launching a invoice/subsequent debit in the period preceding(02).
    Can you help me ?
    Thanks
    SP

    Hi SP,
    The error message can be avoided if the proper settings are maintained in OMR4.
    Intransaction OMR4, choose the 'Document Types in Invoice Verification' pushbutton, and maintain the valuation document type for the transaction codes MR1M, MR1G or MIRO, MIRA.
    The selected document type "Document Type Revaluation" must have an internal number assignment and it must not be the same as the document type for the invoice receipt.
    Please check the SAP note# 372251
    Regards,
    Kathir

  • In MIRO ia m geeting error message

    Hi Guys ,
    While doing MIRO i am getting error message (An exchange rate type is not defined for country ID ).But i  checked in OB08 ( exchange rate ) it is maintain with exchange rate type for IDR to USD and IDR  to EUR.
    Kindly let me know how to reslove this isue.
    It is urget
    Regards
    Aravind

    Hi
    The system compares your entry with the exchange rate entered in the purchase order and in Customizing:
              o If a fixed exchange rate was entered in the purchase order, an error message is displayed. The invoice can only be posted at the fixed rate.
              o If the exchange rate differs too greatly from that in the purchase order, a warning message is displayed.
              o If the exchange rate differs too greatly from that in Customizing, a warning message is displayed.
    Enter and review the process with next configuration:
    - Path: Materials Management --> Logistics Invoice verificaction --> Incoming Invoice --> Configure How Exchenge Rate Differences are treated
    ERD setting = Blank (Exchange rate differences between GR and IR)
    CCCurr = Active
    With this configuration you'll receive the exchange difference in KDM account instead of BSX or PO account, no matter the price control of the material or service.
    Regards

  • MIRO : Error message when i post an invoice

    Hi,
    When i post an invoice in Tcode : MIRO i have this error message : "Moving average price for material is negative: Material 120462 Plant M411"
    Please how to solve this ?
    i tried differents changes in the average price for this material but i still have the same message
    I need ur help
    Regards

    Hi,
    This error usually comes when the price difference for the material is not posted to the price difference account but it gets adjusted to the MAP of the material master.  This happens when there is no stock of that material and if any order impacting that material gets settled, thereby the system adjusts the price difference with the material master price and does not post any separate entry to the price difference account.
    Now please correct the price of the material master through MR21 and make it to hold the correct price.
    Once this is done then subsequent entries through MIRO etc would be possible.
    Hope this helps you.
    Cheers,
    Rajan.

Maybe you are looking for