A_BPContactPersonMblNmbr
Contact Person Mobile Number
A_BPContactPersonMblNmbr is a Basic CDS View that provides data about "Contact Person Mobile Number" in SAP S/4HANA. It reads from 2 data sources (I_BpContactToAddress, I_AddressPhoneNumber) and exposes 15 fields with key fields RelationshipNumber, BusinessPartnerCompany, BusinessPartnerPerson, ValidityEndDate, AddressID. It has 3 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_BpContactToAddress | ContactPerson | from |
| I_AddressPhoneNumber | MobilePhoneNumber | inner |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | A_BusinessPartner | _BusinessPartnerCompany | $projection.BusinessPartnerCompany = _BusinessPartnerCompany.BusinessPartner |
| [1..1] | A_BusinessPartner | _BusinessPartnerPerson | $projection.BusinessPartnerPerson = _BusinessPartnerPerson.BusinessPartner |
| [1..1] | A_BPContactToAddress | _BPContactAddress | $projection.RelationshipNumber = _BPContactAddress.RelationshipNumber and $projection.BusinessPartnerCompany = _BPContactAddress.BusinessPartnerCompany and $projection.BusinessPartnerPerson = _BPContactAddress.BusinessPartnerPerson and $projection.ValidityEndDate = _BPContactAddress.ValidityEndDate and $projection.AddressID = _BPContactAddress.AddressID |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Contact Person Mobile Number | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| Feature | API_BP_CNTCT_PERSN_ADDR | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RelationshipNumber | I_BpContactToAddress | RelationshipNumber | BP Rel. Number |
| KEY | BusinessPartnerCompany | I_BpContactToAddress | BusinessPartnerCompany | Busn. Partner |
| KEY | BusinessPartnerPerson | I_BpContactToAddress | BusinessPartnerPerson | Busn. Partner |
| KEY | ValidityEndDate | I_BpContactToAddress | ValidityEndDate | ValidTo |
| KEY | AddressID | I_BpContactToAddress | AddressID | Ship-to address |
| KEY | OrdinalNumber | I_AddressPhoneNumber | OrdinalNumber | Sequence Number |
| IsDefaultPhoneNumber | I_AddressPhoneNumber | IsDefaultPhoneNumber | TRUE | |
| DestinationLocationCountry | I_AddressPhoneNumber | DestinationLocationCountry | Country/Region | |
| MobilePhoneNumber | I_AddressPhoneNumber | PhoneNumber | Telephone no. | |
| PhoneNumberExtension | I_AddressPhoneNumber | PhoneNumberExtension | Extension | |
| InternationalPhoneNumber | I_AddressPhoneNumber | InternationalPhoneNumber | Telephone no. | |
| PhoneNumberType | I_AddressPhoneNumber | PhoneNumberType | Phone number type | |
| _BusinessPartnerCompany | _BusinessPartnerCompany | |||
| _BusinessPartnerPerson | _BusinessPartnerPerson | |||
| _BPContactAddress | _BPContactAddress |
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 A_BPContactPersonMblNmbr.
-- 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 A_BPContactPersonMblNmbr AS
SELECT
ContactPerson.RelationshipNumber AS RelationshipNumber,
ContactPerson.BusinessPartnerCompany AS BusinessPartnerCompany,
ContactPerson.BusinessPartnerPerson AS BusinessPartnerPerson,
ContactPerson.ValidityEndDate AS ValidityEndDate,
ContactPerson.AddressID AS AddressID,
MobilePhoneNumber.OrdinalNumber AS OrdinalNumber,
MobilePhoneNumber.IsDefaultPhoneNumber AS IsDefaultPhoneNumber,
MobilePhoneNumber.DestinationLocationCountry AS DestinationLocationCountry,
MobilePhoneNumber.PhoneNumber AS MobilePhoneNumber,
MobilePhoneNumber.PhoneNumberExtension AS PhoneNumberExtension,
MobilePhoneNumber.InternationalPhoneNumber AS InternationalPhoneNumber,
MobilePhoneNumber.PhoneNumberType AS PhoneNumberType
FROM I_BpContactToAddress AS ContactPerson
INNER JOIN I_AddressPhoneNumber AS MobilePhoneNumber ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN A_BusinessPartner AS _BusinessPartnerCompany ON BusinessPartnerCompany = _BusinessPartnerCompany.BusinessPartner -- association [1..1]
LEFT OUTER JOIN A_BusinessPartner AS _BusinessPartnerPerson ON BusinessPartnerPerson = _BusinessPartnerPerson.BusinessPartner -- association [1..1]
LEFT OUTER JOIN A_BPContactToAddress AS _BPContactAddress ON RelationshipNumber = _BPContactAddress.RelationshipNumber AND BusinessPartnerCompany = _BPContactAddress.BusinessPartnerCompany AND BusinessPartnerPerson = _BPContactAddress.BusinessPartnerPerson AND ValidityEndDate = _BPContactAddress.ValidityEndDate AND AddressID = _BPContactAddress.AddressID -- association [1..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