Checking duplicate description material

Hi,
Please help me to do checking duplicate description material when create material in MM01. It is possible or not. What setting i can do in the system.
Thank you.

Hi,
Check with Enhancement: MGA00001, User exit: EXIT_SAPLMGMU_001 for control.
Also can be checked BADI_MATERIAL_CHECK
Have concept of  new material creation with  validation & do  ABAP works necessary.
More check link:
Material Master
Regards,
Biju K

Similar Messages

  • Duplicate in material no

    Dear Experts,
    We have taken restart of MDM server. Now when we are trying to upload the repository for material it is giving error u201Ccannot set unique constrain on material no because duplicate record existu201D. We remove this condition from console temporarily to find out duplicate record in MDM. We checked duplicate by matching record u2018All vs Allu2019, it has not given any duplicate but still error remains the same.
    We only want to UP the repository with unique constrain on material no. Kindly help to find out duplicate in material no in  master data manager.
    Regards,
    Gaurang

    Hi Gaurang,
    I am detailing the steps from note below and also including my comments in bold:
    As the report mentions, Verify->Repair will automatically perform the following:
    1. Remove the Unique field so that repository can be loaded.
    2. Add a new integer field and populate numbers for the duplicate records only. All records with same number are duplicates for the same value.
    The addition of a integer field is automatic and it creates a duplicate label for duplicate records,it is populated for duplicated records,only for helping you delete those records with problem
    The user should perform the following:
    These are the steps you have to do:
    1. Load the repository (Update indices option).
    2. Inspect the duplicate values in the table with Data Manager with the help of new field
    3. Fix the duplicate problem by removing the duplicated records.
    4. Unload the repository
    5. Remove the new field and add back the unique constraint.This new field is the duplicate label field created automatically,delete that.
    6. Load the repository with Update Indices option.
    This sums it up,dont forget to take backup before you do a repair.
    Hope it helps.
    Thanks,
    Ravi

  • Availability check of raw material during sale order processing

    Dear experts,
                           When i am entering the finished good in sale order processing,system should check the raw material availabilty.Is it possible in STD sap
    Regards,
    murali.R

    thanks to you all for your reply,
    My customer is bright bar manufacturer,They just buy the steel bar & process it & sell it to the customer.So there is only one RAW MATERIAL.
    Their all the activities are mainly based on raw material.So customer wants.....when we enter the finished good system should check the RM stock,based on RM STOCK,sytem should do the availability check...& confirm the delivery date
    I have mapped customer requirement,after modifying item category & assignment......
    Sales BOM explosion & delivery group is maintained for header material.availability check is on at component level & header level.So now system consider the raw material stock & it conform the dates when  i do availability check combinely.
    I would like to know how it will affet the MRP incase of alternative BOM....FURTHER PROCESSING
    Is it the right practise.....Please reply...............

  • Duplicates in material master

    hello experts
    what does it mean by identification of duplicates in material master and how its done?
    whether its applicable for all master records?
    regards

    Hi,
    The safety time / actual range of coverage ensures that the planned warehouse stock covers the requirements of a defined number of days. It therefore serves as a time float and thus works alongside the safety stock, which acts as quantity float.
    The system simulates bringing the requirements forward by the specified number of days and the planning for the receipts, created for these requirements in the planning run, is also brought forward by this number of days.
    Prerequisites
    ·   You have set the Safety Time indicator in the material master record (MRP 2 View) to define whether the safety time is only to apply to independent requirements or to all requirements.
    ·    In the material master record (MRP 2 View), in the Safety Time/Actual Range of Coverage field, you have entered the number of workdays by which the requirements are to be brought forward.
    ·    If, in addition to this actual range of coverage, you also want to define a different number of workdays in certain periods or a safety time less than one day then, in Customizing for MRP in the activity Define Period Profile for Safety Time/Actual Range of Coverage you can define a period profile and assign it to the material in the material master record.
    Regards,
    Vijay

  • How to check weather a material created is active or not

    Dear Friends
    1    How to check weather a material created is active or not.
    2  MIGO standard document has a check button, can we have similar check button in other documents like Purchase requisition.
    3   In case of material valuation is Standard (Price control), the costing is done on the basis of the Standard Price or actual cost of the raw material.
    I will be thankful for your advice.
    Sanjeev

    1 How to check weather a material created is active or not.
    There is a Blue "i" button for the Material, pls click that it will show you the current status..
    2 MIGO standard document has a check button, can we have similar check button in other documents like Purchase requisition.
    for PR you can see the check button( CtrlShiftF3) beside personal settings

  • Check Duplicate invoice

    Hi everyone,
    Generally the system currently uses the keys to check for duplicate invoice in FB60 ( vendor number, invoice date, invoice number and invoice amount. MIRO only checks for three keys (vendor number, invoice number, and invoice date).
    Is there anyway where i can change the config for the MIRO to also check the invoice amount.
    Thanks in advance
    Genie

    Hi
    In FI module,for checking duplicate invoice is differ with MM module.When you ticked the flag for refence no. in Tcode OMRDC,system will not check the amount in MM.Otherwise,system will check it.
    Only the Company code, Document date, and Reference fields are configurable in transaction OMRDC  If none are checked, then the system only looks at the Currency, Vendor,and Amount.
    Please also read the following online documentation,
    If you activate the reference document number in IMG,
    Depending on the reference document number entry,the system checks
    as follows:
    1.If you have entered a reference document number,the system checks
    whether the invoice matches in the following attributes:
       Company code                       *
       Vendor                                  *
       Currency                               *        >no amount check.
       Invoice date                           *
       Reference document number   *
    2. If you have "not" entered a reference document number, the system
    checks whether the invoice matches in the following attributes:
       Company code                       *
       Vendor                                   *
       Currency                                *
       Invoice date                            *
       Amount in document currency  <         *!!!
    Depending on the system settings, a warning message or an error message appears if the system finds an invoice that matches all attributes.
    Please also keep in mind:The field Chk double inv(Check for duplicate invoice) must be flagged on the Accounting view in the vendor master record.
    I hope it useful.
    Regards
    Ravinagh Boni
    Rewards me If it useful.

  • Activation of the Batch management check in the Material master

    Dear All,
    Here I have one query
    Can we able to activate the Batch management check in the material master-->Purchaging view or not,
    if we have open or completed sales documents and deliveries for that materail.
    Reply ASAP
    Regards,
    Murali.

    Hi Murali ,
    you can very well do it . in fact we have done the same with our client.
    check below article .
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b009b1e5-f3df-2b10-7289-ff87d139dce1
    Regards
    Ravi.

  • Check Duplicate Invoice in FB60 and F-43

    Dear Experts,
    I want to check duplicate invoice in FB60 and F-43. Normally, system only check if company code, vendor, currency, reference no. and invoice date are match. If I only want to check for company code, vendor, currency, reference no. are match except invoice date.
    Anybody can help?

    Unfortunately, standard SAP only allows a fixed duplicate invoice check in F-43/FB60.  Unlike LIV, you cannot configure which fields get checked.
    Use BTE 00001110 (process module) and build a function that reads the MM LIV duplicate invoice configuration (table t169p).  The BTE will be called appropriately for F-43/FB60.  I developed and implemented this a while ago and it works great.
    I hope this is useful.

  • How to include a new field for checking duplicate customer master

    Dear All
    we have activated the standard procedure to check duplicate customer master data. This is a standard procedure as below :-
    Procedure:
    Run SM30, key in Table V_T100C, select Display or Maintain, set App area F2. Here you can change current settings.
    Check the transaction OBMSG for application area F2, where these messages are maintained and at this place you can convert the message from warning to error.e user needs one more field to be added to this check.
    It is working perfectly fine but it only compares two fields for duplicates in the customer master i.e the customer city and name.
    Is there a way to include a new field in this procedure ? For example we also want the system to check duplicate entries for field name " street 5" and give a warning /error message incase if there is another entry already existing on the master data.
    regards,

    Hi
    Use the enhancement SAPMF02D to check these values.
    Regards
    Eduardo

  • Check duplicate data entry in multi record block,which is a mandatory field

    Dear all,
    I have a situation where i have to check duplicate data entry(on a particular field,which is a mandatory field,i.e. it cannot be skipped by user without entering value) while data key-in in a Multi Record block.
    As for reference I have used a logic,such as
    1>In a When-Validate-Record trigger of that block I am assigning the value of that current item in Table type variable(collection type)
    as this trigger fire every time as soon as i leave that record,so its assigning the value of that current time.And this process continues
    then
    2>In a When-Validate-Item trigger of that corresponding item(i.e. the trigger is at item level) has been written,where it compares the value of that current item and the value stored in Table type variable(collection type) of When-Validate-Record trigger.If the current item value is matched with any value stored in Table type variable I am showing a message of ('Duplicate Record') following by raise_form_trigger failure
    This code is working fine for checking duplicate value of that multi record field
    The problem is that,if user enter the value in that field,and then goes to next field,enter value to that field and then press 'Enter Query 'icon,the bolth Validate trigger fires.As result first when-validate record fires,which stores that value,and then when-validate-item fires,as a result it shows duplicate record message
    Please give me a meaningful logic or code for solving this problem
    Any other logic to solve this problem is also welcome

    @Ammad Ahmed
    first of all thanks .your logic worked,but still i have some little bit of problem,
    now the requirement is a master detail form where both master and detail is multirecord ,where detail cannot have duplicate record,
    such as..........
    MASTER:--
    A code
    A1
    A2
    DETAIL:--
    D code
    d1
    d2 <-valid as for master A1 , detail d1 ,d2 are not duplicate
    d2 <--invalid as as for master A1 , detail d2 ,d2 are duplicate
    validation rule:  A Code –D Code combination is unique. The system will stop users from entering duplicate D Code for a A Code. Appropriate error message will be displayed.*
    actually i am facing a typical problem,the same logic i have been applied in detail section ,its working fine when i am inserting new records.problem starts when i query,after query in ' a ' field say 2 records (i.e. which has been earlier saved) has been pasted,now if i insert a new record with the value exactly same with the already present value in the screen(i.e. value populated after query) its not showing duplicate.................could u tell me the reason?and help me out...............its urgent plzzzzzzzzz
    Edited by: sushovan on Nov 22, 2010 4:34 AM
    Edited by: sushovan on Nov 22, 2010 4:36 AM
    Edited by: sushovan on Nov 22, 2010 8:58 AM

  • GATP check on a Material Variant of a configurab​le material

    Hi Experts,
      In ECC side material variant is created . with reference to a configurable material of type KMAT.
       The same configurable material is also used a pricing reference material for the material variant.
    The configurable material is not relevant for production has no MRP tabs created. It is also not relevant for ATP check.
    Material variant is of MTS strategy and relevant for ATP check.
    Configurable material is not CIF'ed to APO. ECC ATP check was working fine. While doing GATP check , it is showing following error and not doing ATP check.
    Product  for external product number XXXXXXX and
    BSG BSG1 does not exist .
    XXXXXX---> is the configurable material.
    Do I need to CIF across classes , characteristics and configurable material to APO even if I am doing ATP check on the material variant.

    Hi,
    No need to CIF across Class and Characteristics.
    CIF across the Material ( Guess this material is just one Material). Activate the ATP Model for that material.
    You need to maintain "CDP" in the customizing instead of Variant configuration in APO.
    This should work.
    Regards,

  • Check Duplicate data during data key-in Multi Record Block

    Dear all,
    I have a situation where i have to check duplicate data entry(on a particular field,which is a mandatory field,i.e. it cannot be skipped by user without entering value) while data key-in in a Multi Record block.
    As for reference I have used a logic,such as
    1>In a When-Validate-Record trigger of that block I am assigning the value of that current item in Table type variable(collection type)
    as this trigger fire every time as soon as i leave that record,so its assigning the value of that current time.And this process continues
    then
    2>In a When-Validate-Item trigger of that corresponding item(i.e. the trigger is at item level) has been written,where it compares the value of that current item and the value stored in Table type variable(collection type) of When-Validate-Record trigger.If the current item value is matched with any value stored in Table type variable I am showing a message of ('Duplicate Record') following by raise_form_trigger failure
    This code is working fine for checking duplicate value of that multi record field
    The problem here is that suppose if usee gets a message of ('Duplicate Record') and after that without saving the values if user try to query of that block then also when validate item fired where as I am expecting ORACLE default alert message('Do You want to save?'),I want to restrict this When-Validate Item fire during query time..........................while user try to query.
    Please give me a meaningful logic or code for solving this problem
    Any other logic to solve this problem is also welcome

    When-Validate-Record trigger
    When-Validate-Item triggerThat smells like Oracle Forms...
    And the Oracle Forms forum is over here: Forms

  • Check duplicate asset number during MIGO

    Hi MM/Abap Gurus ,
    What user exit can be used to check duplicate asset number during GR. E.g: I have a PO with same asset number for item line 1 and 2. What user exit can be used to set warning msg if duplicate asset number exits during MIGO. Please advise if there any user exit can be used for my requirement?
    Thanks
    Mitra

    Hi Puspha,
    Actually, the scenarios as below:
    1. PO created with 1 line item with Acc Assign Cat = A and multiple account assignment. Therefore, under the account assignment tab there are duplicate asset number inputted.
    2. Hence, when do GR, the system should prompt warning message " Duplicate asset number exists".
    Above are the requirement. I need any user exit that I can use in MIGO, where there is checking on duplicate asset number or during the sving of MIGO, I could inforce a logic on the checking.
    Your help appreciated.
    Thanks

  • Check duplicate record in array

    suppose i have an array
    int a[]={1,2,3,4,4,5,6,7,7};
    how should i check duplicate record and remove them?
    thanks...

    Write yourself some pseudo-code:
    // Loop though all the elements in the array from 0 to length-2.
    // For each element i, loop through following elements from i+1 to length-1
    // if the following element is equal to the current one, do something with it.
    "do something" can mean either one of two things:
    (1) Remove it (VERY messy) or
    (2) Create a new array and only add in the non-duplicate elements.
    The easiest thing of all would be to create a List and then create a Set from that. Why code all this logic when somebody has already done it for you? Look at the java.util.Arrays and java.util.Collections classes. Use what's been given to you.
    %

  • Check duplicates

    Hi,
    How would I check duplicate records in an internal table?
    Thanks
    Will

    Hi this si the code which can give u the list of the Key field of the records which are having more than one records, prerequestisite is tht "u shud have atleast a primary key in ur internal table"..please change the code as per ur requrimetn ,it wil work and efficient too ,if number of records is too large in table -
    Data : begin of itab occurs 0,
           pernr like pernr-pernr,
           endda like p0001-endda,
           end of itab.
    Data : begin of pernr_list occurs 0,
           pernr like pernr-pernr,
           end of pernr_list.
    data : itab1 type range of itab WITH HEADER LINE,
           itab2 like standard table of itab with header line.
    DATA: DUPCOUNT TYPE I,
          ORICOUNT TYPE I,
          NEWCOUNT TYPE I,
          TOTALHIT TYPE I VALUE 0.
    Start-of-selection.
    select pernr endda into corresponding fields of table itab
    from pa0001
    where endda = '99991231' and persg = p_eg and
    pernr in ( select pernr from pa0000 where STAT2 = p_es
               and endda = '99991231' ).
    if sy-subrc = 0.
    sort itab by pernr.
    itab2[] = itab[].
    DESCRIBE TABLE ITAB LINES ORICOUNT.
    DELETE ADJACENT DUPLICATES FROM ITAB2.
    DESCRIBE TABLE ITAB2 LINES NEWCOUNT.
    DUPCOUNT = ORICOUNT - NEWCOUNT.
      ITAB1-SIGN   =  'I'.
      ITAB1-OPTION   =  'EQ'.
      ITAB1-LOW  = '00000000'.
      APPEND ITAB1.
    loop at itab.
    IF NOT ITAB-PERNR IN ITAB1.
      ITAB1-SIGN   =  'I'.
      ITAB1-OPTION   =  'EQ'.
      ITAB1-LOW  = ITAB-PERNR.
      APPEND ITAB1.
    ELSE.
      pernr_list-pernr = itab-pernr.    "Contain key field Pernr of duplicate records
      append pernr_list.
      TOTALHIT = TOTALHIT + 1.
      IF DUPCOUNT EQ TOTALHIT.
       EXIT.
      ENDIF.
    ENDIF.
    endloop.
    Reward points if helpfull..

Maybe you are looking for

  • Loading vector graphics at runtime

    Hi, I'd like to know if there is any way or any vector graphic file format that i can load dynamically at runtime on a web-based flash application. I have some files in pdf that i want to load in and i can convert them to jpgs at runtime and load the

  • Speaking selected blocks of text in preview

    Hello everyone. Hi, I am a fan of Speech functionality and use 'Start Speaking' in Preview for reading blocks of text back to myself.  Whatever text was selected is what would be read.  Now suddenly, every time I try to do this, it starts reading fro

  • Export and import from lower db version to upper version

    Hi I want to export the schema from database version 9.2.0.5.0 and import in to database version 9.2.0.8.0 What parameters I have to consider ?

  • Order Numbers of VARCHAR2 Type

    Hey, what I need to do is order columns filled with VARCHAR2 Datatypes by number. The problem is, the numbers are index values and are such that they cannot be converted into numbers. The numbers that need to be sorted are numbers like '10.8.1.9'. Is

  • Generic error while using create operation on MDM WebService

    Hello I´m trying to create a record on MDM using a standard MDM WebService operation createProducts When I create a record with everything blank (but not the repository info), it creates perfectly:     <urn:createProducts>          <urn:products>