I_MfgOrderDocumentDataList

DDL: I_MFGORDERDOCUMENTDATALIST SQL: IPPMORDOCDATA Type: view COMPOSITE Package: PP_MAN_OM_MOR

Mfg Order Document (Data List)

I_MfgOrderDocumentDataList is a Composite CDS View that provides data about "Mfg Order Document (Data List)" in SAP S/4HANA. It reads from 2 data sources (P_MfgOrderDocInfoRecdObjLink, I_DocumentInfoRecordAttachment) and exposes 23 fields with key fields ManufacturingOrder, DocumentType, DocumentInfoRecord, DocumentPart, DocumentVersion. Part of development package PP_MAN_OM_MOR.

Data Sources (2)

SourceAliasJoin Type
P_MfgOrderDocInfoRecdObjLink docl from
I_DocumentInfoRecordAttachment orig inner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPPMORDOCDATA view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Mfg Order Document (Data List) view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY ManufacturingOrder P_MfgOrderDocInfoRecdObjLink ManufacturingOrder
KEY DocumentType P_MfgOrderDocInfoRecdObjLink DocumentType
KEY DocumentInfoRecord P_MfgOrderDocInfoRecdObjLink DocumentInfoRecord
KEY DocumentPart P_MfgOrderDocInfoRecdObjLink DocumentPart
KEY DocumentVersion P_MfgOrderDocInfoRecdObjLink DocumentVersion
KEY DocumentIndex I_DocumentInfoRecordAttachment DocumentIndex
KEY FileUUID I_DocumentInfoRecordAttachment FileUUID
InternalDocumentStatus P_MfgOrderDocInfoRecdObjLink InternalDocumentStatus
InternalComment I_DocumentInfoRecordAttachment InternalComment
FileName I_DocumentInfoRecordAttachment FileName
WorkstationApplication I_DocumentInfoRecordAttachment WorkstationApplication
MimeType I_DocumentInfoRecordAttachment MimeType
FileSize I_DocumentInfoRecordAttachment FileSize
StorageCategory I_DocumentInfoRecordAttachment StorageCategory
OriginalType I_DocumentInfoRecordAttachment OriginalType
IsOriginalVersionActive I_DocumentInfoRecordAttachment IsOriginalVersionActive
OriginalIsProtected I_DocumentInfoRecordAttachment OriginalIsProtected
MfgOrderLinkedObjType P_MfgOrderDocInfoRecdObjLink MfgOrderLinkedObjType
ManufacturingOrderCategory P_MfgOrderDocInfoRecdObjLink ManufacturingOrderCategory
ManufacturingOrderItem P_MfgOrderDocInfoRecdObjLink ManufacturingOrderItem
ManufacturingOrderSequence P_MfgOrderDocInfoRecdObjLink ManufacturingOrderSequence
ManufacturingOrderOperation P_MfgOrderDocInfoRecdObjLink ManufacturingOrderOperation
OrderOperationInternalID P_MfgOrderDocInfoRecdObjLink OrderOperationInternalID
@AbapCatalog.sqlViewName: 'IPPMORDOCDATA'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@EndUserText.label: 'Mfg Order Document (Data List)'
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #L, dataClass: #MIXED}
@VDM.viewType: #COMPOSITE

define view I_MfgOrderDocumentDataList
  as select from P_MfgOrderDocInfoRecdObjLink   as docl
    inner join   I_DocumentInfoRecordAttachment as orig on  orig.DocumentInfoRecordDocType    = docl.DocumentType
                                                        and orig.DocumentInfoRecordDocPart    = docl.DocumentPart
                                                        and orig.DocumentInfoRecordDocNumber  = docl.DocumentInfoRecord
                                                        and orig.DocumentInfoRecordDocVersion = docl.DocumentVersion

{
  key docl.ManufacturingOrder,
  key docl.DocumentType,
  key docl.DocumentInfoRecord,
  key docl.DocumentPart,
  key docl.DocumentVersion,
      // Original Key

  key orig.DocumentIndex,
  key orig.FileUUID,

      // Document Data

      docl.InternalDocumentStatus,

      // Original Data

      orig.InternalComment,
      orig.FileName,
      orig.WorkstationApplication,
      orig.MimeType,
      orig.FileSize,
      orig.StorageCategory,
      orig.OriginalType,
      orig.IsOriginalVersionActive,
      orig.OriginalIsProtected,

      // Mfg Order Data

      docl.MfgOrderLinkedObjType,
      docl.ManufacturingOrderCategory,
      docl.ManufacturingOrderItem,
      docl.ManufacturingOrderSequence,
      docl.ManufacturingOrderOperation,
      docl.OrderOperationInternalID
}