I_CADOCUMENT
Contract Accounting Document
I_CADOCUMENT is a CDS View in S/4HANA. Contract Accounting Document. It contains 59 fields. 63 CDS views read from this table.
CDS Views using this table (63)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| C_CADocumentFlow | view_entity | from | CONSUMPTION | Contract Accounting Document Flow |
| C_CADocumentHeaderValueHelp | view | from | CONSUMPTION | Belegnummer |
| C_CADocumentReversal | view | from | CONSUMPTION | Reverse Document |
| C_CAReturnPaymentDocumentVH | view | from | CONSUMPTION | Payment Document auf Return Wertehilfer |
| I_CAClarificationDocumentVH | view | from | COMPOSITE | Value Help for Clarification Document |
| I_CADisputeCaseFllwUpPosting | view | left_outer | COMPOSITE | Disputed Follow Up Posting Document |
| I_CADisputedDocument | view | inner | COMPOSITE | Documents in Dispute Cases |
| I_CADisputedPayment | view | left_outer | COMPOSITE | Disputed Payment |
| I_CADocumentCube | view_entity | from | COMPOSITE | Contract Accounting Document - Cube |
| I_CADocumentHeader | view | from | BASIC | Contract Accounting Document |
| I_CAInstallmentPlanVH | view_entity | from | COMPOSITE | Installment Plan Number |
| I_CAInterestNoticeHeader | view | from | COMPOSITE | View for Interest Notice Header Data |
| I_CANotDisputedClearedItem | view | inner | COMPOSITE | Not Disputed Cleared Items |
| I_CANotDisputedCredit | view | from | COMPOSITE | Not Disputed Credit |
| I_CANotDisputedOpenDoc | view | from | COMPOSITE | Not Disputed Open Doc |
| I_CANotDisputedOpenItem | view | inner | COMPOSITE | Not Disputed Open Items |
| I_CANotDisputedPayment | view | from | COMPOSITE | Not Disputed Payments |
| I_CAReturnDocumentValueHelp | view | from | COMPOSITE | Return Document Wertehilfer |
| I_CAReversalDocumentVH | view | from | COMPOSITE | Reversal Document |
| I_CAReversedDocumentVH | view | from | COMPOSITE | Reversed Document |
| I_CAScrtyDepRequestProcess | view_entity | left_outer | COMPOSITE | Document Process of a Specific Request |
| I_CASecurityDepositReqDoc | view_entity | left_outer | COMPOSITE | Security Deposit Request Document |
| I_CAWriteOffDocument | view_entity | from | COMPOSITE | Contract Accounting Write Off Document |
| I_CAWriteOffDocumentVH | view | from | COMPOSITE | Ausbuchungsbeleg |
| I_NL_SAFTBusinessPartner | view | inner | COMPOSITE | SAF-T NL Business Partner |
| I_PaytAdviceCADocumentVH | view | from | COMPOSITE | Payment Advice CA Payment Document |
| N_CADocument | view_entity | from | Contract Accounting Document | |
| P_BE_ANNSLSLISTCAITM | view_entity | from | CONSUMPTION | Domestic Sales List FI-CA Item |
| P_BE_ANNSLSLISTCANOTXGRPRVSL | view_entity | from | CONSUMPTION | Domestic Sales List FI-CA Reversal without Tax Grouping |
| P_BE_ANNSLSLISTCARVSLITM | view_entity | from | CONSUMPTION | Domestic Sales List FI-CA Reversal Item |
| P_BE_DomesticSalesListFica | view | union_all | CONSUMPTION | Domestic Sales List FICA view for BE |
| P_BOPDbtflRblsCARslt | view_entity | from | COMPOSITE | BOP Doubtful Receivables Contract Accounting Result |
| P_BOPFICA_BP_ITEM_2 | view_entity | from | COMPOSITE | FI-CA BP Item 2 |
| P_BOPFICA_BP_ITEM_2 | view_entity | union | COMPOSITE | FI-CA BP Item 2 |
| P_BOPFICA_BP_ITEM_2_OG | view_entity | from | COMPOSITE | FI-CA BP Item 2 Original Items |
| P_BOPFICA_BP_ITEM_2_REV | view_entity | from | COMPOSITE | FI-CA BP Item 2 Reversal Items |
| P_BOPFicaDoc0 | view | from | COMPOSITE | Analysis for BOP - FICA Document |
| P_CAAcctBalSmltdClrgBPItem | view_entity | inner | CONSUMPTION | Account Balance Simulated Clearing BP Items |
| P_CAClearingDocument | view | inner | COMPOSITE | Clearing Document |
| P_CACUSTTRIALBALITEM1 | view_entity | inner | COMPOSITE | CA Customer Trial Balance Item1 |
| P_CANotDisputedDocumentSum | view | inner | COMPOSITE | Not Disputed Document |
| P_CAStRpTaxItemWithSrcDoc | view_entity | inner | COMPOSITE | FICA Tax Item with Source Document |
| P_CATransferredDocumentHeader | view_entity | from | COMPOSITE | Trasferred document header |
| P_ContrAcctgBPItmPostdClrdRvsd | view_entity | from | COMPOSITE | BP line items: Posted, cleared, reversed |
| P_ContrAcctgBPItmPostdClrdRvsd | view_entity | union_all | COMPOSITE | BP line items: Posted, cleared, reversed |
| P_ContrAcctgGLItem | view_entity | from | COMPOSITE | FICA: GL Line Items |
| P_ContractAccountingLineItem | view | inner | CONSUMPTION | Items in Contract Accounting document |
| P_FR_AuditFECPaymentDocsInCA | view | inner | CONSUMPTION | France Audit FEC CA payment documents |
| P_GR_CustomerLedgerBasicItem | view_entity | inner | COMPOSITE | Greece Customer Ledger Basic Item |
| P_LU_SAFTContractAccBPItem1 | view_entity | from | COMPOSITE | LU SAFT Contract Account Business Partner Item 1 |
| P_LU_SAFTContractAccBPItem1 | view_entity | union_all | COMPOSITE | LU SAFT Contract Account Business Partner Item 1 |
| P_LU_SAFTContractAccBPItemCust | view_entity | from | COMPOSITE | LU SAFT Contract Account BP Item C |
| P_LU_SAFTContractAccBPItemCust | view_entity | union_all | COMPOSITE | LU SAFT Contract Account BP Item C |
| P_LU_SAFTContractAccGenLedItm1 | view_entity | from | COMPOSITE | LU SAFT Contract Account General Ledger Item 1 |
| P_NO_CADocumentBPItem | view_entity | inner | COMPOSITE | Norway Customer Line Item - CA BP Document Items |
| P_PT_CADocItmAnnex | view_entity | inner | CONSUMPTION | Contract Accounting Document Item for Portugal Annex O |
| P_PT_CAOpenItemSum | view_entity | inner | COMPOSITE | Portugal Contract Accounting Sum of Open Items |
| P_RO_SAFTCActgDocumentSrc0 | view_entity | from | CONSUMPTION | Source Document |
| P_SG_CAClrAmntCalc | view | inner | COMPOSITE | SG TL FICA Clearing Item Calc |
| P_SG_CAInvoiceTaxItem | view | inner | COMPOSITE | SG TL FICA Invoice Tax Item |
| P_SK_CADocumentSourceBase | view_entity | from | COMPOSITE | CA Document Source Base |
| R_CADocumentTP | view_entity | from | TRANSACTIONAL | Contract Accounting Document - TP |
| R_CADocumentTP_2 | view_entity | from | TRANSACTIONAL | Contract Accounting Document - TP |
Fields (59)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | CADocumentNumber | CADocumentNumber,CAReversalDocumentNumber | 15 |
| KEY | CAReconciliationKey | CAReconciliationKey | 15 |
| _AccountingDocType | _AccountingDocType | 1 | |
| _CAApplicationArea | _ApplArea | 1 | |
| _CAClearingInformation | _CAClearingInformation | 1 | |
| _CADocTransactionClass | _CADocTransactionClass | 1 | |
| _CADocumentClass | _CADocumentClass | 1 | |
| _CADocumentOriginCode | _CADocumentOriginCode,_DocOriginCode | 3 | |
| _CADocumentSupplement | _CADocumentSupplement | 1 | |
| _CADocumentType | _DocType | 1 | |
| _CADocumentVersion | _CADocumentVersion | 1 | |
| _CAPostingReason | _CAPostingReason | 1 | |
| _CARequestedSpecialPeriod | _CARequestedSpecialPeriod | 1 | |
| _CAReturnReason | _CAReturnReason | 1 | |
| _CATaxSupplementStorageLoc | _CATaxSupplementStorageLoc | 1 | |
| _CAWorkflowCheckProcess | _WorkflowCheckProcess | 1 | |
| _CAWorkflowCheckReason | _WorkflowCheckReason | 1 | |
| _TransactionCurrency | _Currency | 1 | |
| CA1stCountrySpecificReference | CA1stCountrySpecificReference,IL_ElectronicDocOutgDocUnqID | 2 | |
| CAApplicationArea | CAApplicationArea | 8 | |
| CAClassificationKey | CAClassificationKey | 2 | |
| CAClearingInformation | CAClearingInformation | 1 | |
| CADocContainsCashFlowItems | CADocContainsCashFlowItems | 2 | |
| CADocumentClass | CADocumentClass | 2 | |
| CADocumentIsAged | CADocumentIsAged | 1 | |
| CADocumentOriginCode | CADocumentOriginCode | 10 | |
| CADocumentSupplements | CADocumentSupplements | 1 | |
| CADocumentTransactionClass | CADocumentTransactionClass | 1 | |
| CADocumentType | AccountingDocumentType,CADocumentType | 15 | |
| CADocumentTypeForGLTransfer | CADocumentTypeForGLTransfer | 3 | |
| CADocumentVersion | CADocumentVersion | 2 | |
| CAFirstCountrySpecificDate | CAFirstCountrySpecificDate | 1 | |
| CAInvoicingDocument | CAInvoicingDocument | 1 | |
| CAPostingDate | CAPostingDate,PostingDate,ReportingDate | 23 | |
| CAPostingReason | CAPostingReason | 1 | |
| CAReferenceDocument | CAReferenceDocument | 12 | |
| CARequestedPeriodForGLTransfer | CARequestedPeriodForGLTransfer | 1 | |
| CAReturnReason | CAReturnReason | 1 | |
| CAReversalDocumentNumber | CAReversalDocumentNumber | 9 | |
| CAReversedDocumentNumber | CAReversedDocumentNumber | 11 | |
| CASeparateDocIsCreatedInGL | CASeparateDocIsCreatedInGL | 2 | |
| CAStorageLocationOfTaxSuplmnt | CAStorageLocationOfTaxSuplmnt | 1 | |
| CATaxCodeWasExchanged | CATaxCodeWasExchanged | 1 | |
| CATaxCompanyCode | CATaxCompanyCode | 2 | |
| CAWorkflowCheckProcess | CAWorkflowCheckProcess | 1 | |
| CAWorkflowCheckReason | CAWorkflowCheckReason | 1 | |
| CreatedByUser | CreatedByUser | 14 | |
| CreationDate | CreationDate | 7 | |
| CreationTime | CreationTime | 4 | |
| DocumentDate | DocumentDate | 18 | |
| ExchangeRateDate | ExchangeRateDate | 1 | |
| IsIndividualPosting | IsIndividualPosting | 1 | |
| LastChangeDate | LastChangeDate | 2 | |
| LogicalSystem | LogicalSystem | 2 | |
| OriginalReferenceDocument | OriginalReferenceDocument | 1 | |
| ReferenceDocumentType | ReferenceDocumentType | 3 | |
| TaxFulfillmentDate | TaxFulfillmentDate | 1 | |
| TaxReportingDate | TaxReportingDate | 6 | |
| TransactionCurrency | TransactionCurrency | 2 |
@AccessControl.authorizationCheck: #MANDATORY
@Analytics.dataExtraction.enabled: true
@EndUserText.label: 'Contract Accounting Document'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: { modelingPattern: #NONE,
representativeKey: 'CADocumentNumber',
sapObjectNodeType.name: 'ContrAcctgDocument',
supportedCapabilities: [ #CDS_MODELING_ASSOCIATION_TARGET,
#CDS_MODELING_DATA_SOURCE,
#EXTRACTION_DATA_SOURCE,
#SQL_DATA_SOURCE ],
usageType: { serviceQuality: #A,
sizeCategory: #XXL,
dataClass: #TRANSACTIONAL } }
@VDM.viewType: #BASIC
define view entity I_CADocument
as select from dfkkko
association [0..1] to I_AccountingDocumentType as _AccountingDocType on $projection.CADocumentTypeForGLTransfer = _AccountingDocType.AccountingDocumentType
association [1..1] to I_CAApplicationArea as _CAApplicationArea on $projection.CAApplicationArea = _CAApplicationArea.CAApplicationArea
association [0..1] to I_CAClearingInformation as _CAClearingInformation on $projection.CAClearingInformation = _CAClearingInformation.CAClearingInformation
association [1..1] to I_CADocTransactionClass as _CADocTransactionClass on $projection.CADocumentTransactionClass = _CADocTransactionClass.CADocumentTransactionClass
association [0..1] to I_CADocumentClass as _CADocumentClass on $projection.CADocumentClass = _CADocumentClass.CADocumentClass
association [1..1] to I_CADocumentOriginCode as _CADocumentOriginCode on $projection.CADocumentOriginCode = _CADocumentOriginCode.CADocumentOriginCode
association [0..1] to I_CADocumentSupplement as _CADocumentSupplement on $projection.CADocumentSupplements = _CADocumentSupplement.CADocumentSupplements
association [1..1] to I_CADocumentType as _CADocumentType on $projection.CADocumentType = _CADocumentType.CADocumentType
and $projection.CAApplicationArea = _CADocumentType.CAApplicationArea
association [0..1] to I_CADocumentVersion as _CADocumentVersion on $projection.CADocumentVersion = _CADocumentVersion.CADocumentVersion
association [0..1] to I_CAInvcgDocHeader as _CAInvcgDocument on $projection.CAInvoicingDocument = _CAInvcgDocument.CAInvoicingDocument
association [0..1] to I_CAInvcgRefPostgDocTyp as _CAInvcgRefPostgDocType on $projection.CAInvcgRefPostingDocType = _CAInvcgRefPostgDocType.CAInvcgRefPostingDocType
association [0..1] to I_CAPostingReason as _CAPostingReason on $projection.CADocumentOriginCode = _CAPostingReason.CADocumentOriginCode
and $projection.CAPostingReason = _CAPostingReason.CAPostingReason
association [0..*] to I_CAReturnReason as _CAReturnReason on $projection.CAReturnReason = _CAReturnReason.CAReturnReason
and _CAReturnReason.HouseBank is not initial
association [1..1] to I_CARequestedSpecialPeriod as _CARequestedSpecialPeriod on $projection.CARequestedPeriodForGLTransfer = _CARequestedSpecialPeriod.CARequestedPeriodForGLTransfer
association [0..1] to I_CATaxSupplementStorageLoc as _CATaxSupplementStorageLoc on $projection.CAStorageLocationOfTaxSuplmnt = _CATaxSupplementStorageLoc.CAStorageLocationOfTaxSuplmnt
association [0..1] to I_CAWorkflowCheckReason as _CAWorkflowCheckReason on $projection.CAWorkflowCheckReason = _CAWorkflowCheckReason.CAWorkflowCheckReason
association [0..1] to I_CAWorkflowCheckProcess as _CAWorkflowCheckProcess on $projection.CAWorkflowCheckProcess = _CAWorkflowCheckProcess.CAWorkflowCheckProcess
association [0..1] to I_CompanyCode as _CATaxCompanyCode on $projection.CATaxCompanyCode = _CATaxCompanyCode.CompanyCode
association [1..1] to I_Currency as _TransactionCurrency on $projection.TransactionCurrency = _TransactionCurrency.Currency
association [0..1] to I_User as _CreatedByUser on $projection.CreatedByUser = _CreatedByUser.UserID
// Key User Extensibility. Is registerd in transaction SCFD_REGISTRY. Do not change E_CADocumentHeader or alias _Extension without adopting CFD regestry entry
association [1..1] to E_CADocumentHeader as _Extension on $projection.CADocumentNumber = _Extension.CADocumentNumber
{
key opbel as CADocumentNumber,
fikey as CAReconciliationKey,
@ObjectModel.foreignKey.association: '_CAApplicationArea'
applk as CAApplicationArea,
@ObjectModel.foreignKey.association: '_CADocumentType'
blart as CADocumentType,
@ObjectModel.foreignKey.association: '_CADocumentOriginCode'
herkf as CADocumentOriginCode,
@ObjectModel.foreignKey.association: '_CreatedByUser'
ernam as CreatedByUser,
cpudt as CreationDate,
cputm as CreationTime,
@ObjectModel.foreignKey.association: '_TransactionCurrency'
waers as TransactionCurrency,
bldat as DocumentDate,
budat as CAPostingDate,
wwert as ExchangeRateDate,
xblnr as CAReferenceDocument,
@ObjectModel.foreignKey.association: '_CAReturnReason'
rlgrd as CAReturnReason,
@ObjectModel.foreignKey.association: '_CAPostingReason'
abgrd as CAPostingReason,
xeibh as CASeparateDocIsCreatedInGL,
//xbwer
awtyp as ReferenceDocumentType,
awkey as OriginalReferenceDocument,
stbel as CAReversedDocumentNumber,
//stmet
@ObjectModel.foreignKey.association: '_CADocumentClass'
bltyp as CADocumentClass,
@ObjectModel.foreignKey.association: '_CAClearingInformation'
aginf as CAClearingInformation,
@ObjectModel.foreignKey.association: '_CATaxCompanyCode'
stbuk as CATaxCompanyCode,
storb as CAReversalDocumentNumber,
@ObjectModel.foreignKey.association: '_CADocumentSupplement'
appdx as CADocumentSupplements,
awsys as LogicalSystem,
@ObjectModel.foreignKey.association: '_CADocumentVersion'
versn as CADocumentVersion,
@ObjectModel.foreignKey.association: '_CAWorkflowCheckReason'
c4eye as CAWorkflowCheckReason,
@ObjectModel.foreignKey.association: '_CAWorkflowCheckProcess'
c4eyp as CAWorkflowCheckProcess,
@ObjectModel.foreignKey.association: '_CADocTransactionClass'
tatyp as CADocumentTransactionClass,
@ObjectModel.foreignKey.association: '_AccountingDocType'
hbbla as CADocumentTypeForGLTransfer,
xcsha as CADocContainsCashFlowItems,
@ObjectModel.foreignKey.association: '_CATaxSupplementStorageLoc'
utloc as CAStorageLocationOfTaxSuplmnt,
xtxch as CATaxCodeWasExchanged,
vatdate as TaxReportingDate,
fulfilldate as TaxFulfillmentDate,
@ObjectModel.foreignKey.association: '_CARequestedSpecialPeriod'
wnper as CARequestedPeriodForGLTransfer,
xsing as IsIndividualPosting,
//keypp
//_dataging
xdaag as CADocumentIsAged,
//trsla
//locok
//bttype
//cbttype
//closingstep
chdate as LastChangeDate,
chtime as LastChangeTime,
@ObjectModel.foreignKey.association: '_CAInvcgRefPostgDocType'
cadoctype as CAInvcgRefPostingDocType,
@ObjectModel.foreignKey.association: '_CAInvcgDocument'
invdocno as CAInvoicingDocument,
glo_ref1_hd as CA1stCountrySpecificReference,
glo_dat1_hd as CAFirstCountrySpecificDate,
opord as CAClassificationKey,
/* associations */
_AccountingDocType,
_CAApplicationArea,
_CAClearingInformation,
_CADocTransactionClass,
_CADocumentClass,
_CADocumentOriginCode,
_CADocumentSupplement,
_CADocumentType,
_CADocumentVersion,
_CAInvcgDocument,
_CAInvcgRefPostgDocType,
_CAPostingReason,
_CAReturnReason,
_CARequestedSpecialPeriod,
_CATaxCompanyCode,
_CATaxSupplementStorageLoc,
_CAWorkflowCheckProcess,
_CAWorkflowCheckReason,
_CreatedByUser,
_TransactionCurrency
}