C_AddressTP
Address Reusable Component
C_AddressTP is a Consumption CDS View that provides data about "Address Reusable Component" in SAP S/4HANA. It reads from 1 data source (I_AddressTP) and exposes 53 fields with key field AddressID. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AddressTP | Document | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_SupplierAddressIDValueHelp | _SupplierAddressIDValueHelp | $projection.FullName = _SupplierAddressIDValueHelp.FullName |
| [0..*] | C_PlantAddressIDValueHelp | _PlantAddressIDValueHelp | $projection.FullName = _PlantAddressIDValueHelp.FullName |
| [0..*] | C_CustomerAddressIDValueHelp | _CustomerAddressIDValueHelp | $projection.FullName = _CustomerAddressIDValueHelp.FullName |
| [0..1] | C_MM_CountryValueHelp | _CountryValueHelp | $projection.Country = _CountryValueHelp.Country |
| [0..1] | C_MM_RegionValueHelp | _RegionValueHelp | $projection.Country = _RegionValueHelp.Country and $projection.Region =_RegionValueHelp.Region |
| [0..*] | I_CountryText | _CountryText | $projection.Country = _CountryText.Country |
| [0..*] | I_RegionText | _RegionText | $projection.Region = _RegionText.Region and $projection.Country = _RegionText.Country |
| [0..1] | I_FormOfAddress | _FormOfAddress | $projection.FormOfAddress = _FormOfAddress.FormOfAddress |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CADDRRTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | Address Reusable Component | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.semanticKey | AddressID | view | |
| ObjectModel.representativeKey | AddressID | view | |
| UI.headerInfo.typeName | Address | view | |
| UI.headerInfo.typeNamePlural | Addresses | view | |
| UI.headerInfo.title.value | AddressID | view | |
| UI.headerInfo.title.type | #STANDARD | view |
Fields (53)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AddressID | I_AddressTP | AddressID | Ship-to address |
| CareOfName | I_AddressTP | CareOfName | c/o | |
| AdditionalStreetSuffixName | I_AddressTP | AdditionalStreetSuffixName | Street 5 | |
| CorrespondenceLanguage | I_AddressTP | CorrespondenceLanguage | Language | |
| PrfrdCommMediumType | I_AddressTP | PrfrdCommMediumType | Comm. Method | |
| POBox | I_AddressTP | POBox | PO Box | |
| POBoxIsWithoutNumber | I_AddressTP | POBoxIsWithoutNumber | PO Box w/o No. | |
| POBoxPostalCode | I_AddressTP | POBoxPostalCode | PO Box Postal Code | |
| POBoxLobbyName | I_AddressTP | POBoxLobbyName | PO Box Lobby | |
| POBoxDeviatingCityName | I_AddressTP | POBoxDeviatingCityName | PO Box City | |
| POBoxDeviatingRegion | I_AddressTP | POBoxDeviatingRegion | PO Region | |
| POBoxDeviatingCountry | I_AddressTP | POBoxDeviatingCountry | PO Box C/R | |
| DeliveryServiceTypeCode | I_AddressTP | DeliveryServiceTypeCode | Delvry Serv Type | |
| DeliveryServiceNumber | I_AddressTP | DeliveryServiceNumber | Delivery Service No. | |
| FullName | I_AddressTP | FullName | Name | |
| CityName | I_AddressTP | CityName | Name | |
| DistrictName | I_AddressTP | DistrictName | District | |
| CityCode | I_AddressTP | CityCode | IATA: City | |
| HomeCityName | I_AddressTP | HomeCityName | Different City | |
| PostalCode | I_AddressTP | PostalCode | Postal Code | |
| CompanyPostalCode | I_AddressTP | CompanyPostalCode | Company Post Cd | |
| StreetName | I_AddressTP | StreetName | Text | |
| StreetPrefixName | I_AddressTP | StreetPrefixName | Street 2 | |
| AdditionalStreetPrefixName | I_AddressTP | AdditionalStreetPrefixName | Street 3 | |
| StreetSuffixName | I_AddressTP | StreetSuffixName | Street 4 | |
| HouseNumber | I_AddressTP | HouseNumber | House Number | |
| HouseNumberSupplementText | I_AddressTP | HouseNumberSupplementText | Supplement | |
| Building | I_AddressTP | Building | Building code | |
| Floor | I_AddressTP | Floor | Floor | |
| RoomNumber | I_AddressTP | RoomNumber | Room Number | |
| Country | I_AddressTP | Country | Venue: Ctry/Reg | |
| Region | I_AddressTP | Region | Venue Region | |
| SecondaryRegionName | I_AddressTP | SecondaryRegionName | County | |
| CountyCode | I_AddressTP | CountyCode | County code | |
| FormOfAddress | I_AddressTP | FormOfAddress | Title Key | |
| TaxJurisdiction | I_AddressTP | TaxJurisdiction | Tax Jurisdiction | |
| TransportZone | I_AddressTP | TransportZone | Transport Zone | |
| PhoneNumber | I_AddressTP | PhoneNumber | Telephone no. | |
| FaxNumber | I_AddressTP | FaxNumber | Fax Number | |
| EmailAddress | I_AddressTP | EmailAddress | E-Mail Address | |
| AddressIsChangedManually | I_AddressTP | AddressIsChangedManually | Checkbox | |
| ReferenceAddressID | I_AddressTP | ReferenceAddressID | Reference Address ID | |
| ReferenceObjectID | I_AddressTP | ReferenceObjectID | Reference Object ID | |
| ReferenceAddressType | I_AddressTP | ReferenceAddressType | Reference Address Type | |
| _LanguageText | _LanguageText | |||
| _RegionText | _RegionText | |||
| _CountryText | _CountryText | |||
| _FormOfAddress | _FormOfAddress | |||
| _CountryValueHelp | _CountryValueHelp | |||
| _RegionValueHelp | _RegionValueHelp | |||
| _CustomerAddressIDValueHelp | _CustomerAddressIDValueHelp | |||
| _PlantAddressIDValueHelp | _PlantAddressIDValueHelp | |||
| _SupplierAddressIDValueHelp | _SupplierAddressIDValueHelp |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view C_AddressTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CADDRRTP
CREATE VIEW C_AddressTP AS
SELECT
Document.AddressID AS AddressID,
Document.CareOfName AS CareOfName,
Document.AdditionalStreetSuffixName AS AdditionalStreetSuffixName,
Document.CorrespondenceLanguage AS CorrespondenceLanguage,
Document.PrfrdCommMediumType AS PrfrdCommMediumType,
Document.POBox AS POBox,
Document.POBoxIsWithoutNumber AS POBoxIsWithoutNumber,
Document.POBoxPostalCode AS POBoxPostalCode,
Document.POBoxLobbyName AS POBoxLobbyName,
Document.POBoxDeviatingCityName AS POBoxDeviatingCityName,
Document.POBoxDeviatingRegion AS POBoxDeviatingRegion,
Document.POBoxDeviatingCountry AS POBoxDeviatingCountry,
Document.DeliveryServiceTypeCode AS DeliveryServiceTypeCode,
Document.DeliveryServiceNumber AS DeliveryServiceNumber,
Document.FullName AS FullName,
Document.CityName AS CityName,
Document.DistrictName AS DistrictName,
Document.CityCode AS CityCode,
Document.HomeCityName AS HomeCityName,
Document.PostalCode AS PostalCode,
Document.CompanyPostalCode AS CompanyPostalCode,
Document.StreetName AS StreetName,
Document.StreetPrefixName AS StreetPrefixName,
Document.AdditionalStreetPrefixName AS AdditionalStreetPrefixName,
Document.StreetSuffixName AS StreetSuffixName,
Document.HouseNumber AS HouseNumber,
Document.HouseNumberSupplementText AS HouseNumberSupplementText,
Document.Building AS Building,
Document.Floor AS Floor,
Document.RoomNumber AS RoomNumber,
Document.Country AS Country,
Document.Region AS Region,
Document.SecondaryRegionName AS SecondaryRegionName,
Document.CountyCode AS CountyCode,
Document.FormOfAddress AS FormOfAddress,
Document.TaxJurisdiction AS TaxJurisdiction,
Document.TransportZone AS TransportZone,
Document.PhoneNumber AS PhoneNumber,
Document.FaxNumber AS FaxNumber,
Document.EmailAddress AS EmailAddress,
Document.AddressIsChangedManually AS AddressIsChangedManually,
Document.ReferenceAddressID AS ReferenceAddressID,
Document.ReferenceObjectID AS ReferenceObjectID,
Document.ReferenceAddressType AS ReferenceAddressType
FROM I_AddressTP AS Document
LEFT OUTER JOIN C_SupplierAddressIDValueHelp AS _SupplierAddressIDValueHelp ON FullName = _SupplierAddressIDValueHelp.FullName -- association [0..*]
LEFT OUTER JOIN C_PlantAddressIDValueHelp AS _PlantAddressIDValueHelp ON FullName = _PlantAddressIDValueHelp.FullName -- association [0..*]
LEFT OUTER JOIN C_CustomerAddressIDValueHelp AS _CustomerAddressIDValueHelp ON FullName = _CustomerAddressIDValueHelp.FullName -- association [0..*]
LEFT OUTER JOIN C_MM_CountryValueHelp AS _CountryValueHelp ON Country = _CountryValueHelp.Country -- association [0..1]
LEFT OUTER JOIN C_MM_RegionValueHelp AS _RegionValueHelp ON Country = _RegionValueHelp.Country AND Region =_RegionValueHelp.Region -- association [0..1]
LEFT OUTER JOIN I_CountryText AS _CountryText ON Country = _CountryText.Country -- association [0..*]
LEFT OUTER JOIN I_RegionText AS _RegionText ON Region = _RegionText.Region AND Country = _RegionText.Country -- association [0..*]
LEFT OUTER JOIN I_FormOfAddress AS _FormOfAddress ON FormOfAddress = _FormOfAddress.FormOfAddress -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA