Skip to Content
author's profile photo
Former Member

Material Comparision between two clients

Dear Friends,

We want to compare material between two clients. The material has same material characterstics in both client. Is it there is any std. functional module to search it? There is one FM i got CLS_SEARCH_OBJECT but it gives short dump at selectiont tab.

Kindly give me solution as it is urgent

Waiting for the reply,

Thank you,

Nilesh Shete

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Feb 03, 2005 at 04:24 PM

    Hello Nilesh,

    This is the first time that I'm coming across such a requirement of such a kind. You can easily compare the materials in two different systems. But within the same system it is difficult to compare between two clients, since the oncept of a client basically exists to separate the data.

    One crude method is:

    data: mara_1 type mara,
          mara_2 type mara.   
    
    data: client_1 type mandt,
          client_2 type mandt.
          
    data : material_1 type matnr,      
           material_2 type matnr.
    
    select single * 
      from mara 
      client specified 
      into mara_1 
      where mandt = client_1 
        and matnr = material_1.
    
    
    select single * 
      from mara 
    client specified
      into mara_2
      where mandt = client_2
        and matnr = material_2.
    
     check mara_1 eq mara_2.

    I did not understand what you mean by "....same material characteristics.." do you realize that <i>characteristics</i> has a specific meaning in the context of a material in MM ? And if yes, are you referring to that ?

    Regards,

    Anand Mandalika.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Poornanand,

      Characteristics means the material info. such as product form / grade / thickness / width. The info is same in both client but in one client the materail is 65 series and another client it is 50 series material.

      So is it there is any std FM to search it.

      Waiting for the reply,

      Thank you

      Regards,

      Nilesh Shete