R_TrdgDocReltdDocInfo
Information of a Trading Document
R_TrdgDocReltdDocInfo is a Composite CDS View that provides data about "Information of a Trading Document" in SAP S/4HANA. It reads from 1 data source (R_TrdgDocReltdDocInfoBasic) and exposes 23 fields with key field TrdgReltdDocumentUUID. It has 1 association to related views. Part of development package VDM_LO_GT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_TrdgDocReltdDocInfoBasic | TrdgDocReltdDocInfoBasic | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_TrdgDoc | _TrdgDoc | $projection.TradingDocument = _TrdgDoc.TradingDocument |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Information of a Trading Document | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.compositionRoot | false | view | |
| ObjectModel.representativeKey | TrdgReltdDocumentUUID | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Analytics.dataExtraction.enabled | false | view | |
| Analytics.internalName | #LOCAL | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TrdgReltdDocumentUUID | R_TrdgDocReltdDocInfoBasic | TrdgReltdDocumentUUID | SM Doc Rel UUID |
| TrdgReltdDocCategory | R_TrdgDocReltdDocInfoBasic | TrdgReltdDocCategory | ||
| TrdgDocRelatedDocument | R_TrdgDocReltdDocInfoBasic | TrdgDocRelatedDocument | SD Sched. Agmt | |
| TrdgDocReltdDocumentYear | R_TrdgDocReltdDocInfoBasic | TrdgDocReltdDocumentYear | Settlement Year | |
| TrdgDocReltdSideCat | R_TrdgDocReltdDocInfoBasic | TrdgDocReltdSideCat | ||
| TradingDocument | R_TrdgDocReltdDocInfoBasic | TradingDocument | Trading Contract | |
| TrdgDocBusinessScenario | R_TrdgDocReltdDocInfoBasic | TrdgDocBusinessScenario | VAT Scenario | |
| TradingProcessVariantType | R_TrdgDocReltdDocInfoBasic | TradingProcessVariantType | TEW Type | |
| TradingProcessMasterStep | R_TrdgDocReltdDocInfoBasic | TradingProcessMasterStep | ||
| TradingProcessBusinessStep | R_TrdgDocReltdDocInfoBasic | TradingProcessBusinessStep | Step | |
| TradingProcessPreviousStep | R_TrdgDocReltdDocInfoBasic | TradingProcessPreviousStep | ||
| TradingProcessSourceStep | R_TrdgDocReltdDocInfoBasic | TradingProcessSourceStep | ||
| TrdgDocExternalIdentifier | R_TrdgDocReltdDocInfoBasic | TrdgDocExternalIdentifier | Ext. Identifier | |
| TrdgDocReltdDocDeltnCat | R_TrdgDocReltdDocInfoBasic | TrdgDocReltdDocDeltnCat | Deletion Ind. | |
| TrdgDocDeltnIsRlvt | R_TrdgDocReltdDocInfoBasic | TrdgDocDeltnIsRlvt | Deletion | |
| TrdgDocPrcgPaytEvtGrpValue | R_TrdgDocReltdDocInfoBasic | TrdgDocPrcgPaytEvtGrpValue | PPE Group | |
| TrdgDocHasShdwContr | R_TrdgDocReltdDocInfoBasic | TrdgDocHasShdwContr | has shadow TC | |
| TrdgDocReltdDocumentDate | R_TrdgDocReltdDocInfoBasic | TrdgDocReltdDocumentDate | Date | |
| _TrdgDoc | _TrdgDoc | |||
| _TrdgDocDeltnIsRlvt | R_TrdgDocReltdDocInfoBasic | _TrdgDocDeltnIsRlvt | ||
| _TrdgDocReltdDocDeltnCat | R_TrdgDocReltdDocInfoBasic | _TrdgDocReltdDocDeltnCat | ||
| _TrdgDocReltdSideCat | R_TrdgDocReltdDocInfoBasic | _TrdgDocReltdSideCat | ||
| _TrdgReltdDocCategory | R_TrdgDocReltdDocInfoBasic | _TrdgReltdDocCategory |
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_TrdgDocReltdDocInfo.
-- 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_TrdgDocReltdDocInfo AS
SELECT
TrdgDocReltdDocInfoBasic.TrdgReltdDocumentUUID AS TrdgReltdDocumentUUID,
TrdgDocReltdDocInfoBasic.TrdgReltdDocCategory AS TrdgReltdDocCategory,
TrdgDocReltdDocInfoBasic.TrdgDocRelatedDocument AS TrdgDocRelatedDocument,
TrdgDocReltdDocInfoBasic.TrdgDocReltdDocumentYear AS TrdgDocReltdDocumentYear,
TrdgDocReltdDocInfoBasic.TrdgDocReltdSideCat AS TrdgDocReltdSideCat,
TrdgDocReltdDocInfoBasic.TradingDocument AS TradingDocument,
TrdgDocReltdDocInfoBasic.TrdgDocBusinessScenario AS TrdgDocBusinessScenario,
TrdgDocReltdDocInfoBasic.TradingProcessVariantType AS TradingProcessVariantType,
TrdgDocReltdDocInfoBasic.TradingProcessMasterStep AS TradingProcessMasterStep,
TrdgDocReltdDocInfoBasic.TradingProcessBusinessStep AS TradingProcessBusinessStep,
TrdgDocReltdDocInfoBasic.TradingProcessPreviousStep AS TradingProcessPreviousStep,
TrdgDocReltdDocInfoBasic.TradingProcessSourceStep AS TradingProcessSourceStep,
TrdgDocReltdDocInfoBasic.TrdgDocExternalIdentifier AS TrdgDocExternalIdentifier,
TrdgDocReltdDocInfoBasic.TrdgDocReltdDocDeltnCat AS TrdgDocReltdDocDeltnCat,
TrdgDocReltdDocInfoBasic.TrdgDocDeltnIsRlvt AS TrdgDocDeltnIsRlvt,
TrdgDocReltdDocInfoBasic.TrdgDocPrcgPaytEvtGrpValue AS TrdgDocPrcgPaytEvtGrpValue,
TrdgDocReltdDocInfoBasic.TrdgDocHasShdwContr AS TrdgDocHasShdwContr,
TrdgDocReltdDocInfoBasic.TrdgDocReltdDocumentDate AS TrdgDocReltdDocumentDate,
TrdgDocReltdDocInfoBasic._TrdgDocDeltnIsRlvt AS _TrdgDocDeltnIsRlvt,
TrdgDocReltdDocInfoBasic._TrdgDocReltdDocDeltnCat AS _TrdgDocReltdDocDeltnCat,
TrdgDocReltdDocInfoBasic._TrdgDocReltdSideCat AS _TrdgDocReltdSideCat,
TrdgDocReltdDocInfoBasic._TrdgReltdDocCategory AS _TrdgReltdDocCategory
FROM R_TrdgDocReltdDocInfoBasic AS TrdgDocReltdDocInfoBasic
LEFT OUTER JOIN R_TrdgDoc AS _TrdgDoc ON TradingDocument = _TrdgDoc.TradingDocument -- 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