I_EWM_DeliveryBPLocation
Warehouse Business Partner and Location
I_EWM_DeliveryBPLocation is a Composite CDS View (Fact) that provides data about "Warehouse Business Partner and Location" in SAP S/4HANA. It reads from 1 data source (I_EWM_WhseReqBPLocation) and exposes 16 fields with key fields OutboundDeliveryOrderUUID, OutboundDeliveryOrderItemUUID, BusinessPartnerRole. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EWM_WhseReqBPLocation | _businessPartnerLocation | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_BusinessPartner | _BusinessPartner | _businessPartnerLocation.BusinessPartnerNumber = _BusinessPartner.BusinessPartner |
| [0..1] | P_EWM_Address | _BusAddress2 | $projection.AddressNumber = _BusAddress2.AddressID and _BusAddress2.AddressPersonID is initial |
| [0..1] | I_LocationBasic | _LocationDetails | $projection.WarehouseLocation = _LocationDetails.Location |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IEWMBPLOC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Warehouse Business Partner and Location | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.representativeKey | OutboundDeliveryOrderUUID | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| Analytics.dataCategory | #FACT | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OutboundDeliveryOrderUUID | EWMWarehouseRequestUUID | Snapshot ID | |
| KEY | OutboundDeliveryOrderItemUUID | EWMWarehouseRequestItemUUID | Russia Statutory Reporting Report Land Tax, Run Item ID | |
| KEY | BusinessPartnerRole | BusinessPartnerRole | BP Role | |
| BusinessPartnerUUID | BusinessPartnerUUID | UUID | ||
| DeliveryCategory | EWMWhseRequestDocumentCategory | Document Cat. | ||
| EWMDeliveryDocumentCategory | EWMWhseRequestDocumentCategory | Document Cat. | ||
| WarehouseLocation | WarehouseLocation | Location Number | ||
| OrganizationalUnit | EWMWarehouseRequestOrgUnit | Location Number | ||
| AddressNumber | EWMWarehouseRequestAddress | Ship-to address | ||
| IsBusinessPurposeCompleted | _BusinessPartner | IsBusinessPurposeCompleted | Purpose Completed | |
| BusinessPartner | Busn. Partner | |||
| BusinessPartnerName | ||||
| OrganizationName1 | _BusAddress2 | OrganizationName1 | Name | |
| OrganizationName2 | _BusAddress2 | OrganizationName2 | Name 2 | |
| LocationUUID | _LocationDetails | LocationUUID | UUID | |
| _Text | _LocationDetails | _Text |
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_EWM_DeliveryBPLocation.
-- 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: IEWMBPLOC
CREATE VIEW I_EWM_DeliveryBPLocation AS
SELECT
EWMWarehouseRequestUUID AS OutboundDeliveryOrderUUID,
EWMWarehouseRequestItemUUID AS OutboundDeliveryOrderItemUUID,
BusinessPartnerRole,
BusinessPartnerUUID,
EWMWhseRequestDocumentCategory AS DeliveryCategory,
EWMWhseRequestDocumentCategory AS EWMDeliveryDocumentCategory,
WarehouseLocation,
EWMWarehouseRequestOrgUnit AS OrganizationalUnit,
EWMWarehouseRequestAddress AS AddressNumber,
_BusinessPartner.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
cast( BusinessPartnerNumber as bu_partner ) AS BusinessPartner,
cast( _BusinessPartner.BusinessPartnerName as abap.char( 40 ) ) AS BusinessPartnerName,
_BusAddress2.OrganizationName1 AS OrganizationName1,
_BusAddress2.OrganizationName2 AS OrganizationName2,
_LocationDetails.LocationUUID AS LocationUUID,
_LocationDetails._Text AS _Text
FROM I_EWM_WhseReqBPLocation AS _businessPartnerLocation
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON _businessPartnerLocation.BusinessPartnerNumber = _BusinessPartner.BusinessPartner -- association [0..1]
LEFT OUTER JOIN P_EWM_Address AS _BusAddress2 ON AddressNumber = _BusAddress2.AddressID AND _BusAddress2.AddressPersonID is initial -- association [0..1]
LEFT OUTER JOIN I_LocationBasic AS _LocationDetails ON WarehouseLocation = _LocationDetails.Location -- 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