on 12-07-2004 10:24 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
mmmh ?
that ?
if A[] = B[].
write : /1 'OK'.
else.
write : /1 'KO'.
endif.
Frédéric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.