R_FrtCostAllocItmPrcgElmnt
Frt Cost Allocation Item Pricing Element
R_FrtCostAllocItmPrcgElmnt is a Basic CDS View that provides data about "Frt Cost Allocation Item Pricing Element" in SAP S/4HANA. It reads from 1 data source (R_SetlMgmtDocItmSuplrPrcgElmnt) and exposes 65 fields with key fields FreightCostAllocationDocument, FrtCostAllocDocumentItem, PricingProcedureStep, PricingProcedureCounter. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_SetlMgmtDocItmSuplrPrcgElmnt | R_SetlMgmtDocItmSuplrPrcgElmnt | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_FrtCostAllocDoc | _FrtCostAllocDoc | $projection.FreightCostAllocationDocument = _FrtCostAllocDoc.FreightCostAllocationDocument |
| [1..1] | R_FrtCostAllocItm | _FrtCostAllocItm | $projection.FreightCostAllocationDocument = _FrtCostAllocItm.FreightCostAllocationDocument and $projection.FrtCostAllocDocumentItem = _FrtCostAllocItm.FrtCostAllocDocumentItem |
| [0..1] | I_UnitOfMeasure | _ConditionRateRatioUnit | $projection.ConditionRateRatioUnit = _ConditionRateRatioUnit.UnitOfMeasure |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | RFCAITMPRCGELMT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Frt Cost Allocation Item 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.internalName | #LOCAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | false | view |
Fields (65)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FreightCostAllocationDocument | Document Number | ||
| KEY | FrtCostAllocDocumentItem | SettlmtMgmtDocItem | Item | |
| KEY | PricingProcedureStep | PricingProcedureStep | Step Number | |
| KEY | PricingProcedureCounter | PricingProcedureCounter | Pricing Procedure Counter | |
| ConditionApplication | ConditionApplication | Application | ||
| ConditionType | ConditionType | Condition type | ||
| PriceConditionDeterminationDte | PriceConditionDeterminationDte | Condition Pricing Date | ||
| ConditionCalculationType | ConditionCalculationType | Calculat.Type | ||
| ConditionBaseAmount | ConditionBaseAmount | Condition Basis Amount | ||
| ConditionRateAmount | ConditionRateAmount | Condition Amount | ||
| ConditionRateRatio | ConditionRateRatio | Ratio | ||
| ConditionRateRatioUnit | ConditionRateRatioUnit | Unit of Measure | ||
| ConditionCurrency | ConditionCurrency | Currency | ||
| ConditionQuantityUnit | ConditionQuantityUnit | Unit of Measure | ||
| ConditionCategory | ConditionCategory | Condit.Category | ||
| ConditionIsForStatistics | ConditionIsForStatistics | Statistical | ||
| IsRelevantForAccrual | IsRelevantForAccrual | Accruals | ||
| CndnIsRelevantForInvoiceList | CndnIsRelevantForInvoiceList | Settlement Document List Condition | ||
| ConditionOrigin | ConditionOrigin | Condit.Origin | ||
| IsGroupCondition | IsGroupCondition | Group Condition | ||
| ConditionRecord | ConditionRecord | Cond.Record No. | ||
| ConditionSequentialNumber | ConditionSequentialNumber | SequNo of Cond. | ||
| CndnRoundingOffDiffAmount | CndnRoundingOffDiffAmount | CondRoundDiff. | ||
| ConditionAmount | ConditionAmount | Condition Value | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| ConditionControl | ConditionControl | Cond.Control | ||
| ConditionInactiveReason | ConditionInactiveReason | Inactive | ||
| ConditionClass | ConditionClass | Condition Class | ||
| PrcgProcedureCounterForHeader | PrcgProcedureCounterForHeader | Pricing Procedure Counter for Header | ||
| FactorForConditionBasisValue | FactorForConditionBasisValue | Factor for Condition Basis Value | ||
| StructureCondition | StructureCondition | Structure Cond. | ||
| PeriodFactorForCndnBasisValue | PeriodFactorForCndnBasisValue | Period Factor for Condition Basis Value | ||
| PricingScaleType | PricingScaleType | Scale Type | ||
| PricingScaleBasis | PricingScaleBasis | Scale Basis | ||
| ConditionScaleBaseAmount | ConditionScaleBaseAmount | Scale Base Am. | ||
| ConditionScaleBaseQuantity | ConditionScaleBaseQuantity | Scale Base Qu. | ||
| ConditionScaleBasisUnit | ConditionScaleBasisUnit | Scale UoM | ||
| ConditionScaleBasisCurrency | ConditionScaleBasisCurrency | Scale Currency | ||
| CndnIsRelevantForIntcoBilling | CndnIsRelevantForIntcoBilling | IntcoBillCond | ||
| ConditionIsManuallyChanged | ConditionIsManuallyChanged | Changed Manual. | ||
| ConditionIsForConfiguration | ConditionIsForConfiguration | UsedfVarConfig | ||
| VariantCondition | VariantCondition | Variant Key | ||
| AccountKeyForGLAccount | AccountKeyForGLAccount | Account Key | ||
| GLAccount | GLAccount | General Ledger | ||
| AcctKeyForAccrualsGLAccount | AcctKeyForAccrualsGLAccount | Accruals | ||
| AccrualsGLAccount | AccrualsGLAccount | Accruals Acc. | ||
| _FrtCostAllocDoc | _FrtCostAllocDoc | |||
| _FrtCostAllocItm | _FrtCostAllocItm | |||
| _ConditionApplication | _ConditionApplication | |||
| _PricingConditionType | _PricingConditionType | |||
| _ConditionCalculationType | _ConditionCalculationType | |||
| _ConditionCurrency | _ConditionCurrency | |||
| _Currency | _Currency | |||
| _ConditionQuantityUnit | _ConditionQuantityUnit | |||
| _ConditionCategory | _ConditionCategory | |||
| _ConditionOrigin | _ConditionOrigin | |||
| _ConditionControl | _ConditionControl | |||
| _ConditionInactiveReason | _ConditionInactiveReason | |||
| _ConditionClass | _ConditionClass | |||
| _PricingScaleBasis | _PricingScaleBasis | |||
| _ScaleUnitOfMeasure | _ScaleUnitOfMeasure | |||
| _ScaleCurrency | _ScaleCurrency | |||
| _VariantCondition | _VariantCondition | |||
| _StructureCondition | _StructureCondition | |||
| _ConditionRateRatioUnit | _ConditionRateRatioUnit |
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_FrtCostAllocItmPrcgElmnt.
-- 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_FrtCostAllocItmPrcgElmnt AS
SELECT
cast( SettlmtMgmtDoc as wlf_fcadoc_wbeln preserving type ) AS FreightCostAllocationDocument,
SettlmtMgmtDocItem AS FrtCostAllocDocumentItem,
PricingProcedureStep,
PricingProcedureCounter,
ConditionApplication,
ConditionType,
PriceConditionDeterminationDte,
ConditionCalculationType,
ConditionBaseAmount,
ConditionRateAmount,
ConditionRateRatio,
ConditionRateRatioUnit,
ConditionCurrency,
ConditionQuantityUnit,
ConditionCategory,
ConditionIsForStatistics,
IsRelevantForAccrual,
CndnIsRelevantForInvoiceList,
ConditionOrigin,
IsGroupCondition,
ConditionRecord,
ConditionSequentialNumber,
CndnRoundingOffDiffAmount,
ConditionAmount,
TransactionCurrency,
ConditionControl,
ConditionInactiveReason,
ConditionClass,
PrcgProcedureCounterForHeader,
FactorForConditionBasisValue,
StructureCondition,
PeriodFactorForCndnBasisValue,
PricingScaleType,
PricingScaleBasis,
ConditionScaleBaseAmount,
ConditionScaleBaseQuantity,
ConditionScaleBasisUnit,
ConditionScaleBasisCurrency,
CndnIsRelevantForIntcoBilling,
ConditionIsManuallyChanged,
ConditionIsForConfiguration,
VariantCondition,
AccountKeyForGLAccount,
GLAccount,
AcctKeyForAccrualsGLAccount,
AccrualsGLAccount
FROM R_SetlMgmtDocItmSuplrPrcgElmnt
LEFT OUTER JOIN R_FrtCostAllocDoc AS _FrtCostAllocDoc ON FreightCostAllocationDocument = _FrtCostAllocDoc.FreightCostAllocationDocument -- association [1..1]
LEFT OUTER JOIN R_FrtCostAllocItm AS _FrtCostAllocItm ON FreightCostAllocationDocument = _FrtCostAllocItm.FreightCostAllocationDocument AND FrtCostAllocDocumentItem = _FrtCostAllocItm.FrtCostAllocDocumentItem -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _ConditionRateRatioUnit ON ConditionRateRatioUnit = _ConditionRateRatioUnit.UnitOfMeasure -- association [0..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