I_PurchasingDocumentShipping
CDS View for Purg Document Shipping Data
I_PurchasingDocumentShipping is a Basic CDS View that provides data about "CDS View for Purg Document Shipping Data" in SAP S/4HANA. It reads from 1 data source (ekpv) and exposes 26 fields with key fields PurchasingDocument, PurchasingDocumentItem. It has 9 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ekpv | ekpv | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PurchasingDocument | _PurchasingDocument | $projection.PurchasingDocument = _PurchasingDocument.PurchasingDocument |
| [1..1] | I_PurchasingDocumentItem | _PurchasingDocumentItem | $projection.PurchasingDocument = _PurchasingDocumentItem.PurchasingDocument and $projection.PurchasingDocumentItem = _PurchasingDocumentItem.PurchasingDocumentItem |
| [0..1] | I_Customer | _ShipToParty | $projection.ShipToParty = _ShipToParty.Customer |
| [0..1] | I_SalesOrganization | _SalesOrganization | $projection.SalesOrganization = _SalesOrganization.SalesOrganization |
| [0..1] | I_DistributionChannel | _DistributionChannel | $projection.DistributionChannel = _DistributionChannel.DistributionChannel |
| [0..1] | I_Division | _OrganizationDivision | $projection.OrganizationDivision = _OrganizationDivision.Division |
| [0..1] | I_ShippingCondition | _ShippingCondition | $projection.ShippingCondition = _ShippingCondition.ShippingCondition |
| [0..1] | I_ShippingPoint | _ShippingPoint | $projection.ShippingPoint = _ShippingPoint.ShippingPoint |
| [0..1] | I_ShippingType | _ShippingType | $projection.ShippingType = _ShippingType.ShippingType |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | IPURGSHIP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | CDS View for Purg Document Shipping Data | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingDocument | ebeln | ||
| KEY | PurchasingDocumentItem | ebelp | ||
| SoldToParty | kunag | |||
| ShipToParty | kunnr | |||
| SalesOrganization | vkorg | |||
| DistributionChannel | vtweg | |||
| OrganizationDivision | spart | |||
| ShippingCondition | vsbed | |||
| ShippingPoint | vstel | |||
| Route | route | |||
| LoadingGroup | ladgr | |||
| TransportationGroup | tragr | |||
| DeliveryPriority | lprio | |||
| ShippingType | vsart | |||
| UnloadingPointName | ablad | |||
| DeliveryCreationDate | ledat | |||
| PlannedDeliveryDuration | plifz | |||
| _PurchasingDocument | _PurchasingDocument | |||
| _PurchasingDocumentItem | _PurchasingDocumentItem | |||
| _ShipToParty | _ShipToParty | |||
| _SalesOrganization | _SalesOrganization | |||
| _DistributionChannel | _DistributionChannel | |||
| _OrganizationDivision | _OrganizationDivision | |||
| _ShippingCondition | _ShippingCondition | |||
| _ShippingPoint | _ShippingPoint | |||
| _ShippingType | _ShippingType |
@AbapCatalog.preserveKey: true
@AbapCatalog.sqlViewName: 'IPURGSHIP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@EndUserText.label: 'CDS View for Purg Document Shipping Data'
@VDM.viewType : #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
define view I_PurchasingDocumentShipping as select from ekpv
association [1..1] to I_PurchasingDocument as _PurchasingDocument on $projection.PurchasingDocument = _PurchasingDocument.PurchasingDocument
association [1..1] to I_PurchasingDocumentItem as _PurchasingDocumentItem on $projection.PurchasingDocument = _PurchasingDocumentItem.PurchasingDocument
and $projection.PurchasingDocumentItem = _PurchasingDocumentItem.PurchasingDocumentItem
association [0..1] to I_Customer as _ShipToParty on $projection.ShipToParty = _ShipToParty.Customer
association [0..1] to I_SalesOrganization as _SalesOrganization on $projection.SalesOrganization = _SalesOrganization.SalesOrganization
association [0..1] to I_DistributionChannel as _DistributionChannel on $projection.DistributionChannel = _DistributionChannel.DistributionChannel
association [0..1] to I_Division as _OrganizationDivision on $projection.OrganizationDivision = _OrganizationDivision.Division
association [0..1] to I_ShippingCondition as _ShippingCondition on $projection.ShippingCondition = _ShippingCondition.ShippingCondition
association [0..1] to I_ShippingPoint as _ShippingPoint on $projection.ShippingPoint = _ShippingPoint.ShippingPoint
association [0..1] to I_ShippingType as _ShippingType on $projection.ShippingType = _ShippingType.ShippingType
{
@ObjectModel.foreignKey.association: '_PurchasingDocument'
key ebeln as PurchasingDocument,
@ObjectModel.foreignKey.association: '_PurchasingDocumentItem'
key ebelp as PurchasingDocumentItem,
kunag as SoldToParty,
@ObjectModel.foreignKey.association: '_ShipToParty'
kunnr as ShipToParty,
@ObjectModel.foreignKey.association: '_SalesOrganization'
vkorg as SalesOrganization,
@ObjectModel.foreignKey.association: '_DistributionChannel'
vtweg as DistributionChannel,
@ObjectModel.foreignKey.association: '_OrganizationDivision'
spart as OrganizationDivision,
@ObjectModel.foreignKey.association: '_ShippingCondition'
vsbed as ShippingCondition,
@ObjectModel.foreignKey.association: '_ShippingPoint'
vstel as ShippingPoint,
route as Route,
ladgr as LoadingGroup,
tragr as TransportationGroup,
lprio as DeliveryPriority,
@ObjectModel.foreignKey.association: '_ShippingType'
vsart as ShippingType,
ablad as UnloadingPointName,
ledat as DeliveryCreationDate,
plifz as PlannedDeliveryDuration,
_PurchasingDocument,
_PurchasingDocumentItem,
_ShipToParty,
_SalesOrganization,
_DistributionChannel,
_OrganizationDivision,
_ShippingCondition,
_ShippingPoint,
_ShippingType
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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