I_CAReturnDocumentValueHelp
Return Document Wertehilfer
I_CAReturnDocumentValueHelp is a Composite CDS View that provides data about "Return Document Wertehilfer" in SAP S/4HANA. It reads from 1 data source (I_CADocumentHeader) and exposes 15 fields with key field CAReturnDocumentNumber. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CADocumentHeader | I_CADocumentHeader | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_CADocumentType | _DocType | $projection.CADocumentType = _DocType.CADocumentType |
| [1..1] | I_CADocumentOriginCode | _DocOriginCode | $projection.CADocumentOriginCode = _DocOriginCode.CADocumentOriginCode |
| [0..1] | C_CAInvcgUserContact | _CreatedByContact | $projection.CreatedByUser = _CreatedByContact.ContactCardID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICARETURNDOCVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| Search.searchable | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Return Document Wertehilfer | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CAReturnDocumentNumber | |||
| CADocumentType | CADocumentType | |||
| CADocumentTypeName | ||||
| CAReconciliationKey | CAReconciliationKey | |||
| CAPostingDate | CAPostingDate | |||
| CADocumentOriginCode | CADocumentOriginCode | |||
| CADocumentOriginCodeName | ||||
| CreatedByUser | CreatedByUser | |||
| CreatedByUserName | _CreatedByContact | FullName | ||
| CreationDate | CreationDate | |||
| CAReferenceDocument | CAReferenceDocument | |||
| CAApplicationArea | CAApplicationArea | |||
| CATaxCompanyCode | CATaxCompanyCode | |||
| _DocType | _DocType | |||
| _DocOriginCode | _DocOriginCode |
@AbapCatalog.sqlViewName: 'ICARETURNDOCVH'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #S
@Search.searchable: true
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Return Document Wertehilfer'
define view I_CAReturnDocumentValueHelp
as select from I_CADocumentHeader
association [1..*] to I_CADocumentType as _DocType on $projection.CADocumentType = _DocType.CADocumentType
association [1..1] to I_CADocumentOriginCode as _DocOriginCode on $projection.CADocumentOriginCode = _DocOriginCode.CADocumentOriginCode
association [0..1] to C_CAInvcgUserContact as _CreatedByContact on $projection.CreatedByUser = _CreatedByContact.ContactCardID
{
@Search: { defaultSearchElement: true, fuzzinessThreshold: 0.95, ranking: #HIGH }
key cast (CADocumentNumber as rlbel_kk preserving type) as CAReturnDocumentNumber,
@ObjectModel: { text.element: [ 'CADocumentTypeName' ] }
CADocumentType,
@Semantics.text
_DocType._Text[1:Language = $session.system_language].CADocumentTypeName,
@Search: { defaultSearchElement: true, fuzzinessThreshold: 0.9, ranking: #MEDIUM }
CAReconciliationKey,
CAPostingDate,
@ObjectModel: { text.element: [ 'CADocumentOriginCodeName' ] }
CADocumentOriginCode,
@Semantics.text
cast (_DocOriginCode._Text[1: Language=$session.system_language].CADocumentOriginCodeName as htext_gfn_kk) as CADocumentOriginCodeName,
@Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8, ranking: #MEDIUM }
@ObjectModel: { text.element: [ 'CreatedByUserName' ] }
CreatedByUser,
@Semantics.text
_CreatedByContact.FullName as CreatedByUserName,
CreationDate,
@Search: { defaultSearchElement: true, fuzzinessThreshold: 0.94, ranking: #MEDIUM }
CAReferenceDocument,
@UI.hidden: true
CAApplicationArea,
@UI.hidden: true
CATaxCompanyCode,
_DocType,
_DocOriginCode
}
where
CADocumentOriginCode = '08' or CADocumentOriginCode = '23'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"C_CAINVCGUSERCONTACT",
"I_CADOCUMENTHEADER",
"I_CADOCUMENTORIGINCODE",
"I_CADOCUMENTORIGINCODETEXT",
"I_CADOCUMENTTYPE",
"I_CADOCUMENTTYPETEXT"
],
"ASSOCIATED":
[
"C_CAINVCGUSERCONTACT",
"I_CADOCUMENTORIGINCODE",
"I_CADOCUMENTTYPE"
],
"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