C_BPCntctPersnAddressVersionTP
Projection for Contact Address Version
C_BPCntctPersnAddressVersionTP is a Consumption CDS View that provides data about "Projection for Contact Address Version" in SAP S/4HANA. It reads from 1 data source (I_BPRelshpCntctPersnAddrVersTP) and exposes 41 fields with key fields BusinessPartner1, BusinessPartner2, ValidityEndDate, RelationshipCategory, AddressID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BPRelshpCntctPersnAddrVersTP | I_BPRelshpCntctPersnAddrVersTP | projection |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Projection for Contact Address Version | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Search.searchable | true | view |
Fields (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartner1 | BusinessPartner1 | Partner | |
| KEY | BusinessPartner2 | BusinessPartner2 | Partner | |
| KEY | ValidityEndDate | ValidityEndDate | ValidTo | |
| KEY | RelationshipCategory | RelationshipCategory | Relationsh.Cat. | |
| KEY | AddressID | AddressID | Ship-to address | |
| KEY | AddressRepresentationCode | AddressRepresentationCode | Address Version | |
| KEY | BPRelshpCatIsInFwdDirection | BPRelshpCatIsInFwdDirection | Boolean Variable (X = True, - = False, Space = Unknown) | |
| AddrRepCodeForEdit | AddrRepCodeForEdit | Country/Region | ||
| RelationshipNumber | RelationshipNumber | BP Rel. Number | ||
| FormOfAddress | FormOfAddress | Title Key | ||
| FirstName | FirstName | First Name | ||
| LastName | LastName | Last Name | ||
| BirthName | BirthName | Name at Birth | ||
| MiddleName | MiddleName | Middle Name | ||
| AdditionalFamilyName | AdditionalFamilyName | Name at Birth | ||
| FullName | FullName | Name | ||
| PersonFullNameMaintStatus | PersonFullNameMaintStatus | Converted | ||
| AcademicTitle | AcademicTitle | Academic Title | ||
| AcademicTitle2 | AcademicTitle2 | 2nd Academic | ||
| LastNamePrefix | LastNamePrefix | Prefix Key | ||
| LastNameSecondPrefix | LastNameSecondPrefix | 2nd prefix | ||
| NameSupplement | NameSupplement | Name Supplement | ||
| BusinessPartnerNicknameLabel | BusinessPartnerNicknameLabel | Nickname | ||
| Initials | Initials | Initials | ||
| NameFormat | NameFormat | Name Format | ||
| NameCountry | NameCountry | Country/Region | ||
| PersonProfessionName | PersonProfessionName | Profession | ||
| GenderCode | GenderCode | Sex-Specific | ||
| AddressSearchText1 | AddressSearchText1 | Sort string 1 | ||
| AddressSearchText2 | AddressSearchText2 | Sort string 2 | ||
| ContactRelationshipFunction | ContactRelationshipFunction | Function | ||
| ContactRelationshipDepartment | ContactRelationshipDepartment | Department | ||
| Floor | Floor | Floor | ||
| Building | Building | Building code | ||
| RoomNumber | RoomNumber | Room Number | ||
| CorrespondenceShortName | CorrespondenceShortName | Short name | ||
| InhouseMail | InhouseMail | Internal mail | ||
| AddressRepresentationDesclocalized | ||||
| FormOfAddressNamelocalized | ||||
| _BusinessPartner1 | _BusinessPartner1 | |||
| _BusinessPartner2 | _BusinessPartner2 |
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_BPCntctPersnAddressVersionTP.
-- 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.
CREATE VIEW C_BPCntctPersnAddressVersionTP AS
SELECT
BusinessPartner1,
BusinessPartner2,
ValidityEndDate,
RelationshipCategory,
AddressID,
AddressRepresentationCode,
BPRelshpCatIsInFwdDirection,
AddrRepCodeForEdit,
RelationshipNumber,
FormOfAddress,
FirstName,
LastName,
BirthName,
MiddleName,
AdditionalFamilyName,
FullName,
PersonFullNameMaintStatus,
AcademicTitle,
AcademicTitle2,
LastNamePrefix,
LastNameSecondPrefix,
NameSupplement,
BusinessPartnerNicknameLabel,
Initials,
NameFormat,
NameCountry,
PersonProfessionName,
GenderCode,
AddressSearchText1,
AddressSearchText2,
ContactRelationshipFunction,
ContactRelationshipDepartment,
Floor,
Building,
RoomNumber,
CorrespondenceShortName,
InhouseMail,
_AddressRepresentationText.AddressRepresentationDesc : localized AS AddressRepresentationDesclocalized,
_BusinessPartnerFormOfAddrTxt.FormOfAddressName : localized AS FormOfAddressNamelocalized
FROM I_BPRelshpCntctPersnAddrVersTP
;
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