I_DisputeCaseCompanyCodeVH
Dispute Case Company Code
I_DisputeCaseCompanyCodeVH is a Basic CDS View that provides data about "Dispute Case Company Code" in SAP S/4HANA. It reads from 3 data sources (knb1, t001, tfdm_defcc) and exposes 5 fields with key fields Customer, CompanyCode. It has 2 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| knb1 | knb1 | from |
| t001 | t001 | inner |
| tfdm_defcc | tfdm_defcc | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Customer | _Customer | $projection.Customer = _Customer.Customer |
| [0..1] | I_Customer_VH | _CustomerVH | $projection.Customer = _CustomerVH.Customer |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IDCCCMP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Dispute Case Company Code | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view |
@AbapCatalog: { sqlViewName: 'IDCCCMP',
compiler: { compareFilter: true },
preserveKey: true }
@AccessControl: { authorizationCheck: #CHECK,
personalData: { blocking: #BLOCKED_DATA_EXCLUDED } }
@EndUserText: { label: 'Dispute Case Company Code' }
@VDM: { viewType: #BASIC,
lifecycle: { contract: { type: #SAP_INTERNAL_API } } }
@ClientHandling: { algorithm: #SESSION_VARIABLE }
@ObjectModel: { usageType: { serviceQuality: #B,
sizeCategory: #S,
dataClass: #MIXED },
dataCategory: #VALUE_HELP,
resultSet: { sizeCategory: #XS } }
@Search: { searchable: true }
@Consumption: { ranked: true }
define view I_DisputeCaseCompanyCodeVH
as select from knb1
inner join t001 on knb1.bukrs = t001.bukrs
inner join tfdm_defcc on knb1.bukrs = tfdm_defcc.bukrs
// VDM Associations
// Customer
association [0..1] to I_Customer as _Customer on $projection.Customer = _Customer.Customer
// Customer Value Help
association [0..1] to I_Customer_VH as _CustomerVH on $projection.Customer = _CustomerVH.Customer
{
// VDM Fields
@Search: { defaultSearchElement: true,
fuzzinessThreshold: 0.8,
ranking: #LOW }
@Consumption: { valueHelpDefinition: [ { entity: { name: 'I_Customer_VH',
element: 'Customer' },
association: '_CustomerVH' } ] }
key knb1.kunnr as Customer,
@ObjectModel: { text: { element: [ 'CompanyCodeName' ] } }
@Search: { defaultSearchElement: true,
fuzzinessThreshold: 0.8,
ranking: #HIGH }
key knb1.bukrs as CompanyCode,
@Semantics: { text: true }
@Search: { defaultSearchElement: true,
fuzzinessThreshold: 0.8,
ranking: #LOW }
t001.butxt as CompanyCodeName,
// Exposed Associations
_Customer,
_CustomerVH
}
where
tfdm_defcc.case_type is not initial
and tfdm_defcc.subject = '000'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"KNB1",
"T001",
"TFDM_DEFCC"
],
"ASSOCIATED":
[
"I_CUSTOMER",
"I_CUSTOMER_VH"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA