C_REContractTP
Real Estate Contract
C_REContractTP is a Consumption CDS View that provides data about "Real Estate Contract" in SAP S/4HANA. It reads from 1 data source (R_REContractTP) and exposes 80 fields with key field InternalRealEstateNumber. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_REContractTP | R_REContractTP | projection |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_UserContactCard | _ResponsibleContactCard | $projection.Responsible = _ResponsibleContactCard.ContactCardID |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Real Estate Contract | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.representativeKey | InternalRealEstateNumber | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.modelingPattern | #TRANSACTIONAL_PROJECTED_ENTITY | view | |
| Metadata.allowExtensions | true | view | |
| Search.searchable | true | view |
Fields (80)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InternalRealEstateNumber | InternalRealEstateNumber | RE Key | |
| CompanyCode | CompanyCode | Receiver Company Code | ||
| RealEstateContract | RealEstateContract | Real Estate Contract | ||
| REContractAlternativeID | REContractAlternativeID | Alternative ID | ||
| REStatusObject | REStatusObject | Val. Obj. No. | ||
| REInternalFinNumber | REInternalFinNumber | Real Estate Key | ||
| RealEstateContractOID | RealEstateContractOID | Real Estate Contract OID | ||
| RECreationType | RECreationType | How Created | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDate | CreationDate | Time Stamp | ||
| CreationTime | CreationTime | Time of Change | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| RESourceOfCreation | RESourceOfCreation | Source.In.Entry | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| LastChangeTime | LastChangeTime | Time changed | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| RESourceOfChange | RESourceOfChange | Editing Source | ||
| Responsible | Responsible | User Name | ||
| REUserExclusive | REUserExclusive | Change Auth. | ||
| REAuthorizationGroup | REAuthorizationGroup | Authoriz. Group | ||
| REContractType | REContractType | Contract Type | ||
| ContractStartDate | ContractStartDate | Contract Start Date | ||
| ContractEndDate | ContractEndDate | Contract End Date | ||
| REContractName | REContractName | Contract Name | ||
| REContractActivateDate | REContractActivateDate | Active From | ||
| RETenancyLaw | RETenancyLaw | Tenancy Law | ||
| REContractNumberOld | REContractNumberOld | Old Contract | ||
| REMainContractCompanyCode | REMainContractCompanyCode | Main Contract Company Code | ||
| REMainContract | REMainContract | Main Contract | ||
| REContractCurrency | REContractCurrency | Contract Curr. | ||
| REIndustrySector | REIndustrySector | Industry | ||
| REIsSalesRelevant | REIsSalesRelevant | Sales-Relevant | ||
| REContractDepositType | REContractDepositType | Security Deposit Type | ||
| REContractSignDate | REContractSignDate | Contract Concl. | ||
| REContract2SignDate | REContract2SignDate | Second Signature | ||
| REContractCashFlowDate | REContractCashFlowDate | Cash Flow From | ||
| REContractFirstEndDate | REContractFirstEndDate | First Contract End | ||
| REContractNoticeDate | REContractNoticeDate | Notice Per | ||
| REContractNoticeInDate | REContractNoticeInDate | Entry Date | ||
| REContractNoticeReason | REContractNoticeReason | Notice Reason | ||
| REContractNoticeActivationDate | REContractNoticeActivationDate | Notice Activ.On | ||
| RECashFlowArchivedToDate | RECashFlowArchivedToDate | CF Archived To | ||
| RECashFlowLockedToDate | RECashFlowLockedToDate | CF Fixed Until | ||
| RECashFlowPostingFromDate | RECashFlowPostingFromDate | First Posting From | ||
| REBusinessEntity | REBusinessEntity | RE Business Entity | ||
| REPossessionStartDate | REPossessionStartDate | Possession From | ||
| REPossessionEndDate | REPossessionEndDate | Possession To | ||
| REHasMultipleAssignments | REHasMultipleAssignments | Mult.Assignment | ||
| REObjectAvailableFromDate | REObjectAvailableFromDate | Transfer of Possess. Starts At | ||
| REObjectAvailableToDate | REObjectAvailableToDate | Transfer of Possess. Ends On | ||
| ValuationRelevance | ValuationRelevance | Rel.to Valuatn | ||
| StatusProfile | StatusProfile | Status Profile | ||
| virtualREStatusProfileIsHiddenrecabool | ||||
| virtualSystemStatusTextrecnvdmcnstatus | ||||
| virtualPartnerbu_partner | ||||
| CompanyCodeName | _CompanyCode | CompanyCodeName | Company Name | |
| UserDescription | _CreatedByUser | UserDescription | Full Name | |
| REResponsibleUserDescription | _ResponsibleUser | UserDescription | Full Name | |
| int1 | ||||
| CurrencyNameasCurrencyNamelocalized | ||||
| _StatusObject | _StatusObject | |||
| _CompanyCode | _CompanyCode | |||
| _MainContractCompanyCode | _MainContractCompanyCode | |||
| _CreatedByUser | _CreatedByUser | |||
| _ChangedByUser | _ChangedByUser | |||
| _ResponsibleUser | _ResponsibleUser | |||
| _Currency | _Currency | |||
| _REIndustry | _REIndustry | |||
| _RECreationType | _RECreationType | |||
| _RETenancyLaw | _RETenancyLaw | |||
| _REContractDepositType | _REContractDepositType | |||
| _REContractNoticeReason | _REContractNoticeReason | |||
| _ResponsibleContactCard | _ResponsibleContactCard | |||
| virtualIsDraftEntityrecabool | ||||
| virtualIsInitialVersionrecabool | ||||
| virtualNoteUUIDbobfconf_key | ||||
| virtualNoteObjectnte_objectid | ||||
| virtualREContractPeriodStatusretmpestate | ||||
| virtualREContractNextEndDateretmrnendnew |
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 C_REContractTP.
-- 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 C_REContractTP AS
SELECT
InternalRealEstateNumber,
CompanyCode,
RealEstateContract,
REContractAlternativeID,
REStatusObject,
REInternalFinNumber,
RealEstateContractOID,
RECreationType,
CreatedByUser,
CreationDate,
CreationTime,
CreationDateTime,
RESourceOfCreation,
LastChangedByUser,
LastChangeDate,
LastChangeTime,
LastChangeDateTime,
RESourceOfChange,
Responsible,
REUserExclusive,
REAuthorizationGroup,
REContractType,
ContractStartDate,
ContractEndDate,
REContractName,
REContractActivateDate,
RETenancyLaw,
REContractNumberOld,
REMainContractCompanyCode,
REMainContract,
REContractCurrency,
REIndustrySector,
REIsSalesRelevant,
REContractDepositType,
REContractSignDate,
REContract2SignDate,
REContractCashFlowDate,
REContractFirstEndDate,
REContractNoticeDate,
REContractNoticeInDate,
REContractNoticeReason,
REContractNoticeActivationDate,
RECashFlowArchivedToDate,
RECashFlowLockedToDate,
RECashFlowPostingFromDate,
REBusinessEntity,
REPossessionStartDate,
REPossessionEndDate,
REHasMultipleAssignments,
REObjectAvailableFromDate,
REObjectAvailableToDate,
ValuationRelevance,
StatusProfile,
virtual REStatusProfileIsHidden : recabool AS virtualREStatusProfileIsHiddenrecabool,
virtual SystemStatusText : recnvdmcnstatus AS virtualSystemStatusTextrecnvdmcnstatus,
virtual Partner : bu_partner AS virtualPartnerbu_partner,
_CompanyCode.CompanyCodeName AS CompanyCodeName,
_CreatedByUser.UserDescription AS UserDescription,
_ResponsibleUser.UserDescription AS REResponsibleUserDescription,
virtual REOpenRemindersCriticality : abap.int1 AS int1,
_Currency._Text.CurrencyName as CurrencyName : localized AS CurrencyNameasCurrencyNamelocalized,
virtual IsDraftEntity : recabool AS virtualIsDraftEntityrecabool,
virtual IsInitialVersion : recabool AS virtualIsInitialVersionrecabool,
virtual NoteUUID : /bobf/conf_key AS virtualNoteUUIDbobfconf_key,
virtual NoteObject : nte_objectid AS virtualNoteObjectnte_objectid,
virtual REContractPeriodStatus : retmpestate AS virtualREContractPeriodStatusretmpestate,
virtual REContractNextEndDate : retmrnendnew AS virtualREContractNextEndDateretmrnendnew
FROM R_REContractTP
LEFT OUTER JOIN I_UserContactCard AS _ResponsibleContactCard ON Responsible = _ResponsibleContactCard.ContactCardID -- 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