I_DsputCaseCompanyCodeDfltVal
Company Code Default Values
I_DsputCaseCompanyCodeDfltVal is a Basic CDS View that provides data about "Company Code Default Values" in SAP S/4HANA. It reads from 1 data source (tfdm_defcc) and exposes 12 fields with key fields CompanyCode, OriginType. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| tfdm_defcc | tfdm_defcc | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_CaseType | _CaseType | $projection.CaseType = _CaseType.CaseType |
| [0..1] | I_CaseCategory | _CaseCategory | $projection.CaseCategory = _CaseCategory.CaseCategory and $projection.CaseType = _CaseCategory.CaseType |
| [0..1] | I_CaseReason | _CaseReason | $projection.CaseReason = _CaseReason.CaseReason and $projection.CaseType = _CaseReason.CaseType |
| [0..1] | I_CasePriority | _CasePriority | $projection.CasePriority = _CasePriority.CasePriority |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IDCCMOCDDF | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Company Code Default Values | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.representativeKey | CompanyCode | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | bukrs | Value | |
| KEY | OriginType | Title | ||
| CaseType | case_type | Usage Type | ||
| CaseCategory | category | Violation Category | ||
| CaseStatus | stat_orderno | Status | ||
| CaseReason | reason_code | Return/Change Reason | ||
| CasePriority | priority | Workflow priority | ||
| _CompanyCode | _CompanyCode | |||
| _CaseType | _CaseType | |||
| _CaseCategory | _CaseCategory | |||
| _CaseReason | _CaseReason | |||
| _CasePriority | _CasePriority |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_DsputCaseCompanyCodeDfltVal.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW I_DsputCaseCompanyCodeDfltVal AS
SELECT
bukrs AS CompanyCode,
cast( subject as char3 ) AS OriginType,
case_type AS CaseType,
category AS CaseCategory,
stat_orderno AS CaseStatus,
reason_code AS CaseReason,
priority AS CasePriority
FROM tfdm_defcc
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_CaseType AS _CaseType ON CaseType = _CaseType.CaseType -- association [0..1]
LEFT OUTER JOIN I_CaseCategory AS _CaseCategory ON CaseCategory = _CaseCategory.CaseCategory AND CaseType = _CaseCategory.CaseType -- association [0..1]
LEFT OUTER JOIN I_CaseReason AS _CaseReason ON CaseReason = _CaseReason.CaseReason AND CaseType = _CaseReason.CaseType -- association [0..1]
LEFT OUTER JOIN I_CasePriority AS _CasePriority ON CasePriority = _CasePriority.CasePriority -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA