C_CADisputedDocumentDraftTP

DDL: C_CADISPUTEDDOCUMENTDRAFTTP Type: view_entity CONSUMPTION Package: ODATA_O2C_FICA_DISPUTE_MANAGE

Disputed Document

C_CADisputedDocumentDraftTP is a Consumption CDS View that provides data about "Disputed Document" in SAP S/4HANA. It reads from 1 data source (R_CADisputedDocumentTP) and exposes 27 fields with key fields CADocumentNumber, CaseUUID. It has 1 association to related views. It is exposed through 2 OData services (ASQL_F4443, UI_CADISPUTECASE). Part of development package ODATA_O2C_FICA_DISPUTE_MANAGE.

Data Sources (1)

SourceAliasJoin Type
R_CADisputedDocumentTP R_CADisputedDocumentTP projection

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_CADisputedDocumentItem _Item $projection.CADocumentNumber = _Item.CADocumentNumber

Annotations (7)

NameValueLevelField
EndUserText.label Disputed Document view
AccessControl.authorizationCheck #CHECK view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F4443 ASQL_F4443 C2 NOT_RELEASED
UI_CADISPUTECASE UI_CADISPUTECASE V2 C1 NOT_RELEASED

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY CADocumentNumber CADocumentNumber Document Number
KEY CaseUUID CaseUUID UUID
CAAmountInTransactionCurrency CAAmountInTransactionCurrency Amount
TransactionCurrency TransactionCurrency Transaction Currency
CAMainTransaction CAMainTransaction Main Trans.
CASubTransaction CASubTransaction Subtransaction
CANetDueDate CANetDueDate Net Due Date
CADeferralDate CADeferralDate Deferral To
CAClearingDate CAClearingDate Clearing
CAClearingReason CAClearingReason Clearing Reason
OpenAmountInTransCrcy OpenAmountInTransCrcy Open Amt Trans Crcy
CAMainTransactionName CAMainTransactionName Main Transactn
CASubTransactionName CASubTransactionName Subtransaction
CAClearingReasonName CAClearingReasonName
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
CreationDateTime CreationDateTime Timestamp
CADocumentOriginCodeName CADocumentOriginCodeName
CreatedByUser CreatedByUser User Name
CreatedByUserName _CreatedBy UserDescription Full Name
CADocumentOriginCode CADocumentOriginCode Document Origin
DocumentDate DocumentDate Journal Entry Date
CAPostingDate CAPostingDate Posting Date
CAReferenceDocument CAReferenceDocument Reference
CADocumentTypeName CADocumentTypeName
CAReconciliationKey CAReconciliationKey Reconcil. Key
_Item _Item

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_CADisputedDocumentDraftTP.
-- 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_CADisputedDocumentDraftTP AS
SELECT
  CADocumentNumber,
  CaseUUID,
  CAAmountInTransactionCurrency,
  TransactionCurrency,
  CAMainTransaction,
  CASubTransaction,
  CANetDueDate,
  CADeferralDate,
  CAClearingDate,
  CAClearingReason,
  OpenAmountInTransCrcy,
  CAMainTransactionName,
  CASubTransactionName,
  CAClearingReasonName,
  CreationDate,
  CreationTime,
  CreationDateTime,
  CADocumentOriginCodeName,
  CreatedByUser,
  _CreatedBy.UserDescription AS CreatedByUserName,
  CADocumentOriginCode,
  DocumentDate,
  CAPostingDate,
  CAReferenceDocument,
  CADocumentTypeName,
  CAReconciliationKey
FROM R_CADisputedDocumentTP
LEFT OUTER JOIN C_CADisputedDocumentItem AS _Item ON CADocumentNumber = _Item.CADocumentNumber  -- association [0..*]
;