A_CustomerReturnText_2
Header Texts
A_CustomerReturnText_2 is a Consumption CDS View that provides data about "Header Texts" in SAP S/4HANA. It reads from 1 data source (R_CustomerReturnTextTP) and exposes 8 fields with key fields CustomerReturn, Language, LongTextID. It is exposed through 1 OData service (API_CUSTOMERRETURN). Part of development package P_SLSCRET_INTEGRATION_ODATA.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_CustomerReturnTextTP | R_CustomerReturnTextTP | projection |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Header Texts | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| OData.entityType.name | CustomerReturnText_Type | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| VDM.viewType | #CONSUMPTION | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| API_CUSTOMERRETURN | API_CUSTOMERRETURN | V4 | C2 | C1 |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustomerReturn | CustomerReturnText | CustomerReturn | |
| KEY | Language | CustomerReturnText | Language | |
| KEY | LongTextID | CustomerReturnText | LongTextID | |
| LongText | CustomerReturnText | LongText | ||
| CustomerReturnType | CustomerReturnText | CustomerReturnType | ||
| OrganizationDivision | CustomerReturnText | OrganizationDivision | ||
| SalesOrganization | CustomerReturnText | SalesOrganization | ||
| DistributionChannel | CustomerReturnText | DistributionChannel |
@AccessControl: {
authorizationCheck: #MANDATORY,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@EndUserText.label: 'Header Texts'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {
semanticKey: ['CustomerReturn', 'Language', 'LongTextID'],
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #C,
sizeCategory: #L
}
}
@OData: {
entityType.name: 'CustomerReturnText_Type'
}
@VDM: {
lifecycle.contract.type: #PUBLIC_REMOTE_API,
usage.type: [#TRANSACTIONAL_PROCESSING_SERVICE],
viewType: #CONSUMPTION
}
define view entity A_CustomerReturnText_2
as projection on R_CustomerReturnTextTP as CustomerReturnText
{
key CustomerReturnText.CustomerReturn,
@Semantics.language:true
key CustomerReturnText.Language,
key CustomerReturnText.LongTextID,
@Semantics.text:true
@ObjectModel.virtualElement
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_SD_S4H_STXL_CUSTOMERRETURN'
CustomerReturnText.LongText,
// For Access control
@Consumption.hidden: true
CustomerReturnText.CustomerReturnType,
@Consumption.hidden: true
CustomerReturnText.OrganizationDivision,
@Consumption.hidden: true
CustomerReturnText.SalesOrganization,
@Consumption.hidden: true
CustomerReturnText.DistributionChannel,
//Compositions
_CustomerReturn as _CustomerReturn : redirected to parent A_CustomerReturn_2
}
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