I_PricingConditionType
Pricing Condition Type
I_PricingConditionType is a Basic CDS View that provides data about "Pricing Condition Type" in SAP S/4HANA. It reads from 2 data sources (t685, t685a) and exposes 45 fields with key fields ConditionApplication, ConditionType. It has 3 associations to related views. It is exposed through 3 OData services (C_SALESORDERMANAGE_SD, UI_CREDITMEMOREQUESTMANAGE, UI_SALESQUOTATIONMANAGE).
SAP Help Documentation
| Category | Price Management |
|---|---|
| Status | Released |
Purpose
This CDS view retrieves relevant data about condition types for pricing. It provides the prerequisites for answering the following business questions: What are the available condition types? How is price, discount, or surcharge calculated for each condition type? Which application area is a given condition type used for?
Structure
Object types This view relates to the following SAP object types: SalesPricingConditionRecord PurgPricingConditionRecord Main CDS parameters and filters No parameters or filters are provided. Measures and attributes This CDS view provides the following attributes: Condition type ( ConditionType ) Application ( ConditionApplication ) Calculation type ( ConditionCalculationType ) Manual entries indicator ( CndnManualEntries ) An indicator that controls the priority within a condition type between a condition entered manually and a condition automatically determined by the system. Header condition ( CndnAppliesHeader ) Item condition ( CndnAppliesItems ) Condition category ( ConditionCategory )
This CDS view retrieves relevant data about condition types for pricing. It provides the prerequisites for answering the following business questions: What are the available condition types? How is price, discount, or surcharge calculated for each condition type? Which application area is a given condition type used for?
Structure
Object types This view relates to the following SAP object types: SalesPricingConditionRecord PurgPricingConditionRecord Main CDS parameters and filters No parameters or filters are provided. Measures and attributes This CDS view provides the following attributes: Condition type ( ConditionType ) Application ( ConditionApplication ) Calculation type ( ConditionCalculationType ) Manual entries indicator ( CndnManualEntries ) An indicator that controls the priority within a condition type between a condition entered manually and a condition automatically determined by the system. Header condition ( CndnAppliesHeader ) Item condition ( CndnAppliesItems ) Condition category ( ConditionCategory )
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ConditionApplication | _ConditionApplication | $projection.ConditionApplication = _ConditionApplication.ConditionApplication |
| [0..*] | I_ConditionTypeText | _Text | $projection.ConditionType = _Text.ConditionType and $projection.ConditionApplication = _Text.ConditionApplication and _Text.ConditionUsage = 'A' |
| [0..*] | I_PricingConditionTypeText | _Text_2 | $projection.ConditionType = _Text_2.ConditionType and $projection.ConditionApplication = _Text_2.ConditionApplication |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPRCGCNDNTYPE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.buffering.status | #ACTIVE | view | |
| AbapCatalog.buffering.type | #GENERIC | view | |
| AbapCatalog.buffering.numberOfKeyFields | 001 | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.representativeKey | ConditionType | view | |
| EndUserText.label | Pricing Condition Type | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
OData Services (3)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| C_SALESORDERMANAGE_SD | C_SALESORDERMANAGE_SRV | V4 | C1 | NOT_RELEASED |
| UI_CREDITMEMOREQUESTMANAGE | UI_CREDITMEMOREQUESTMANAGE | V4 | C1 | NOT_RELEASED |
| UI_SALESQUOTATIONMANAGE | UI_SALESQUOTATIONMANAGE | V4 | C1 | NOT_RELEASED |
Fields (45)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConditionApplication | t685 | kappl | Application |
| KEY | ConditionType | t685 | kschl | Tax Item Type |
| ConditionUsage | t685 | kvewe | Usage | |
| AccessSequence | t685 | kozgf | Access Sequence | |
| ConditionClass | t685a | koaid | Condition Class | |
| ConditionCalculationType | ||||
| ConditionCategory | t685a | kntyp | Condit.Category | |
| PrcgCndnAmountRoundingRule | t685a | txprf | Rounding Rule | |
| PricingConditionFunction | t685a | purp | ConditionFunctn | |
| StructureCondition | t685a | kdupl | Structure Cond. | |
| PrcgConditionAmountSign | t685a | knega | Plus/Minus | |
| IsGroupCondition | t685a | kgrpe | Group Condition | |
| PrcgCndnRndngDiffsIsSettled | t685a | rdifa | RoundDiffAdj. | |
| PrcgGroupConditionRoutine | t685a | grlnr | GrpCond.Routine | |
| CndnManualEntries | t685a | kmanu | Manual Entries | |
| CndnAppliesHeader | t685a | kkopf | Header Condit. | |
| CndnAppliesItems | t685a | kposi | Item Condition | |
| PrcgCndnTypeDeletionIsAllowed | t685a | kaend_loe | Delete | |
| PrcgCndnAmountChangedIsAllowed | t685a | kaend_btr | Amount/Percent | |
| PrcgCndnCnvrsnFctrChgIsAllowed | t685a | kaend_ufk | Qty. Relation | |
| PrcgCndnValChgIsAllwd | t685a | kaend_wrt | Value | |
| PrcgCndnPrpsdValidFromDateCode | t685 | dtvob | Prop.Valid From | |
| PrcgCndnPrpsdValidToDateCode | t685 | datvo | Prop.Deliv.Date | |
| PricingProcedure | t685a | kalsm | Search Proced. | |
| PrcgConditionDeletionMethod | t685a | kdele | Delete from DB | |
| CndnIsRelevantForLimitValue | t685a | koupd | Condit. Update | |
| PricingScaleBasisShort | t685a | kzbzg | Scale Basis | |
| PricingScaleCheckingRule | t685a | kstpr | Check Scale | |
| PricingScaleType | t685a | stfkz | Scale Type | |
| PricingScaleRoutine | t685a | kofrs | Scale Routine | |
| PricingScaleUnit | t685a | grmen | Unit of Measure | |
| PrcgCndnCrcyCnvrsnIsAftMltpl | t685a | ganzz | Currency Conv. | |
| IsRelevantForAccrual | t685a | kruek | Accruals | |
| CndnIsForVariantConfiguration | t685a | kvarc | UsedfVarConfig | |
| PrcgCndnQtyCnvrsnIsActivated | t685a | kmeng | Qty Conversion | |
| CndnIsRelevantForIntcoBilling | t685a | kfkiv | IntcoBillCond | |
| ConditionExclusion | t685a | kznep | Exclusion | |
| PricingDateIdentificationCode | t685a | kprdt | Pricing Date | |
| CndnValueZeroProcgCode | t685a | val_zero | Zero Value Proc. | |
| IsRelevantForSalesPriceCalc | t685a | vkkal | Rel. to Pricing | |
| ConditionTypeIsInclusionPoint | t685a | isinclusionpoint | Inclusion Point | |
| PricingSubprocedureMaxStep | t685a | pricingsubproceduremaxstep | Maximum Step | |
| _ConditionApplication | _ConditionApplication | |||
| _Text | _Text | |||
| _Text_2 | _Text_2 |
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_PricingConditionType.
-- 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: IPRCGCNDNTYPE
CREATE VIEW I_PricingConditionType AS
SELECT
_t685.kappl AS ConditionApplication,
_t685.kschl AS ConditionType,
_t685.kvewe AS ConditionUsage,
_t685.kozgf AS AccessSequence,
_t685a.koaid AS ConditionClass,
cast(_t685a.krech as krech_long) AS ConditionCalculationType,
_t685a.kntyp AS ConditionCategory,
_t685a.txprf AS PrcgCndnAmountRoundingRule,
_t685a.purp AS PricingConditionFunction,
_t685a.kdupl AS StructureCondition,
_t685a.knega AS PrcgConditionAmountSign,
_t685a.kgrpe AS IsGroupCondition,
_t685a.rdifa AS PrcgCndnRndngDiffsIsSettled,
_t685a.grlnr AS PrcgGroupConditionRoutine,
_t685a.kmanu AS CndnManualEntries,
_t685a.kkopf AS CndnAppliesHeader,
_t685a.kposi AS CndnAppliesItems,
_t685a.kaend_loe AS PrcgCndnTypeDeletionIsAllowed,
_t685a.kaend_btr AS PrcgCndnAmountChangedIsAllowed,
_t685a.kaend_ufk AS PrcgCndnCnvrsnFctrChgIsAllowed,
_t685a.kaend_wrt AS PrcgCndnValChgIsAllwd,
_t685.dtvob AS PrcgCndnPrpsdValidFromDateCode,
_t685.datvo AS PrcgCndnPrpsdValidToDateCode,
_t685a.kalsm AS PricingProcedure,
_t685a.kdele AS PrcgConditionDeletionMethod,
_t685a.koupd AS CndnIsRelevantForLimitValue,
_t685a.kzbzg AS PricingScaleBasisShort,
_t685a.kstpr AS PricingScaleCheckingRule,
_t685a.stfkz AS PricingScaleType,
_t685a.kofrs AS PricingScaleRoutine,
_t685a.grmen AS PricingScaleUnit,
_t685a.ganzz AS PrcgCndnCrcyCnvrsnIsAftMltpl,
_t685a.kruek AS IsRelevantForAccrual,
_t685a.kvarc AS CndnIsForVariantConfiguration,
_t685a.kmeng AS PrcgCndnQtyCnvrsnIsActivated,
_t685a.kfkiv AS CndnIsRelevantForIntcoBilling,
_t685a.kznep AS ConditionExclusion,
_t685a.kprdt AS PricingDateIdentificationCode,
_t685a.val_zero AS CndnValueZeroProcgCode,
_t685a.vkkal AS IsRelevantForSalesPriceCalc,
_t685a.isinclusionpoint AS ConditionTypeIsInclusionPoint,
_t685a.pricingsubproceduremaxstep AS PricingSubprocedureMaxStep
FROM t685 AS _t685
INNER JOIN t685a AS _t685a ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ConditionApplication AS _ConditionApplication ON ConditionApplication = _ConditionApplication.ConditionApplication -- association [0..1]
LEFT OUTER JOIN I_ConditionTypeText AS _Text ON ConditionType = _Text.ConditionType AND ConditionApplication = _Text.ConditionApplication AND _Text.ConditionUsage = 'A' -- association [0..*]
LEFT OUTER JOIN I_PricingConditionTypeText AS _Text_2 ON ConditionType = _Text_2.ConditionType AND ConditionApplication = _Text_2.ConditionApplication -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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