R_SrvcQtanLongTextTP
Long Text for Service Quotation
R_SrvcQtanLongTextTP is a Transactional CDS View that provides data about "Long Text for Service Quotation" in SAP S/4HANA. It reads from 2 data sources (I_ServiceDocument, I_ServiceDocumentLongText) and exposes 17 fields with key fields ServiceQuotation, TextObjectType, Language, SrvcDocLogTextIdentifier.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocument | ServiceQuotation | inner |
| I_ServiceDocumentLongText | ServiceText | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| EndUserText.label | Long Text for Service Quotation | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceQuotation | I_ServiceDocumentLongText | ServiceDocument | |
| 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 | ||
| SrvcDocLongTextMimeType | I_ServiceDocumentLongText | SrvcDocLongTextMimeType | ||
| SrvcQtanLongText | I_ServiceDocumentLongText | ServiceDocumentLongText | ||
| ReferenceTextObjectCategory | I_ServiceDocumentLongText | ReferenceTextObjectCategory | ||
| ReferenceTextObjectType | I_ServiceDocumentLongText | ReferenceTextObjectType | ||
| ReferenceLongTextKey | I_ServiceDocumentLongText | ReferenceLongTextKey | ||
| SrvcDocLongTxtCreationDateTime | I_ServiceDocumentLongText | SrvcDocLongTxtCreationDateTime | ||
| SrvcDocLongTextCreatedByUser | I_ServiceDocumentLongText | SrvcDocLongTextCreatedByUser | ||
| SrvcDocLongTextChangedDateTime | I_ServiceDocumentLongText | SrvcDocLongTextChangedDateTime | ||
| SrvcDocLongTextChangedByUser | I_ServiceDocumentLongText | SrvcDocLongTextChangedByUser | ||
| _ServiceQuotationTP | _ServiceQuotationTP |
@VDM: {
viewType: #TRANSACTIONAL,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@AccessControl: {
authorizationCheck: #MANDATORY,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@Metadata: {
ignorePropagatedAnnotations: true
}
@ObjectModel: {
usageType: {dataClass: #TRANSACTIONAL,
serviceQuality: #C,
sizeCategory: #L},
dataCategory: #TEXT
}
@EndUserText.label: 'Long Text for Service Quotation'
define view entity R_SrvcQtanLongTextTP as select from I_ServiceDocumentLongText as ServiceText
inner join I_ServiceDocument as ServiceQuotation on ServiceText.ServiceDocument = ServiceQuotation.ServiceDocument
and ServiceText.ServiceDocumentItem = '000000'
and ServiceText.TextObjectCategory = 'CRM_ORDERH'
and ServiceQuotation.ServiceObjectType = 'BUS2000116'
and ServiceQuotation.ServiceDocumentIsQuotation is not initial
and ServiceQuotation.ServiceDocumentTemplateType is initial
association to parent R_ServiceQuotationTP as _ServiceQuotationTP on $projection.ServiceQuotation = _ServiceQuotationTP.ServiceQuotation
{
key ServiceText.ServiceDocument as ServiceQuotation,
key ServiceText.TextObjectType,
@Semantics.language:true
key ServiceText.Language,
key ServiceText.SrvcDocLogTextIdentifier,
ServiceText.TextObjectCategory,
ServiceText.ServiceDocumentLongTextUUID,
ServiceText.ServiceObjectType,
// _ServiceQuotationTP.ServiceQuotationUUID,
ServiceText.SrvcDocLongTextMimeType,
@Semantics.text:true
ServiceText.ServiceDocumentLongText as SrvcQtanLongText,
ServiceText.ReferenceTextObjectCategory,
ServiceText.ReferenceTextObjectType,
ServiceText.ReferenceLongTextKey,
ServiceText.SrvcDocLongTxtCreationDateTime,
ServiceText.SrvcDocLongTextCreatedByUser,
ServiceText.SrvcDocLongTextChangedDateTime,
ServiceText.SrvcDocLongTextChangedByUser,
/* Associations */
_ServiceQuotationTP
}
where
ServiceText.ServiceObjectType = 'BUS2000116'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SERVICEDOCUMENT",
"I_SERVICEDOCUMENTLONGTEXT"
],
"ASSOCIATED":
[
"R_SERVICEQUOTATIONTP"
],
"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