R_SetlMgmtDocCustPrcgElmnt
Settlmt Mgmt Doc Cust Pricing Element
R_SetlMgmtDocCustPrcgElmnt is a Basic CDS View that provides data about "Settlmt Mgmt Doc Cust Pricing Element" in SAP S/4HANA. It reads from 2 data sources (I_PricingElement, R_SettlmtMgmtDoc) and exposes 80 fields with key fields SettlmtMgmtDoc, PricingProcedureStep, PricingProcedureCounter. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_PricingElement | PricingElement | from |
| R_SettlmtMgmtDoc | SettlmtMgmtDoc | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_SettlmtMgmtDoc | _SettlmtMgmtDoc | $projection.SettlmtMgmtDoc = _SettlmtMgmtDoc.SettlmtMgmtDoc |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | RWLF_HDRCUSPRC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Settlmt Mgmt Doc Cust Pricing Element | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| Analytics.dataExtraction.enabled | false | view | |
| Analytics.internalName | #LOCAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | false | view |
Fields (80)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SettlmtMgmtDoc | R_SettlmtMgmtDoc | SettlmtMgmtDoc | Document Number |
| KEY | PricingProcedureStep | I_PricingElement | PricingProcedureStep | Step Number |
| KEY | PricingProcedureCounter | |||
| ConditionApplication | I_PricingElement | ConditionApplication | Application | |
| ConditionType | I_PricingElement | ConditionType | Condition type | |
| PriceConditionDeterminationDte | ||||
| ConditionCalculationType | I_PricingElement | ConditionCalculationType | Calculat.Type | |
| ConditionBaseAmount | ||||
| ConditionRateAmount | I_PricingElement | ConditionRateAmount | Condition Amount | |
| ConditionRateRatio | ||||
| ConditionRateRatioUnit | ||||
| ConditionCurrency | I_PricingElement | ConditionCurrency | Currency | |
| ConditionQuantityendasConditionQuantity | ||||
| ConditionQuantityUnit | I_PricingElement | ConditionQuantityUnit | Unit of Measure | |
| ConditionCategory | I_PricingElement | ConditionCategory | Condit.Category | |
| ConditionIsForStatistics | I_PricingElement | ConditionIsForStatistics | Statistical | |
| IsRelevantForAccrual | I_PricingElement | IsRelevantForAccrual | Accruals | |
| CndnIsRelevantForInvoiceList | ||||
| ConditionOrigin | I_PricingElement | ConditionOrigin | Condit.Origin | |
| IsGroupCondition | I_PricingElement | IsGroupCondition | Group Condition | |
| ConditionRecord | I_PricingElement | ConditionRecord | Cond.Record No. | |
| ConditionSequentialNumber | I_PricingElement | ConditionSequentialNumber | SequNo of Cond. | |
| TaxCode | I_PricingElement | TaxCode | Tax Code | |
| WithholdingTaxCode | I_PricingElement | WithholdingTaxCode | WTax Code | |
| CndnRoundingOffDiffAmount | I_PricingElement | CndnRoundingOffDiffAmount | CondRoundDiff. | |
| ConditionAmount | I_PricingElement | ConditionAmount | Condition Value | |
| TransactionCurrency | I_PricingElement | TransactionCurrency | Transaction Currency | |
| ConditionControl | I_PricingElement | ConditionControl | Cond.Control | |
| ConditionInactiveReason | I_PricingElement | ConditionInactiveReason | Inactive | |
| ConditionClass | I_PricingElement | ConditionClass | Condition Class | |
| PrcgProcedureCounterForHeader | ||||
| FactorForConditionBasisValue | ||||
| StructureCondition | I_PricingElement | StructureCondition | Structure Cond. | |
| PeriodFactorForCndnBasisValue | ||||
| PricingScaleType | I_PricingElement | PricingScaleType | Scale Type | |
| PricingScaleBasis | I_PricingElement | PricingScaleBasis | Scale Basis | |
| ConditionScaleBaseAmount | I_PricingElement | ConditionScaleBaseAmount | Scale Base Am. | |
| ConditionScaleBaseQuantity | I_PricingElement | ConditionScaleBaseQuantity | Scale Base Qu. | |
| ConditionScaleBasisUnit | I_PricingElement | ConditionScaleBasisUnit | Scale UoM | |
| ConditionScaleBasisCurrency | I_PricingElement | ConditionScaleBasisCurrency | Scale Currency | |
| CndnIsRelevantForIntcoBilling | I_PricingElement | CndnIsRelevantForIntcoBilling | IntcoBillCond | |
| ConditionIsManuallyChanged | I_PricingElement | ConditionIsManuallyChanged | Changed Manual. | |
| ConditionIsForConfiguration | I_PricingElement | ConditionIsForConfiguration | UsedfVarConfig | |
| VariantCondition | I_PricingElement | VariantCondition | Variant Key | |
| ConditionBasisLimitExceeded | I_PricingElement | ConditionBasisLimitExceeded | Max Basis Value | |
| ConditionAmountLimitExceeded | I_PricingElement | ConditionAmountLimitExceeded | Maximum Amount | |
| CndnIsRelevantForLimitValue | I_PricingElement | CndnIsRelevantForLimitValue | Condit. Update | |
| TaxCountry | I_PricingElement | TaxCountry | Tax Ctry/Reg. | |
| ConditionToBaseQtyNmrtr | I_PricingElement | ConditionToBaseQtyNmrtr | Numerator | |
| ConditionToBaseQtyDnmntr | I_PricingElement | ConditionToBaseQtyDnmntr | Denominator | |
| ConditionAlternativeCurrency | I_PricingElement | ConditionAlternativeCurrency | Cndn Currency | |
| ConditionAmountInLocalCrcy | ||||
| ExpenseSupplier | ||||
| ExpenseCustomer | ||||
| PriceDetnExchangeRate | ||||
| SettlmtMgmtDocCat | R_SettlmtMgmtDoc | SettlmtMgmtDocCat | ||
| SettlmtPartnerCat | R_SettlmtMgmtDoc | SettlmtPartnerCat | Settlmt Part Cat | |
| SettlmtBusProcCat | R_SettlmtMgmtDoc | SettlmtBusProcCat | Use Case Type | |
| _SettlmtMgmtDoc | _SettlmtMgmtDoc | |||
| _ConditionApplication | I_PricingElement | _ConditionApplication | ||
| _PricingConditionType | I_PricingElement | _PricingConditionType | ||
| _ConditionCalculationType | I_PricingElement | _ConditionCalculationType | ||
| _ConditionCurrency | I_PricingElement | _ConditionCurrency | ||
| _Currency | I_PricingElement | _Currency | ||
| _ConditionQuantityUnit | I_PricingElement | _ConditionQuantityUnit | ||
| _ConditionCategory | I_PricingElement | _ConditionCategory | ||
| _ConditionOrigin | I_PricingElement | _ConditionOrigin | ||
| _ConditionControl | I_PricingElement | _ConditionControl | ||
| _ConditionInactiveReason | I_PricingElement | _ConditionInactiveReason | ||
| _ConditionClass | I_PricingElement | _ConditionClass | ||
| _PricingScaleBasis | I_PricingElement | _PricingScaleBasis | ||
| _ScaleUnitOfMeasure | I_PricingElement | _ScaleUnitOfMeasure | ||
| _ScaleCurrency | I_PricingElement | _ScaleCurrency | ||
| _VariantCondition | I_PricingElement | _VariantCondition | ||
| _StructureCondition | I_PricingElement | _StructureCondition | ||
| _ConditionBasisLimitExceeded | I_PricingElement | _ConditionBasisLimitExceeded | ||
| _ConditionAmountLimitExceeded | I_PricingElement | _ConditionAmountLimitExceeded | ||
| _ConditionAlternativeCurrency | I_PricingElement | _ConditionAlternativeCurrency | ||
| _Supplier | I_PricingElement | _Supplier | ||
| _Customer | I_PricingElement | _Customer |
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 R_SetlMgmtDocCustPrcgElmnt.
-- 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.
CREATE VIEW R_SetlMgmtDocCustPrcgElmnt AS
SELECT
SettlmtMgmtDoc.SettlmtMgmtDoc AS SettlmtMgmtDoc,
PricingElement.PricingProcedureStep AS PricingProcedureStep,
cast( PricingElement.PricingProcedureCounter as wlf_vfprc_cond_count preserving type ) AS PricingProcedureCounter,
PricingElement.ConditionApplication AS ConditionApplication,
PricingElement.ConditionType AS ConditionType,
cast( PricingElement.PriceConditionDeterminationDte as wlf_kdatu preserving type ) AS PriceConditionDeterminationDte,
PricingElement.ConditionCalculationType AS ConditionCalculationType,
cast( PricingElement.ConditionBaseAmount as wlf_prcg_element_base_amount preserving type ) AS ConditionBaseAmount,
PricingElement.ConditionRateAmount AS ConditionRateAmount,
cast( PricingElement.ConditionRateRatio as wlf_prcg_element_ratio preserving type ) AS ConditionRateRatio,
cast( PricingElement.ConditionRateRatioUnit as wlf_ratiounit preserving type ) AS ConditionRateRatioUnit,
PricingElement.ConditionCurrency AS ConditionCurrency,
case when PricingElement.ConditionQuantityUnit is initial then 0 else PricingElement.ConditionQuantity end as ConditionQuantity AS ConditionQuantityendasConditionQuantity,
PricingElement.ConditionQuantityUnit AS ConditionQuantityUnit,
PricingElement.ConditionCategory AS ConditionCategory,
PricingElement.ConditionIsForStatistics AS ConditionIsForStatistics,
PricingElement.IsRelevantForAccrual AS IsRelevantForAccrual,
cast( PricingElement.CndnIsRelevantForInvoiceList as wlf_settlmt_doc_list_cndn preserving type ) AS CndnIsRelevantForInvoiceList,
PricingElement.ConditionOrigin AS ConditionOrigin,
PricingElement.IsGroupCondition AS IsGroupCondition,
PricingElement.ConditionRecord AS ConditionRecord,
PricingElement.ConditionSequentialNumber AS ConditionSequentialNumber,
PricingElement.TaxCode AS TaxCode,
PricingElement.WithholdingTaxCode AS WithholdingTaxCode,
PricingElement.CndnRoundingOffDiffAmount AS CndnRoundingOffDiffAmount,
PricingElement.ConditionAmount AS ConditionAmount,
PricingElement.TransactionCurrency AS TransactionCurrency,
PricingElement.ConditionControl AS ConditionControl,
PricingElement.ConditionInactiveReason AS ConditionInactiveReason,
PricingElement.ConditionClass AS ConditionClass,
cast( PricingElement.PrcgProcedureCounterForHeader as wlf_vfprc_cond_count_head preserving type ) AS PrcgProcedureCounterForHeader,
cast( PricingElement.FactorForConditionBasisValue as wlf_kfaktor preserving type ) AS FactorForConditionBasisValue,
PricingElement.StructureCondition AS StructureCondition,
cast( PricingElement.PeriodFactorForCndnBasisValue as wlf_kfaktor1 preserving type ) AS PeriodFactorForCndnBasisValue,
PricingElement.PricingScaleType AS PricingScaleType,
PricingElement.PricingScaleBasis AS PricingScaleBasis,
PricingElement.ConditionScaleBaseAmount AS ConditionScaleBaseAmount,
PricingElement.ConditionScaleBaseQuantity AS ConditionScaleBaseQuantity,
PricingElement.ConditionScaleBasisUnit AS ConditionScaleBasisUnit,
PricingElement.ConditionScaleBasisCurrency AS ConditionScaleBasisCurrency,
PricingElement.CndnIsRelevantForIntcoBilling AS CndnIsRelevantForIntcoBilling,
PricingElement.ConditionIsManuallyChanged AS ConditionIsManuallyChanged,
PricingElement.ConditionIsForConfiguration AS ConditionIsForConfiguration,
PricingElement.VariantCondition AS VariantCondition,
PricingElement.ConditionBasisLimitExceeded AS ConditionBasisLimitExceeded,
PricingElement.ConditionAmountLimitExceeded AS ConditionAmountLimitExceeded,
PricingElement.CndnIsRelevantForLimitValue AS CndnIsRelevantForLimitValue,
PricingElement.TaxCountry AS TaxCountry,
PricingElement.ConditionToBaseQtyNmrtr AS ConditionToBaseQtyNmrtr,
PricingElement.ConditionToBaseQtyDnmntr AS ConditionToBaseQtyDnmntr,
PricingElement.ConditionAlternativeCurrency AS ConditionAlternativeCurrency,
cast( PricingElement.ConditionAmountInLocalCrcy as wlf_cndn_cumltv_amt preserving type ) AS ConditionAmountInLocalCrcy,
cast( PricingElement.FreightSupplier as wlf_expense_supplier preserving type ) AS ExpenseSupplier,
cast( PricingElement.CustomerRebateRecipient as wlf_expense_customer preserving type ) AS ExpenseCustomer,
cast( PricingElement.PriceDetnExchangeRate as wlf_kkurs_curr_no_cnext preserving type ) AS PriceDetnExchangeRate,
SettlmtMgmtDoc.SettlmtMgmtDocCat AS SettlmtMgmtDocCat,
SettlmtMgmtDoc.SettlmtPartnerCat AS SettlmtPartnerCat,
SettlmtMgmtDoc.SettlmtBusProcCat AS SettlmtBusProcCat,
PricingElement._ConditionApplication AS _ConditionApplication,
PricingElement._PricingConditionType AS _PricingConditionType,
PricingElement._ConditionCalculationType AS _ConditionCalculationType,
PricingElement._ConditionCurrency AS _ConditionCurrency,
PricingElement._Currency AS _Currency,
PricingElement._ConditionQuantityUnit AS _ConditionQuantityUnit,
PricingElement._ConditionCategory AS _ConditionCategory,
PricingElement._ConditionOrigin AS _ConditionOrigin,
PricingElement._ConditionControl AS _ConditionControl,
PricingElement._ConditionInactiveReason AS _ConditionInactiveReason,
PricingElement._ConditionClass AS _ConditionClass,
PricingElement._PricingScaleBasis AS _PricingScaleBasis,
PricingElement._ScaleUnitOfMeasure AS _ScaleUnitOfMeasure,
PricingElement._ScaleCurrency AS _ScaleCurrency,
PricingElement._VariantCondition AS _VariantCondition,
PricingElement._StructureCondition AS _StructureCondition,
PricingElement._ConditionBasisLimitExceeded AS _ConditionBasisLimitExceeded,
PricingElement._ConditionAmountLimitExceeded AS _ConditionAmountLimitExceeded,
PricingElement._ConditionAlternativeCurrency AS _ConditionAlternativeCurrency,
PricingElement._Supplier AS _Supplier,
PricingElement._Customer AS _Customer
FROM I_PricingElement AS PricingElement
INNER JOIN R_SettlmtMgmtDoc AS SettlmtMgmtDoc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_SettlmtMgmtDoc AS _SettlmtMgmtDoc ON SettlmtMgmtDoc = _SettlmtMgmtDoc.SettlmtMgmtDoc -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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