I_RO_SAFTMaterialDocumentItem
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)
| Source | Alias | Join Type |
|---|---|---|
| matdoc | matdoc | from |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA