I_MfgOrderSequenceLongText

DDL: I_MFGORDERSEQUENCELONGTEXT Type: view_entity COMPOSITE

Manufacturing Order Sequence - Text

I_MfgOrderSequenceLongText (Composite)

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

Manufacturing

I_MfgOrderSequenceLongText is a Composite CDS View that provides data about "Manufacturing Order Sequence - Text" in SAP S/4HANA. It reads from 2 data sources (I_OrderSequence, I_OrderSequenceLongText) and exposes 10 fields with key fields OrderInternalID, SequenceInternalID, 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 sequence. This CDS view provides the data to answer the following business questions: What is the long text of a manufacturing order sequence? 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 OrderInternalID Order Internal ID SequenceInternalID Sequence Internal ID LongTextLanguage Long Text Language MfgOrderSequenceText Sequence Description OrderSequenceLongText 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 sequence.</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 sequence?</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_OrderSequence seq inner
I_OrderSequenceLongText 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_ManufacturingOrderSequence _MfgOrderSequence $projection.ManufacturingOrder = _MfgOrderSequence.ManufacturingOrder and $projection.ManufacturingOrderSequence = _MfgOrderSequence.ManufacturingOrderSequence

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 Sequence - Text view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY OrderInternalID I_OrderSequence OrderInternalID Order Internal ID
KEY SequenceInternalID I_OrderSequence SequenceInternalID Sequence Internal ID
KEY LongTextLanguage Long Text Language
ManufacturingOrder Manufacturing Order ID
ManufacturingOrderSequence Manufacturing Order Sequence
MfgOrderSequenceText I_OrderSequence SequenceText Sequence Description
OrderSequenceLongText I_OrderSequenceLongText OrderSequenceLongText Long Text
_MfgOrder _MfgOrder
_MfgOrderSequence _MfgOrderSequence
_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_MfgOrderSequenceLongText.
-- 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_MfgOrderSequenceLongText AS
SELECT
  seq.OrderInternalID AS OrderInternalID,
  seq.SequenceInternalID AS SequenceInternalID,
  cast(seq.Language as pph_longtextlang preserving type) AS LongTextLanguage,
  cast(seq.OrderID as manufacturingorder preserving type) AS ManufacturingOrder,
  cast(seq.Sequence as manufacturingordersequence preserving type) AS ManufacturingOrderSequence,
  seq.SequenceText AS MfgOrderSequenceText,
  text.OrderSequenceLongText AS OrderSequenceLongText
FROM I_OrderSequenceLongText AS text
INNER JOIN I_OrderSequence AS seq 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_ManufacturingOrderSequence AS _MfgOrderSequence ON ManufacturingOrder = _MfgOrderSequence.ManufacturingOrder AND ManufacturingOrderSequence = _MfgOrderSequence.ManufacturingOrderSequence  -- association [1..1]
;