Skip to Content
author's profile photo Former Member
Former Member

Prevent creation of duplicate material master record

Hi Experts

1) Is there any control or validation to prevent creation of duplicate material? I mean, if the description of new material is 100% or 95% matching with an existing material, there should be a validation.

2) Is there any feature of usage of catelogs for creation of material master description?

warm regards

ramSiva

Add comment
10|10000 characters needed characters exceeded

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 19, 2010 at 07:29 AM

    Hi,

    Have a try to use Enhancement: MGA00001, user exit: EXIT_SAPLMGMU_001 for control you need.

    You can also use BAdI for this:

    BADI_MATERIAL_CHECK -> method CHECK.

    In both enhacements there is a structure STEXT - here short text(s) of new created material should be found for validation.

    Here you can make some ABAP works necessary.

    Hope it helps,

    regards,

    w.

    Edited by: Wojciech Zalech on May 19, 2010 9:43 AM

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2010 at 01:04 PM

    Hi Marias,

    1) No validation control for material description. Better before create material code to be check material description if it is available in master or not.

    2) No, feature of usage of catelogs for creation of material master description.

    Thanks and Regards,

    K.Rajendran.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2010 at 07:06 AM

    NO such validation to control "Material descripion". it is just text field only.

    Try with ABAP development

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on May 19, 2010 at 07:52 AM

    Check this answered link duplicate-material

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2010 at 08:10 AM

    Hi Marias,

    1) No validation control for material description. Better before create material code to be check material description if it is available in master or not.

    2) No, feature of usage of catalogs for creation of material master description.

    Thanks and Regards,

    K.Rajendran.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Your requirement can be full fil by a Abap program, first your have to give only description of new material , then your program should check whether any material present with same description in table MAKT field MAKTX, if found it should give error message if not found then ceate material , for this u can use BAPI_MATERIAL_SAVEDATA, or create material.

      regards,

      zafar