I_BPCustomerMultiAddrVH
Customers by Multiple Addresses
I_BPCustomerMultiAddrVH is a Composite CDS View that provides data about "Customers by Multiple Addresses" in SAP S/4HANA. It reads from 4 data sources (I_Address_2, I_BusinessPartnerCustomer, I_BusPartAddress, I_Customer) and exposes 35 fields with key fields AddressID, BusinessPartner, Customer. It is exposed through 12 OData services (ASQL_F0246A, ASQL_F0263A, ASQL_F0867A, ...). Part of development package VDM_MD_BP.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_Address_2 | I_Address_2 | inner |
| I_BusinessPartnerCustomer | I_BusinessPartnerCustomer | from |
| I_BusPartAddress | I_BusPartAddress | inner |
| I_Customer | I_Customer | inner |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMULTIADDRCUSTVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | Customer | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Search.searchable | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Customers by Multiple Addresses | view | |
| Consumption.ranked | true | view |
OData Services (12)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F0246A | ASQL_F0246A | C2 | NOT_RELEASED | |
| ASQL_F0263A | ASQL_F0263A | C2 | NOT_RELEASED | |
| ASQL_F0867A | ASQL_F0867A | C2 | NOT_RELEASED | |
| ASQL_F2218 | ASQL_F2218 | C2 | NOT_RELEASED | |
| ASQL_F2422 | ASQL_F2422 | C2 | NOT_RELEASED | |
| ASQL_F2794 | ASQL_F2794 | C2 | NOT_RELEASED | |
| ASQL_F3398 | ASQL_F3398 | C2 | NOT_RELEASED | |
| ASQL_F3555 | ASQL_F3555 | C2 | NOT_RELEASED | |
| ASQL_F4456A | ASQL_F4456A | C2 | NOT_RELEASED | |
| ASQL_F4795 | ASQL_F4795 | C2 | NOT_RELEASED | |
| ASQL_F6061 | ASQL_F6061 | C2 | NOT_RELEASED | |
| ASQL_F8134 | ASQL_F8134 | C2 | NOT_RELEASED |
Fields (35)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AddressID | I_BusPartAddress | AddressID | Address Number |
| KEY | BusinessPartner | I_BusinessPartnerCustomer | BusinessPartner | Business Partner |
| KEY | Customer | I_BusinessPartnerCustomer | Customer | Sold-to Party |
| Country | I_Address_2 | Country | Venue: Ctry/Reg | |
| CityName | I_Address_2 | CityName | Name | |
| StreetName | I_Address_2 | StreetName | Text | |
| HouseNumber | I_Address_2 | HouseNumber | House Number | |
| PostalCode | I_Address_2 | PostalCode | Postal Code | |
| CustomerName | I_Customer | CustomerName | Customer Name | |
| BPCustomerName | I_Customer | BPCustomerName | Customer Name | |
| CustomerAccountGroup | I_BusinessPartnerCustomer | CustomerAccountGroup | Account group | |
| AuthorizationGroup | I_BusinessPartnerCustomer | AuthorizationGroup | AuthorizGroup | |
| IsBusinessPurposeCompleted | I_BusinessPartnerCustomer | IsBusinessPurposeCompleted | Purpose Completed | |
| BusinessPartnerType | ||||
| AddressValidityStartDate | Valid From | |||
| AddressValidityEndDate | Valid To | |||
| AddressUsage | I_Businesspartneraddressusage | AddressUsage | Address Type | |
| OrganizationBPName1 | I_Customer | OrganizationBPName1 | Name 1 | |
| BusinessPartnerName1 | I_Customer | BusinessPartnerName1 | Name 1 | |
| OrganizationBPName2 | I_Customer | OrganizationBPName2 | Name 2 | |
| BusinessPartnerName2 | I_Customer | BusinessPartnerName2 | Name 2 | |
| AddressSearchTerm1 | I_Address_2 | AddressSearchTerm1 | Search Term 1 | |
| AddressSearchTerm2 | I_Address_2 | AddressSearchTerm2 | Search Term 2 | |
| BusPartAddrLayoutStdIsHidden | ||||
| DataControllerSet | I_Customer | DataControllerSet | Data Ctrlr. Set | |
| DataController1 | I_Customer | DataController1 | Data Controller | |
| DataController2 | I_Customer | DataController2 | Data Controller | |
| DataController3 | I_Customer | DataController3 | Data Controller | |
| DataController4 | I_Customer | DataController4 | Data Controller | |
| DataController5 | I_Customer | DataController5 | Data Controller | |
| DataController6 | I_Customer | DataController6 | Data Controller | |
| DataController7 | I_Customer | DataController7 | Data Controller | |
| DataController8 | I_Customer | DataController8 | Data Controller | |
| DataController9 | I_Customer | DataController9 | Data Controller | |
| DataController10 | I_Customer | DataController10 | Data Controller |
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 I_BPCustomerMultiAddrVH.
-- 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: IMULTIADDRCUSTVH
CREATE VIEW I_BPCustomerMultiAddrVH AS
SELECT
I_BusPartAddress.AddressID AS AddressID,
I_BusinessPartnerCustomer.BusinessPartner AS BusinessPartner,
I_BusinessPartnerCustomer.Customer AS Customer,
I_Address_2.Country AS Country,
I_Address_2.CityName AS CityName,
I_Address_2.StreetName AS StreetName,
I_Address_2.HouseNumber AS HouseNumber,
I_Address_2.PostalCode AS PostalCode,
I_Customer.CustomerName AS CustomerName,
I_Customer.BPCustomerName AS BPCustomerName,
I_BusinessPartnerCustomer.CustomerAccountGroup AS CustomerAccountGroup,
I_BusinessPartnerCustomer.AuthorizationGroup AS AuthorizationGroup,
I_BusinessPartnerCustomer.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
I_Customer._CustomerToBusinessPartner._BusinessPartner.BusinessPartnerType AS BusinessPartnerType,
tstmp_to_dats(I_BusPartAddress.ValidityStartDate,'UTC', $session.client, 'NULL') AS AddressValidityStartDate,
tstmp_to_dats(I_BusPartAddress.ValidityEndDate,'UTC', $session.client, 'NULL') AS AddressValidityEndDate,
I_Businesspartneraddressusage.AddressUsage AS AddressUsage,
I_Customer.OrganizationBPName1 AS OrganizationBPName1,
I_Customer.BusinessPartnerName1 AS BusinessPartnerName1,
I_Customer.OrganizationBPName2 AS OrganizationBPName2,
I_Customer.BusinessPartnerName2 AS BusinessPartnerName2,
I_Address_2.AddressSearchTerm1 AS AddressSearchTerm1,
I_Address_2.AddressSearchTerm2 AS AddressSearchTerm2,
cast(' ' as abap_boolean preserving type) AS BusPartAddrLayoutStdIsHidden,
I_Customer.DataControllerSet AS DataControllerSet,
I_Customer.DataController1 AS DataController1,
I_Customer.DataController2 AS DataController2,
I_Customer.DataController3 AS DataController3,
I_Customer.DataController4 AS DataController4,
I_Customer.DataController5 AS DataController5,
I_Customer.DataController6 AS DataController6,
I_Customer.DataController7 AS DataController7,
I_Customer.DataController8 AS DataController8,
I_Customer.DataController9 AS DataController9,
I_Customer.DataController10 AS DataController10
FROM I_BusinessPartnerCustomer
INNER JOIN I_BusPartAddress ON /* join condition not captured in parsed metadata */
INNER JOIN I_Address_2 ON /* join condition not captured in parsed metadata */
INNER JOIN I_Customer ON /* join condition not captured in parsed metadata */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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