A_SrvcConfItemSerialNumber
Serial Number in Service Confirmation Item
A_SrvcConfItemSerialNumber is a Composite CDS View that provides data about "Serial Number in Service Confirmation Item" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentRefObject) and exposes 7 fields with key fields ServiceConfirmation, ServiceConfirmationItem, ServiceRefObjectSequenceNumber. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentRefObject | I_ServiceDocumentRefObject | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | A_ServiceConfirmation | _ServiceConfirmation | $projection.ServiceConfirmation = _ServiceConfirmation.ServiceConfirmation |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ASRVCONFISN | view | |
| EndUserText.label | Serial Number in Service Confirmation Item | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceConfirmation | ServiceDocument | ||
| KEY | ServiceConfirmationItem | ServiceDocumentItem | ||
| KEY | ServiceRefObjectSequenceNumber | ServiceRefObjectSequenceNumber | ||
| SerialNumber | SerialNumber | Serial Number | ||
| ServiceReferenceEquipment | Equipment | Equipment | ||
| ManufacturerSerialNumber | Manufacturer\ | |||
| _ServiceConfirmation | _ServiceConfirmation |
@AbapCatalog.sqlViewName: 'ASRVCONFISN'
@EndUserText.label: 'Serial Number in Service Confirmation Item'
@ClientHandling.algorithm:#SESSION_VARIABLE
@VDM: {
viewType: #COMPOSITE,
lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@AbapCatalog: {
compiler.compareFilter: true,
preserveKey: true
}
@AccessControl: {
authorizationCheck: #MANDATORY,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
createEnabled: true,
deleteEnabled: true,
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #C,
sizeCategory: #L
}
}
@Metadata.ignorePropagatedAnnotations: true
define view A_SrvcConfItemSerialNumber
as select from I_ServiceDocumentRefObject
association [1..1] to A_ServiceConfirmation as _ServiceConfirmation on $projection.ServiceConfirmation = _ServiceConfirmation.ServiceConfirmation
{
key ServiceDocument as ServiceConfirmation,
key ServiceDocumentItem as ServiceConfirmationItem,
key ServiceRefObjectSequenceNumber,
@EndUserText.label: 'Serial Number'
@EndUserText.quickInfo: 'Serial Number'
SerialNumber,
@EndUserText.label: 'Equipment'
@EndUserText.quickInfo: 'Equipment'
@ObjectModel.readOnly: true
Equipment as ServiceReferenceEquipment,
@EndUserText.label: 'Manufacturer\'s Serial Number'
@EndUserText.quickInfo: 'Manufacturers\'s Serial Number'
@ObjectModel.readOnly: true
_Equipment.ManufacturerSerialNumber,
// @EndUserText.label: 'Description'
// @EndUserText.quickInfo: 'Description'
// _Equipment._EquipmentText[ 1: Language = $session.system_language ].EquipmentName,
//ServiceReferenceObjectType,
_ServiceConfirmation
/* Associations */
// _Equipment
}
where
ServiceObjectType = 'BUS2000117'
and ServiceReferenceObjectType = 'E'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_EQUIPMENT",
"I_SERVICEDOCUMENTREFOBJECT"
],
"ASSOCIATED":
[
"A_SERVICECONFIRMATION"
],
"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