R_REUseEnableConditionTP

DDL: R_REUSEENABLECONDITIONTP SQL: RREUSELCOASSTP Type: view_entity TRANSACTIONAL Package: RAP_RE_IP

IntegrationObject Enable Use Cndn TP

R_REUseEnableConditionTP is a Transactional CDS View that provides data about "IntegrationObject Enable Use Cndn TP" in SAP S/4HANA. It reads from 1 data source (I_REIntegObjUseEnableCondition) and exposes 16 fields with key fields REUseEnableConditionUUID, InternalRealEstateNumber. It has 2 associations to related views. Part of development package RAP_RE_IP.

Data Sources (1)

SourceAliasJoin Type
I_REIntegObjUseEnableCondition _REUseEnableCondition from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_REEntryValidity _REEntryValidity $projection.REEntryValidity = _REEntryValidity.REEntryValidity
[1..1] I_Currency _Currency $projection.REConditionCurrency = _Currency.Currency

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.representativeKey REUseEnableConditionUUID view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label IntegrationObject Enable Use Cndn TP view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY REUseEnableConditionUUID REUseEnableConditionUUID Internal Contract Conditions GUID
KEY InternalRealEstateNumber InternalRealEstateNumber RE Key
REConditionType REConditionType Condition Type
ValidityStartEndDateValue
ValidityStartDate
ValidityEndDate
REConditionCurrency REConditionCurrency Currency
REUnitPrice REUnitPrice Unit Price
RECalculationRule RECalculationRule Calculation Rule
REMeasurementType REMeasurementType MeasType
_Currency _Currency
_REConditionType _REConditionType
_RECndnCalculationRuleExt _RECndnCalculationRuleExt
_REMeasurementType _REMeasurementType
_REEntryValidity _REEntryValidity
_REIntegrationObjectTP _REIntegrationObjectTP

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_REUseEnableConditionTP.
-- 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: RREUSELCOASSTP

CREATE VIEW R_REUseEnableConditionTP AS
SELECT
  REUseEnableConditionUUID,
  InternalRealEstateNumber,
  REConditionType,
  cast(concat(ValidityStartDate, ValidityEndDate ) as recadateperiod preserving type ) AS ValidityStartEndDateValue,
  cast( coalesce(ValidityStartDate,'00000000') as rebdvdmvalidfrom preserving type ) AS ValidityStartDate,
  cast( coalesce(ValidityEndDate,'99991231') as rebdvdmvalidto preserving type ) AS ValidityEndDate,
  REConditionCurrency,
  REUnitPrice,
  RECalculationRule,
  REMeasurementType
FROM I_REIntegObjUseEnableCondition AS _REUseEnableCondition
LEFT OUTER JOIN I_REEntryValidity AS _REEntryValidity ON REEntryValidity = _REEntryValidity.REEntryValidity  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _Currency ON REConditionCurrency = _Currency.Currency  -- association [1..1]
;