I_PricingConditionTable

DDL: I_PRICINGCONDITIONTABLE SQL: ICNDNTABLE Type: view BASIC Package: VDM_SD_MD_CM

Condition Table for Pricing

I_PricingConditionTable (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Sales

I_PricingConditionTable is a Basic CDS View that provides data about "Condition Table for Pricing" in SAP S/4HANA. It reads from 1 data source (t681) and exposes 7 fields with key fields ConditionUsage, ConditionApplication, ConditionTable. It has 2 associations to related views. Part of development package VDM_SD_MD_CM.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessSales
Application ComponentSD-MD-CM-2CL
CapabilitiesData Source in SQL Select,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageSales for SAP S/4HANA Cloud Public Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
t681 t681 from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_PricingConditionTableField _PricingConditionTableField $projection.ConditionUsage = _PricingConditionTableField.ConditionUsage and $projection.ConditionApplication = _PricingConditionTableField.ConditionApplication and $projection.ConditionTable = _PricingConditionTableField.ConditionTable
[0..*] I_PricingConditionTableText _Text $projection.ConditionUsage = _Text.ConditionUsage and $projection.ConditionApplication = _Text.ConditionApplication and $projection.ConditionTable = _Text.ConditionTable

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ICNDNTABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view
EndUserText.label Condition Table for Pricing view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ConditionUsage t681 kvewe Usage of the condition table
KEY ConditionApplication t681 kappl Application
KEY ConditionTable Three-digit character field for IDocs
PrcgCndnTableHasValidityPeriod t681 ksdat ID: Condition structure has validity period
PrcgCndnTableHasReleaseStatus I_PrcgCndnTblWithReleaseStatus PrcgCndnTableHasReleaseStatus Indicator: Structure has release status
_PricingConditionTableField _PricingConditionTableField
_Text _Text

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_PricingConditionTable.
-- 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: ICNDNTABLE

CREATE VIEW I_PricingConditionTable AS
SELECT
  t681.kvewe AS ConditionUsage,
  t681.kappl AS ConditionApplication,
  cast ( t681.kotabnr as char03 ) AS ConditionTable,
  t681.ksdat AS PrcgCndnTableHasValidityPeriod,
  I_PrcgCndnTblWithReleaseStatus.PrcgCndnTableHasReleaseStatus AS PrcgCndnTableHasReleaseStatus
FROM t681
LEFT OUTER JOIN I_PricingConditionTableField AS _PricingConditionTableField ON ConditionUsage = _PricingConditionTableField.ConditionUsage AND ConditionApplication = _PricingConditionTableField.ConditionApplication AND ConditionTable = _PricingConditionTableField.ConditionTable  -- association [0..*]
LEFT OUTER JOIN I_PricingConditionTableText AS _Text ON ConditionUsage = _Text.ConditionUsage AND ConditionApplication = _Text.ConditionApplication AND ConditionTable = _Text.ConditionTable  -- association [0..*]
;