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 32 fields with key fields PurchasingDocument, PurchasingDocumentItem. It has 15 associations to related views. Part of development package VDM_MM_PUR_PD.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ekpv | ekpv | from |
Associations (15)
| 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 |
| [0..*] | I_ShippingConditionText | _ShippingConditionText | $projection.ShippingCondition = _ShippingConditionText.ShippingCondition |
| [0..*] | I_ShippingPointText | _ShippingPointText | $projection.ShippingPoint = _ShippingPointText.ShippingPoint |
| [0..*] | I_RouteText | _RouteText | $projection.Route = _RouteText.Route |
| [0..*] | I_LoadingGroupText | _LoadingGroupText | $projection.LoadingGroup = _LoadingGroupText.LoadingGroup |
| [0..*] | I_TransportationGroupText | _TransportationGroupText | $projection.TransportationGroup = _TransportationGroupText.TransportationGroup |
| [0..*] | I_DeliveryPriorityText | _DeliveryPriorityText | $projection.DeliveryPriority = _DeliveryPriorityText.DeliveryPriority |
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 (32)
| 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 | |||
| _ShippingConditionText | _ShippingConditionText | |||
| _ShippingPointText | _ShippingPointText | |||
| _RouteText | _RouteText | |||
| _LoadingGroupText | _LoadingGroupText | |||
| _TransportationGroupText | _TransportationGroupText | |||
| _DeliveryPriorityText | _DeliveryPriorityText |
@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
// new asociations for CustomUI
association [0..*] to I_ShippingConditionText as _ShippingConditionText on $projection.ShippingCondition = _ShippingConditionText.ShippingCondition
association [0..*] to I_ShippingPointText as _ShippingPointText on $projection.ShippingPoint = _ShippingPointText.ShippingPoint
association [0..*] to I_RouteText as _RouteText on $projection.Route = _RouteText.Route
association [0..*] to I_LoadingGroupText as _LoadingGroupText on $projection.LoadingGroup = _LoadingGroupText.LoadingGroup
association [0..*] to I_TransportationGroupText as _TransportationGroupText on $projection.TransportationGroup = _TransportationGroupText.TransportationGroup
association [0..*] to I_DeliveryPriorityText as _DeliveryPriorityText on $projection.DeliveryPriority = _DeliveryPriorityText.DeliveryPriority
{
@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,
// Text associations for CustomUI
_ShippingConditionText,
_ShippingPointText,
_RouteText,
_LoadingGroupText,
_TransportationGroupText,
_DeliveryPriorityText
}
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