I_ReturnsDocumentStatusText
Returns Document Status - Text
I_ReturnsDocumentStatusText is a Basic CDS View that provides data about "Returns Document Status - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields ReturnsDocumentStatus, Language. It has 2 associations to related views. Part of development package VDM_ARM_BASICS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | dd07t | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ReturnsDocumentStatus | _ReturnsDocumentStatus | $projection.ReturnsDocumentStatus = _ReturnsDocumentStatus.ReturnsDocumentStatus |
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| ObjectModel.representativeKey | ReturnsDocumentStatus | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| EndUserText.label | Returns Document Status - Text | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Search.searchable | true | view | |
| Analytics.dataExtraction.enabled | true | view | |
| ObjectModel.modelingPattern | #LANGUAGE_DEPENDENT_TEXT | view |
@ObjectModel.representativeKey:'ReturnsDocumentStatus'
@ObjectModel.dataCategory: #TEXT
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@EndUserText.label: 'Returns Document Status - Text'
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@Search.searchable: true
@Analytics.dataExtraction.enabled: true
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.supportedCapabilities: [ #SQL_DATA_SOURCE,
#EXTRACTION_DATA_SOURCE,
#CDS_MODELING_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET,
#SEARCHABLE_ENTITY,
#LANGUAGE_DEPENDENT_TEXT ]
//@AbapCatalog.entityBuffer.definitionAllowed:true
define view entity I_ReturnsDocumentStatusText
as select from dd07t
association [0..1] to I_ReturnsDocumentStatus as _ReturnsDocumentStatus on $projection.ReturnsDocumentStatus = _ReturnsDocumentStatus.ReturnsDocumentStatus
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
//Key
@ObjectModel.foreignKey.association: '_ReturnsDocumentStatus'
@ObjectModel.text.element: ['RetsDocumentStatusDescription']
key cast( substring(dd07t.domvalue_l, 1, 1) as msr_doc_status preserving type) as ReturnsDocumentStatus,
@Semantics.language: true
@ObjectModel.foreignKey.association: '_Language'
key cast( dd07t.ddlanguage as spras preserving type ) as Language,
@Analytics.hidden: true
@Consumption.hidden: true
dd07t.domvalue_l as DomainValue,
//Name
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #LOW
@Semantics.text: true
dd07t.ddtext as RetsDocumentStatusDescription,
//Associations
_ReturnsDocumentStatus,
_Language
}
where
(
dd07t.domname = 'MSR_DOC_STATUS'
)
and(
dd07t.as4local = 'A'
)
and(
dd07t.as4vers = '0000'
)
;
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