I_RO_SAFTMaterialDocumentItem

DDL: I_RO_SAFTMATERIALDOCUMENTITEM SQL: IROSAFTMATDOC Type: view BASIC

RO SAFT Material Document Item

I_RO_SAFTMaterialDocumentItem is a Basic CDS View (Dimension) that provides data about "RO SAFT Material Document Item" in SAP S/4HANA. It reads from 1 data source (matdoc) and exposes 22 fields.

Data Sources (1)

SourceAliasJoin Type
matdoc matdoc from

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IROSAFTMATDOC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.buffering.status #NOT_ALLOWED view
VDM.viewType #BASIC view
Metadata.allowExtensions true view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label RO SAFT Material Document Item view

Fields (22)

KeyFieldSource TableSource FieldDescription
MaterialDocument mblnr Material Doc.
MaterialDocumentYear mjahr Mat. Doc. Year
MaterialDocumentLine
Plant werks Receiving Plant
ProjectNetworkHasSpecialStock sobkz Special Stock
CompanyCode bukrs Value
GoodsMovementType bwart Valuation Type
EntryUnit erfme Unit of Entry
GoodsMovementEntryQty erfmg Quantity in UnE
PostingDate budat Posting Date
Product matnr Vehicle Model
AlternativeUnit meins Valuation Unit
GoodsMovementQuantity menge WarrCountValue
DocumentReferenceID xblnr Reference
Batch charg Chargeable Proc.
StorageLocation lgort Sublocation
DebitCreditCode shkzg Returns
ActiveGLAccount sakto G/L Account
AccountingDocumentType blart Rep. rec. doc. type
MaterialDocumentItemText sgtxt Text
MaterialLedgerTransactionType vgart Transactn Type
OriginalReferenceDocument

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_RO_SAFTMaterialDocumentItem.
-- 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: IROSAFTMATDOC

CREATE VIEW I_RO_SAFTMaterialDocumentItem AS
SELECT
  mblnr AS MaterialDocument,
  mjahr AS MaterialDocumentYear,
  cast( lpad(zeile, 6, '0') as fins_awitem ) AS MaterialDocumentLine,
  werks AS Plant,
  sobkz AS ProjectNetworkHasSpecialStock,
  bukrs AS CompanyCode,
  bwart AS GoodsMovementType,
  erfme AS EntryUnit,
  erfmg AS GoodsMovementEntryQty,
  budat AS PostingDate,
  matnr AS Product,
  meins AS AlternativeUnit,
  menge AS GoodsMovementQuantity,
  xblnr AS DocumentReferenceID,
  charg AS Batch,
  lgort AS StorageLocation,
  shkzg AS DebitCreditCode,
  sakto AS ActiveGLAccount,
  blart AS AccountingDocumentType,
  sgtxt AS MaterialDocumentItemText,
  vgart AS MaterialLedgerTransactionType,
  cast(concat( mblnr, mjahr) as fac_awkey) AS OriginalReferenceDocument
FROM matdoc
;