I_MfgOrderOperationLongText

DDL: I_MFGORDEROPERATIONLONGTEXT Type: view_entity COMPOSITE

Manufacturing Order Operation - Text

I_MfgOrderOperationLongText (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Manufacturing

I_MfgOrderOperationLongText is a Composite CDS View that provides data about "Manufacturing Order Operation - Text" in SAP S/4HANA. It reads from 2 data sources (I_MfgOrderOperationBasic, I_OrderOperationLongText) and exposes 11 fields with key fields MfgOrderInternalID, OrderOperationInternalID, LongTextLanguage. It has 3 associations to related views.

SAP Help Documentation

CategoryCDS Views for Discrete and Process Manufacturing
Purpose
This CDS view retrieves the plain long text of a manufacturing order operation. This CDS view provides the data to answer the following business questions: What is the long text of a manufacturing order operation? In which language has the long text been created? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: C_AFKO_ATY (Order category, ACTVT = 03 (display authorization)) C_AFKO_AWA (Order type, ACTVT = 03 (display authorization)) C_AFKO_AWK (Plant for order type of order)

Structure
Important Fields Important fields in this view include the following: Field Name Description MfgOrderInternalID Order Internal ID OrderOperationInternalID Operation Internal ID LongTextLanguage Long Text Language MfgOrderOperationText Operation Short Text OrderOperationLongText Long Text

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentPP-VDM
CapabilitiesLanguage-Dependent Text, Data Source in SQL Select, Data Source for Defining CDS Entities
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view retrieves the plain long text of a manufacturing order operation.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What is the long text of a manufacturing order operation?</p></li> <li><p>In which language has the long text been created?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (2)

SourceAliasJoin Type
I_MfgOrderOperationBasic oper inner
I_OrderOperationLongText text from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_Language _LongTextLanguage $projection.LongTextLanguage = _LongTextLanguage.Language -- to root: Header
[1..1] I_ManufacturingOrder _MfgOrder $projection.ManufacturingOrder = _MfgOrder.ManufacturingOrder -- to parent: Operation
[1..1] I_ManufacturingOrderOperation _MfgOrderOperation $projection.MfgOrderInternalID = _MfgOrderOperation.MfgOrderInternalID and $projection.OrderOperationInternalID = _MfgOrderOperation.OrderOperationInternalID

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #COMPOSITE view
EndUserText.label Manufacturing Order Operation - Text view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY MfgOrderInternalID I_MfgOrderOperationBasic OrderInternalBillOfOperations Order Internal Bill of Operations
KEY OrderOperationInternalID I_MfgOrderOperationBasic OrderIntBillOfOperationsItem Internal Identifier of an Operation or Activity
KEY LongTextLanguage Long Text Language
ManufacturingOrder Order number
ManufacturingOrderSequence I_MfgOrderOperationBasic ManufacturingOrderSequence Visit Sequence
ManufacturingOrderOperation I_MfgOrderOperationBasic ManufacturingOrderOperation_2 Operation or Phase Number
MfgOrderOperationText I_MfgOrderOperationBasic MfgOrderOperationText Operation Short Text
OrderOperationLongText I_OrderOperationLongText OrderOperationLongText Long Text
_MfgOrder _MfgOrder
_MfgOrderOperation _MfgOrderOperation
_LongTextLanguage _LongTextLanguage

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_MfgOrderOperationLongText.
-- 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_MfgOrderOperationLongText AS
SELECT
  oper.OrderInternalBillOfOperations AS MfgOrderInternalID,
  oper.OrderIntBillOfOperationsItem AS OrderOperationInternalID,
  cast(oper.Language as pph_longtextlang preserving type) AS LongTextLanguage,
  cast(oper.ManufacturingOrder as co_aufnr preserving type) AS ManufacturingOrder,
  oper.ManufacturingOrderSequence AS ManufacturingOrderSequence,
  oper.ManufacturingOrderOperation_2 AS ManufacturingOrderOperation,
  oper.MfgOrderOperationText AS MfgOrderOperationText,
  text.OrderOperationLongText AS OrderOperationLongText
FROM I_OrderOperationLongText AS text
INNER JOIN I_MfgOrderOperationBasic AS oper ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Language AS _LongTextLanguage ON LongTextLanguage = _LongTextLanguage.Language  -- association [1..1]
LEFT OUTER JOIN I_ManufacturingOrder AS _MfgOrder ON ManufacturingOrder = _MfgOrder.ManufacturingOrder  -- association [1..1]
LEFT OUTER JOIN I_ManufacturingOrderOperation AS _MfgOrderOperation ON MfgOrderInternalID = _MfgOrderOperation.MfgOrderInternalID AND OrderOperationInternalID = _MfgOrderOperation.OrderOperationInternalID  -- association [1..1]
;