C_RetsRefDocCategoryValueHelp
Return Referrence Document Category
C_RetsRefDocCategoryValueHelp is a Consumption CDS View that provides data about "Return Referrence Document Category" in SAP S/4HANA. It reads from 2 data sources (I_CustRetCpyCtrlSrceDocType, I_CustRetCpyCtrlSrceDocType) and exposes 3 fields with key field SDDocumentCategory. It has 1 association to related views. Part of development package ODATA_SD_RETURN_V2.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CustRetCpyCtrlSrceDocType | CustRetCpyCtrlSrceDocTyp | from |
| I_CustRetCpyCtrlSrceDocType | CustRetCpyCtrlSrceDocTyp | union |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_SDDocumentCategoryText | _Text | $projection.sddocumentcategory = _Text.SDDocumentCategory |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | CRETREFDOCCATVH | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | Return Referrence Document Category | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SDDocumentCategory | _SourceSalesDocumentType | SDDocumentCategory | |
| SDDocumentCategory | ||||
| _Text | _Text |
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'CRETREFDOCCATVH'
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@EndUserText.label: 'Return Referrence Document Category'
@ObjectModel.resultSet.sizeCategory: #XS
@Consumption.dbHints:['USE_HEX_PLAN']
define view C_RetsRefDocCategoryValueHelp
as select from I_CustRetCpyCtrlSrceDocType as CustRetCpyCtrlSrceDocTyp
association [0..*] to I_SDDocumentCategoryText as _Text on $projection.sddocumentcategory = _Text.SDDocumentCategory
{
@ObjectModel.text.association: '_Text'
key _SourceSalesDocumentType.SDDocumentCategory,
_Text
}
where CustRetCpyCtrlSrceDocTyp.SourceSalesDocumentType <> ''
union
select from I_CustRetCpyCtrlSrceDocType as CustRetCpyCtrlSrceDocTyp
association [0..*] to I_SDDocumentCategoryText as _Text on $projection.sddocumentcategory = _Text.SDDocumentCategory
{
key _SourceBillingDocumentType.SDDocumentCategory,
_Text
}
where CustRetCpyCtrlSrceDocTyp.SourceBillingDocumentType <> ''
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