I_DeliveryStatusValuation
Valuation of Document Status
I_DeliveryStatusValuation is a Composite CDS View that provides data about "Valuation of Document Status" in SAP S/4HANA. It reads from 1 data source (I_DeliveryDocument) and exposes 2 fields with key field DeliveryDocument. Part of development package ODATA_LE_SHP_OD_LIST.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_DeliveryDocument | I_DeliveryDocument | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Valuation of Document Status | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.representativeKey | DeliveryDocument | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DeliveryDocument | DeliveryDocument | ||
| ShippingPoint | ShippingPoint |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #('TRANSACTIONAL_DATA')
@EndUserText.label: 'Valuation of Document Status'
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #COMPOSITE
@ObjectModel:{
representativeKey: 'DeliveryDocument',
usageType:{
serviceQuality: #X,
sizeCategory: #S,
dataClass: #MIXED
}
}
define view entity I_DeliveryStatusValuation as select from I_DeliveryDocument
{
key DeliveryDocument,
ShippingPoint,
cast ( case
//ready for picking
when ( OverallPickingStatus = 'A' or OverallPickingStatus = 'B' )
then '1'
//ready for Confirmation
when (
( OverallPickingStatus = '' or OverallPickingStatus = 'C' ) and
( OverallPickingConfStatus = 'A' or OverallPickingConfStatus = 'B' )
) then '2'
//ready for Goods Issue
when (
( OverallGoodsMovementStatus = 'A' or OverallGoodsMovementStatus = 'B' ) and
( OverallPickingStatus = '' or OverallPickingStatus = 'C' ) and
( OverallPickingConfStatus = '' or OverallPickingConfStatus = 'C' ) and
( OverallChmlCmplncStatus = '' or OverallChmlCmplncStatus = 'A' ) and
( OverallDangerousGoodsStatus = '' or OverallDangerousGoodsStatus = 'A' or OverallDangerousGoodsStatus = 'B' ) and
( OverallSafetyDataSheetStatus = '' or OverallSafetyDataSheetStatus = 'A' or OverallSafetyDataSheetStatus = 'B' )
) then '3'
//ready for Reverse GI
when OverallGoodsMovementStatus = 'C'
then '4'
end as deliverystatusvaluation ) as DeliveryStatusValuation
}
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