I_SVTSalesPrprocgDocument

DDL: I_SVTSALESPRPROCGDOCUMENT SQL: ISVTPREPROCSAL Type: view BASIC

SVT sales preprocessing document

I_SVTSalesPrprocgDocument is a Basic CDS View that provides data about "SVT sales preprocessing document" in SAP S/4HANA. It reads from 1 data source (ehpmad_svt_salco) and exposes 15 fields with key field SVTConfirmedSalesDocUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
ehpmad_svt_salco ehpmad_svt_salco from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_UnitOfMeasure _UnitOfMeasure $projection.QuantityUnit = _UnitOfMeasure.UnitOfMeasure

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName ISVTPREPROCSAL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label SVT sales preprocessing document view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY SVTConfirmedSalesDocUUID svtconfirmedsalesdocuuid UUID for SALCO
PostingDate postingdate Posting Date for GR
Material material Vehicle Model
Quantity Material Quantity
QuantityUnit materialquantityunit Material Qty Unit
MaterialDocument materialdocument Material Doc.
MaterialDocumentYear materialdocumentyear Material Document Year
MaterialDocumentItem materialdocumentitem Material Document Item
SellingCompanyCode sellingcompanycode Selling Company Code
SellingPlant sellingplant Selling Plant
SellingStorageLocation sellingstoragelocation Selling Storage Loc.
ShipToPlant shiptoplant Ship To Plant
ShipToStorageLocation shiptostoragelocation Ship to Storage Loc.
CreationTime creationtimelogsystem Creation Time
_UnitOfMeasure _UnitOfMeasure

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_SVTSalesPrprocgDocument.
-- 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: ISVTPREPROCSAL

CREATE VIEW I_SVTSalesPrprocgDocument AS
SELECT
  SVTConfirmedSalesDocUUID,
  PostingDate,
  Material,
  cast( materialquantity as ehpma_svt_subst_vol_ui ) AS Quantity,
  materialquantityunit AS QuantityUnit,
  MaterialDocument,
  MaterialDocumentYear,
  MaterialDocumentItem,
  SellingCompanyCode,
  SellingPlant,
  SellingStorageLocation,
  ShipToPlant,
  ShipToStorageLocation,
  creationtimelogsystem AS CreationTime
FROM ehpmad_svt_salco
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON QuantityUnit = _UnitOfMeasure.UnitOfMeasure  -- association [1..1]
;