I_MaintOrderOperationLongText
Maintenance Order Operation Long Text
I_MaintOrderOperationLongText is a Basic CDS View that provides data about "Maintenance Order Operation Long Text" in SAP S/4HANA. It reads from 3 data sources (afvc_text, I_MaintOrderOperAndSubOper, I_TextObjectPlainLongText) and exposes 12 fields with key fields MaintenanceOrder, MaintOrderRoutingNumber, MaintenanceOrderRoutingNode, TextObjectType, Language. It has 4 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| afvc_text | afvc_text | inner |
| I_MaintOrderOperAndSubOper | I_MaintOrderOperAndSubOper | inner |
| I_TextObjectPlainLongText | I_TextObjectPlainLongText | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MaintenanceOrder | _MaintenanceOrder | _MaintenanceOrder.MaintenanceOrder = $projection.MaintenanceOrder |
| [0..1] | I_Language | _Language | _Language.Language = $projection.Language |
| [0..1] | I_MaintOrderOperAndSubOper | _MaintenanceOrderSubOperation | _MaintenanceOrderSubOperation.MaintenanceOrder = $projection.MaintenanceOrder and _MaintenanceOrderSubOperation.MaintOrderRoutingNumber = $projection.MaintOrderRoutingNumber and _MaintenanceOrderSubOperation.MaintOrderOperationCounter = $projection.MaintenanceOrderRoutingNode |
| [0..*] | I_TextObjectPlainLongText | _TextObjectPlainLongText | _TextObjectPlainLongText.TextObjectKey = $projection.TextObjectKey and _TextObjectPlainLongText.TextObjectCategory = 'AUFK' and ( _TextObjectPlainLongText.TextObjectType = 'AVOT' or _TextObjectPlainLongText.TextObjectType = 'AVON' or _TextObjectPlainLongText.TextObjectType = 'AVOC' or _TextObjectPlainLongText.TextObjectType = 'AVOD' ) |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMAINTORDOPLTXT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Maintenance Order Operation Long Text | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | MaintenanceOrder | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceOrder | I_MaintOrderOperAndSubOper | MaintenanceOrder | Order |
| KEY | MaintOrderRoutingNumber | afvc_text | aufpl | TaskList No.Ops |
| KEY | MaintenanceOrderRoutingNode | afvc_text | aplzl | Plan No.f.Oper. |
| KEY | TextObjectType | I_TextObjectPlainLongText | TextObjectType | Text ID |
| KEY | Language | I_TextObjectPlainLongText | Language | Report Text Language |
| TextObjectKey | afvc_text | tdname | Text Name | |
| OrderOperationLongText | I_TextObjectPlainLongText | PlainLongText | Long Text | |
| TextObjectCategory | I_TextObjectPlainLongText | TextObjectCategory | Text object | |
| _MaintenanceOrderSubOperation | _MaintenanceOrderSubOperation | |||
| _MaintenanceOrder | _MaintenanceOrder | |||
| _TextObjectPlainLongText | _TextObjectPlainLongText | |||
| _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_MaintOrderOperationLongText.
-- 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.
-- SQL view name: IMAINTORDOPLTXT
CREATE VIEW I_MaintOrderOperationLongText AS
SELECT
I_MaintOrderOperAndSubOper.MaintenanceOrder AS MaintenanceOrder,
afvc_text.aufpl AS MaintOrderRoutingNumber,
afvc_text.aplzl AS MaintenanceOrderRoutingNode,
I_TextObjectPlainLongText.TextObjectType AS TextObjectType,
I_TextObjectPlainLongText.Language AS Language,
afvc_text.tdname AS TextObjectKey,
I_TextObjectPlainLongText.PlainLongText AS OrderOperationLongText,
I_TextObjectPlainLongText.TextObjectCategory AS TextObjectCategory
FROM I_TextObjectPlainLongText
INNER JOIN afvc_text ON /* join condition not captured in parsed metadata */
INNER JOIN I_MaintOrderOperAndSubOper ON /* join condition not captured in parsed metadata */
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]
LEFT OUTER JOIN I_MaintOrderOperAndSubOper AS _MaintenanceOrderSubOperation ON _MaintenanceOrderSubOperation.MaintenanceOrder = MaintenanceOrder AND _MaintenanceOrderSubOperation.MaintOrderRoutingNumber = MaintOrderRoutingNumber AND _MaintenanceOrderSubOperation.MaintOrderOperationCounter = MaintenanceOrderRoutingNode -- association [0..1]
LEFT OUTER JOIN I_TextObjectPlainLongText AS _TextObjectPlainLongText ON _TextObjectPlainLongText.TextObjectKey = TextObjectKey AND _TextObjectPlainLongText.TextObjectCategory = 'AUFK' AND ( _TextObjectPlainLongText.TextObjectType = 'AVOT' OR _TextObjectPlainLongText.TextObjectType = 'AVON' OR _TextObjectPlainLongText.TextObjectType = 'AVOC' OR _TextObjectPlainLongText.TextObjectType = 'AVOD' ) -- association [0..*]
;
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