I_BatchWithValuationVH
Batches in Physical Inventory
I_BatchWithValuationVH is a Composite CDS View that provides data about "Batches in Physical Inventory" in SAP S/4HANA. It reads from 1 data source (P_BatchWithValuationVH) and exposes 32 fields with key fields DefinitionOfBatchLevel, Plant, Material, Batch.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_BatchWithValuationVH | P_BatchWithValuationVH | from |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Batches in Physical Inventory | view | |
| AbapCatalog.dataMaintenance | #RESTRICTED | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.representativeKey | Batch | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #NONE | view | |
| Search.searchable | true | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Consumption.ranked | true | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DefinitionOfBatchLevel | DefinitionOfBatchLevel | ||
| KEY | Plant | Plant | Valuation Area | |
| KEY | Material | Material | Vehicle Model | |
| KEY | Batch | Batch | Lot No. | |
| ValuationType | ValuationType | Valuation Type | ||
| BatchIsMarkedForDeletion | BatchIsMarkedForDeletion | |||
| MatlBatchIsInRstrcdUseStock | MatlBatchIsInRstrcdUseStock | Batch restr. | ||
| Supplier | Supplier | Supplier | ||
| BatchBySupplier | BatchBySupplier | Supplier Batch | ||
| CountryOfOrigin | CountryOfOrigin | Country/Region of Origin | ||
| RegionOfOrigin | RegionOfOrigin | Reg. of Origin | ||
| MatlBatchAvailabilityDate | MatlBatchAvailabilityDate | |||
| ShelfLifeExpirationDate | ShelfLifeExpirationDate | SLED/BBD | ||
| ManufactureDate | ManufactureDate | Date of Manuf. | ||
| FreeDefinedDate1 | FreeDefinedDate1 | |||
| FreeDefinedDate2 | FreeDefinedDate2 | |||
| FreeDefinedDate3 | FreeDefinedDate3 | |||
| FreeDefinedDate4 | FreeDefinedDate4 | |||
| FreeDefinedDate5 | FreeDefinedDate5 | |||
| FreeDefinedDate6 | FreeDefinedDate6 | |||
| CreationDateTime | CreationDateTime | Timestamp | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| ClfnObjectInternalID | ClfnObjectInternalID | |||
| BatchExtWhseMgmtInternalId | BatchExtWhseMgmtInternalId | |||
| _Plant | _Plant | |||
| _Material | _Material | |||
| _Supplier | _Supplier | |||
| _CountryOfOrigin | _CountryOfOrigin | |||
| _RegionOfOrigin | _RegionOfOrigin | |||
| _Product | _Product | |||
| _ClfnObjectClassForKeyDate | _ClfnObjectClassForKeyDate | |||
| _ClfnObjectCharcValForKeyDate | _ClfnObjectCharcValForKeyDate |
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_BatchWithValuationVH.
-- 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 I_BatchWithValuationVH AS
SELECT
DefinitionOfBatchLevel,
Plant,
Material,
Batch,
ValuationType,
BatchIsMarkedForDeletion,
MatlBatchIsInRstrcdUseStock,
Supplier,
BatchBySupplier,
CountryOfOrigin,
RegionOfOrigin,
MatlBatchAvailabilityDate,
ShelfLifeExpirationDate,
ManufactureDate,
FreeDefinedDate1,
FreeDefinedDate2,
FreeDefinedDate3,
FreeDefinedDate4,
FreeDefinedDate5,
FreeDefinedDate6,
CreationDateTime,
LastChangeDateTime,
ClfnObjectInternalID,
BatchExtWhseMgmtInternalId
FROM P_BatchWithValuationVH
;
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