I_CUSTOMERDUNNING
Customer Company Code Dunning Fields
I_CUSTOMERDUNNING is a CDS View in S/4HANA. Customer Company Code Dunning Fields. It contains 10 fields. 5 CDS views read from this table.
CDS Views using this table (5)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| A_CustomerDunning | view | from | BASIC | Customer Dunning |
| I_BPAddlCustDunningTP | view | from | TRANSACTIONAL | BO view for Additional Customer Dunning |
| I_BPCustomerDunningGov | view_entity | union_all | COMPOSITE | BP Customer Dunning Data Gov |
| I_BPCustomerDunningTP | view | from | TRANSACTIONAL | BO view for Customer Dunning |
| I_CustomerDunningTP | view_entity | from | TRANSACTIONAL | Customer company code dunning - TP |
Fields (10)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | CompanyCode | CompanyCode,CompanyCodeForEdit | 2 |
| KEY | Customer | Customer,CustomerForEdit | 2 |
| KEY | DunningArea | DunningArea,DunningAreaForEdit | 2 |
| DunningBlock | DunningBlock | 2 | |
| DunningClerk | DunningClerk | 2 | |
| DunningLevel | DunningLevel | 2 | |
| DunningProcedure | DunningProcedure | 2 | |
| DunningRecipient | DunningRecipient | 2 | |
| LastDunnedOn | LastDunnedOn | 2 | |
| LegDunningProcedureOn | LegDunningProcedureOn | 2 |
@EndUserText.label: 'Customer Company Code Dunning Fields'
//@Analytics.dataCategory: #DIMENSION
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck:#CHECK
//@AccessControl.privilegedAssociations: [ '_BPDataControllerUsage' ]
@AbapCatalog.sqlViewName: 'IMDCUSTDUNNING'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.representativeKey:'DunningArea'
@Analytics: {
dataCategory: #DIMENSION,
dataExtraction: {
enabled: true,
delta.changeDataCapture: {
automatic: true
}
}
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
//@AccessControl.personalData.blockingIndicator: [IsBusinessPurposeCompleted]
@AbapCatalog.preserveKey:true
@ObjectModel.supportedCapabilities: [#SQL_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET,
#ANALYTICAL_DIMENSION,
#EXTRACTION_DATA_SOURCE]
@Metadata.ignorePropagatedAnnotations:true
@Metadata.allowExtensions:true
define view I_CustomerDunning
as select from knb5
association [1..1] to I_CustomerCompany as _CustomerCompany on $projection.Customer = _CustomerCompany.Customer
and $projection.CompanyCode = _CustomerCompany.CompanyCode
association [1..1] to I_DunningArea as _DunningArea on $projection.CompanyCode = _DunningArea.CompanyCode
and $projection.DunningArea = _DunningArea.DunningArea
association [0..*] to I_DunningAreaText as _DunningAreaText on $projection.CompanyCode = _DunningAreaText.CompanyCode
and $projection.DunningArea = _DunningAreaText.DunningArea
association [1..1] to I_DunningProcedure as _DunningProcedure on $projection.DunningProcedure = _DunningProcedure.DunningProcedure
association [0..*] to I_DunningProcedureText as _DunningProcedureText on $projection.DunningProcedure = _DunningProcedureText.DunningProcedure
association [1..1] to I_DunningBlockingReasonCode as _DunningBlock on $projection.DunningBlock = _DunningBlock.DunningBlockingReason
association [0..*] to I_DunningBlockingReasonText as _DunningBlockText on $projection.DunningBlock = _DunningBlockText.DunningBlockingReason
association [1..1] to I_AccountingClerk as _DunningClerk on $projection.CompanyCode = _DunningClerk.CompanyCode
and $projection.DunningClerk = _DunningClerk.AccountingClerk
association [1..1] to I_Customer as _DunningRecipient on $projection.DunningRecipient = _DunningRecipient.Customer
association [1..1] to I_Customer as _Customer on $projection.Customer = _Customer.Customer
{
@ObjectModel.foreignKey.association: '_CustomerCompany'
key knb5.bukrs as CompanyCode,
@ObjectModel.foreignKey.association: '_Customer'
key knb5.kunnr as Customer,
//@ObjectModel.foreignKey.association: '_DunningArea'
@ObjectModel.text.association: '_DunningAreaText'
key knb5.maber as DunningArea,
knb5.madat as LastDunnedOn,
@ObjectModel.foreignKey.association: '_DunningProcedure'
@ObjectModel.text.association: '_DunningProcedureText'
knb5.mahna as DunningProcedure,
knb5.mahns as DunningLevel,
@ObjectModel.foreignKey.association: '_DunningBlock'
@ObjectModel.text.association: '_DunningBlockText'
knb5.mansp as DunningBlock,
@ObjectModel.foreignKey.association: '_DunningRecipient'
knb5.knrma as DunningRecipient,
knb5.gmvdt as LegDunningProcedureOn,
@ObjectModel.foreignKey.association: '_DunningClerk'
knb5.busab as DunningClerk,
/*associations*/
_CustomerCompany,
_Customer,
_DunningArea,
_DunningAreaText,
_DunningProcedure,
_DunningProcedureText,
_DunningBlock,
_DunningBlockText,
_DunningClerk,
_DunningRecipient
// @Consumption.hidden: true
// _Customer.BusinessPartner,
// _Customer._BPDataControllerUsage as _BPDataControllerUsage
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"KNB5"
],
"ASSOCIATED":
[
"I_ACCOUNTINGCLERK",
"I_CUSTOMER",
"I_CUSTOMERCOMPANY",
"I_DUNNINGAREA",
"I_DUNNINGAREATEXT",
"I_DUNNINGBLOCKINGREASONCODE",
"I_DUNNINGBLOCKINGREASONTEXT",
"I_DUNNINGPROCEDURE",
"I_DUNNINGPROCEDURETEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/