P_SerialNmbrDelivery
Serial number delivery consumption view
P_SerialNmbrDelivery is a Consumption CDS View that provides data about "Serial number delivery consumption view" in SAP S/4HANA. It reads from 1 data source (I_SerialNmbrDelivery) and exposes 6 fields with key fields Equipment, DeliveryDocument, DeliveryDocumentItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SerialNmbrDelivery | _SerialDelivery | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSERDLV | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Serial number delivery consumption view | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Equipment | Equipment | ||
| KEY | DeliveryDocument | DeliveryDocument | ||
| KEY | DeliveryDocumentItem | DeliveryDocumentItem | ||
| Material | Material | |||
| SerialNumber | SerialNumber | |||
| DocumentDate | DeliveryDate |
@AbapCatalog.sqlViewName: 'PSERDLV'
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Serial number delivery consumption view'
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@VDM.private: true
define view P_SerialNmbrDelivery
as select from I_SerialNmbrDelivery as _SerialDelivery
join I_MaintenanceItemObject as _MaintenanceItemObject on _SerialDelivery.MaintenanceItemObjectList = _MaintenanceItemObject.MaintenanceItemObjectList
{
key Equipment,
key DeliveryDocument,
key DeliveryDocumentItem,
Material,
SerialNumber,
case SDDocumentCategory
when 'T'
then cast( 'R' as sn_history_doc_type preserving type ) //Return delivery
else cast( 'L' as sn_history_doc_type preserving type ) end as DocumentType,
DeliveryDate as DocumentDate
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MAINTENANCEITEMOBJECT",
"I_SERIALNMBRDELIVERY"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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