I_AddressFaxNumber_2
Fax Number
I_AddressFaxNumber_2 is a Basic CDS View (Dimension) that provides data about "Fax Number" in SAP S/4HANA. It reads from 1 data source (adr3) and exposes 14 fields with key fields AddressID, AddressPersonID, CommMediumSequenceNumber. It has 3 associations to related views. Part of development package S_ADDRESS_VDM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| adr3 | adr3 | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_AddressCommunicationRemark_2 | _AddressCommunicationRemark | $projection.AddressID = _AddressCommunicationRemark.AddressID and $projection.AddressPersonID = _AddressCommunicationRemark.AddressPersonID and $projection.CommMediumSequenceNumber = _AddressCommunicationRemark.CommMediumSequenceNumber and _AddressCommunicationRemark.CommunicationMediumType = 'FAX' |
| [0..*] | I_AddressCommunicationUsage | _AddressCommunicationUsage | $projection.AddressID = _AddressCommunicationUsage.AddressID and $projection.AddressPersonID = _AddressCommunicationUsage.AddressPersonID and $projection.CommMediumSequenceNumber = _AddressCommunicationUsage.CommMediumSequenceNumber and _AddressCommunicationUsage.CommunicationMediumType = 'FAX' |
| [0..1] | I_Country | _FaxNumberCountry | $projection.FaxNumberCountry = _FaxNumberCountry.Country |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | Fax Number | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.dataExtraction.delta.changeDataCapture.automatic | true | view | |
| ObjectModel.sapObjectNodeType.name | FaxNumber | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AddressID | addrnumber | ||
| KEY | AddressPersonID | persnumber | ||
| KEY | CommMediumSequenceNumber | consnumber | ||
| FaxNumberCountry | country | |||
| CommLineNotForUnsolicitedCntct | flg_nouse | |||
| FaxAreaCodeSubscriberNumber | fax_number | |||
| FaxExtensionNumber | fax_extens | |||
| InternationalFaxNumber | faxnr_long | |||
| FaxNumberIsCurrentDefault | ||||
| datsendasValidityStartDate | ||||
| datsendasValidityEndDate | ||||
| _AddressCommunicationRemark | _AddressCommunicationRemark | |||
| _AddressCommunicationUsage | _AddressCommunicationUsage | |||
| _FaxNumberCountry | _FaxNumberCountry |
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@AccessControl.privilegedAssociations: ['_AddressCommunicationRemark', '_AddressCommunicationUsage']
@EndUserText.label: 'Fax Number'
//@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.supportedCapabilities: [#CDS_MODELING_ASSOCIATION_TARGET, #CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE]
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #MIXED
//@ObjectModel.representativeKey: 'AddressID'
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@Analytics: {
dataCategory: #DIMENSION,
dataExtraction: {
enabled: true,
delta.changeDataCapture.automatic: true
}
}
@ObjectModel.sapObjectNodeType.name: 'FaxNumber'
define view entity I_AddressFaxNumber_2
as select from adr3
association [0..*] to I_AddressCommunicationRemark_2 as _AddressCommunicationRemark on $projection.AddressID = _AddressCommunicationRemark.AddressID
and $projection.AddressPersonID = _AddressCommunicationRemark.AddressPersonID
and $projection.CommMediumSequenceNumber = _AddressCommunicationRemark.CommMediumSequenceNumber
and _AddressCommunicationRemark.CommunicationMediumType = 'FAX'
association [0..*] to I_AddressCommunicationUsage as _AddressCommunicationUsage on $projection.AddressID = _AddressCommunicationUsage.AddressID
and $projection.AddressPersonID = _AddressCommunicationUsage.AddressPersonID
and $projection.CommMediumSequenceNumber = _AddressCommunicationUsage.CommMediumSequenceNumber
and _AddressCommunicationUsage.CommunicationMediumType = 'FAX'
association [0..1] to I_Country as _FaxNumberCountry on $projection.FaxNumberCountry = _FaxNumberCountry.Country
{
key addrnumber as AddressID,
key persnumber as AddressPersonID,
key consnumber as CommMediumSequenceNumber,
@ObjectModel.foreignKey.association: '_FaxNumberCountry'
country as FaxNumberCountry,
flg_nouse as CommLineNotForUnsolicitedCntct,
fax_number as FaxAreaCodeSubscriberNumber,
fax_extens as FaxExtensionNumber,
faxnr_long as InternationalFaxNumber,
cast (flgdefault as ad_faxcurdflt preserving type) as FaxNumberIsCurrentDefault,
case valid_from
when '' then '00010101'
else cast( substring( valid_from,1,8) as abap.dats)
end as ValidityStartDate,
case valid_to
when '' then '99991231'
else cast( substring( valid_to,1,8) as abap.dats)
end as ValidityEndDate,
_AddressCommunicationRemark,
_AddressCommunicationUsage,
_FaxNumberCountry
}
where
date_from = '00010101'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA