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

Comparision of Two tables

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Dec 07, 2004 at 10:30 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 07, 2004 at 10:30 AM

    mmmh ?

    that ?

    if A[] = B[].

    write : /1 'OK'.

    else.

    write : /1 'KO'.

    endif.

    Frédéric

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.