I_ABAPPackage
ABAP Package
I_ABAPPackage is a Basic CDS View that provides data about "ABAP Package" in SAP S/4HANA. It reads from 1 data source (tdevc) and exposes 14 fields with key field ABAPPackage. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| tdevc | tdevc | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ABAPSoftwareComponent | _ABAPSoftwareComponent | $projection.ABAPSoftwareComponent = _ABAPSoftwareComponent.ABAPSoftwareComponent |
| [1..1] | I_ABAPApplicationComponent | _ABAPApplicationComponent | $projection.ABAPApplicationComponent = _ABAPApplicationComponent.ABAPApplicationComponent |
| [0..*] | I_ABAPPackageText | _Text | |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | ABAP Package | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.representativeKey | ABAPPackage | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ABAPPackage | devclass | ||
| ABAPPackageResponsibleUser | as4user | |||
| ABAPSoftwareComponent | dlvunit | |||
| ABAPApplicationComponent | component | |||
| ABAPNamespace | namespace | |||
| ABAPPackageTargetEnvironment | packtype | |||
| CreatedByUser | created_by | |||
| CreationDate | created_on | |||
| LastChangedByUser | changed_by | |||
| LastChangeDate | changed_on | |||
| ABAPLanguageVersion | package_kind | |||
| _ABAPSoftwareComponent | _ABAPSoftwareComponent | |||
| _ABAPApplicationComponent | _ABAPApplicationComponent | |||
| _Text | _Text |
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'ABAP Package'
@VDM.viewType: #BASIC
@ObjectModel.compositionRoot: true
@ObjectModel.representativeKey: 'ABAPPackage'
define root view entity I_ABAPPackage
as select from tdevc
association [1..1] to I_ABAPSoftwareComponent as _ABAPSoftwareComponent on $projection.ABAPSoftwareComponent = _ABAPSoftwareComponent.ABAPSoftwareComponent
association [1..1] to I_ABAPApplicationComponent as _ABAPApplicationComponent on $projection.ABAPApplicationComponent = _ABAPApplicationComponent.ABAPApplicationComponent
composition [0..*] of I_ABAPPackageText as _Text
{
@ObjectModel.text.association: '_Text'
key devclass as ABAPPackage,
as4user as ABAPPackageResponsibleUser,
dlvunit as ABAPSoftwareComponent,
component as ABAPApplicationComponent,
namespace as ABAPNamespace,
packtype as ABAPPackageTargetEnvironment,
created_by as CreatedByUser,
created_on as CreationDate,
changed_by as LastChangedByUser,
changed_on as LastChangeDate,
package_kind as ABAPLanguageVersion,
_ABAPSoftwareComponent,
_ABAPApplicationComponent,
// @ObjectModel.association.type: [#TO_COMPOSITION_CHILD] -- should no more necessary
_Text
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"TDEVC"
],
"ASSOCIATED":
[
"I_ABAPAPPLICATIONCOMPONENT",
"I_ABAPPACKAGETEXT",
"I_ABAPSOFTWARECOMPONENT"
],
"BASE":
[],
"ANNO_REF":
[],
"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