Quantcast
Channel: SCN : Unanswered Discussions - ABAP Development
Viewing all articles
Browse latest Browse all 8768

Information from multiple tables

$
0
0

Hi experts,

 

Let’s say i have 3 Tables. I want to compare and change the information contained in Table1 regarding the information contained in both Table 2 and Table 3.

 

The information that interests me is 1 , and 0 only if no value 1 was found for a material. Example:

 

Table 1:

MATERIAL

VALUE

AAA

0

BBB

0

CCC

0

 

Table 2:

MATERIAL

VALUE

AAA

1

BBB

0

CCC

0

 

Table :

MATERIAL

VALUE

AAA

0

BBB

1

CCC

0

 

What I expect is that Table 1 will be as following:

MATERIAL

VALUE

AAA

1 (from Table1)

BBB

1 (from Table3)

CCC

0

 

My BW tables will contain many thousands of data, i am afraid about performance issues.

Do I have to use imbricated loops, or it’s better to use read tables?

 

Thanks for your support.

 

Amine


Viewing all articles
Browse latest Browse all 8768

Trending Articles