意见箱
恒创运营部门将仔细参阅您的意见和建议,必要时将通过预留邮箱与您保持联络。感谢您的支持!
意见/建议
提交建议

Diff between inner join and outer join_SAP刘梦_新浪博客

来源:恒创科技 编辑:恒创科技编辑部
2024-01-23 18:12:59


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


Diff between inner join and outer join_SAP刘梦_新浪博客

--------

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

上一篇: Create Your First SAPUI5 Application_SAP刘梦_新浪博客 下一篇: 手机怎么远程登录云服务器?