R_ContractAccountDraft

DDL: R_CONTRACTACCOUNTDRAFT Type: view_entity BASIC Package: RAP_FICA_CONTRACCT

Contract Account - Draft

R_ContractAccountDraft is a Basic CDS View that provides data about "Contract Account - Draft" in SAP S/4HANA. It reads from 1 data source (fkkvk_draft) and exposes 25 fields with key fields ContractAccount, DraftUUID. It has 1 association to related views. Part of development package RAP_FICA_CONTRACCT.

Data Sources (1)

SourceAliasJoin Type
fkkvk_draft fkkvk_draft from

Associations (1)

CardinalityTargetAliasCondition
[0..1] E_ContractAccountDraft _Extension $projection.ContractAccount = _Extension.ContractAccount and $projection.DraftUUID = _Extension.DraftUUID

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Contract Account - Draft view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #BASIC view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.elementSuffix VKK view
AbapCatalog.extensibility.quota.maximumFields 170 view
AbapCatalog.extensibility.quota.maximumBytes 3400 view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY ContractAccount contractaccount Contract Acct
KEY DraftUUID draftuuid UUID
ContractAccountForEdit contractaccountforedit Contract Acct
CreationDate creationdate Time Stamp
CreationTime creationtime Time of Change
CreatedByUser createdbyuser User Name
IsMarkedForDeletion ismarkedfordeletion Purch.org. data
LastChangeDate lastchangedate Time Stamp
LastChangeTime lastchangetime Time changed
LastChangedByUser lastchangedbyuser User Name
CAApplicationArea caapplicationarea ApplicationArea
ContractAccountCategory contractaccountcategory Cont. Acct Cat.
ContractAccountExtReference contractaccountextreference CAcctLegacySys
ContractAccountName contractaccountname Cont. acct name
ContractAccountUUID contractaccountuuid
ContractAccountCharUUID contractaccountcharuuid
PlannedChangeValidityDate plannedchangevaliditydate
CreationDateTime creationdatetime Timestamp
LastChangeDateTime lastchangedatetime Timestamp
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

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_ContractAccountDraft.
-- 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_ContractAccountDraft AS
SELECT
  ContractAccount,
  DraftUUID,
  ContractAccountForEdit,
  CreationDate,
  CreationTime,
  CreatedByUser,
  IsMarkedForDeletion,
  LastChangeDate,
  LastChangeTime,
  LastChangedByUser,
  CAApplicationArea,
  ContractAccountCategory,
  ContractAccountExtReference,
  ContractAccountName,
  ContractAccountUUID,
  ContractAccountCharUUID,
  PlannedChangeValidityDate,
  CreationDateTime,
  LastChangeDateTime,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM fkkvk_draft
LEFT OUTER JOIN E_ContractAccountDraft AS _Extension ON ContractAccount = _Extension.ContractAccount AND DraftUUID = _Extension.DraftUUID  -- association [0..1]
;