RFM_SalesDocumentItemBasic
RFM_SalesDocumentItemBasic is a CDS View in SAP S/4HANA. It reads from 2 data sources (vbak, vbap) and exposes 12 fields.
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #AUTOMATED | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | RFMSDDOCITEMBSC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| SalesDocumentType | vbak | auart | ||
| SalesDocument | vbap | vbeln | ||
| SalesDocumentItem | vbap | posnr | ||
| OverallTotalSDDocRefStatus | vbak | rfgsk | ||
| OverallSDDocReferenceStatus | vbak | rfstk | ||
| TotalSDDocReferenceStatus | vbap | rfgsa | ||
| SDDocReferenceStatus | vbap | rfsta | ||
| SalesOrganization | vbak | vkorg | ||
| DistributionChannel | vbak | vtweg | ||
| Division | vbak | spart | ||
| Material | vbap | matnr | ||
| Plant | vbap | werks |
@ClientHandling.algorithm: #AUTOMATED
@AccessControl: {
authorizationCheck: #NOT_REQUIRED,
personalData.blocking: #NOT_REQUIRED
}
@AbapCatalog: {
sqlViewName: 'RFMSDDOCITEMBSC',
compiler.compareFilter: true,
preserveKey:true
}
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #B,
sizeCategory: #XXL
}
}
define view RFM_SalesDocumentItemBasic
as select from vbak as _SalesDocument
inner join vbap as _SalesDocumentItem on _SalesDocument.vbeln = _SalesDocumentItem.vbeln
{
_SalesDocument.auart as SalesDocumentType,
_SalesDocumentItem.vbeln as SalesDocument,
_SalesDocumentItem.posnr as SalesDocumentItem,
_SalesDocument.rfgsk as OverallTotalSDDocRefStatus,
_SalesDocument.rfstk as OverallSDDocReferenceStatus,
_SalesDocumentItem.rfgsa as TotalSDDocReferenceStatus,
_SalesDocumentItem.rfsta as SDDocReferenceStatus,
_SalesDocument.vkorg as SalesOrganization,
_SalesDocument.vtweg as DistributionChannel,
_SalesDocument.spart as Division,
_SalesDocumentItem.matnr as Material,
_SalesDocumentItem.werks as Plant
}
where
_SalesDocument.vbtyp = 'G'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"VBAK",
"VBAP"
],
"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