R_MatlValnInvtryPerFsclPerdBsc
M EXTRACT with mocked references
R_MatlValnInvtryPerFsclPerdBsc is a Basic CDS View that provides data about "M EXTRACT with mocked references" in SAP S/4HANA. It reads from 1 data source (P_ACDOCAMEXTRACT) and exposes 27 fields with key fields AccountingDocument, GLAccountLineItem, FiscalYearPeriod, Ledger, CompanyCode. Part of development package FINS_ML_VDM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ACDOCAMEXTRACT | P_ACDOCAMEXTRACT | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | M EXTRACT with mocked references | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | GLAccountLineItem | GLAccountLineItem | Matching Document Line Item | |
| KEY | FiscalYearPeriod | FiscalYearPeriod | Period/Year | |
| KEY | Ledger | Ledger | Ledger | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | CostEstimate | CostEstimate | Cost EstimateNo | |
| Material | Material | Vehicle Model | ||
| InventoryValuationType | InventoryValuationType | Valuation Type | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| InvtryValnSpecialStockType | InvtryValnSpecialStockType | Special Stock | ||
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| Supplier | Supplier | Supplier | ||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| UnitOfMeasure | UnitOfMeasure | Unit Protected Qty | ||
| ValuationQuantity | ValuationQuantity | |||
| Currency | Currency | Valuation Crcy | ||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | Local Crcy Amt | ||
| AmountInGlobalCurrency | AmountInGlobalCurrency | Amount in Global Currency | ||
| AmountInFreeDefinedCurrency1 | AmountInFreeDefinedCurrency1 | Amount in Freely Defined Currency 1 | ||
| AmountInFreeDefinedCurrency2 | AmountInFreeDefinedCurrency2 | Amount in Freely Defined Currency 2 | ||
| AmountInFreeDefinedCurrency3 | AmountInFreeDefinedCurrency3 | Amount in Freely Defined Currency 3 | ||
| AmountInFreeDefinedCurrency4 | AmountInFreeDefinedCurrency4 | Amount in Freely Defined Currency 4 | ||
| AmountInFreeDefinedCurrency5 | AmountInFreeDefinedCurrency5 | Amount in Freely Defined Currency 5 | ||
| AmountInFreeDefinedCurrency6 | AmountInFreeDefinedCurrency6 | Amount in Freely Defined Currency 6 | ||
| AmountInFreeDefinedCurrency7 | AmountInFreeDefinedCurrency7 | Amount in Freely Defined Currency 7 | ||
| AmountInFreeDefinedCurrency8 | AmountInFreeDefinedCurrency8 | Amount in Freely Defined Currency 8 |
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 R_MatlValnInvtryPerFsclPerdBsc.
-- 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 R_MatlValnInvtryPerFsclPerdBsc AS
SELECT
AccountingDocument,
GLAccountLineItem,
FiscalYearPeriod,
Ledger,
CompanyCode,
CostEstimate,
Material,
InventoryValuationType,
ValuationArea,
InvtryValnSpecialStockType,
SalesOrder,
SalesOrderItem,
Supplier,
WBSElementInternalID,
UnitOfMeasure,
ValuationQuantity,
Currency,
AmountInCompanyCodeCurrency,
AmountInGlobalCurrency,
AmountInFreeDefinedCurrency1,
AmountInFreeDefinedCurrency2,
AmountInFreeDefinedCurrency3,
AmountInFreeDefinedCurrency4,
AmountInFreeDefinedCurrency5,
AmountInFreeDefinedCurrency6,
AmountInFreeDefinedCurrency7,
AmountInFreeDefinedCurrency8
FROM P_ACDOCAMEXTRACT
;
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