P_CN_CADEAddressID

DDL: P_CN_CADEADDRESSID SQL: PCADEADDRID Type: view BASIC

P_CN_CADEAddressID is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (adrc, but020) and exposes 3 fields with key fields partner, nation.

Data Sources (2)

SourceAliasJoin Type
adrc adrc left_outer
but020 but020 from

Annotations (7)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName PCADEADDRID view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY partner but020 partner
KEY nation adrc nation
addrnumber
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.sqlViewName: 'PCADEADDRID'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC  
@VDM.private:true
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_CN_CADEAddressID as select from but020
left outer join adrc on but020.addrnumber = adrc.addrnumber 
                        and adrc.nation = 'C'{


 key but020.partner, 
 key adrc.nation, 
 max (adrc.addrnumber) as addrnumber
   
} where adrc.nation = 'C'
group by but020.partner,adrc.nation

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"ADRC",
"BUT020"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/