@AbapCatalog.sqlViewName: 'ZCDSLIMIT1'
@EndUserText.label: 'CDS Limitations 1'
define view zcds_assoc_limitation1
as select from acdoca
association[0..1] to t001 as _Compcode on acdoca.rbukrs = _Compcode.bukrs
and acdoca.rclnt = _Compcode.mandt
association[0..1] to t005T as _Country on $projection.land1 = _Country.land1
and $projection.mandt = _Country.mandt
and _Country.spras = 'E'
{
acdoca.rbukrs,
acdoca.rclnt,
_Compcode.land1 as land1,
_Compcode.mandt as mandt,
_Compcode,
_Country.landx, -- Country Description
_Country
}
@AbapCatalog.sqlViewName: 'ZCDSLIMIT2'
@EndUserText.label: 'CDS Limitations 1'
define view zcds_assoc_limit_joins
as select from acdoca a
left outer join t001 as T on a.rbukrs = T.bukrs
and a.rclnt = T.mandt
left outer join t005t as C on T.land1 = C.land1
and T.mandt = C.mandt
and C.spras = 'E'
{
a.rbukrs,
a.rclnt,
T.land1,
C.landx -- Country Description
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
3 | |
3 | |
2 | |
2 | |
2 | |
2 | |
2 | |
2 | |
2 |