Duplicate check through Referece field in MIRO

Hi All,
Can any one tell me, how i can make Reference field ( structure INVFO-XBLNR) check in MIRO transaction.
Requirement is that, system should not allow posting two MIRO documents with same Reference number, duplicate check should be done from Reference field.
is there any standard config abailable, should i look for exit.
Regards,
Sursh Patipati
Note : Subject is discussed widely, Please search forum before posting.
Edited by: Jeyakanthan A on Nov 17, 2011 10:36 PM

Hi,
If you have set duplicate invoice check in a particular Vendor Master record and there is an entry in the Reference field when you enter an invoice for this vendor, the system always checks if there is an invoice containing same data as which just entered.
The following check criteria can be used
- Co, Code.
- Vendor
- Currency
- Reference
- Invoice Date
- Amount
You must specify in customizing whether the Co. Code, reference and Invoice date are included in the check.
Path: IMG->Materials Management->Logistics Invoice Verification-> Incoming Invoice-> Set check for duplicate Invoices (T-Code: OMRDC)
If it finds an invoice that matches all these attributes (Message # M8 108) is issued as error or information.
Hope this serve your purpose!
Reetesh

Similar Messages

  • Add duplicate check on MIRO and MIR7 by modfying a user exit

    Hi ABAP / SAP Gurus,
    Good day!
    For transaction code MIRO and MIR7, I need to add a check if there are invoice with the same details of VENDOR, CURRENCY, DOCUMENT DATE and AMOUNT on table RBKP. And If there are same invoice, a warning message should be issued.
    I have modified an include program (ZXM08U14) in FM EXIT_SAPLMRME_003. Unfortunately, the warning message is being triggered after the "SAVE" button is clicked.  In other words, the "Warning Message” might be considered as something useless since the document will still be created without the user being informed of the "duplicate".
    I need the duplicate check's warning message to be triggered even before the "SAVE" button is clicked.
    In this light, i have some questions:
    <b>(1) For MIRO, where can I put the duplicate check that will trigger a warning message (if a duplicate has been found) even bofore clicking the save button?  Kindly give the User Exit / Program.
    (2) For MIR7, where can I put the duplicate check that will trigger a warning message (if a duplicate has been found) even bofore clicking the save button?  Kindly give the User Exit / Program.
    (3) Can I use BADI for the said functionality? If yes, kindly provide a simple instruction on how to proceed.</b>
    Thanks in advance!
    And don't worry, I will give appropriate points for helpful answers.

    Hi,
    Check the following Exits and BADI for both MIRO and MIR7:
    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 doc
    LMR1M005        Logistics Inv. Verification: Release Parked Doc. for Postin
    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
    Business Add-in
    INVOICE_UPDATE   Business Add-In: Logistics Invoice Verification
    reward if useful
    regards,
    Anji

  • Duplicate check for non inventory vendor invoices in Finance

    Hi,
    SAP provides duplicate check for non inventory vendor invoices posted through transactions F-43 and FB01 etc. The field values checked for duplicate invoice include Document date and Reference field.
    I want to know, is there any flexibility of removing Document date from checking criteria?
    This is to facilitate picking more invoices in duplicate check net.
    Regards,
    Vijay

    Dear Vijay
    Yes, you can control this via business transaction events. Please review the below explanation.
    In Rel 4.6, duplicate invoices are checked using function module
    FI_DUPLICATE_INVOICE_CHECK which is called when invoices are posted via trans FB60.  Duplicate invoice checking criteria can be customized using the open FI interface SAMPLE_PROCESS_00001110 (custom function module) starting from Rel 4.6.  Please verify if the open FI interface 00001110 is being used in your system and review duplicate invoice selection criteria via trans BERP. You may wish to omit the document date (BLDAT field from the duplicate invoice check criteria to trigger error msg F5117.  In addition, table BSIP (vendor duplicate documents) may need to be updated.  (see note 114563 for further info).
    Please also check note 537213, and note 31771 for your information.
    If this helps please reward with points.
    Best Regards
    Kesav

  • Duplication check through form personalization

    Hi
    i was wondering what to write on when validate record or when new item instance for any duplicate checking.what are the reserve words to check the entered value if present in databse table then error.
    Regards

    Hi
    thanks for help.Can i also used this type of personalization for format mask checking in any field.like if i applied format mask on any field it will give error at bootom of window that field must be of type 9999.Can i through a meaning ful alert in case of error as we are displaying error in form of alert in duplication case.
    Regards

  • Vendor duplicate check

    Hi,
    I working on a report that checks for vendor duplicates.
    Looking forward to your good ideas and/or code samples and take appropriate action on good/interesting answers.
    For example
    1) how would you check on duplicate names?
    2) how to check the postcode field if there are no checks on the input format (e.g. ignore upper/lower case and spaces)?
    3) which vendor master fields would indicate duplicate vendors (e.g. company registration number, VAT registration number)?
    All ideas and examples are welcome.
    Thanks,
    Dennis

    Personally I would use the VAT number as this is unique key for vendors.

  • Indexing for Business Partner Duplicate check((Manual Account Creation)

    Hi,
    We are working on a BP de-duplication functionality in SAP CORM. We have implemented all the necessary steps for de-duplication. But, we are facing one issue while trying to initially index the data using program - 'SIC_BAS_RADII' using the following input parameters:
    Field Name Entry
    Object Type BUT
    Object Subtype PARTNER
    Index Pool Table BUT
    Index Pool Field PARTNER
    Service Name NORMALIZE_INDEX
    Service Profile Profile defined in the configuration of the services
    Once we execute this program, it keeps on running for hours. Even after that we are not getting any successful completion message or any report related to its success execution.
    We also have option to index BAS_BUPA using t-code SES_ADMIN. Can this be considered as an alternative to program 'SIC_BAS_RSADRINI' ?
    Please let us know where are we going wrong in our execution steps/input parameters.  Anyone who has previously worked on this functionality, please help?
    Regards,
    Amit

    Hi Amit,
    To run the duplicate check you first need to activate the implementations SIC_ADDRESS_SEARCH of the BAdI ADDRESS_SEARCH and SIC_ADDRESS_UPD_TREX of the BAdI ADDRESS_UPDATE.
    You can search for duplicates by creating/changing a business partner only if the previous created busines partners were indexed (in TREX) aftre their saving.
    1. Activate both implementations.
    2. For indexing in TREX you need a RFC-destination to TREX. This RFC destination should be maintained in TA SES_ADMIN as following:
    Transaction SES_ADMIN   > Goto Customizing  > System Settings.
    Here should you enter the RFC destination for TREX.
    3. After you maintained the RFC destination for TREX, start SES_ADMIN
       Index   > Create/Activate Indexes, select BAS_BUPA and press continue
    4. Before you begin to work with checking duplicates you should do an initial indexing of the already existent business partners from BUT000. Therefore you should start the Report SIC_BAS_RSADRINI with the proposed parameters.
    5. After that each saved BP will be indexed and will be available for checking duplicates by the creation of new BPs.
    Please check: Transaction SES_ADMIN-> TREX Admin-> Queue Administration -> Function Set Queue Parameters
    Select the Queue ID  .....BAS_BUPA___1
    and set the parameter Replicate After Synchronize   > On.
                          Schedule Time                  All-0:01
    Eventually, you can start again the report SIC_BAS_RSADRINI and after 1 minute the data will be indexed in TREX.
    You can have a look also to sap help:
    http://help.sap.com/saphelp_crm60/helpdata/en/a3/eaa43ab9db4814e10000000a11402f/frameset.htm
    I hope this help.
    Thanks and regards,
    Ita

  • Duplicate check: access ID of current business partner

    Hello,
    we're using BADI ADDRESS_SEARCH to perform duplicate check of business partners in CRM 7.0.
    Some relevant address fields are passed to method ADDRESS_SEARCH (e.g. city, country, ...), however, not the partner ID or the GUID of the business partner.
    Is there any chance to access the currently processed business partner from inside the BADI method? The former (CRM 4.0, 5.0) BDT function modules "BUPMEMORY" don't work any more.
    The thing is that we need to control the duplicate check based on several BP attributes like grouping, BP role, and so on.
    Kindly consider that we're not in the IC (interaction center) but in the CRM web client (role SALESPRO)
    Many thanks for any help & kind regards
    Wolfgang

    Hi,
    One way is to enhance the custom controller of the BP_HEAD component, add a new attribute e.g., BP No or GUID and set its value on submitorenter event or save event and inside the BADI retrieve the custom controller reference to fetch the BP No or GUID.
    Regards
    Prasenjit

  • Disable duplicate check for address in customer creation

    we use OE_HEADERS_IFACE_ALL, OE_LINES_IFACE_ALL, and OE_CUSTOMER_INFO_IFACE_ALL to upload sales order from third party system into OFS. For every sales order, we would like the system to create 1 new ship-to address and 1 new bill-to address.
    However, when the address has been created in OFS, subsequent creation of the address will fail with the following error message.
    Duplicate SHIP_TO ADDRESS found for SOSHMI003_S. Please correct the data.
    1) how can we disable to address duplicate checking.
    problem background
    Our third party system need to pass to OFS the customer info, address info and sales order info. For customer info, we can use the customer_number as reference key between 2 systems, so we can control if the customer already created in third party system (ie: created in OFS also), the third party system will not create the customer again.
    However, for address, there is no such a reference key that we can use, unless we are sending back the invoice_to_org_id and ship_to_org_id to the third party system, which we dun want. we want a one way data flow.
    please share us if you have a solution on this. many many thanks.

    Hi Ankur,
    please note that only duplicated IDs are being checked during the C4C data migration or migration simulation step.
    The system will not perform in the migration workbench the duplicate check logic which considers and weights the content of different fields of the customer (name, address, etc).
    Kind regards
    Bernd

  • Duplicate Check while creating new BP

    Dears,
    I am a CRM Consultant and working on a CRM VMS integration scenario, wherein BP(End customer) is created in VMS system and this will be replicated to SAP CRM system which has duplicate check active.  However we would like to perform the duplicate check within VMS System, so that it checks against existing BP records in BUT000 of VMS System.
    Can you share your experience in performing the same?
    Cheers
    Sweta

    Thanks Ritesh/Ganesh.
    Yes i understand that we can make certain fields which needs to be validated/checked during customer/bp creation process.
    Example:
    Customer 1 : Already exists in VMS DB.
    First Name: Steve
    Last name:  Jobs
    Mobile: 868686
    Email:[email protected]
    BP ID/Customer No : 100
    Customer 2: Being created by user in VMS DB
    First name: Steve
    Last name: jobs
    Mobile: 868686
    Email: [email protected]
    Based upon tolerance set by business, system will display a pop up with duplicate message....
    User can ignore the message and continue creating new customer/bp record or user can make use of BP/customer 100......
    This is how duplicate check works in the CRM System....
    Note: when system tries to find the potential duplicate , it is not actually checking in CRM DB, but in TREX.....
    So  can we achieve similar functionality in SAP VMS System ? if yes....can you please provide config steps or any BADI or user exit ..etc.....
    Hope i am clear...
    Thanks again for your suggestions.
    Best Regards
    Sweta

  • Duplicate Check Function in CRM when creating new BPs?

    Hi
    Three questions:
    1. does anyone know if there is some standard way in CRM (we are on CRM5.0) to enable a duplicate check to happen when a new business partner is created - one that will warn that a similar BP already exists when the user goes to save (or even better, when part way through creation)? I have already looked into using the data cleansing cases in CRM, which is ok for existing duplicate records, but doesn't help with stopping them being created in the first place.
    2. Is there a standard function/report available that will go through the database and identify any potential duplicate records? Or, does anyone know of some standard function calls/bapis etc that can be used by our developers to design something to do this for us?
    3. Failing the above two, are there any recommendations out there for 3rd party add-ins for address/duplicate checks?
    Any insight would be most gratefully received!
    Regards
    Cara

    Hi Cara
    SAP Business Address Services (BAS) is used for maintaining BP address data.
    You can maintain any number of addresses for each business partner. One address per business partner is always flagged as being the standard address. You can define address usages by assigning the different addresses to the relevant business processes.
    Postal data and information on different communication types, such as phone numbers, fax numbers and e-mail, can be assigned to the address. If you have only the name and the (mobile) phone number of a business partner but you donu2019t know the address, you can create a BP with this address-independent communication data.
    Now Answer to your question
    A postal validation for the postal code, the city and the street can be carried out by checking against the SAP Regional Structure. You can also use external software for postal validation, checks for duplicates, and error-tolerant searches. (For more information, please see SAP Note 176559.)
    The following are examples of possible checks:
    Postal codes, cities and streets, and combinations of all of them are checked for consistency. During the check, missing elements are added. For example, if you enter only the city, the postal code is added.
    When you create and change a business partner, several phonetically similar, existing BPs are proposed for comparison purposes.
    This prevents you from creating the same partner more than once.
    Please let me know if this answered your questions.
    Regards
    Dinesh

  • CRM E-Commerce BOB Web shop - Duplicate check for New Customer Creation

    Hi,
    In CRM E-Commerce BOB Web shop we have a requirement wherein new customer creation should go through a duplicate check. Only unique customers should be created as BP in backend GUI, in case a customer already exists with the same credentials, BP should not be created and user should get a message that the customer already exist in the system.
    Currently the system is not preventing me from creating new customers with same credentials.
    In case anybody has worked on the similar requirement or has any idea about the same, Kindly help.
    Regards, Vipul
    Edited by: vipul_kumar02 on Jun 21, 2011 4:20 PM

    Hi,
    Any pointers for function module used for creation of a new BP for a new customer request in BOB Web shop?
    Is it same as B2C Web shop?

  • Duplicate Check In ML81N

    Hi ALl
    We have a custom requirement from our client to have a duplicate check
    in ML81N tcode at the entry or before saving the document. The
    duplicate check to be set on the fields Reference no (XBLNR) & external sheet number (LBLNE)
    such that for the entered purchase order number  and service entry sheet  if refrence no and external sheet number already exists , it should throw error
    message "SE already exists for entered ref no & sheet number ".
    We looked into the system & available SAP forum's for the User exits
    and enhancements on ML81N which will meet our requirements, but cldnt
    find exact
    EXIT_SAPLMLSR_001              User Exit: Control of Service Entry Mode              
    EXIT_SAPLMLSR_010              Set Entry Sheet Header Data                           
    EXIT_SAPLMLSR_020              Transfer of Data to Entry Sheet User Screen           
    EXIT_SAPLMLSR_021              Adoption of Data from Entry Sheet User Screen         
    These  exits are not triggered when i create  dupicate entries .
    Please let us know how we can achieve this.

    Hi,
    try :
    EXIT_SAPLMLSP_030 User Exit: Fill ESLL Structure Before Checks (After Entry)
    EXIT_SAPLMLSP_031 Check ESLL Datat After Checking
    Regards,
    Himanshu

  • Tabbing through form fields in app doesn't work in Firefox.

    Is there a setting in Firefox that permits tabbing through form fields so that one doesn't have to use the mouse? This works fine in IE. for the same app without any configuration, but not in Firefox.

    Are you really still running Firefox 3.6? Since it hasn't received any security updates for nine months, you may be putting yourself at risk.
    In my experience, tabbing through forms works just fine. Have you tested in Firefox's Safe Mode to see whether the problem is caused by a custom setting or add-on.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.org/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in [http://support.mozilla.org/kb/Safe+Mode Safe Mode] by holding the Shift key when you double-click the program icon.
    In the Safe Mode dialog, do not check any boxes, just click "Continue in Safe Mode."
    If tabbing works correctly, this points to an add-on or custom setting as the most likely cause of the problem.

  • SOAP -- XI -- RFC , Duplicate check . BPM is Mandatory??

    Hi All,
    I haven't worked on BPM's.One of the consultant has developed this scenario by using BPM. Kindly let me know whether we can acheive it without using BPM.
    Scenario:
    We will be receving the messages from the webservice through SOAP adapter and we should not allow the duplicate messages into XI and we need to intimate back to webservice stating that we received duplicate entry.
    Solution:
    Right now they enabled the conversion parameters "use encoded parameters" and "Use Query string" in SOAP sender adapter. By this we are making use of MsgID and send the response back to webservice stating as " Message ID DE612012E63848B3DD1111DBA2295676 for pipeline CENTRAL, version already exists in system ".
    My Scenario is like
    Webservice -> XI -RFC(Request&Response)---->BW
    BPM :
    start ->Receive(Request)> Transformation(Responsemap)>Send(SendtoBW)->Send(Send Response) ---> stop.
    Questions:
    1. Is it mandatory to use BPM for these kind of scenarios.
    2. Request message has message Interface as "Outbound" with mode as "Synchronous". Is synchrous mode is enough to send the response back or do we need to create the separate channel in configuration. ??
    3. we did not use any separate channels to send back the response. Does the Synchrous mode will take care of sending back response? because we haven't configured separate channel to send back the response.
    4. Can I acheive this kind of duplicate check and sending response without using BPM?
    Kindly let me know if anyone has answers for the above questions.
    Thanks & Regards
    Deepthi.

    Hi Rajeev,
    >> For Webservice -
    > XI -
    RFC scenario, BPM is not required. But if based on >> the RFC response you have to decide to send the message to BW, then BPM will be required.
    I think you got my scenario wrongly. I need to send the request message to BW through BAPI and I will receive the response from the same BAPI which I need to send back to Webservice.
    - When I configure the Request mode in Synchronous then will the response go back to webservice since it is in Synchronous mode ? or I need to configure seperate channel to send back to webservice.?
    One more question , how I can I stop the duplicate messages from these SOAP messages which I receive from the webservices.?

  • How to check a checkbox field value in fw9 PDF form

    Hi,
    I got a PDF given form IRS (http://www.irs.gov/pub/irs-pdf/fw9.pdf). While creating a widget to this pdf form to sign it, I merged the custum data to those PDF form fields using API setMergeFields.
    All the data fields are merged fine except the checkboxes. I tried by passing the values to the merge_fields array as 'On', '1', 'checked', 'checkbox(checked)' but no luck
    What is wrong here in checking the chexbox field in this fw9 PDF or How to check a checkbox field in a form?
    Thank you,

    Hi Simon,
    I re-added and edited the fields of fw9 form by pdf printer. While doing so, I made fields as ready only so that, the data cannot be edited in the form through the widget but will be merged the data to fields only be the code. Wherein Im using the widget only for signature but not for form filling.
    Here, Im able to merge my custom data to all fields while creating widget but not to the fields of checkboxes. The checkboxes fields which are made ready-only are not allowing me to merge the value as checked by the API.
    Please help me,
    Thanks you,

Maybe you are looking for

  • Should I be able to have PS, LR an BR open at once?

    My system is so painfully slow since I started using CC this way. Sometimes I can't even get the brush, burn, dodge and other tools to appear at anything, but a little cross no matter size chosen. Below I've pasted my system info. Is it a hardware pr

  • Can i get the iPod 5 with a teacher discount since I'm a teacher

    can i get an iPod 5 with a teacher discount since I'm a teacher

  • Add new collection site is broken

    Look, I apologize to those forum users who are like me, who honestly, Truly want to help others, those who want to contribute to making the whole FF experience better, who want to Give Back to the community...To all of you, please, Stop Reading Now.

  • How to revert Substitution?

    Hi All, I have made an extension and deployed the extension successfully. Making more changes to the same extension has caused some issues and now I need to revert the Substitutions. I tried deleting the personalization on that page but doesn't seem

  • MM SRV - AC01 - Service Master - Hierarchy Service Number

    Hi All, Please help in these questions regarding Hierarchy Service Number for External Service Master management we create in AC01. we can enter the other service master in this field and this creates the hierarchy of the Service. 1. How Hierarchy Se