Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Material Comparision between two clients

Former Member
0 Likes
567

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

2 REPLIES 2
Read only

Former Member
0 Likes
503

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.

Read only

0 Likes
503

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