I_SubcontractingCode
Subcontracting Flag
I_SubcontractingCode is a Basic CDS View (Dimension) that provides data about "Subcontracting Flag" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field SubcontractingFlag. It has 1 association to related views. Part of development package VDM_SCMB_SPP_MD.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07l | dd07l | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_SubcontractingCodeText | _Text | $projection.SubcontractingFlag = _Text.SubcontractingFlag |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | SubcontractingFlag | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| EndUserText.label | Subcontracting Flag | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | ISPSUBCNTRCODE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SubcontractingFlag | |||
| _Text | _Text |
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'SubcontractingFlag'
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@EndUserText.label: 'Subcontracting Flag'
@Analytics: {dataCategory: #DIMENSION,
//dataExtraction: {enabled: true},
internalName: #LOCAL }
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.sqlViewName: 'ISPSUBCNTRCODE'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
define view I_SubcontractingCode
as select from dd07l
association [0..*] to I_SubcontractingCodeText as _Text on $projection.SubcontractingFlag = _Text.SubcontractingFlag
{
@ObjectModel.text.association: '_Text'
key SUBSTRING(dd07l.domvalue_l, 1, 4) as SubcontractingFlag,
//Associations
_Text
}
where
(
dd07l.domname = '/SAPAPO/SUBCO'
)
and(
dd07l.as4local = 'A'
);
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