I_SVTCalculation

DDL: I_SVTCALCULATION SQL: SVTCALCN Type: view BASIC

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)

SourceAliasJoin Type
ehpmad_svt_clhdr ehpmad_svt_clhdr from

Associations (4)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;