cancel
Showing results for 
Search instead for 
Did you mean: 

Comparision of Two tables

Former Member
0 Kudos

I have two tables A and B, and I want check wether these two tables are exactly the same. A to B and

B to A.

MSEHI* MSEH3 MSEHT MSEHL ISOCODE

% % % Percentage P1

4G µL µl Microliter 4G

AB AB AB Absorption unit Z13

CM CM cm Centimeter CMT

MSEHI* MSEH3 MSEHT MSEHL ISOCODE

% % % Percentage P1

4G µL µl Microliter 4G

AB AB AB Absorption unit Z13

CM CM cm Centimeter CMT

Can anyone help with the code.

Thanks

Oli

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

sort the internal tables

sort itab1 ascending.

sort itab2 ascending.

if itab1[] eq itab2[].

  • this means that they are exactly the same.

endif.

-


If the solution helps please give points. Thanks.

Former Member
0 Kudos

Hai Fuat Ulugay,

Where should I give the Points

Oli

FredericGirod
Active Contributor
0 Kudos

click on the star neer from reply

Answers (1)

Answers (1)

FredericGirod
Active Contributor
0 Kudos

mmmh ?

that ?

if A[] = B[].

write : /1 'OK'.

else.

write : /1 'KO'.

endif.

Frédéric