2008 Mar 05 2:02 AM
Hi,
There are two internaltable of same strcuture with fields
f1
f2
f3
I have to check if value 'A' exists in field f1 of both the tables itab1 and itab2. If true I should get the value as 'x'. Is it possible to achieve using one command ?
Please guide me how to go about this ?
Regards,
Suresh.
2008 Mar 05 2:04 AM
Hi Suresh,
It is not possible in one command.
You have to read both the tables separately to know if the value is present or not there.
Regards,
Atish
Hi,
There are two internaltable of same strcuture with fields
f1
f2
f3
I have to check if value 'A' exists in field f1 of both the tables itab1 and itab2. If true I should get the value as 'x'. Is it possible to achieve using one command ?
Please guide me how to go about this ?
Regards,
Suresh.
2008 Mar 05 2:04 AM
Hi Suresh,
It is not possible in one command.
You have to read both the tables separately to know if the value is present or not there.
Regards,
Atish
2008 Mar 05 2:09 AM
Hi
There is no keyword as such..
U can do like this
Loop at itab1 .
Read table itab2 with key f1 = itab1-f1 .
Do ur reqmt here .
Endloop .
Hope it helps.
Praveen
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |