A_ServiceContractText
Header Text
A_ServiceContractText is a Consumption CDS View that provides data about "Header Text" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentLongText) and exposes 5 fields with key fields ServiceContract, Language, LongTextID. It has 1 association to related views. Part of development package ODATA_CRMS4_SERVICECONTRACT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentLongText | ServiceContractText | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | A_ServiceContract | _ServiceContract | $projection.ServiceContract = _ServiceContract.ServiceContract |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Header Text | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | ASRVCTRTEXT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.createEnabled | false | view | |
| ObjectModel.updateEnabled | false | view | |
| ObjectModel.deleteEnabled | false | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceContract | I_ServiceDocumentLongText | ServiceDocument | |
| KEY | Language | Language | ||
| KEY | LongTextID | TextObjectType | ||
| LongText | ServiceDocumentLongText | |||
| _ServiceContract | _ServiceContract |
@EndUserText.label: 'Header Text'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog: {
sqlViewName: 'ASRVCTRTEXT',
compiler.compareFilter: true
}
@VDM: {
viewType: #CONSUMPTION,
lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@AccessControl: {
authorizationCheck: #MANDATORY,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
createEnabled: false,
updateEnabled: false,
deleteEnabled: false,
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #C,
sizeCategory: #L
}
}
@Metadata.ignorePropagatedAnnotations: true
define view A_ServiceContractText
as select from I_ServiceDocumentLongText as ServiceContractText
association [1] to A_ServiceContract as _ServiceContract on $projection.ServiceContract = _ServiceContract.ServiceContract
{
key ServiceContractText.ServiceDocument as ServiceContract,
key Language,
key TextObjectType as LongTextID,
ServiceDocumentLongText as LongText,
_ServiceContract
}
where ServiceContractText.ServiceObjectType = 'BUS2000112'
and ServiceContractText.ServiceDocumentItem = '000000'
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