I_SVTCalculation
Substance Volume Tracking Calculation
I_SVTCalculation is a Basic CDS View that provides data about "Substance Volume Tracking Calculation" in SAP S/4HANA. It reads from 1 data source (ehpmad_svt_clhdr) and exposes 27 fields with key field SVTCalculationUUID. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ehpmad_svt_clhdr | ehpmad_svt_clhdr | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Country | _CountryFrom | $projection.SubstVolSourceCountry = _CountryFrom.Country |
| [0..1] | I_Country | _CountryTo | $projection.SubstVolTargetCountry = _CountryTo.Country |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | I_ImprtRespyRespImporter | _ResponsibleImporter | $projection.SVTBizProcCatRespImporter = _ResponsibleImporter.ImprtRespyRespImporter |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SVTCALCN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Substance Volume Tracking Calculation | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SVTCalculationUUID | svtcalculationheaderuuid | Calculation uuid | |
| SVTPreprocessedDocumentUUID | svtpreprocesseddocumentuuid | Preprocessed documen | ||
| ComplianceRequirement | compliancerequirement | Compliance Requirement | ||
| SVTPreprocessedDocumentDate | svtpreprocesseddocumentdate | Posting Date | ||
| Material | material | Vehicle Model | ||
| Plant | plant | Valuation Area | ||
| ApplicationLogHandle | Log Handle | |||
| ProdCmplncLglEntyMappgUUID | legalentitymapuuid | LE Mapping UUID | ||
| CalculationIsDeleted | calculationisdeleted | Cal is deleted | ||
| Supplier | supplierid | Supplier | ||
| SVTBusinessProcess | svtbusinessprocess | Business Process | ||
| SVTBusinessProcessScenario | svtbusinessprocessscenario | Scenario | ||
| CompanyCode | companycode | Receiver Company Code | ||
| LegalEntity | legalentity | Legal Entity ID | ||
| SVTBizProcCatRespImporter | responsibleimporter | Responsible Importer | ||
| ChmlSuplrMatlImprtRespyUUID | chmlsuplrmatlimprtrespyuuid | Import Responsibility | ||
| SubstVolSourceCountry | substvolcountryfrom | Country/Region From | ||
| SubstVolTargetCountry | substvolcountryto | Country/Region To | ||
| BusinessPartnerSupplier | businesspartnersupplier | Supplier | ||
| BusinessPartnerCustomer | businesspartnercustomer | CHAR35 | ||
| PolymerBreakdownIsRequired | breakdownpolymers | Break Down Polymers | ||
| PolymerExclusionIsRequired | ispolymerexcluded | Is Polymer Excluded | ||
| SVTCalculationLastResultUUID | svtcalculationlastresultuuid | Calculation Header Profile Result UUID | ||
| _CountryFrom | _CountryFrom | |||
| _CountryTo | _CountryTo | |||
| _Supplier | _Supplier | |||
| _ResponsibleImporter | _ResponsibleImporter |
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_SVTCalculation.
-- 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: SVTCALCN
CREATE VIEW I_SVTCalculation AS
SELECT
svtcalculationheaderuuid AS SVTCalculationUUID,
SVTPreprocessedDocumentUUID,
ComplianceRequirement,
SVTPreprocessedDocumentDate,
Material,
Plant,
cast(applicationloghandle as abap.char(22)) AS ApplicationLogHandle,
legalentitymapuuid AS ProdCmplncLglEntyMappgUUID,
CalculationIsDeleted,
supplierid AS Supplier,
SVTBusinessProcess,
SVTBusinessProcessScenario,
CompanyCode,
LegalEntity,
responsibleimporter AS SVTBizProcCatRespImporter,
ChmlSuplrMatlImprtRespyUUID,
substvolcountryfrom AS SubstVolSourceCountry,
substvolcountryto AS SubstVolTargetCountry,
BusinessPartnerSupplier,
BusinessPartnerCustomer,
breakdownpolymers AS PolymerBreakdownIsRequired,
ispolymerexcluded AS PolymerExclusionIsRequired,
SVTCalculationLastResultUUID
FROM ehpmad_svt_clhdr
LEFT OUTER JOIN I_Country AS _CountryFrom ON SubstVolSourceCountry = _CountryFrom.Country -- association [0..1]
LEFT OUTER JOIN I_Country AS _CountryTo ON SubstVolTargetCountry = _CountryTo.Country -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [0..1]
LEFT OUTER JOIN I_ImprtRespyRespImporter AS _ResponsibleImporter ON SVTBizProcCatRespImporter = _ResponsibleImporter.ImprtRespyRespImporter -- association [0..1]
;
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