R_CndnContrCndnRecordTP

DDL: R_CNDNCONTRCNDNRECORDTP Type: view_entity TRANSACTIONAL

Cndn Record of Condition Contract - TP

R_CndnContrCndnRecordTP is a Transactional CDS View that provides data about "Cndn Record of Condition Contract - TP" in SAP S/4HANA. It reads from 1 data source (R_ConditionContract) and exposes 53 fields with key fields ConditionContract, ConditionRecord. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
R_ConditionContract R_ConditionContract from

Associations (8)

CardinalityTargetAliasCondition
[0..1] I_UnitOfMeasure _ConditionQuantityUnit $projection.ConditionQuantityUnit = _ConditionQuantityUnit.UnitOfMeasure
[0..1] I_Currency _ConditionCurrency $projection.ConditionCurrency = _ConditionCurrency.Currency
[0..1] I_UnitOfMeasure _ConditionScaleQuantityUnit $projection.ConditionScaleQuantityUnit = _ConditionScaleQuantityUnit.UnitOfMeasure
[0..1] I_Currency _ConditionScaleAmountCurrency $projection.ConditionScaleAmountCurrency = _ConditionScaleAmountCurrency.Currency
[0..1] I_UnitOfMeasure _ConditionRateRatioUnit $projection.ConditionRateRatioUnit = _ConditionRateRatioUnit.UnitOfMeasure
[0..*] R_CndnContrCndnRecdValidityTP _CndnContrCndnRecdValidity
[0..*] R_CndnContrScCndnRecordTP _CndnContrScCndnRecord
[0..*] R_CndnContrCndnRecdTextTP _TextTP

Annotations (10)

NameValueLevelField
EndUserText.label Cndn Record of Condition Contract - TP view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey ConditionRecord view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #P view
ObjectModel.usageType.sizeCategory #XXL view
Metadata.ignorePropagatedAnnotations true view
Analytics.technicalName RCCCNDNRECDTP view

Fields (53)

KeyFieldSource TableSource FieldDescription
KEY ConditionContract ConditionContract Condition Contract
KEY ConditionRecord
ConditionTable
ConditionApplication
ConditionType
ConditionValidityStartDate
ConditionValidityEndDate
ConditionCalculationType
PricingScaleBasis
ConditionRateAmount
ConditionAccrualsAmount
ConditionCurrency
ConditionQuantity
ConditionQuantityUnit
ConditionRateRatio
ConditionAccrualsRatio
ConditionRateRatioUnit
PricingScaleType
ConditionScaleQuantityUnit
ConditionScaleAmountCurrency
ConditionIsDeleted
Product
Customer
BillToParty
PayerParty
ShipToParty
Supplier
InvoicingParty
PriorSupplier
SupplyingSupplier
CompanyCode
SalesOrganization
DistributionChannel
Division
SalesOffice
SalesGroup
PurchasingOrganization
Plant
ProductGroup
SalesSpcfcProductGroup1
SalesSpcfcProductGroup2
SalesSpcfcProductGroup3
SalesSpcfcProductGroup4
SalesSpcfcProductGroup5
_ConditionContract _ConditionContract
_CndnContrCndnRecdValidity _CndnContrCndnRecdValidity
_CndnContrScCndnRecord _CndnContrScCndnRecord
_TextTP _TextTP
_ConditionQuantityUnit _ConditionQuantityUnit
_ConditionCurrency _ConditionCurrency
_ConditionScaleQuantityUnit _ConditionScaleQuantityUnit
_ConditionScaleAmountCurrency _ConditionScaleAmountCurrency
_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_CndnContrCndnRecordTP.
-- 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_CndnContrCndnRecordTP AS
SELECT
  ConditionContract,
  cast( '' as knumh ) AS ConditionRecord,
  cast( '' as kotabnr_char ) AS ConditionTable,
  cast( '' as kappl ) AS ConditionApplication,
  cast( '' as kscha ) AS ConditionType,
  cast( '00000000' as kodatab ) AS ConditionValidityStartDate,
  cast( '00000000' as kodatbi ) AS ConditionValidityEndDate,
  cast( '' as krech_long ) AS ConditionCalculationType,
  cast( '' as kzbzg_long ) AS PricingScaleBasis,
  cast( 0 as wcb_cond_amount_tp ) AS ConditionRateAmount,
  cast( 0 as wcb_cond_accruals_amount_tp ) AS ConditionAccrualsAmount,
  cast( '' as konwa ) AS ConditionCurrency,
  cast( 0 as kpein ) AS ConditionQuantity,
  cast( '' as kmein ) AS ConditionQuantityUnit,
  cast( 0 as wcb_cond_percentage_tp ) AS ConditionRateRatio,
  cast( 0 as wcb_cond_accr_percentage_tp ) AS ConditionAccrualsRatio,
  cast( '' as wcb_cond_percent_sign_tp ) AS ConditionRateRatioUnit,
  cast( '' as stfkz ) AS PricingScaleType,
  cast( '' as konms ) AS ConditionScaleQuantityUnit,
  cast( '' as konws ) AS ConditionScaleAmountCurrency,
  cast( '' as loevm_ko ) AS ConditionIsDeleted,
  cast( '' as productnumber ) AS Product,
  cast( '' as kunnr ) AS Customer,
  cast( '' as kunre ) AS BillToParty,
  cast( '' as kunrg ) AS PayerParty,
  cast( '' as kunwe ) AS ShipToParty,
  cast( '' as md_supplier ) AS Supplier,
  cast( '' as lifre ) AS InvoicingParty,
  cast( '' as kolif ) AS PriorSupplier,
  cast( '' as llief ) AS SupplyingSupplier,
  cast( '' as fis_bukrs ) AS CompanyCode,
  cast( '' as vkorg ) AS SalesOrganization,
  cast( '' as vtweg ) AS DistributionChannel,
  cast( '' as spart ) AS Division,
  cast( '' as vkbur ) AS SalesOffice,
  cast( '' as vkgrp ) AS SalesGroup,
  cast( '' as ekorg ) AS PurchasingOrganization,
  cast( '' as werks_d ) AS Plant,
  cast( '' as productgroup ) AS ProductGroup,
  cast( '' as wlf_salesspcfcproductgroup1 ) AS SalesSpcfcProductGroup1,
  cast( '' as wlf_salesspcfcproductgroup2 ) AS SalesSpcfcProductGroup2,
  cast( '' as wlf_salesspcfcproductgroup3 ) AS SalesSpcfcProductGroup3,
  cast( '' as wlf_salesspcfcproductgroup4 ) AS SalesSpcfcProductGroup4,
  cast( '' as wlf_salesspcfcproductgroup5 ) AS SalesSpcfcProductGroup5
FROM R_ConditionContract
LEFT OUTER JOIN I_UnitOfMeasure AS _ConditionQuantityUnit ON ConditionQuantityUnit = _ConditionQuantityUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _ConditionCurrency ON ConditionCurrency = _ConditionCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _ConditionScaleQuantityUnit ON ConditionScaleQuantityUnit = _ConditionScaleQuantityUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _ConditionScaleAmountCurrency ON ConditionScaleAmountCurrency = _ConditionScaleAmountCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _ConditionRateRatioUnit ON ConditionRateRatioUnit = _ConditionRateRatioUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN R_CndnContrCndnRecdValidityTP AS _CndnContrCndnRecdValidity ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_CndnContrScCndnRecordTP AS _CndnContrScCndnRecord ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_CndnContrCndnRecdTextTP AS _TextTP ON /* condition not available in parsed metadata */  -- association [0..*]
;