R_SubscrpnContrLongTextTP
Subscription Contract Text - TP
R_SubscrpnContrLongTextTP is a Transactional CDS View that provides data about "Subscription Contract Text - TP" in SAP S/4HANA. It reads from 2 data sources (I_ServiceDocumentLongText, I_ServiceDocument) and exposes 27 fields with key fields SubscriptionContract, TextObjectType, Language, SrvcDocLogTextIdentifier.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentLongText | ServiceText | from |
| I_ServiceDocument | SubscriptionContract | inner |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Subscription Contract 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 (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SubscriptionContract | I_ServiceDocumentLongText | ServiceDocument | Transaction ID |
| KEY | TextObjectType | I_ServiceDocumentLongText | TextObjectType | Text ID |
| KEY | Language | I_ServiceDocumentLongText | Language | Report Text Language |
| KEY | SrvcDocLogTextIdentifier | I_ServiceDocumentLongText | SrvcDocLogTextIdentifier | Time Stamp |
| TextObjectCategory | I_ServiceDocumentLongText | TextObjectCategory | Text object | |
| ServiceDocumentLongTextUUID | I_ServiceDocumentLongText | ServiceDocumentLongTextUUID | UUID | |
| ServiceObjectType | I_ServiceDocumentLongText | ServiceObjectType | Object Type | |
| SubscriptionContractUUID | _SubscriptionContract | SubscriptionContractUUID | Object GUID | |
| SrvcDocLongTextMimeType | I_ServiceDocumentLongText | SrvcDocLongTextMimeType | MIMETYPE | |
| SubscriptionContractLongText | 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 | |
| _SubscriptionContract | _SubscriptionContract | |||
| _TextObjectCategory | I_ServiceDocumentLongText | _TextObjectCategory | ||
| _TextObjectType | I_ServiceDocumentLongText | _TextObjectType | ||
| _Language | I_ServiceDocumentLongText | _Language | ||
| _ServiceObjType | I_ServiceDocumentLongText | _ServiceObjType | ||
| _ReferenceTextObjectCategory | I_ServiceDocumentLongText | _ReferenceTextObjectCategory | ||
| _ReferenceTextObjectType | I_ServiceDocumentLongText | _ReferenceTextObjectType |
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_SubscrpnContrLongTextTP.
-- 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_SubscrpnContrLongTextTP AS
SELECT
ServiceText.ServiceDocument AS SubscriptionContract,
ServiceText.TextObjectType AS TextObjectType,
ServiceText.Language AS Language,
ServiceText.SrvcDocLogTextIdentifier AS SrvcDocLogTextIdentifier,
ServiceText.TextObjectCategory AS TextObjectCategory,
ServiceText.ServiceDocumentLongTextUUID AS ServiceDocumentLongTextUUID,
ServiceText.ServiceObjectType AS ServiceObjectType,
_SubscriptionContract.SubscriptionContractUUID AS SubscriptionContractUUID,
ServiceText.SrvcDocLongTextMimeType AS SrvcDocLongTextMimeType,
ServiceText.ServiceDocumentLongText AS SubscriptionContractLongText,
ServiceText.ReferenceTextObjectCategory AS ReferenceTextObjectCategory,
ServiceText.ReferenceTextObjectType AS ReferenceTextObjectType,
ServiceText.ReferenceLongTextKey AS ReferenceLongTextKey,
ServiceText.ReferenceServiceObjectType AS ReferenceServiceObjectType,
ServiceText.ReferenceServiceDocument AS ReferenceServiceDocument,
ServiceText.ReferenceServiceDocumentItem AS ReferenceServiceDocumentItem,
ServiceText.SrvcDocLongTxtCreationDateTime AS SrvcDocLongTxtCreationDateTime,
ServiceText.SrvcDocLongTextCreatedByUser AS SrvcDocLongTextCreatedByUser,
ServiceText.SrvcDocLongTextChangedDateTime AS SrvcDocLongTextChangedDateTime,
ServiceText.SrvcDocLongTextChangedByUser AS SrvcDocLongTextChangedByUser,
ServiceText._TextObjectCategory AS _TextObjectCategory,
ServiceText._TextObjectType AS _TextObjectType,
ServiceText._Language AS _Language,
ServiceText._ServiceObjType AS _ServiceObjType,
ServiceText._ReferenceTextObjectCategory AS _ReferenceTextObjectCategory,
ServiceText._ReferenceTextObjectType AS _ReferenceTextObjectType
FROM I_ServiceDocumentLongText AS ServiceText
INNER JOIN I_ServiceDocument AS SubscriptionContract ON /* join condition not captured in parsed metadata */
;
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