I_CONTRACTACCOUNTHEADER
Contract Account
I_CONTRACTACCOUNTHEADER is a CDS View in S/4HANA. Contract Account. It contains 2 fields. 9 CDS views read from this table.
CDS Views using this table (9)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| A_ContractAccountHeader | view_entity | from | BASIC | Vertragkonto Kopf |
| C_OutsrtdUtilsBillgMaLeApply | view | inner | CONSUMPTION | Machine Learning Apply Data for Outsorted Billing |
| C_OutsrtdUtilsBillgMaLeTrng | view | inner | CONSUMPTION | Machine Learning Training Data for Outsorted Billing |
| CRMS4_IU_I_CAH | view | from | Contract Account Header | |
| I_CAInvcgChargeAndDiscount | view | inner | BASIC | Zu- und Abschläge |
| I_ContractAccountHeaderStdVH | view | from | COMPOSITE | Contract Account Header |
| I_OutsrtdUtilsBillgApplyMaLrn | view_entity | inner | COMPOSITE | Machine learning apply for outsorted billing document |
| I_OutsrtdUtilsBillgTrngMaLrn | view_entity | inner | COMPOSITE | Machine learning training for outsorted billing document |
| R_ContractAccountTP | view_entity | from | TRANSACTIONAL | Contract Account - TP |
Fields (2)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| CAApplicationArea | CAApplicationArea | 1 | |
| ContractAccountCategory | ContractAccountCategory | 4 |
@AbapCatalog.sqlViewName: 'ICTRACCHEADER'
@AccessControl.authorizationCheck: #MANDATORY
@Analytics: { dataCategory: #DIMENSION,
internalName: #LOCAL,
dataExtraction: { enabled: true,
delta.changeDataCapture.automatic: true } }
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Contract Account'
@Metadata: { ignorePropagatedAnnotations: true,
allowExtensions:true }
@ObjectModel: { modelingPattern: #NONE,
representativeKey: 'ContractAccount',
sapObjectNodeType.name: 'ContractAccount',
supportedCapabilities: [ #CDS_MODELING_ASSOCIATION_TARGET,
#CDS_MODELING_DATA_SOURCE,
#SQL_DATA_SOURCE,
#EXTRACTION_DATA_SOURCE,
#ANALYTICAL_DIMENSION ],
usageType: { dataClass: #MASTER,
serviceQuality: #A,
sizeCategory: #XL } }
@VDM.viewType: #BASIC
define view I_ContractAccountHeader
as select from fkkvk
association [1..1] to I_CAApplicationArea as _ApplArea on $projection.CAApplicationArea = _ApplArea.CAApplicationArea
association [1..1] to I_ContractAccountCategory as _Category on $projection.ContractAccountCategory = _Category.ContractAccountCategory
and $projection.CAApplicationArea = _Category.CAApplicationArea
association [1..1] to E_ContractAccountHeader as _Extension on $projection.ContractAccount = _Extension.ContractAccount
{
@ObjectModel.text.element: [ 'ContractAccountName' ]
key vkont as ContractAccount,
@Semantics.systemDate.createdAt: true
erdat as CreationDate,
@Semantics.systemTime.createdAt: true
ertim as CreationTime,
@Semantics.user.createdBy: true
ernam as CreatedByUser,
cast(loevm as loevm preserving type) as IsMarkedForDeletion,
@Semantics.systemDate.lastChangedAt: true
aedat as LastChangeDate,
@Semantics.systemTime.lastChangedAt: true
aetim as LastChangeTime,
@Semantics.user.lastChangedBy: true
aenam as LastChangedByUser,
@ObjectModel.foreignKey.association: '_ApplArea'
applk as CAApplicationArea,
@ObjectModel.foreignKey.association: '_Category'
vktyp as ContractAccountCategory,
vkona as ContractAccountExtReference,
@Semantics.text: true
vkbez as ContractAccountName,
_ApplArea,
_Category
}