I_CAINVCGDOCRELATION
Fakturierungsbelegobjektverknüpfungen
I_CAINVCGDOCRELATION is a CDS View in S/4HANA. Fakturierungsbelegobjektverknüpfungen. It contains 8 fields. 5 CDS views read from this table.
CDS Views using this table (5)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| A_CAInvcgDocRelation | view_entity | from | CONSUMPTION | Invoicing Document Relation |
| C_CAInvcgDocRelation | view | from | CONSUMPTION | Fakturierungsbeleg Objektverknüpfungen |
| I_CABillPrntBillgPlnItem | view | from | COMPOSITE | Abrechnungsplanpositionen |
| I_CABillPrntInvcgDocBillgReq | view | from | COMPOSITE | Fakturierungsbelegobjektverknüpfungen |
| I_CABillPrntInvcgDocRltn | view | from | COMPOSITE | Fakturierungsbelegobjektverknüpfungen |
Fields (8)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | CAInvcgCreationDate | CAInvcgCreationDate | 2 |
| KEY | CAInvcgReferenceObject | CAInvcgReferenceObject | 4 |
| KEY | CAInvoicingDocument | CAInvoicingDocument | 4 |
| KEY | CAReferenceObjectID | CAReferenceObjectID | 2 |
| CAInvcgIsDocumentPosted | CAInvcgIsDocumentPosted | 2 | |
| CAInvcgIsDocumentPreliminary | CAInvcgIsDocumentPreliminary | 2 | |
| CAInvcgIsDocumentSimulated | CAInvcgIsDocumentSimulated | 2 | |
| CAReferenceObjectAddlText | CAReferenceObjectAddlText | 2 |
@AbapCatalog.sqlViewName: 'ICAINVDOC_X'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Fakturierungsbelegobjektverknüpfungen'
@VDM.viewType: #BASIC
@ObjectModel: {
usageType: {
serviceQuality: #A,
sizeCategory: #XL,
dataClass: #TRANSACTIONAL
},
modelingPattern: #NONE,
supportedCapabilities: [
#SQL_DATA_SOURCE,
#CDS_MODELING_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET
]
}
@Metadata.ignorePropagatedAnnotations: true
@ClientHandling.algorithm: #SESSION_VARIABLE
define view I_CAInvcgDocRelation
as select from dfkkinvdoc_x
association [0..1] to I_CAInvcgReferenceObj as _CAInvcgReferenceObj on $projection.CAInvcgReferenceObject = _CAInvcgReferenceObj.CAInvcgReferenceObject
association [0..1] to I_CAInvcgDocHeader as _CAInvcgDocHeader on $projection.CAInvoicingDocument = _CAInvcgDocHeader.CAInvoicingDocument
{
@ObjectModel.foreignKey.association: '_CAInvcgReferenceObj'
key refobjname as CAInvcgReferenceObject,
key refobjvalue as CAReferenceObjectID,
@Semantics.systemDate.createdAt: true
key crdate as CAInvcgCreationDate,
@ObjectModel.foreignKey.association: '_CAInvcgDocHeader'
key invdocno as CAInvoicingDocument,
invoiced as CAInvcgIsDocumentPosted,
simulated as CAInvcgIsDocumentSimulated,
cast(preliminary as inv_preliminary_gfn_kk preserving type) as CAInvcgIsDocumentPreliminary,
cast(refobjvalue2 as inv_refobjvalue2_gfn_kk preserving type) as CAReferenceObjectAddlText,
// Make association public
_CAInvcgReferenceObj,
_CAInvcgDocHeader
}