R_SrvcContrItemLongTextTP
Service Contract Item Long Text - TP
R_SrvcContrItemLongTextTP is a Transactional CDS View that provides data about "Service Contract Item Long Text - TP" in SAP S/4HANA. It reads from 2 data sources (I_ServiceDocumentItem, I_ServiceDocumentLongText) and exposes 26 fields with key fields ServiceContract, ServiceContractItem, TextObjectType, Language, SrvcDocLogTextIdentifier. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentItem | ServiceContractItem | inner |
| I_ServiceDocumentLongText | ServiceItemText | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_ServiceContractTP | _ServiceContractTP | $projection.ServiceContract = _ServiceContractTP.ServiceContract |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Service Contract Item Long Text - TP | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceContract | I_ServiceDocumentItem | ServiceDocument | Transaction ID |
| KEY | ServiceContractItem | I_ServiceDocumentItem | ServiceDocumentItem | Service Document |
| KEY | TextObjectType | I_ServiceDocumentLongText | TextObjectType | Text ID |
| KEY | Language | I_ServiceDocumentLongText | Language | Report Text Language |
| KEY | SrvcDocLogTextIdentifier | I_ServiceDocumentLongText | SrvcDocLogTextIdentifier | Time Stamp |
| ServiceDocumentLongTextUUID | I_ServiceDocumentLongText | ServiceDocumentLongTextUUID | UUID | |
| TextObjectCategory | I_ServiceDocumentLongText | TextObjectCategory | Text object | |
| SrvcDocLongTextMimeType | I_ServiceDocumentLongText | SrvcDocLongTextMimeType | MIMETYPE | |
| SrvcContrItemLongText | I_ServiceDocumentLongText | ServiceDocumentLongText | Text Content | |
| ReferenceTextObjectCategory | I_ServiceDocumentLongText | ReferenceTextObjectCategory | Reference text object | |
| ReferenceTextObjectType | I_ServiceDocumentLongText | ReferenceTextObjectType | Reference text ID | |
| ReferenceLongTextKey | I_ServiceDocumentLongText | ReferenceLongTextKey | Reference text name | |
| ReferenceServiceObjectType | I_ServiceDocumentLongText | ReferenceServiceObjectType | Trans. Cat. | |
| ReferenceServiceDocument | I_ServiceDocumentLongText | ReferenceServiceDocument | Transaction ID | |
| ReferenceServiceDocumentItem | I_ServiceDocumentLongText | ReferenceServiceDocumentItem | Item Number in Doc. | |
| SrvcDocLongTxtCreationDateTime | I_ServiceDocumentLongText | SrvcDocLongTxtCreationDateTime | Uploaded On | |
| SrvcDocLongTextCreatedByUser | I_ServiceDocumentLongText | SrvcDocLongTextCreatedByUser | Version Created By | |
| SrvcDocLongTextChangedDateTime | I_ServiceDocumentLongText | SrvcDocLongTextChangedDateTime | Timestamp | |
| SrvcDocLongTextChangedByUser | I_ServiceDocumentLongText | SrvcDocLongTextChangedByUser | User Name | |
| _Language | I_ServiceDocumentLongText | _Language | ||
| _ReferenceTextObjectCategory | I_ServiceDocumentLongText | _ReferenceTextObjectCategory | ||
| _ReferenceTextObjectType | I_ServiceDocumentLongText | _ReferenceTextObjectType | ||
| _TextObjectCategory | I_ServiceDocumentLongText | _TextObjectCategory | ||
| _TextObjectType | I_ServiceDocumentLongText | _TextObjectType | ||
| _ServiceContractItemTP | _ServiceContractItemTP | |||
| _ServiceContractTP | _ServiceContractTP |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view R_SrvcContrItemLongTextTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW R_SrvcContrItemLongTextTP AS
SELECT
ServiceContractItem.ServiceDocument AS ServiceContract,
ServiceContractItem.ServiceDocumentItem AS ServiceContractItem,
ServiceItemText.TextObjectType AS TextObjectType,
ServiceItemText.Language AS Language,
ServiceItemText.SrvcDocLogTextIdentifier AS SrvcDocLogTextIdentifier,
ServiceItemText.ServiceDocumentLongTextUUID AS ServiceDocumentLongTextUUID,
ServiceItemText.TextObjectCategory AS TextObjectCategory,
ServiceItemText.SrvcDocLongTextMimeType AS SrvcDocLongTextMimeType,
ServiceItemText.ServiceDocumentLongText AS SrvcContrItemLongText,
ServiceItemText.ReferenceTextObjectCategory AS ReferenceTextObjectCategory,
ServiceItemText.ReferenceTextObjectType AS ReferenceTextObjectType,
ServiceItemText.ReferenceLongTextKey AS ReferenceLongTextKey,
ServiceItemText.ReferenceServiceObjectType AS ReferenceServiceObjectType,
ServiceItemText.ReferenceServiceDocument AS ReferenceServiceDocument,
ServiceItemText.ReferenceServiceDocumentItem AS ReferenceServiceDocumentItem,
ServiceItemText.SrvcDocLongTxtCreationDateTime AS SrvcDocLongTxtCreationDateTime,
ServiceItemText.SrvcDocLongTextCreatedByUser AS SrvcDocLongTextCreatedByUser,
ServiceItemText.SrvcDocLongTextChangedDateTime AS SrvcDocLongTextChangedDateTime,
ServiceItemText.SrvcDocLongTextChangedByUser AS SrvcDocLongTextChangedByUser,
ServiceItemText._Language AS _Language,
ServiceItemText._ReferenceTextObjectCategory AS _ReferenceTextObjectCategory,
ServiceItemText._ReferenceTextObjectType AS _ReferenceTextObjectType,
ServiceItemText._TextObjectCategory AS _TextObjectCategory,
ServiceItemText._TextObjectType AS _TextObjectType
FROM I_ServiceDocumentLongText AS ServiceItemText
INNER JOIN I_ServiceDocumentItem AS ServiceContractItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_ServiceContractTP AS _ServiceContractTP ON ServiceContract = _ServiceContractTP.ServiceContract -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA