C_SPQtnItemIncotermsDocVar

DDL: C_SPQTNITEMINCOTERMSDOCVAR SQL: CSPQTNINCOTRMDV Type: view CONSUMPTION

Doc Varbl for Incoterms for Itm in SPQtn

C_SPQtnItemIncotermsDocVar is a Consumption CDS View that provides data about "Doc Varbl for Incoterms for Itm in SPQtn" in SAP S/4HANA. It reads from 1 data source (I_SrcgProjQtnItemIncoterms) and exposes 13 fields with key field SrcgProjQtnItemIncotermsUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SrcgProjQtnItemIncoterms I_SrcgProjQtnItemIncoterms from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_SourcingProjQtnDocVarbl _SourcingProjectQuotation $projection.SourcingProjectQuotationUUID = _SourcingProjectQuotation.SourcingProjectQuotationUUID
[1..1] I_BackendPlantForPurg _Plant _Plant.Plant = $projection.Plant and _Plant.CompanyCode = $projection.CompanyCode and _Plant.ProcurementHubSourceSystem = $projection.ProcurementHubSourceSystem

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CSPQTNINCOTRMDV view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey SrcgProjQtnItemIncotermsUUID view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #CONSUMPTION view
EndUserText.label Doc Varbl for Incoterms for Itm in SPQtn view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY SrcgProjQtnItemIncotermsUUID SrcgProjQtnItemIncotermsUUID Incoterms UUID
SrcgProjQtnItemUUID SrcgProjQtnItemUUID Supplier Quotation Item UUID
SourcingProjectQuotationUUID SourcingProjectQuotationUUID Supplier Quotation UUID
Plant Plant Valuation Area
PlantName _Plant PlantName Plant Name
IncotermsClassification IncotermsClassification Incoterms
IncotermsTransferLocation IncotermsTransferLocation Incoterms 2
IncotermsVersion IncotermsVersion Inco. Version
IncotermsLocation1 IncotermsLocation1 Inco. Location1
IncotermsLocation2 IncotermsLocation2 Inco. Location2
CompanyCode CompanyCode Receiver Company Code
ProcurementHubSourceSystem ProcurementHubSourceSystem Connected System ID
_SourcingProjectQuotation _SourcingProjectQuotation

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 C_SPQtnItemIncotermsDocVar.
-- 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: CSPQTNINCOTRMDV

CREATE VIEW C_SPQtnItemIncotermsDocVar AS
SELECT
  SrcgProjQtnItemIncotermsUUID,
  SrcgProjQtnItemUUID,
  SourcingProjectQuotationUUID,
  Plant,
  _Plant.PlantName AS PlantName,
  IncotermsClassification,
  IncotermsTransferLocation,
  IncotermsVersion,
  IncotermsLocation1,
  IncotermsLocation2,
  CompanyCode,
  ProcurementHubSourceSystem
FROM I_SrcgProjQtnItemIncoterms
LEFT OUTER JOIN C_SourcingProjQtnDocVarbl AS _SourcingProjectQuotation ON SourcingProjectQuotationUUID = _SourcingProjectQuotation.SourcingProjectQuotationUUID  -- association [1..1]
LEFT OUTER JOIN I_BackendPlantForPurg AS _Plant ON _Plant.Plant = Plant AND _Plant.CompanyCode = CompanyCode AND _Plant.ProcurementHubSourceSystem = ProcurementHubSourceSystem  -- association [1..1]
;