C_ProdStrucNode

DDL: C_PRODSTRUCNODE SQL: CPSNODE Type: view CONSUMPTION

Product Structure Node List

C_ProdStrucNode is a Consumption CDS View that provides data about "Product Structure Node List" in SAP S/4HANA. It reads from 1 data source (I_ProductStructureNode_2) and exposes 18 fields with key field ProductStructureNodeUUID. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProductStructureNode_2 _Node from

Associations (5)

CardinalityTargetAliasCondition
[0..1] C_ProdStrucNodeType _NodeType $projection.ProductStructureNodeType = _NodeType.ProductStructureNodeType
[0..1] I_ProdStrucClassVH _Class _Node.ClassInternalID = _Class.ClassInternalID
[0..1] I_ProdStrucLogAccMActive _LogAccMObjectTypeActive $projection.ProductStructureGnrcObjType = _LogAccMObjectTypeActive.LogAccMObjectType
[0..1] I_ProdStrucObjSecureIDAssgmt _LogAccMObjSecureIDAssgmt $projection.ProductStructureNodeUniqueID = _LogAccMObjSecureIDAssgmt.LogAccMObjectID and $projection.ProductStructureGnrcObjType = _LogAccMObjSecureIDAssgmt.LogAccMObjectType
[0..*] I_ProdStrucObjectUserAuthzn _LogAccMObjectUserAuthzn $projection.ProductStructureNodeUniqueID = _LogAccMObjectUserAuthzn.LogAccMObjectID and _LogAccMObjectUserAuthzn.LogAccMObjectType = $projection.ProductStructureGnrcObjType

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CPSNODE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view
Search.searchable true view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_ProductStructureVariant_2 view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view
EndUserText.label Product Structure Node List view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY ProductStructureNodeUUID ProductStructureNodeUUID
ProductStructureNodeUniqueID ProductStructureNodeUniqueID
Class _Class Class
ClassName
ClassInternalID _Class ClassInternalID
ClassType _Class ClassType
ProductStrucLastChangedByUser ProductStrucLastChangedByUser
ProductStrucLastChangedDate ProductStrucLastChangedDate
ProductStructureCreatedByUser ProductStructureCreatedByUser
ProductStructureCreationDate ProductStructureCreationDate
ProductStructureNodeName ProductStructureNodeName
ProductStructureNodeType ProductStructureNodeType
ProdStrucNodeDescription
ProdStrucNodeTypeDescription _NodeType ProdStrucNodeTypeDescription
ProductStructureGnrcObjType I_ProductStructureNode_2 ProductStructureGnrcObjType
_LogAccMObjectTypeActive _LogAccMObjectTypeActive
_LogAccMObjSecureIDAssgmt _LogAccMObjSecureIDAssgmt
_LogAccMObjectUserAuthzn _LogAccMObjectUserAuthzn
@AbapCatalog.sqlViewName: 'CPSNODE'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #CONSUMPTION
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking: #REQUIRED
@Search.searchable: true

@VDM.lifecycle: {
//  contract: {

//    type: #PUBLIC_LOCAL_API

//  },

  status: #DEPRECATED,
  successor: 'I_ProductStructureVariant_2'
}
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.serviceQuality: #C
//@OData.publish: true


//@ObjectModel:{

//    semanticKey: ['ProductStructure'],

//    compositionRoot: true

//}


@EndUserText.label: 'Product Structure Node List'
define view C_ProdStrucNode as select from I_ProductStructureNode_2 as _Node
  association [0..1] to C_ProdStrucNodeType                 as _NodeType on $projection.ProductStructureNodeType = _NodeType.ProductStructureNodeType
  association [0..1] to I_ProdStrucClassVH                  as _Class    on _Node.ClassInternalID = _Class.ClassInternalID
  association [0..1] to I_ProdStrucLogAccMActive  as _LogAccMObjectTypeActive  on  $projection.ProductStructureGnrcObjType = _LogAccMObjectTypeActive.LogAccMObjectType
  association [0..1] to I_ProdStrucObjSecureIDAssgmt as _LogAccMObjSecureIDAssgmt on  $projection.ProductStructureNodeUniqueID           = _LogAccMObjSecureIDAssgmt.LogAccMObjectID
                                                                                and $projection.ProductStructureGnrcObjType              = _LogAccMObjSecureIDAssgmt.LogAccMObjectType
  association [0..*] to I_ProdStrucObjectUserAuthzn  as _LogAccMObjectUserAuthzn  on  $projection.ProductStructureNodeUniqueID           = _LogAccMObjectUserAuthzn.LogAccMObjectID
                                                                                and _LogAccMObjectUserAuthzn.LogAccMObjectType           = $projection.ProductStructureGnrcObjType
{
  key ProductStructureNodeUUID,
      ProductStructureNodeUniqueID,
      @Search.defaultSearchElement: true
      _Class.Class,
      @Search.defaultSearchElement: true
      _Class[1:Language = $session.system_language].ClassName,
      _Class.ClassInternalID,
      @Search.defaultSearchElement: true
      _Class.ClassType,
      @Semantics.user.lastChangedBy: true
      ProductStrucLastChangedByUser,
      ProductStrucLastChangedDate,
      ProductStructureCreatedByUser,
      ProductStructureCreationDate,
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.7
      @Search.ranking: #HIGH
      @ObjectModel.mandatory: true
      ProductStructureNodeName,
      ProductStructureNodeType,
      _Text[1:Language = $session.system_language].ProdStrucNodeDescription,
      _NodeType.ProdStrucNodeTypeDescription,
      @UI.hidden: true
      _Node.ProductStructureGnrcObjType,

      _LogAccMObjectTypeActive,
      _LogAccMObjSecureIDAssgmt,
      _LogAccMObjectUserAuthzn
}