Validation for MIRO

I want" Bussines area & Section Code "
So i created the validation for all vendor transaction ie. FB60,F-43,F-48 & MIRO.
Validation is based on
Tcode & Account type
But i m not getting the compulsory field for MIRO.
For all other transation i m getting the right validation.
Then Why it doesnt take for MIRO?
What will be the sollution for that?
Plz tell me.

Hi,
Do you want to subsittute the GSBER in tax line item in MIRO?
if yes, then it works as design.In general taxes should not be
posted with business area as per note 199886. Therefore GSBER
is coded to be deleted when postings do not happen directly in FI.
Due to technical reasons the logic for postings directly in FI
(such as FB60) differs: There would be no deletion.
I recommend not to substitute the business area for tax items
(to be conform with note 199886) but if you really want to do this in
general you can implement the following modification on your own risk:
function FI_SUBST_GSBER
      ELSE.
      If GSBER differs -> mark as not unique
        IF gsber_tab-gsber <> t_accit-gsber.
          CLEAR gsber_tab-flg_unique.
          MODIFY gsber_tab INDEX sy-tabix.
        ENDIF.
      ENDIF.
>>>>>>>>>>>>>>>>>>>>>>>START-OF-DELETION>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
      IF t_accit-taxit = xon AND t_accit-xbilk = xon.
        IF brazil IS INITIAL.   "do not clear for brazil  "note 436374
          CLEAR t_accit-gsber.
          MODIFY t_accit.
        ENDIF.                                            "note 436374
      ENDIF.
>>>>>>>>>>>>>>>>>>>>>>>END-OF-DELETION>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    ENDIF.
  ENDLOOP.
Hope the above informations can help to you!
Best Regards,

Similar Messages

  • Validation for Business place and section for With holding tax

    Dear friends
    I defined validation for MIRO with respect to Business place and Section code to make mandatory, it is working fine.
    But in case of F-47 / F-48 and FB60 I defined validation but not working.
    Please help me in this regard
    Thanks in advance
    Kiran A

    Hi
    Your query is not clear? What is the prerequisite and check you have defined in validation rule? I doubt that in prerequisite you have defined the T Code MIRO. Pls check and assing the other T Codes also if that is the case.
    Regards
    Sanil K Bhandari

  • Validations for FB70, FB75 and FB60, MIRO without Tax Codes

    Hi,
    can u help on the below issue.
    I want to restrict the users while posting(FB70, FB75 and FB60, MIRO) without tax codes, please provide Validations for the same.
    Block AR/AP for postings without tax code - AR is FB70 and FB75 - AP is FB 60 and MIRO
    Thanks&regards,
    Rajesh

    Hi,
    Please check below validations for FB60 AND MIRO ,FB70 AND FB75
    Prerequisite
    BKPF-BUKRS = 'xxxx' AND SYST-TCODE = 'FB60'
    OR SYST-TCODE = 'FB75' OR SYST-TCODE = 'FB70'
    OR SYST-TCODE = 'MIRO'
    Check
    BSEG-MWSKZ
    Please check ,
    NARESH

  • User exit/BADI to have a validation in MIRO for item level

    Hi Experts,
         My requirement is to do a validation in MIRO (Invoice Verification) transaction, when the user enters the PO details ( T.code - MIRO ) and if the material group in the line item belongs to specific set of material groups, then I want to show a popup stating to choose a different GL account.I am searching for a suitable User exit to implement the above change which I have mentioned. So Could you please suggest me any User exit or BADI Which can be used to incorporate my changes.
    Thanks in advance.
    Regards,
      Srinivas

    Hi,
    check this thread:
    BADI IN MIRO
    Best regards.

  • Validation for duplicate AP invoice

    We would like to prevent duplicate AP invoices from being posted through FB60.   We created an FI validation in OB28 in which the prerequisite = Tcode FB60, and the check is a user exit to check the values in vendor / company code / reference fields and if those 3 fields have the same values as in an existing document, to generate an error message preventing the duplicate document from being posted.
    The above works well for creating new invoices.   However, when we have to make changes to an existing invoice (created through FB60), the system also calls on that validation and generates the error message, even though the only fields we can change on the invoice is payment terms, payment method, payment method supplement and text. 
    Other than modifying the user exit, does anybody know of a better way to do this validation or to prevent duplicate manual invoice from being created?  
    thank you.

    This has already been answered before so extracted part of the reply
    there are two duplicate checks in SAP:
    1. the one for FI documents, this is relevant for all F... postings (but nor for MIRO!)
    this can be turned off or on (in vendor master record) and 6 fields are checked:
    Check Flag for Double Invoices or Credit Memos
    Indicator which means that incoming invoices and credit memos are checked for double entries at the time of entry.
    Use
    Checking Logistics documents
    Firstly, the system checks whether the invoice documents have already been entered in the Logistics invoice verification; the system checks invoices that are incorrect, or invoices that were entered for invoice verification in the background.
    Checking FI documents
    The system then checks whether there are FI or Accounting documents that were created with the original invoice verification or the Logistics verification, and where the relevant criteria are the same.
    Checking Logistics documents
    In checking for duplicate invoices, the system compares the following characteristics by default:
    Vendor
    Currency
    Company code
    Gross amount of the invoice
    Reference document number
    Invoice document date
    If all of these characteristics are the same, the system issues a message that you can customize.
    When you enter credit memos or subsequent adjustments, the system does not check for duplicate invoices.
    Exception: Country-specific solution for Argentina, where invoices and credit memos are checked for duplicate documents.
    No message is issued if you enter a document that has previously been reversed.
    Dependencies
    The system only checks for duplicate invoices in Materials Management if you enter the reference document number upon entering the invoice.
    In Customizing for the Logistics invoice verification, you can specify that the following characteristics should not be checked:
    Reference document number
    Invoice document date
    Company code
    This means that you can increase the likelihood that the system will find a duplicate invoice, because you can reduce the number of characteristics checked.
    Example
    The following document has already been entered and posted:
    Reference document number: 333
    Invoice date: 04/28/00
    Gross invoice amount: 100.00
    Currency: EUR
    Vendor: Spencer
    Company code: Munich
    You have made the following settings in Customizing:
    The field "Reference document number" and "Company code" are deselected, which means that these characteristics will not be checked.
    Now you enter the following document:
    Reference document number: 334
    Invoice date: 04/28/00
    Gross invoice amount: 100.00
    Currency: EUR
    Vendor: Spencer
    Company code: Berlin
    Result
    Because you entered a reference document when you entered the invoice, the system checks for duplicate invoices.
    The reference document number and the company code are different from the invoice entered earlier, but these characteristics are not checked due to the settings you have made in Customizing.
    All other characteristics are the same. As a result, the system issues a message that a duplicate entry has been made.
    If the "Reference document number" had been selected in Customizing, the system would have checked the document and discovered that it was different from the invoice entered earlier, so it would not have issued a message.
    Checking FI documents
    Depending on the entry in the field "Reference", one of the following checks is carried out:
    1. If a reference number was specified in the sequential invoice/credit memo, the system checks whether an invoice/credit memo has been posted where all the following attributes agree:
    Company code
    Vendor
    Currency
    Document date
    Reference number
    2. If no reference number was specified in the sequential invoice/credit memo, the system checks whether an invoice/credit memo has been posted where all the following attributes agree:
    Company code
    Vendor
    Currency
    Document date
    Amount in document currency
    2. the one for LIV.
    this can be customized (as stated above) and is relevant for MIRO (and not for F... postings!).
    Company, Reference and Invoice date
    Set Check for Duplicate Invoices
    In this step, you can configure for each company code if the system is to check for duplicate invoices when you enter invoices.
    This check should prevent incoming invoices being accidentally entered and paid more than once.
    You can choose whether to activate or deactivate the check criteria of company code, reference document number and invoice date for each company code. The more criteria that you activate, the lower the probability of the system finding a duplicate invoice. The Accounting documents are checked first, followed by documents from Logistics Invoice Verification (only incorrect invoices or those entered for verification in the background).
    When checking duplicate invoices, the system compares the following
    attributes in the standard system:
    Vendor
    Currency Company code
    Gross invoice amount Reference document number
    1. Invoice date If the system finds an invoice that matches all attributes, the system
    displays a customizable message.
    If you are entering credit memos, subsequent debits, or subsequent
    credits, the system does not check for duplicate invoices.
    The exception is the Argentina country version, where the system checks
    for duplicate invoices and credit memos.
    If a previously processed document is later cancelled and then entered
    again, no message is displayed.
    Requirements
    The system only checks for duplicate invoices in Materials Management
    if you specify a reference document number when entering the invoice.
    In Customizing (IMG) for Invoice Verification, you can specify that the
    system check the following attributes

  • Create a validation for check double invoice

    Hi,
    I have read here on SDN for check double invoice on reference number. We want to create an warning message if same reference number is posted twice, not depending on invoice date. So if I, on 1st of October have posted an invoice with reference number 123 and then want to post with same reference number on 2nd of October I want to have an warning message. If I had understand right I need to make a validation for that. Is it true that I need to have a programmer to do that or how am I doing (one thread said that this was the solution, see; )?
    I suppose that my prerequisite will look as follows:
    BKPF-BLART = 'KR' OR BKPF-BLART = 'RE' (I want the check when entering both an invoice in FB60 and MIRO)
    How will my "check step" look like when I want to check if this reference has been entered before? Please describe in technical name.
    Is it possible to do a validation for getting a warning, or is it just possible with error message?
    I have also tried to change in IMG, in Material management > Logistics Invoice Verification > Incoming invoice > Set check for Duplicate invoices. Here we have all fields selected (check co. code, check reference, check inv. date). I changed to just select check reference, but this doesn´t solved my problem.
    Best regards Lisa

    Hello Lisa,
    Your first question,
    Yes system does not check MIRO invoice while posting FB60 invoice. Because when you post invoice with using FB60 transaction, system check BSIP table for duplication. But when you post MIRO invoice system doesn't fill BSIP table.
    So that your question answer is YES, you can register an invoice in MIRO with same reference without a warning.
    Your second question,
    BTE means Business Transaction Event. Those events are known as FI user-exit.
    So that when you posting an invoice with using FB60, system triggered on BTE 00001110 as i said on my previous message.
    I try to explain step by step how can you activate this BTE. But you need to ABAPer for giving warning message on this exit.
    Call FIBF transaction -> Settings -> Products -> ...of a customer
    Create a new line,
    Product : ZXX
    Text : BTE Products for FI Exit
    Product active : tick checkbox.
    Call SE37 for exit function and copy from FM SAMPLE_PROCESS_00001110 to ZFI_PROCESS_00001110. Then active your FM and go to FIBF transaction again.
    FIBF -> Settings -> Process Modules -> ...of a customer
    Define a new line.
    Process : 00001120
    Function Module : ZFI_PROCESS_00001110
    Product : ZFI
    And then you can some write ABAP code for validation and give warning message.
    In this FM, If you don't want to check duplicate invoice for your cases you can set export parameter e_nostd = 'X'.
    I hope it helps to you,
    Regards,
    Burak

  • User exit for MIRO

    Hi friends
    My requirement is to do some validation in MIRO when user will press the save button. For this I am using EXIT_SAPLMRMP_010 fm exit in LMR1M001enhancement. But the problem is when I am trying to validate that and show some messages it is not showing my error message and processing is still going on. Please suggest me how to show that message and stop the processing on that point. I am using ECC 5.0 version and already checked the BADI INVOICE_UPDATE but it is also not working.
    regards
    shiba dutta

    Hi,
    Put the breakpoint in each of the userexit that are provided and check whether processing is going at that step.
    If it is so then put the logic in that userexit.
    Exit Name           Description                                                                               
    LMR1M001            User exits in Logistics Invoice Verification                 
    LMR1M002            Account grouping for GR/IR account maintenance               
    LMR1M003            Number assignment in Logistics Invoice Verification          
    LMR1M004            Logistics Invoice Verification: item text for follow-on docs 
    LMR1M005            Logistics Inv. Verification: Release Parked Doc. for Posting 
    LMR1M006            Logistics Invoice Verification: Process XML Invoice          
    MRMH0001            Logistics Invoice Verification: ERS procedure                
    MRMH0002            Logistics Invoice Verification: EDI inbound                  
    MRMH0003            Logistics Invoice Verification: Revaluation/RAP              
    MRMN0001            Message output and creation: Logistics Invoice Verification  
    Regards,
    Sonika

  • Differnce between BAPI and FM for MIRO

    Hi All,
    What is the difference between using the BAPI_INCOMINGINVOICE_CREATE or MRM_INVOICE_CREATE.
    I have a situation where i need to use the CALL transaction of MIRO as i cannot use the BAPI_INCOMINGINVOICE_CREATE.
    THough i have done a recording and was able to do simulation.. but i doubt whether that will work because i have not found a supporting answer for using CALL transaction approach for MIRO and even the SAP does not recommend it. Pl. advice.

    Hi Avinash,
    1. If u want to use,
       use  BAPI_INCOMINGINVOICE_CREATE
      (Do not use MRM_INVOICE_CREATE)
    2. REASON
       The FM MRM_INVOICE_CREATE
       is used by the MIRO program in its code.
       BUT
       It calls this FM ONLY AFTER ALL
       SCREEN VALIDATIONS / LOGIC / BUSINESS VALIDATIONS
       have been done for the data entered by the user.
    3. The FM MRM_INVOICE_CREATE
       will BLINDLY create the document
       without any validation!
    4. BUT for your purpose,
       u don't want such blind thing to happend.
       U want the full functionality of  MIRO
       with all validations and business logic.
    5. BAPIs have been created by SAP
       for the same REASON.
    6. If we use BAPI BLINDLY,
       then also,
       The system/BAPI will check
       ALL VALIDATIONS JUST LIKE MIRO TRANSACTION,
       and only after this strong checks,
       it will post the document.
    7. If there are any errors/warnigns,
       the BAPI will give errors and not post the document,
      where as the simple FM MRM_INVOICE_CREATE
      won't give any warning or alert to the user
       and may post incorrect data(provided by our z program)
    Hence, Go for BAPI_INCOMINGINVOICE_CREATE
    Regards,
    Amit M.

  • Validations for Business place

    Hi Gur's
    I have done the validation in my project for business place is mandatory, but it is controling only the f-43, and fb60 etc but it is not controlling th "MIRO"
    The following condition i had given the validation
    BSEG-KOART = 'K' AND BSEG-BUPLA = '' AND
    BSEG-AUGBL = '' AND BSEG-KTOSL <> 'BUV' AND
    BKPF-TCODE <> 'MIRO'
    we have done the BAPI for MIRO tranasation , for sub contracts , it is any impact for this
    Please suggest valuable solution for this issue.
    Regards,

    Hi,
    Validation works only for the FI transactions and not the other transaction.
    MIRO is MM transactions which flows the data to the FI and not the FI transaction.
    Try the same scenario using the User exit: LMR1M001
    VVR

  • Field Status Group For MIRO

    Dear Friends
    Pls say me where we can get the field status group for Miro header level where i got a problem to make the business area manditory.
    Regards
    Vinay Bhaskar

    Hi vinay
    for busienss place we can make the field mandatory thorugh validations it is not possible through FSG
    Plz reward the point if it is useflull
    Regards

  • User Exit or Badi for MIRO

    Hi
    I need add some validations to data entry in MIRO for send their respective error messages and stop data saving.
    Does somebody knows some User Exit or Badi for make validations in MIRO ?
    Regards
    Frank

    Hi,
    you can use badi MRM_HEADER_CHECK. In order to put error message you can use function module
    PROT_FILL.
    * If there is any error do not allow posting
        DATA: gt_errtab    TYPE TABLE OF mrm_errprot,
              gs_errtab    TYPE mrm_errprot.
        CONSTANTS:     c_errprot(23)   TYPE c VALUE '(SAPLMRMF)TAB_ERRPROT[]'.
        FIELD-SYMBOLS: <fs_errprotj_dt> TYPE table.
        ASSIGN (c_errprot) TO <fs_errprotj_dt>.
        REFRESH gt_errtab[].
        gt_errtab[] = <fs_errprotj_dt>[].
        IF NOT gt_errtab[] IS INITIAL.
          READ TABLE gt_errtab INTO gs_errtab WITH KEY msgty = 'E'.
          IF sy-subrc = 0.
            DATA: c_okqx(17)   TYPE c VALUE '(SAPLMR1M)OK-CODE'.
            FIELD-SYMBOLS: <fs_okqx> TYPE ANY.
            ASSIGN (c_okqx) TO <fs_okqx>.
            CASE <fs_okqx>.
              WHEN 'BU'. "POST
    * This is optional: you can either search for a particular message or
    * do not allow any error message
    * Here search for the message triggered in badi INVOICE UPDATE
                READ TABLE gt_errtab INTO gs_errtab WITH KEY msgty = 'E'
                msgid = 'ZXX' msgno = '030'.
                IF sy-subrc = 0.
                  CLEAR <fs_okqx>.
                  MESSAGE s030(zxx). "While errors exist document will not be posted
                ENDIF.
            ENDCASE.
          ENDIF.
        ENDIF.
    This is used to give error message in case before posting the document.
    KR Jaideep,

  • Driver not valid for HP Pavilion dv6t

    Need to update my Intel HD Graphic driver.
    Tried HP and Intel and both are stating that the driver being installed is not validated for this computer. Please obtain the appropriate driver from the computer manufacture. Set up will exit.
    Can anyone help? TY

    @ls1313 ,
    Hello and thank you for posting on the HP support forums.  Here is the link to the only supported drivers for your notebook.
    HP Pavilion dv6t-3000 CTO Entertainment Notebook PC
    I hope this helps.
    Have a great day and thank you for posting.
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    D5GR
    I work on behalf of HP

  • Validation for text field: Null and contains no spaces

    Currently on APEX 3.2
    I want to check 1 text field and 2 text areas to ensure they are not null and blank (hitting the space bar in the field) before submitting the page. How do I do both validations for on each field?

    I created a validation with a type of 'Function Returning Boolean' and using the following code in the expression:
    IF( TRIM( :P1_Text_Field) IS NULL
    Or LTRIM( :P1_Text_Field ) != :P1_Text_Field )
    THEN
    RETURN false;
    ELSE
    RETURN true;
    END IF;
    Edited by: Jeremy_F on Apr 12, 2012 8:15 AM

  • When trying to update my Apps I am being advised my account is not valid for the UK, I must switch to the Ireland store. How do I do this?

    When trying to update or purchase Apps I am being advised my account is not valid for the UK Store and I must switch to the IReland store. How do I do this?

    Change App Store
    1. Tap "Settings"
    2. Tap "iTunes & App Stores"
    3.Tap "View Apple ID"
    4. Enter your user name and password.
    5. Tap "Country/Region."
    6. Tap "Change Country/Region"
    7. Select the region where you will be located.
    8. Tap "Done".

  • I have been using my Apple ID in India and recently i moved to Spain and now i can not see my indian apps.it says my apple ID is valid for only spanish store.how to download apps from Indian store being in Spain.

    I have been using my Apple ID in India and recently i moved to Spain and now i can not see my indian apps.it says my apple ID is valid for only spanish store.how to download apps from Indian store being in Spain.

    Did you try to change the location  in Settings/iTunes & AppStore/AppleID -> view Apple ID, log in ->Country/Region -> India?

Maybe you are looking for

  • Edit image size in repeater

    hi, in my web i connect data by  http service. I 'm using repeater for loop.. But if i want to loop  image. I can't edit size image in repeater when i insert image. This  source <mx:HTTPService id="tintucRequest" url="http://localhost/webtintuc/tintu

  • CC 14 crashes on Mac after opening recent project

    So after hours of work yesterday, Premiere Pro CC 14 gave me the dreaded Mac spinning wheel of death. No error messages, it just wont respond.  Relaunched.  Rebooted.  Repaired discs.  Installed updates. Reinstalled program. Nothing/ Launch and creat

  • Finding a 3rd party converter that supports Video Files.

    Hey there, I seem to not be able to have the right format for my 30G iPod videos I have on my computer. What's the most popular video format conververters out there, so I would be able to see my video on my ipod????????. I was able to see and hear my

  • Hide Columns in Discoverer

    Does anyone know if it is possible to hide a column in a discoverer report? I had to include a data element from a folder in order to do a calculation on the data element, however, the data element itself is meaningless for the report and I want to h

  • Essbase Internal logic error

    Hi, In one our job, after loading the data files we are running a calc on the database. But we got the following error. We are Essbase 6.5.1. This is a daily job where we load the data files & calc the database & in the past didn't run into any issue