C_CANotDisputedDocument

DDL: C_CANOTDISPUTEDDOCUMENT Type: view CONSUMPTION

Not Disputed Document

C_CANotDisputedDocument is a Consumption CDS View that provides data about "Not Disputed Document" in SAP S/4HANA. It reads from 1 data source (I_CANotDisputedDocument) and exposes 36 fields with key fields CADocumentNumber, BusinessPartner, ContractAccount, CAMainTransaction, CASubTransaction. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_CANotDisputedDocument _NotDisputedDoc from

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_CANotDisputedDocumentItem _DocumentItem $projection.CADocumentNumber = _DocumentItem.CADocumentNumber

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CCANOTDISDOC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.query.implementedBy ABAP:CL_FICA_DM_QRY_NOT_DIS_DOC view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
EndUserText.label Not Disputed Document view

Fields (36)

KeyFieldSource TableSource FieldDescription
KEY CADocumentNumber I_CANotDisputedDocument CADocumentNumber Document Number
KEY BusinessPartner I_CANotDisputedDocument BusinessPartner Issuing Authority
KEY ContractAccount I_CANotDisputedDocument ContractAccount Contract Acct
KEY CAMainTransaction I_CANotDisputedDocument CAMainTransaction Main Trans.
KEY CASubTransaction I_CANotDisputedDocument CASubTransaction Subtransaction
KEY CAClearingReason I_CANotDisputedDocument CAClearingReason Clearing Reason
CaseUUID
CAAmountInTransactionCurrency I_CANotDisputedDocument CAAmountInTransactionCurrency Amount
TransactionCurrency I_CANotDisputedDocument TransactionCurrency Transaction Currency
CANetDueDate I_CANotDisputedDocument CANetDueDate Net Due Date
CADeferralDate I_CANotDisputedDocument CADeferralDate Deferral To
CAClearingDate I_CANotDisputedDocument CAClearingDate Clearing
CAClearingReasonName I_CANotDisputedDocument CAClearingReasonName
OpenAmountInTransCrcy I_CANotDisputedDocument OpenAmountInTransCrcy Open Amt Trans Crcy
CAMainTransactionName I_CANotDisputedDocument CAMainTransactionName Main Transactn
CASubTransactionName I_CANotDisputedDocument CASubTransactionName Subtransaction
CAContract I_CANotDisputedDocument CAContract Contract
CASubApplication I_CANotDisputedDocument CASubApplication Subapplication
CompanyCode I_CANotDisputedDocument CompanyCode Receiver Company Code
CreationDate I_CANotDisputedDocument CreationDate Time Stamp
CreationTime I_CANotDisputedDocument CreationTime Time of Change
CreationDateTime CreationDateTime Timestamp
CAPostingDate I_CANotDisputedDocument CAPostingDate Posting Date
CAReferenceDocument I_CANotDisputedDocument CAReferenceDocument Reference
ReferenceDocumentType I_CANotDisputedDocument ReferenceDocumentType Reference Procedure
CADocumentTypeName I_CANotDisputedDocument CADocumentTypeName Document Type
DocumentDate I_CANotDisputedDocument DocumentDate Journal Entry Date
CAReconciliationKey I_CANotDisputedDocument CAReconciliationKey Reconcil. Key
CADocumentOriginCodeName I_CANotDisputedDocument CADocumentOriginCodeName
CreatedByUser I_CANotDisputedDocument CreatedByUser User Name
CreatedByUserName CreatedByUserName Person Resp.
CADocumentOriginCode I_CANotDisputedDocument CADocumentOriginCode Document Origin
CAReversalDocumentNumber I_CANotDisputedDocument CAReversalDocumentNumber Revers.document
CAReversedDocumentNumber I_CANotDisputedDocument CAReversedDocumentNumber Rev. Doc. For
CAAuthorizationGroup I_CANotDisputedDocument CAAuthorizationGroup AuthorizGroup
_DocumentItem _DocumentItem

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_CANotDisputedDocument.
-- 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_CANotDisputedDocument AS
SELECT
  _NotDisputedDoc.CADocumentNumber AS CADocumentNumber,
  _NotDisputedDoc.BusinessPartner AS BusinessPartner,
  _NotDisputedDoc.ContractAccount AS ContractAccount,
  _NotDisputedDoc.CAMainTransaction AS CAMainTransaction,
  _NotDisputedDoc.CASubTransaction AS CASubTransaction,
  _NotDisputedDoc.CAClearingReason AS CAClearingReason,
  cast('' as sysuuid_c ) AS CaseUUID,
  _NotDisputedDoc.CAAmountInTransactionCurrency AS CAAmountInTransactionCurrency,
  _NotDisputedDoc.TransactionCurrency AS TransactionCurrency,
  _NotDisputedDoc.CANetDueDate AS CANetDueDate,
  _NotDisputedDoc.CADeferralDate AS CADeferralDate,
  _NotDisputedDoc.CAClearingDate AS CAClearingDate,
  _NotDisputedDoc.CAClearingReasonName AS CAClearingReasonName,
  _NotDisputedDoc.OpenAmountInTransCrcy AS OpenAmountInTransCrcy,
  _NotDisputedDoc.CAMainTransactionName AS CAMainTransactionName,
  _NotDisputedDoc.CASubTransactionName AS CASubTransactionName,
  _NotDisputedDoc.CAContract AS CAContract,
  _NotDisputedDoc.CASubApplication AS CASubApplication,
  _NotDisputedDoc.CompanyCode AS CompanyCode,
  _NotDisputedDoc.CreationDate AS CreationDate,
  _NotDisputedDoc.CreationTime AS CreationTime,
  CreationDateTime,
  _NotDisputedDoc.CAPostingDate AS CAPostingDate,
  _NotDisputedDoc.CAReferenceDocument AS CAReferenceDocument,
  _NotDisputedDoc.ReferenceDocumentType AS ReferenceDocumentType,
  _NotDisputedDoc.CADocumentTypeName AS CADocumentTypeName,
  _NotDisputedDoc.DocumentDate AS DocumentDate,
  _NotDisputedDoc.CAReconciliationKey AS CAReconciliationKey,
  _NotDisputedDoc.CADocumentOriginCodeName AS CADocumentOriginCodeName,
  _NotDisputedDoc.CreatedByUser AS CreatedByUser,
  CreatedByUserName,
  _NotDisputedDoc.CADocumentOriginCode AS CADocumentOriginCode,
  _NotDisputedDoc.CAReversalDocumentNumber AS CAReversalDocumentNumber,
  _NotDisputedDoc.CAReversedDocumentNumber AS CAReversedDocumentNumber,
  _NotDisputedDoc.CAAuthorizationGroup AS CAAuthorizationGroup
FROM I_CANotDisputedDocument AS _NotDisputedDoc
LEFT OUTER JOIN C_CANotDisputedDocumentItem AS _DocumentItem ON CADocumentNumber = _DocumentItem.CADocumentNumber  -- association [0..*]
;