I_DigitalVehSalesDocConfig
Digital Vehicle SalesDoc Configuration
I_DigitalVehSalesDocConfig is a Basic CDS View that provides data about "Digital Vehicle SalesDoc Configuration" in SAP S/4HANA. It reads from 2 data sources (vbak, vbap) and exposes 5 fields with key fields SalesDocument, SalesDocumentItem.
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Digital Vehicle SalesDoc Configuration | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Digital Vehicle SalesDoc Configuration'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #XL,
dataClass: #TRANSACTIONAL
}
@VDM.viewType: #BASIC
define view entity I_DigitalVehSalesDocConfig
as select from vbap as _SalesDocumentItem
inner join vbak as _SalesDocument
on _SalesDocument.vbeln = _SalesDocumentItem.vbeln
and ( _SalesDocument.vbtyp = 'C'
or _SalesDocument.vbtyp = 'B' )
{
key _SalesDocumentItem.vbeln as SalesDocument,
key _SalesDocumentItem.posnr as SalesDocumentItem,
_SalesDocument.vbtyp as SDDocumentCategory,
cast ( concat(_SalesDocumentItem.vbeln, _SalesDocumentItem.posnr ) as ibobjkey ) as InstalledBaseCompObjKey,
_SalesDocumentItem.cuobj as ProductConfiguration
}
//as select from I_SalesDocumentItem as _SalesDocumentItem
// inner join I_SalesDocumentBasic as _SalesDocument
// on _SalesDocument.SalesDocument = _SalesDocumentItem.SalesDocument
// and ( _SalesDocument.SDDocumentCategory = 'C'
// or _SalesDocument.SDDocumentCategory = 'B' )
//{
//
// key _SalesDocumentItem.SalesDocument,
// key _SalesDocumentItem.SalesDocumentItem,
// _SalesDocument.SDDocumentCategory,
// cast ( concat(_SalesDocumentItem.SalesDocument, _SalesDocumentItem.SalesDocumentItem) as ibobjkey ) as InstalledBaseCompObjKey,
// _SalesDocumentItem.ProductConfiguration
//
//}
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