R_SubscrpnContrItemLongTextTP
Subscription Contr. Item Long Text - TP
R_SubscrpnContrItemLongTextTP is a Transactional CDS View that provides data about "Subscription Contr. Item Long Text - TP" in SAP S/4HANA. It reads from 2 data sources (I_ServiceDocumentLongText, I_ServiceDocumentItem) and exposes 23 fields with key fields SubscriptionContract, SubscriptionContractItem, TextObjectType, Language, SrvcDocLogTextIdentifier. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentLongText | ServiceText | from |
| I_ServiceDocumentItem | SubscriptionContractItem | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_SubscriptionContractTP | _SubscriptionContract | $projection.SubscriptionContract = _SubscriptionContract.SubscriptionContract |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Subscription Contr. Item Long Text - TP | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SubscriptionContract | I_ServiceDocumentLongText | ServiceDocument | |
| KEY | SubscriptionContractItem | I_ServiceDocumentLongText | ServiceDocumentItem | |
| KEY | TextObjectType | I_ServiceDocumentLongText | TextObjectType | |
| KEY | Language | I_ServiceDocumentLongText | Language | |
| KEY | SrvcDocLogTextIdentifier | I_ServiceDocumentLongText | SrvcDocLogTextIdentifier | |
| TextObjectCategory | I_ServiceDocumentLongText | TextObjectCategory | ||
| ServiceDocumentLongTextUUID | I_ServiceDocumentLongText | ServiceDocumentLongTextUUID | ||
| ServiceObjectType | I_ServiceDocumentLongText | ServiceObjectType | ||
| SubscriptionContractUUID | _SubscriptionContractItem | SubscriptionContractUUID | ||
| SrvcDocLongTextMimeType | I_ServiceDocumentLongText | SrvcDocLongTextMimeType | ||
| SubscrpnContrItemLongText | I_ServiceDocumentLongText | ServiceDocumentLongText | ||
| ReferenceTextObjectCategory | I_ServiceDocumentLongText | ReferenceTextObjectCategory | ||
| ReferenceTextObjectType | I_ServiceDocumentLongText | ReferenceTextObjectType | ||
| ReferenceLongTextKey | I_ServiceDocumentLongText | ReferenceLongTextKey | ||
| ReferenceServiceObjectType | I_ServiceDocumentLongText | ReferenceServiceObjectType | ||
| ReferenceServiceDocument | I_ServiceDocumentLongText | ReferenceServiceDocument | ||
| ReferenceServiceDocumentItem | I_ServiceDocumentLongText | ReferenceServiceDocumentItem | ||
| SrvcDocLongTxtCreationDateTime | I_ServiceDocumentLongText | SrvcDocLongTxtCreationDateTime | ||
| SrvcDocLongTextCreatedByUser | I_ServiceDocumentLongText | SrvcDocLongTextCreatedByUser | ||
| SrvcDocLongTextChangedDateTime | I_ServiceDocumentLongText | SrvcDocLongTextChangedDateTime | ||
| SrvcDocLongTextChangedByUser | I_ServiceDocumentLongText | SrvcDocLongTextChangedByUser | ||
| _SubscriptionContractItem | _SubscriptionContractItem | |||
| _SubscriptionContract | _SubscriptionContract |
@EndUserText.label: 'Subscription Contr. Item Long Text - TP'
@VDM: {
lifecycle.contract.type: #SAP_INTERNAL_API,
viewType: #TRANSACTIONAL
}
@AccessControl: {
authorizationCheck: #MANDATORY,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
dataCategory: #TEXT,
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #C,
sizeCategory: #L
}
}
@Metadata.ignorePropagatedAnnotations: true
define view entity R_SubscrpnContrItemLongTextTP
as select from I_ServiceDocumentLongText as ServiceText
inner join I_ServiceDocumentItem as SubscriptionContractItem on ServiceText.ServiceDocument = SubscriptionContractItem.ServiceDocument
and ServiceText.ServiceDocumentItem = SubscriptionContractItem.ServiceDocumentItem
and ServiceText.TextObjectCategory = 'CRM_ORDERI'
and SubscriptionContractItem.ServiceObjectType = 'BUS2000266'
and SubscriptionContractItem.ServiceDocumentTemplateType is initial
association [1..1] to R_SubscriptionContractTP as _SubscriptionContract on $projection.SubscriptionContract = _SubscriptionContract.SubscriptionContract
association to parent R_SubscriptionContractItemTP as _SubscriptionContractItem on $projection.SubscriptionContract = _SubscriptionContractItem.SubscriptionContract
and $projection.SubscriptionContractItem = _SubscriptionContractItem.SubscriptionContractItem
{
key ServiceText.ServiceDocument as SubscriptionContract,
key ServiceText.ServiceDocumentItem as SubscriptionContractItem,
key ServiceText.TextObjectType,
@Semantics.language:true
key ServiceText.Language,
key ServiceText.SrvcDocLogTextIdentifier,
ServiceText.TextObjectCategory,
ServiceText.ServiceDocumentLongTextUUID,
ServiceText.ServiceObjectType,
_SubscriptionContractItem.SubscriptionContractUUID,
ServiceText.SrvcDocLongTextMimeType,
@Semantics.text:true
ServiceText.ServiceDocumentLongText as SubscrpnContrItemLongText,
ServiceText.ReferenceTextObjectCategory,
ServiceText.ReferenceTextObjectType,
ServiceText.ReferenceLongTextKey,
ServiceText.ReferenceServiceObjectType,
ServiceText.ReferenceServiceDocument,
ServiceText.ReferenceServiceDocumentItem,
ServiceText.SrvcDocLongTxtCreationDateTime,
ServiceText.SrvcDocLongTextCreatedByUser,
ServiceText.SrvcDocLongTextChangedDateTime,
ServiceText.SrvcDocLongTextChangedByUser,
_SubscriptionContractItem,
_SubscriptionContract
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SERVICEDOCUMENTITEM",
"I_SERVICEDOCUMENTLONGTEXT",
"R_SUBSCRIPTIONCONTRACTITEMTP"
],
"ASSOCIATED":
[
"R_SUBSCRIPTIONCONTRACTITEMTP",
"R_SUBSCRIPTIONCONTRACTTP"
],
"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