Diff between inner&nbs…
2016-07-27 10:02
375 查看
To keep it simple, let me keep it this way:
Considering two table A and B and internal table ITAB: Inner Join:
It requires an entry with KEY of A in B, to be extracted to
internal table. Outer Join: Irrespective of whether an entry
exists or not in B it still extracts data from A.
Eg:
Table: A
--------
Fld1
Fld2
------------
X
100
Y
200
Z
300
Table: B
--------
Fld1
Fld3
------------
X
abc
X
def
Z
pqr
" No entry for Key Y in table B so it is not extracted
ITAB fields: FLD1, FLD2, FLD3
Inner Join:
-----------
FLD1
FLD2
FLD3
--------------------
X
100
abc
X
100
def
Z
300
pqr
Outer Join:
-----------
FLD1
FLD2
FLD3
--------------------
X
100
abc
X
100
def
Y
200
" No entry for Key Y in table B so FLD3 is blank
Z
300
pqr
Considering two table A and B and internal table ITAB: Inner Join:
It requires an entry with KEY of A in B, to be extracted to
internal table. Outer Join: Irrespective of whether an entry
exists or not in B it still extracts data from A.
Eg:
Table: A
--------
Fld1
Fld2
------------
X
100
Y
200
Z
300
Table: B
--------
Fld1
Fld3
------------
X
abc
X
def
Z
pqr
" No entry for Key Y in table B so it is not extracted
ITAB fields: FLD1, FLD2, FLD3
Inner Join:
-----------
FLD1
FLD2
FLD3
--------------------
X
100
abc
X
100
def
Z
300
pqr
Outer Join:
-----------
FLD1
FLD2
FLD3
--------------------
X
100
abc
X
100
def
Y
200
" No entry for Key Y in table B so FLD3 is blank
Z
300
pqr
相关文章推荐
- Class Enhancement
- OO ALV 用户过滤数据后…
- 接口(工厂模式&代理模式)
- 用户登录密码错误多次被锁
- ICF Service based&nbsp…
- IDEA找齐Eclipse中的快捷键
- ABAP Dynamic Selection…
- jquery动态遍历Json对象的属性和值的方法
- Classical ALV Demo:&nb…
- ALV输入数据后点回车自动将焦点置…
- Python单元测试——深入理解unittest
- 基于C#的Windows定时关机系统的设计
- Variants Transport
- ERROR C2514:XXX类没有构造函数
- ABAP 动态生成内表的3种方法(…
- ALV demo:cl_salv_table&nbs…
- ALV demo:cl_salv_table&nbs…
- ALV demo:cl_salv_table(Ap…
- 设置日间夜间模式
- ALV demo:cl_salv_table&nbs…