I_MaintOrderOpCompLongText_2
Maintenance Order Op Component Long Text
I_MaintOrderOpCompLongText_2 is a Basic CDS View that provides data about "Maintenance Order Op Component Long Text" in SAP S/4HANA. It reads from 2 data sources (I_TextObjectPlainLongText, resb_text) and exposes 16 fields with key fields MaintenanceOrder, MaintenanceOrderOperation, MaintenanceOrderSubOperation, MaintOrderComponentInternalID, TextObjectType. It has 3 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_TextObjectPlainLongText | I_TextObjectPlainLongText | from |
| resb_text | resb_text | inner |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_MaintenanceOrderComponent_2 | _MaintenanceOrderComponent | _MaintenanceOrderComponent.Reservation = $projection.Reservation and _MaintenanceOrderComponent.ReservationItem = $projection.ReservationItem and _MaintenanceOrderComponent.ReservationType = $projection.ReservationType |
| [0..1] | I_MaintenanceOrder | _MaintenanceOrder | _MaintenanceOrder.MaintenanceOrder = $projection.maintenanceorder |
| [0..1] | I_Language | _Language | _Language.Language = $projection.Language |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Maintenance Order Op Component Long Text | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | MaintOrderComponentInternalID | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceOrder | |||
| KEY | MaintenanceOrderOperation | |||
| KEY | MaintenanceOrderSubOperation | |||
| KEY | MaintOrderComponentInternalID | |||
| KEY | TextObjectType | I_TextObjectPlainLongText | TextObjectType | Text ID |
| KEY | Language | I_TextObjectPlainLongText | Language | Report Text Language |
| MaintenanceOrderComponent | ||||
| Reservation | resb_text | rsnum | Reservation | |
| ReservationItem | resb_text | rspos | Item no. | |
| ReservationType | resb_text | rsart | Risk type | |
| TextObjectKey | resb_text | tdname | Text Name | |
| OrderComponentLongText | I_TextObjectPlainLongText | PlainLongText | Long Text | |
| TextObjectCategory | I_TextObjectPlainLongText | TextObjectCategory | Text object | |
| _MaintenanceOrderComponent | _MaintenanceOrderComponent | |||
| _MaintenanceOrder | _MaintenanceOrder | |||
| _Language | _Language |
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 I_MaintOrderOpCompLongText_2.
-- 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 I_MaintOrderOpCompLongText_2 AS
SELECT
_MaintenanceOrderComponent[ inner ].MaintenanceOrder AS MaintenanceOrder,
cast( _MaintenanceOrderComponent[ inner ].MaintenanceOrderOperation as maintenanceorderoperation preserving type ) AS MaintenanceOrderOperation,
cast( _MaintenanceOrderComponent[ inner ].MaintenanceOrderSubOperation as maintenanceordersuboperation preserving type ) AS MaintenanceOrderSubOperation,
_MaintenanceOrderComponent[ inner ].MaintOrderComponentInternalID AS MaintOrderComponentInternalID,
I_TextObjectPlainLongText.TextObjectType AS TextObjectType,
I_TextObjectPlainLongText.Language AS Language,
_MaintenanceOrderComponent[ inner ].MaintenanceOrderComponent AS MaintenanceOrderComponent,
resb_text.rsnum AS Reservation,
resb_text.rspos AS ReservationItem,
resb_text.rsart AS ReservationType,
resb_text.tdname AS TextObjectKey,
I_TextObjectPlainLongText.PlainLongText AS OrderComponentLongText,
I_TextObjectPlainLongText.TextObjectCategory AS TextObjectCategory
FROM I_TextObjectPlainLongText
INNER JOIN resb_text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaintenanceOrderComponent_2 AS _MaintenanceOrderComponent ON _MaintenanceOrderComponent.Reservation = Reservation AND _MaintenanceOrderComponent.ReservationItem = ReservationItem AND _MaintenanceOrderComponent.ReservationType = ReservationType -- association [1..1]
LEFT OUTER JOIN I_MaintenanceOrder AS _MaintenanceOrder ON _MaintenanceOrder.MaintenanceOrder = maintenanceorder -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON _Language.Language = Language -- association [0..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