I_MaterialDocumentForPrint

DDL: I_MATERIALDOCUMENTFORPRINT Type: view_entity COMPOSITE Package: APPL_MM_IM_OUTPUT

View for Material Document Print

I_MaterialDocumentForPrint is a Composite CDS View that provides data about "View for Material Document Print" in SAP S/4HANA. It reads from 3 data sources (I_ProductStorageLocationBasic, I_MaterialDocumentRecord, I_ProductStorageLocationBasic) and exposes 190 fields with key fields MaterialDocumentYear, MaterialDocument, MaterialDocumentItem. It has 5 associations to related views. Part of development package APPL_MM_IM_OUTPUT.

Data Sources (3)

SourceAliasJoin Type
I_ProductStorageLocationBasic _IssgOrRcvgMatStorageLocation left_outer
I_MaterialDocumentRecord _MatDocRecord from
I_ProductStorageLocationBasic _MatStorageLocation left_outer

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_ProductText _IssgOrRcvgProductText $projection.IssgOrRcvgMaterial = _IssgOrRcvgProductText.Product and $projection.Language = _IssgOrRcvgProductText.Language
[0..1] I_InventorySpecialStockTypeT _IssgOrRcvgInvtrySpclStkIndTxt $projection.IssgOrRcvgSpclStockInd = _IssgOrRcvgInvtrySpclStkIndTxt.InventorySpecialStockType and $projection.Language = _IssgOrRcvgInvtrySpclStkIndTxt.Language
[0..1] I_ProductText _ProductText $projection.Material = _ProductText.Product and $projection.Language = _ProductText.Language
[0..1] I_InventorySpecialStockTypeT _InventorySpecialStockTypeText $projection.InventorySpecialStockType = _InventorySpecialStockTypeText.InventorySpecialStockType and $projection.Language = _InventorySpecialStockTypeText.Language
[0..1] I_GoodsMovementTypeT _GoodsMovementTypeText $projection.GoodsMovementType = _GoodsMovementTypeText.GoodsMovementType and $projection.Language = _GoodsMovementTypeText.Language

Annotations (9)

NameValueLevelField
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label View for Material Document Print view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.personalData.blocking #REQUIRED view

Fields (190)

KeyFieldSource TableSource FieldDescription
KEY MaterialDocumentYear I_MaterialDocumentRecord MaterialDocumentYear
KEY MaterialDocument I_MaterialDocumentRecord MaterialDocument
KEY MaterialDocumentItem I_MaterialDocumentRecord MaterialDocumentItem
StockIdentifyingMaterial I_MaterialDocumentRecord StockIdentifyingMaterial
Plant I_MaterialDocumentRecord Plant
StockIdfgStorageLocation I_MaterialDocumentRecord StockIdfgStorageLocation
StockIdentifyingBatch I_MaterialDocumentRecord StockIdentifyingBatch
SpecialStockIdfgSupplier I_MaterialDocumentRecord SpecialStockIdfgSupplier
SpecialStockIdfgSalesOrder I_MaterialDocumentRecord SpecialStockIdfgSalesOrder
SpecialStockIdfgSalesOrderItem I_MaterialDocumentRecord SpecialStockIdfgSalesOrderItem
SpecialStockIdfgWBSElement I_MaterialDocumentRecord SpecialStockIdfgWBSElement
SpecialStockIdfgCustomer I_MaterialDocumentRecord SpecialStockIdfgCustomer
InventorySpecialStockType I_MaterialDocumentRecord InventorySpecialStockType
InventoryStockType I_MaterialDocumentRecord InventoryStockType
SpecialStockIdfgStockOwner I_MaterialDocumentRecord SpecialStockIdfgStockOwner
ResourceID I_MaterialDocumentRecord ResourceID
Material I_MaterialDocumentRecord Material
StorageLocation I_MaterialDocumentRecord StorageLocation
Batch I_MaterialDocumentRecord Batch
Supplier I_MaterialDocumentRecord Supplier
SalesOrder I_MaterialDocumentRecord SalesOrder
SalesOrderItem I_MaterialDocumentRecord SalesOrderItem
SalesOrderScheduleLine I_MaterialDocumentRecord SalesOrderScheduleLine
Customer I_MaterialDocumentRecord Customer
StockOwner I_MaterialDocumentRecord StockOwner
WBSElementInternalID I_MaterialDocumentRecord WBSElementInternalID
IssgOrRcvgMaterial I_MaterialDocumentRecord IssgOrRcvgMaterial
IssuingOrReceivingPlant I_MaterialDocumentRecord IssuingOrReceivingPlant
IssuingOrReceivingStorageLoc I_MaterialDocumentRecord IssuingOrReceivingStorageLoc
IssgOrRcvgBatch I_MaterialDocumentRecord IssgOrRcvgBatch
IssgOrRcvgSpclStockInd I_MaterialDocumentRecord IssgOrRcvgSpclStockInd
IssuingOrReceivingValType I_MaterialDocumentRecord IssuingOrReceivingValType
IssuingOrReceivingStockType I_MaterialDocumentRecord IssuingOrReceivingStockType
IssgOrRcvgResourceID I_MaterialDocumentRecord IssgOrRcvgResourceID
GoodsMovementRefDocType I_MaterialDocumentRecord GoodsMovementRefDocType
ConsumptionPosting I_MaterialDocumentRecord ConsumptionPosting
GoodsMovementReasonCode I_MaterialDocumentRecord GoodsMovementReasonCode
NumberOfSlipsToBePrinted I_MaterialDocumentRecord NumberOfSlipsToBePrinted
NumberOfLabelsToBePrinted I_MaterialDocumentRecord NumberOfLabelsToBePrinted
GoodsMovementType I_MaterialDocumentRecord GoodsMovementType
DebitCreditCode I_MaterialDocumentRecord DebitCreditCode
InventoryUsabilityCode I_MaterialDocumentRecord InventoryUsabilityCode
QuantityInBaseUnit I_MaterialDocumentRecord QuantityInBaseUnit
MaterialBaseUnit I_MaterialDocumentRecord MaterialBaseUnit
MatlStkChangeQtyInBaseUnit I_MaterialDocumentRecord MatlStkChangeQtyInBaseUnit
MatlCnsmpnQtyInMatlBaseUnit I_MaterialDocumentRecord MatlCnsmpnQtyInMatlBaseUnit
DocumentDate I_MaterialDocumentRecord DocumentDate
AccountingDocumentType I_MaterialDocumentRecord AccountingDocumentType
InventoryTransactionType I_MaterialDocumentRecord InventoryTransactionType
InventorySpecialStockValnType I_MaterialDocumentRecord InventorySpecialStockValnType
CreationDate I_MaterialDocumentRecord CreationDate
CreationTime I_MaterialDocumentRecord CreationTime
CreatedByUser I_MaterialDocumentRecord CreatedByUser
MaterialDocumentHeaderText I_MaterialDocumentRecord MaterialDocumentHeaderText
MaterialDocumentItemText I_MaterialDocumentRecord MaterialDocumentItemText
DeliveryInMatlDocumentHeader I_MaterialDocumentRecord DeliveryInMatlDocumentHeader
BillOfLading I_MaterialDocumentRecord BillOfLading
ShelfLifeExpirationDate I_MaterialDocumentRecord ShelfLifeExpirationDate
ManufactureDate I_MaterialDocumentRecord ManufactureDate
QuantityInEntryUnit I_MaterialDocumentRecord QuantityInEntryUnit
EntryUnit I_MaterialDocumentRecord EntryUnit
InventoryValuationType I_MaterialDocumentRecord InventoryValuationType
PurchaseOrder I_MaterialDocumentRecord PurchaseOrder
PurchaseOrderItem I_MaterialDocumentRecord PurchaseOrderItem
ProjectNetwork I_MaterialDocumentRecord ProjectNetwork
ManufacturingOrder I_MaterialDocumentRecord ManufacturingOrder
ManufacturingOrderItem I_MaterialDocumentRecord ManufacturingOrderItem
OrderID I_MaterialDocumentRecord OrderID
OrderItem I_MaterialDocumentRecord OrderItem
Reservation I_MaterialDocumentRecord Reservation
ReservationItem I_MaterialDocumentRecord ReservationItem
ReservationIsFinallyIssued I_MaterialDocumentRecord ReservationIsFinallyIssued
DeliveryDocument I_MaterialDocumentRecord DeliveryDocument
DeliveryDocumentItem I_MaterialDocumentRecord DeliveryDocumentItem
IsCompletelyDelivered I_MaterialDocumentRecord IsCompletelyDelivered
ReversedMaterialDocumentYear I_MaterialDocumentRecord ReversedMaterialDocumentYear
ReversedMaterialDocument I_MaterialDocumentRecord ReversedMaterialDocument
ReversedMaterialDocumentItem I_MaterialDocumentRecord ReversedMaterialDocumentItem
RvslOfGoodsReceiptIsAllowed I_MaterialDocumentRecord RvslOfGoodsReceiptIsAllowed
IsReversalMovementType I_MaterialDocumentRecord IsReversalMovementType
GoodsMovementIsCancelled I_MaterialDocumentRecord GoodsMovementIsCancelled
GoodsMovementCancellationType I_MaterialDocumentRecord GoodsMovementCancellationType
GoodsRecipientName I_MaterialDocumentRecord GoodsRecipientName
UnloadingPointName I_MaterialDocumentRecord UnloadingPointName
CostCenter I_MaterialDocumentRecord CostCenter
GLAccount I_MaterialDocumentRecord GLAccount
CostObject I_MaterialDocumentRecord CostObject
ProfitabilitySegment I_MaterialDocumentRecord ProfitabilitySegment
ProfitabilitySegment_2 I_MaterialDocumentRecord ProfitabilitySegment_2
ProfitCenter I_MaterialDocumentRecord ProfitCenter
CostEstimate I_MaterialDocumentRecord CostEstimate
ReferenceDocument I_MaterialDocumentRecord ReferenceDocument
ServicePerformer I_MaterialDocumentRecord ServicePerformer
EmploymentInternalID I_MaterialDocumentRecord EmploymentInternalID
AccountAssignmentCategory I_MaterialDocumentRecord AccountAssignmentCategory
WorkItem I_MaterialDocumentRecord WorkItem
ServicesRenderedDate I_MaterialDocumentRecord ServicesRenderedDate
CompanyCode I_MaterialDocumentRecord CompanyCode
BusinessArea I_MaterialDocumentRecord BusinessArea
ControllingArea I_MaterialDocumentRecord ControllingArea
FunctionalArea I_MaterialDocumentRecord FunctionalArea
OriginalMaterialDocumentItem I_MaterialDocumentRecord OriginalMaterialDocumentItem
MultiAcctAssgmtOriglMatlDocItm I_MaterialDocumentRecord MultiAcctAssgmtOriglMatlDocItm
GoodsReceiptIsNonValuated I_MaterialDocumentRecord GoodsReceiptIsNonValuated
HasMultipleAccountAssignment I_MaterialDocumentRecord HasMultipleAccountAssignment
MultipleAccountAssignmentCode I_MaterialDocumentRecord MultipleAccountAssignmentCode
MasterFixedAsset I_MaterialDocumentRecord MasterFixedAsset
FixedAsset I_MaterialDocumentRecord FixedAsset
PostingDate I_MaterialDocumentRecord PostingDate
FiscalYearPeriod I_MaterialDocumentRecord FiscalYearPeriod
FiscalYearVariant I_MaterialDocumentRecord FiscalYearVariant
FundsCenter I_MaterialDocumentRecord FundsCenter
Fund I_MaterialDocumentRecord Fund
CommitmentItemShortID I_MaterialDocumentRecord CommitmentItemShortID
GrantID I_MaterialDocumentRecord GrantID
StorageType I_MaterialDocumentRecord StorageType
StorageBin I_MaterialDocumentRecord StorageBin
EWMWarehouse I_MaterialDocumentRecord EWMWarehouse
EWMStorageBin I_MaterialDocumentRecord EWMStorageBin
HandlingUnitExternalID I_MaterialDocumentRecord HandlingUnitExternalID
YearDay I_MaterialDocumentRecord YearDay
YearWeek I_MaterialDocumentRecord YearWeek
YearMonth I_MaterialDocumentRecord YearMonth
YearQuarter I_MaterialDocumentRecord YearQuarter
DocumentYear I_MaterialDocumentRecord DocumentYear
CalendarQuarter I_MaterialDocumentRecord CalendarQuarter
CalendarMonth I_MaterialDocumentRecord CalendarMonth
CalendarWeek I_MaterialDocumentRecord CalendarWeek
CalendarDay I_MaterialDocumentRecord CalendarDay
WeekDay I_MaterialDocumentRecord WeekDay
FiscalYear I_MaterialDocumentRecord FiscalYear
YearPeriod I_MaterialDocumentRecord YearPeriod
TotalGoodsMvtAmtInCCCrcy I_MaterialDocumentRecord TotalGoodsMvtAmtInCCCrcy
GoodsMovementStkAmtInCCCrcy I_MaterialDocumentRecord GoodsMovementStkAmtInCCCrcy
GoodsMvtCnsmpnAmtInCCCrcy I_MaterialDocumentRecord GoodsMvtCnsmpnAmtInCCCrcy
CompanyCodeCurrency I_MaterialDocumentRecord CompanyCodeCurrency
GdsMvtExtAmtInCoCodeCrcy I_MaterialDocumentRecord GdsMvtExtAmtInCoCodeCrcy
SlsPrcAmtInclVATInCoCodeCrcy I_MaterialDocumentRecord SlsPrcAmtInclVATInCoCodeCrcy
EnteredSlsAmtInCoCodeCrcy I_MaterialDocumentRecord EnteredSlsAmtInCoCodeCrcy
TransactionCode I_MaterialDocumentRecord TransactionCode
IsAutomaticallyCreated I_MaterialDocumentRecord IsAutomaticallyCreated
MaterialDocumentLine I_MaterialDocumentRecord MaterialDocumentLine
MaterialDocumentParentLine I_MaterialDocumentRecord MaterialDocumentParentLine
HierarchyNodeLevel I_MaterialDocumentRecord HierarchyNodeLevel
MaterialDocumentRecordType I_MaterialDocumentRecord MaterialDocumentRecordType
IsMaterialDocumentHeader I_MaterialDocumentRecord IsMaterialDocumentHeader
MaintOrderRoutingNumber I_MaterialDocumentRecord MaintOrderRoutingNumber
MaintOrderOperationCounter I_MaterialDocumentRecord MaintOrderOperationCounter
ManufacturerMaterial I_MaterialDocumentRecord ManufacturerMaterial
ActivityInWarehouseIsPending I_MaterialDocumentRecord ActivityInWarehouseIsPending
IssgOrRcvgWBSElement I_MaterialDocumentRecord IssgOrRcvgWBSElement
WarehouseNumber I_MaterialDocumentRecord WarehouseNumber
TransferRequirementNumber I_MaterialDocumentRecord TransferRequirementNumber
TransferPriority I_MaterialDocumentRecord TransferPriority
VersionForPrintingSlip I_MaterialDocumentRecord VersionForPrintingSlip
IssgOrRcvgSalesOrder I_MaterialDocumentRecord IssgOrRcvgSalesOrder
IssgOrRcvgSalesOrderItem I_MaterialDocumentRecord IssgOrRcvgSalesOrderItem
ShippingInstruction I_MaterialDocumentRecord ShippingInstruction
ShipgInstrnSupplierCompliance I_MaterialDocumentRecord ShipgInstrnSupplierCompliance
QtyInPurchaseOrderPriceUnit I_MaterialDocumentRecord QtyInPurchaseOrderPriceUnit
OrderPriceUnit I_MaterialDocumentRecord OrderPriceUnit
GoodsReceiptQtyInOrderUnit I_MaterialDocumentRecord GoodsReceiptQtyInOrderUnit
OrderQuantityUnit I_MaterialDocumentRecord OrderQuantityUnit
QuantityInDeliveryQtyUnit I_MaterialDocumentRecord QuantityInDeliveryQtyUnit
DeliveryQuantityUnit I_MaterialDocumentRecord DeliveryQuantityUnit
Language
PlantName
PlantCategory
AddressID
StorageLocationName
IssuingOrReceivingStorLocName
SupplierName
WarehouseStorageBin I_ProductStorageLocationBasic WarehouseStorageBin
GoodsReceiptType I_MaterialDocumentRecord GoodsReceiptType
IssgOrRcvgPlantAddressID
IssuingOrReceivingPlantName
IssgOrRcvgWarehouseStorageBin I_ProductStorageLocationBasic WarehouseStorageBin
_IssgOrRcvgProductText _IssgOrRcvgProductText
_IssgOrRcvgInvtrySpclStkIndTxt _IssgOrRcvgInvtrySpclStkIndTxt
_ProductText _ProductText
_InventorySpecialStockTypeText _InventorySpecialStockTypeText
_GoodsMovementTypeText _GoodsMovementTypeText
_StorageLocation I_MaterialDocumentRecord _StorageLocation
_CustomerCompanyByPlant I_MaterialDocumentRecord _CustomerCompanyByPlant
_IssuingOrReceivingStorageLoc I_MaterialDocumentRecord _IssuingOrReceivingStorageLoc
_BPStockOwner I_MaterialDocumentRecord _BPStockOwner
_Supplier I_MaterialDocumentRecord _Supplier
_SupplierCompanyByPlant I_MaterialDocumentRecord _SupplierCompanyByPlant
_Customer I_MaterialDocumentRecord _Customer
_GoodsMvtTypeBySpclStkIndT I_MaterialDocumentRecord _GoodsMvtTypeBySpclStkIndT
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@EndUserText.label: 'View for Material Document Print'

@AccessControl.authorizationCheck:#CHECK
@VDM.viewType : #COMPOSITE
@Metadata.ignorePropagatedAnnotations: true

@ObjectModel: {
    usageType: {
        sizeCategory: #XXL,
        serviceQuality: #C,
        dataClass:#TRANSACTIONAL
    }
}
@AccessControl.personalData.blocking:#REQUIRED

define view entity I_MaterialDocumentForPrint
  as select from    I_MaterialDocumentRecord      as _MatDocRecord
    left outer join I_ProductStorageLocationBasic as _MatStorageLocation           on  _MatDocRecord.Material        = _MatStorageLocation.Product
                                                                                   and _MatDocRecord.Plant           = _MatStorageLocation.Plant
                                                                                   and _MatDocRecord.StorageLocation = _MatStorageLocation.StorageLocation
  //1908 - Transfer Posting Generic FDP Service Changes - Start

    left outer join I_ProductStorageLocationBasic as _IssgOrRcvgMatStorageLocation on  _MatDocRecord.IssgOrRcvgMaterial           = _IssgOrRcvgMatStorageLocation.Product
                                                                                   and _MatDocRecord.IssuingOrReceivingPlant      = _IssgOrRcvgMatStorageLocation.Plant
                                                                                   and _MatDocRecord.IssuingOrReceivingStorageLoc = _IssgOrRcvgMatStorageLocation.StorageLocation
  association [0..1] to I_ProductText                as _IssgOrRcvgProductText         on  $projection.IssgOrRcvgMaterial = _IssgOrRcvgProductText.Product
                                                                                       and $projection.Language           = _IssgOrRcvgProductText.Language
  association [0..1] to I_InventorySpecialStockTypeT as _IssgOrRcvgInvtrySpclStkIndTxt on  $projection.IssgOrRcvgSpclStockInd = _IssgOrRcvgInvtrySpclStkIndTxt.InventorySpecialStockType
                                                                                       and $projection.Language               = _IssgOrRcvgInvtrySpclStkIndTxt.Language
  //1908 - Transfer Posting Generic FDP Service Changes - End

  association [0..1] to I_ProductText                as _ProductText                   on  $projection.Material = _ProductText.Product
                                                                                       and $projection.Language = _ProductText.Language
  association [0..1] to I_InventorySpecialStockTypeT as _InventorySpecialStockTypeText on  $projection.InventorySpecialStockType = _InventorySpecialStockTypeText.InventorySpecialStockType
                                                                                       and $projection.Language                  = _InventorySpecialStockTypeText.Language
  association [0..1] to I_GoodsMovementTypeT         as _GoodsMovementTypeText         on  $projection.GoodsMovementType = _GoodsMovementTypeText.GoodsMovementType
                                                                                       and $projection.Language          = _GoodsMovementTypeText.Language
{
  key  _MatDocRecord.MaterialDocumentYear,
  key  _MatDocRecord.MaterialDocument,
  key  _MatDocRecord.MaterialDocumentItem,

       _MatDocRecord.StockIdentifyingMaterial,
       _MatDocRecord.Plant,
       _MatDocRecord.StockIdfgStorageLocation,
       _MatDocRecord.StockIdentifyingBatch,
       _MatDocRecord.SpecialStockIdfgSupplier,
       _MatDocRecord.SpecialStockIdfgSalesOrder,
       _MatDocRecord.SpecialStockIdfgSalesOrderItem,
       _MatDocRecord.SpecialStockIdfgWBSElement,
       _MatDocRecord.SpecialStockIdfgCustomer,
       _MatDocRecord.InventorySpecialStockType,
       _MatDocRecord.InventoryStockType,
       _MatDocRecord.SpecialStockIdfgStockOwner,
       _MatDocRecord.ResourceID,

       _MatDocRecord.Material,
       _MatDocRecord.StorageLocation,
       _MatDocRecord.Batch,
       _MatDocRecord.Supplier,
       _MatDocRecord.SalesOrder,
       _MatDocRecord.SalesOrderItem,
       _MatDocRecord.SalesOrderScheduleLine,
       _MatDocRecord.Customer,
       _MatDocRecord.StockOwner,
       _MatDocRecord.WBSElementInternalID,

       _MatDocRecord.IssgOrRcvgMaterial,
       _MatDocRecord.IssuingOrReceivingPlant,
       _MatDocRecord.IssuingOrReceivingStorageLoc,
       _MatDocRecord.IssgOrRcvgBatch,
       _MatDocRecord.IssgOrRcvgSpclStockInd,
       _MatDocRecord.IssuingOrReceivingValType,
       _MatDocRecord.IssuingOrReceivingStockType,
       _MatDocRecord.IssgOrRcvgResourceID,

       _MatDocRecord.GoodsMovementRefDocType,
       _MatDocRecord.ConsumptionPosting,
       _MatDocRecord.GoodsMovementReasonCode,
       _MatDocRecord.NumberOfSlipsToBePrinted,
       _MatDocRecord.NumberOfLabelsToBePrinted,
       _MatDocRecord.GoodsMovementType,
       _MatDocRecord.DebitCreditCode,
       _MatDocRecord.InventoryUsabilityCode,
       @Semantics.quantity.unitOfMeasure: 'MaterialBaseUnit'
       @DefaultAggregation: #NONE
       _MatDocRecord.QuantityInBaseUnit,
       _MatDocRecord.MaterialBaseUnit,

       @DefaultAggregation:#NONE
       @Semantics.quantity.unitOfMeasure: 'MaterialBaseUnit'
       _MatDocRecord.MatlStkChangeQtyInBaseUnit,

       @DefaultAggregation:#NONE
       @Semantics.quantity.unitOfMeasure: 'MaterialBaseUnit'
       _MatDocRecord.MatlCnsmpnQtyInMatlBaseUnit,

       @Semantics.businessDate.at: true
       _MatDocRecord.DocumentDate,
       _MatDocRecord.AccountingDocumentType,
       _MatDocRecord.InventoryTransactionType,
       _MatDocRecord.InventorySpecialStockValnType,

       _MatDocRecord.CreationDate,
       _MatDocRecord.CreationTime,
       _MatDocRecord.CreatedByUser,
       _MatDocRecord.MaterialDocumentHeaderText,
       _MatDocRecord.MaterialDocumentItemText,
       _MatDocRecord.DeliveryInMatlDocumentHeader,
       _MatDocRecord.BillOfLading,

       _MatDocRecord.ShelfLifeExpirationDate,
       _MatDocRecord.ManufactureDate,

       @Semantics.quantity.unitOfMeasure: 'EntryUnit'
       @DefaultAggregation: #NONE
       _MatDocRecord.QuantityInEntryUnit,
       _MatDocRecord.EntryUnit,
       _MatDocRecord.InventoryValuationType,

       _MatDocRecord.PurchaseOrder,
       _MatDocRecord.PurchaseOrderItem,
       _MatDocRecord.ProjectNetwork,
       _MatDocRecord.ManufacturingOrder,
       _MatDocRecord.ManufacturingOrderItem,
       _MatDocRecord.OrderID,
       _MatDocRecord.OrderItem,
       _MatDocRecord.Reservation,
       _MatDocRecord.ReservationItem,
       _MatDocRecord.ReservationIsFinallyIssued,
       _MatDocRecord.DeliveryDocument,
       _MatDocRecord.DeliveryDocumentItem,
       _MatDocRecord.IsCompletelyDelivered,

       _MatDocRecord.ReversedMaterialDocumentYear,
       _MatDocRecord.ReversedMaterialDocument,
       _MatDocRecord.ReversedMaterialDocumentItem,
       _MatDocRecord.RvslOfGoodsReceiptIsAllowed,
       _MatDocRecord.IsReversalMovementType,
       _MatDocRecord.GoodsMovementIsCancelled,
       _MatDocRecord.GoodsMovementCancellationType,

       _MatDocRecord.GoodsRecipientName,
       _MatDocRecord.UnloadingPointName,
       _MatDocRecord.CostCenter,
       _MatDocRecord.GLAccount,
       _MatDocRecord.CostObject,
       @VDM.lifecycle.status: #DEPRECATED
       @VDM.lifecycle.successor: 'ProfitabilitySegment_2'
       _MatDocRecord.ProfitabilitySegment,
       _MatDocRecord.ProfitabilitySegment_2,
       _MatDocRecord.ProfitCenter,
       _MatDocRecord.CostEstimate,

       _MatDocRecord.ReferenceDocument,
       _MatDocRecord.ServicePerformer,
       _MatDocRecord.EmploymentInternalID,
       _MatDocRecord.AccountAssignmentCategory,
       _MatDocRecord.WorkItem,
       _MatDocRecord.ServicesRenderedDate,

       _MatDocRecord.CompanyCode,
       _MatDocRecord.BusinessArea,
       _MatDocRecord.ControllingArea,
       _MatDocRecord.FunctionalArea,
       _MatDocRecord.OriginalMaterialDocumentItem,
       _MatDocRecord.MultiAcctAssgmtOriglMatlDocItm,
       _MatDocRecord.GoodsReceiptIsNonValuated,
       @VDM.lifecycle.status: #DEPRECATED
       @VDM.lifecycle.successor: 'MultipleAccountAssignmentCode'
       _MatDocRecord.HasMultipleAccountAssignment,
       _MatDocRecord.MultipleAccountAssignmentCode,
       _MatDocRecord.MasterFixedAsset,
       _MatDocRecord.FixedAsset,
       @Semantics.businessDate.at: true
       _MatDocRecord.PostingDate,
       @Semantics.fiscal.yearPeriod: true
       _MatDocRecord.FiscalYearPeriod,
       @Semantics.fiscal.yearVariant: true
       _MatDocRecord.FiscalYearVariant,

       _MatDocRecord.FundsCenter,
       _MatDocRecord.Fund,
       _MatDocRecord.CommitmentItemShortID, // replacement for CommitmentItem

       _MatDocRecord.GrantID,

       _MatDocRecord.StorageType,
       _MatDocRecord.StorageBin,

       _MatDocRecord.EWMWarehouse,
       _MatDocRecord.EWMStorageBin,
       _MatDocRecord.HandlingUnitExternalID,

       _MatDocRecord.YearDay,
       @Semantics.calendar.yearWeek: true
       _MatDocRecord.YearWeek,
       @Semantics.calendar.yearMonth: true
       _MatDocRecord.YearMonth,
       @Semantics.calendar.yearQuarter: true
       _MatDocRecord.YearQuarter,
       @Semantics.calendar.year: true
       _MatDocRecord.DocumentYear,
       @Semantics.calendar.quarter: true
       _MatDocRecord.CalendarQuarter,
       @Semantics.calendar.month: true
       _MatDocRecord.CalendarMonth,
       @Semantics.calendar.week: true
       _MatDocRecord.CalendarWeek,
       @Semantics.calendar.dayOfYear: true
       _MatDocRecord.CalendarDay,
       _MatDocRecord.WeekDay,
       _MatDocRecord.FiscalYear,
       _MatDocRecord.YearPeriod,

       @Semantics.amount.currencyCode: 'CompanyCodeCurrency'
       @DefaultAggregation: #NONE
       _MatDocRecord.TotalGoodsMvtAmtInCCCrcy,
       @Semantics.amount.currencyCode: 'CompanyCodeCurrency'
       @DefaultAggregation: #NONE
       _MatDocRecord.GoodsMovementStkAmtInCCCrcy,
       @Semantics.amount.currencyCode: 'CompanyCodeCurrency'
       @DefaultAggregation: #NONE
       _MatDocRecord.GoodsMvtCnsmpnAmtInCCCrcy,
       _MatDocRecord.CompanyCodeCurrency,

       @Semantics.amount.currencyCode: 'CompanyCodeCurrency'
       @DefaultAggregation: #NONE
       _MatDocRecord.GdsMvtExtAmtInCoCodeCrcy,
       @Semantics.amount.currencyCode: 'CompanyCodeCurrency'
       @DefaultAggregation: #NONE
       _MatDocRecord.SlsPrcAmtInclVATInCoCodeCrcy,
       @Semantics.amount.currencyCode: 'CompanyCodeCurrency'
       @DefaultAggregation: #NONE
       _MatDocRecord.EnteredSlsAmtInCoCodeCrcy,

       @Consumption.hidden: true
       _MatDocRecord.TransactionCode,

       @Consumption.hidden: true
       _MatDocRecord.IsAutomaticallyCreated,
       @Consumption.hidden: true
       _MatDocRecord.MaterialDocumentLine,
       @Consumption.hidden: true
       _MatDocRecord.MaterialDocumentParentLine,
       @Consumption.hidden: true
       _MatDocRecord.HierarchyNodeLevel,

       @Consumption.hidden: true
       _MatDocRecord.MaterialDocumentRecordType,
       _MatDocRecord.IsMaterialDocumentHeader,

       _MatDocRecord.MaintOrderRoutingNumber,
       _MatDocRecord.MaintOrderOperationCounter,
       _MatDocRecord.ManufacturerMaterial,
       _MatDocRecord.ActivityInWarehouseIsPending,
       _MatDocRecord.IssgOrRcvgWBSElement,
       _MatDocRecord.WarehouseNumber,
       _MatDocRecord.TransferRequirementNumber,
       _MatDocRecord.TransferPriority,
       _MatDocRecord.VersionForPrintingSlip,
       _MatDocRecord.IssgOrRcvgSalesOrder,
       _MatDocRecord.IssgOrRcvgSalesOrderItem,
       _MatDocRecord.ShippingInstruction,
       _MatDocRecord.ShipgInstrnSupplierCompliance,
       @Semantics.quantity.unitOfMeasure: 'OrderPriceUnit'
       _MatDocRecord.QtyInPurchaseOrderPriceUnit,
       _MatDocRecord.OrderPriceUnit,
       @DefaultAggregation: #NONE
       @Semantics.quantity.unitOfMeasure: 'OrderQuantityUnit'
       _MatDocRecord.GoodsReceiptQtyInOrderUnit,
       _MatDocRecord.OrderQuantityUnit,
       @DefaultAggregation:#NONE
       @Semantics.quantity.unitOfMeasure: 'DeliveryQuantityUnit'
       _MatDocRecord.QuantityInDeliveryQtyUnit,
       _MatDocRecord.DeliveryQuantityUnit,
       $session.system_language                                        as Language,
       _MatDocRecord._Plant.PlantName,
       _MatDocRecord._Plant.PlantCategory,
       _MatDocRecord._Plant.AddressID,
       _MatDocRecord._StorageLocation.StorageLocationName,
       _MatDocRecord._IssuingOrReceivingStorageLoc.StorageLocationName as IssuingOrReceivingStorLocName,
       _MatDocRecord._Supplier.SupplierName,
       _MatStorageLocation.WarehouseStorageBin,

       //  @Consumption.hidden: true

       _MatDocRecord.GoodsReceiptType,

       //1908 - Transfer Posting generic FDP Service Changes - Start

       _MatDocRecord._IssuingOrReceivingPlant.AddressID                as IssgOrRcvgPlantAddressID,
       _MatDocRecord._IssuingOrReceivingPlant.PlantName                as IssuingOrReceivingPlantName,
       _IssgOrRcvgMatStorageLocation.WarehouseStorageBin               as IssgOrRcvgWarehouseStorageBin,
       _IssgOrRcvgProductText,
       _IssgOrRcvgInvtrySpclStkIndTxt,
       //1908 - Transfer Posting generic FDP Service Changes - End


       _ProductText,
       _InventorySpecialStockTypeText,
       _GoodsMovementTypeText,

       //Exposed for DCL check

       _MatDocRecord._StorageLocation,
       _MatDocRecord._CustomerCompanyByPlant,
       _MatDocRecord._IssuingOrReceivingStorageLoc,
       _MatDocRecord._BPStockOwner,
       _MatDocRecord._Supplier,
       _MatDocRecord._SupplierCompanyByPlant,
       _MatDocRecord._Customer,
       _MatDocRecord._GoodsMvtTypeBySpclStkIndT

}

where
  _MatDocRecord.MaterialDocumentRecordType = 'MDOC'