R_REContrPostingDraft
Draft query view R_REContrPostingDraft
R_REContrPostingDraft is a Basic CDS View that provides data about "Draft query view R_REContrPostingDraft" in SAP S/4HANA. It reads from 1 data source (vitmpy_d) and exposes 51 fields with key fields DraftUUID, InternalRealEstateNumber, RETermType, RETermNumber, ValidityStartEndDateValue. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| vitmpy_d | vitmpy_d | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_REContract | _REContract | $projection.InternalRealEstateNumber = _REContract.InternalRealEstateNumber |
| [0..1] | I_BusinessPartner | _BusinessPartner | $projection.BusinessPartner = _BusinessPartner.BusinessPartner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| EndUserText.label | Draft query view R_REContrPostingDraft | view |
Fields (51)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DraftUUID | draftuuid | UUID | |
| KEY | InternalRealEstateNumber | internalrealestatenumber | RE Key | |
| KEY | RETermType | retermtype | Term Category | |
| KEY | RETermNumber | retermnumber | Number | |
| KEY | ValidityStartEndDateValue | validitystartenddatevalue | Validity Period | |
| ParentDraftUUID | parentdraftuuid | NodeID | ||
| ValidityStartDate | validitystartdate | Validity Start Date | ||
| ValidityEndDate | validityenddate | ValidTo | ||
| REEntryValidity | reentryvalidity | Entry Validity | ||
| REEntryValidityCriticality | reentryvaliditycriticality | |||
| RETermName | retermname | Name of Term | ||
| RealEstateObjectType | realestateobjecttype | Object Type | ||
| REIdentificationKey | reidentificationkey | Object ID | ||
| REStatusObject | restatusobject | Val. Obj. No. | ||
| REAccountingObjectType | reaccountingobjecttype | Object Type | ||
| REIdentification | reidentification | Object | ||
| PaymentMethod | paymentmethod | Pymt Meth. | ||
| REPaymentMethodCreditMemo | repaymentmethodcreditmemo | Payment Method for Credit Memos | ||
| PaymentBlockingReason | paymentblockingreason | Pmnt block | ||
| PaymentTerms | paymentterms | Pyt Terms | ||
| HouseBank | housebank | House Bank | ||
| HouseBankAccount | housebankaccount | House Bank Account | ||
| BankIdentification | bankidentification | Bank Details | ||
| RENoteToPayeeText | renotetopayeetext | Note to Payee | ||
| DunningArea | dunningarea | Dunning Area | ||
| DunningKey | dunningkey | Dunning Key | ||
| DunningBlockingReason | dunningblockingreason | Set Dunning Block | ||
| REAcctDeterminationKey | reacctdeterminationkey | Account Determination Value | ||
| RETaxType | retaxtype | Tax Type | ||
| TaxGroup | taxgroup | Tax Group | ||
| REIsConditionGrossAmount | reisconditiongrossamount | Gross | ||
| TaxCountry | taxcountry | Tax Ctry/Reg. | ||
| BusinessPartner | businesspartner | Issuing Authority | ||
| REAccountingObject | reaccountingobject | Object Number Account Assignment | ||
| TaxJurisdiction | taxjurisdiction | Tax Jurisdiction | ||
| REIsConditionSplit | reisconditionsplit | Split | ||
| RECurrencyTranslationRule | recurrencytranslationrule | Currency Translation Rule | ||
| REIsPartnerBlocked | reispartnerblocked | Partner Lock | ||
| SEPAMandate | sepamandate | SEPA Mandate | ||
| SEPAMandateCreditor | sepamandatecreditor | Creditor ID | ||
| CompanyCode | companycode | Receiver Company Code | ||
| Country | country | Venue: Ctry/Reg | ||
| TaxCalculationProcedure | taxcalculationprocedure | Tax Procedure | ||
| DraftEntityCreationDateTime | draftentitycreationdatetime | Draft Created On | ||
| DraftEntityLastChangeDateTime | draftentitylastchangedatetime | Draft Last Changed On | ||
| DraftAdministrativeDataUUID | draftadministrativedatauuid | UUID | ||
| DraftEntityOperationCode | draftentityoperationcode | Draft - Operation Code | ||
| HasActiveEntity | hasactiveentity | TRUE | ||
| DraftFieldChanges | draftfieldchanges | Field Changes | ||
| _REContract | _REContract | |||
| _BusinessPartner | _BusinessPartner |
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_REContrPostingDraft.
-- 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_REContrPostingDraft AS
SELECT
DraftUUID,
InternalRealEstateNumber,
RETermType,
RETermNumber,
ValidityStartEndDateValue,
ParentDraftUUID,
ValidityStartDate,
ValidityEndDate,
REEntryValidity,
REEntryValidityCriticality,
RETermName,
RealEstateObjectType,
REIdentificationKey,
REStatusObject,
REAccountingObjectType,
REIdentification,
PaymentMethod,
REPaymentMethodCreditMemo,
PaymentBlockingReason,
PaymentTerms,
HouseBank,
HouseBankAccount,
BankIdentification,
RENoteToPayeeText,
DunningArea,
DunningKey,
DunningBlockingReason,
REAcctDeterminationKey,
RETaxType,
TaxGroup,
REIsConditionGrossAmount,
TaxCountry,
BusinessPartner,
REAccountingObject,
TaxJurisdiction,
REIsConditionSplit,
RECurrencyTranslationRule,
REIsPartnerBlocked,
SEPAMandate,
SEPAMandateCreditor,
CompanyCode,
Country,
TaxCalculationProcedure,
DraftEntityCreationDateTime,
DraftEntityLastChangeDateTime,
DraftAdministrativeDataUUID,
DraftEntityOperationCode,
HasActiveEntity,
DraftFieldChanges
FROM vitmpy_d
LEFT OUTER JOIN I_REContract AS _REContract ON InternalRealEstateNumber = _REContract.InternalRealEstateNumber -- association [1..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner -- 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