I_SpecTypeAssignedCategory

DDL: I_SPECTYPEASSIGNEDCATEGORY SQL: ISPCTYPCATASSGMT Type: view BASIC

Assigned Specification Categories to Specification Type

I_SpecTypeAssignedCategory is a Basic CDS View that provides data about "Assigned Specification Categories to Specification Type" in SAP S/4HANA. It reads from 1 data source (tcg31obj) and exposes 4 fields with key fields SpecificationType, SpecificationCategory. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
tcg31obj tcg31obj from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_SpecType _SpecificationType $projection.SpecificationType = _SpecificationType.SpecificationType
[0..1] I_SpecCategory _SpecificationCategory $projection.SpecificationCategory = _SpecificationCategory.SpecificationCategory

Annotations (12)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName ISPCTYPCATASSGMT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.representativeKey SpecificationCategory view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #BASIC view
EndUserText.label Assigned Specification Categories to Specification Type view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY SpecificationType
KEY SpecificationCategory objtype
_SpecificationType _SpecificationType
_SpecificationCategory _SpecificationCategory
@AbapCatalog.preserveKey: true
@AbapCatalog.sqlViewName: 'ISPCTYPCATASSGMT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED

@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.representativeKey: 'SpecificationCategory'

@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@VDM.viewType: #BASIC

@EndUserText.label: 'Assigned Specification Categories to Specification Type'
define view I_SpecTypeAssignedCategory
  as select from tcg31obj
  association [0..1] to I_SpecType     as _SpecificationType     on $projection.SpecificationType = _SpecificationType.SpecificationType
  association [0..1] to I_SpecCategory as _SpecificationCategory on $projection.SpecificationCategory = _SpecificationCategory.SpecificationCategory

{
      // Naming in the DB and the CDS view is swapped

      @ObjectModel.foreignKey.association: '_SpecificationType'
  key  cast(subcat as /plmb/spc_type preserving type)  as SpecificationType,

      @ObjectModel.foreignKey.association: '_SpecificationCategory'
  key objtype                                          as SpecificationCategory,

      /* Associations */
      _SpecificationType,
      _SpecificationCategory
}                      

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"TCG31OBJ"
],
"ASSOCIATED":
[
"I_SPECCATEGORY",
"I_SPECTYPE"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/