I_SpecValAssgmtInstanceWthComp

DDL: I_SPECVALASSGMTINSTANCEWTHCOMP SQL: ISPECVAINSTWCOMP Type: view COMPOSITE

Specification Value Assignment Instance with Composition

I_SpecValAssgmtInstanceWthComp is a Composite CDS View that provides data about "Specification Value Assignment Instance with Composition" in SAP S/4HANA. It reads from 2 data sources (I_SpecValAssgmtInstance, I_SpecValAssgmtItemForKeyDate) and exposes 33 fields with key fields SpecValAssgmtHdr, SpecValAssgmt, SpecValAssgmtUsageInternalID, ComponentSpecificationIntID. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_SpecValAssgmtInstance I_SpecValAssgmtInstance from
I_SpecValAssgmtItemForKeyDate I_SpecValAssgmtItemForKeyDate inner

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_SpecificationForKeyDate _SpecificationForKeyDate $projection.SpecificationInternalID = _SpecificationForKeyDate.SpecificationInternalID
[1..1] I_SpecValAssgmtInstance _SpecValAssgmtInstance $projection.SpecValAssgmtHdr = _SpecValAssgmtInstance.SpecValAssgmtHdr and $projection.SpecValAssgmt = _SpecValAssgmtInstance.SpecValAssgmt and $projection.SpecValAssgmtUsageInternalID = _SpecValAssgmtInstance.SpecValAssgmtUsageInternalID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ISPECVAINSTWCOMP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #COMPOSITE view
EndUserText.label Specification Value Assignment Instance with Composition view

Fields (33)

KeyFieldSource TableSource FieldDescription
KEY SpecValAssgmtHdr vainst SpecValAssgmtHdr
KEY SpecValAssgmt vainst SpecValAssgmt
KEY SpecValAssgmtUsageInternalID vainst SpecValAssgmtUsageInternalID
KEY ComponentSpecificationIntID vaitem ComponentSpecificationIntID
SpecValAssgmtIsInhtncSource vainst SpecValAssgmtIsInhtncSource
SpecificationInternalID vainst SpecificationInternalID
InhtdSpecValAssgmtIsTmpChgd vainst InhtdSpecValAssgmtIsTmpChgd
InhtdSpecValAssgmtIsPermChgd vainst InhtdSpecValAssgmtIsPermChgd
SpecInheritanceTemplate vainst SpecInheritanceTemplate
SpecValAssgmtInheritanceParent vainst SpecValAssgmtInheritanceParent
SpecValAssgmtInheritanceRoot vainst SpecValAssgmtInheritanceRoot
SpecValAssgmtRootSpecIntID vainst SpecValAssgmtRootSpecIntID
SpecValAssgmtType vainst SpecValAssgmtType
SpecValAssgmtChangeState vainst SpecValAssgmtChangeState
SpecValAssgmtSortSequence vainst SpecValAssgmtSortSequence
SpecValAssgmtUnitRefDimension vainst SpecValAssgmtUnitRefDimension
ValueAssignmentSource vainst ValueAssignmentSource
SpecificationRating vainst SpecificationRating
SpecificationValidityArea vainst SpecificationValidityArea
CompSpecComponentType vaitem CompSpecComponentType
CompSpecLowerLimitOperator vaitem CompSpecLowerLimitOperator
CompSpecLowerLimit vaitem CompSpecLowerLimit
CompSpecUpperLimitOperator vaitem CompSpecUpperLimitOperator
CompSpecUpperLimit vaitem CompSpecUpperLimit
CompSpecQuantity vaitem CompSpecQuantity
CompSpecUnit vaitem CompSpecUnit
CompSpecSortSequence vaitem CompSpecSortSequence
CompSpecDecimalQuantity vaitem CompSpecDecimalQuantity
CompSpecExceptionCode vaitem CompSpecExceptionCode
_SpecificationForKeyDate _SpecificationForKeyDate
_ComponentSpecForKeyDate _ComponentSpecForKeyDate
_ValueAssignmentType _ValueAssignmentType
_SpecValAssgmtInstance _SpecValAssgmtInstance
@AbapCatalog.sqlViewName: 'ISPECVAINSTWCOMP'
@AbapCatalog.compiler.compareFilter: true

@AccessControl.authorizationCheck: #CHECK

@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #TRANSACTIONAL

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


@EndUserText.label: 'Specification Value Assignment Instance with Composition'
define view I_SpecValAssgmtInstanceWthComp
  with parameters
    @Environment.systemField: #SYSTEM_DATE
    P_KeyDate : sydate
  as select from I_SpecValAssgmtInstance( P_KeyDate : $parameters.P_KeyDate )       as vainst
    inner join   I_SpecValAssgmtItemForKeyDate( P_KeyDate : $parameters.P_KeyDate ) as vaitem on  vainst.SpecValAssgmtRootSpecIntID   = vaitem.SpecificationInternalID
                                                                                              and vainst.SpecValAssgmtInheritanceRoot = vaitem.SpecValAssgmt
  association [1..1] to I_SpecificationForKeyDate as _SpecificationForKeyDate on  $projection.SpecificationInternalID = _SpecificationForKeyDate.SpecificationInternalID
  association [1..1] to I_SpecValAssgmtInstance   as _SpecValAssgmtInstance   on  $projection.SpecValAssgmtHdr             = _SpecValAssgmtInstance.SpecValAssgmtHdr
                                                                              and $projection.SpecValAssgmt                = _SpecValAssgmtInstance.SpecValAssgmt
                                                                              and $projection.SpecValAssgmtUsageInternalID = _SpecValAssgmtInstance.SpecValAssgmtUsageInternalID
{
  key vainst.SpecValAssgmtHdr,
  key vainst.SpecValAssgmt,
  key vainst.SpecValAssgmtUsageInternalID,
  key vaitem.ComponentSpecificationIntID,

      vainst.SpecValAssgmtIsInhtncSource,
      vainst.SpecificationInternalID,
      vainst.InhtdSpecValAssgmtIsTmpChgd,
      vainst.InhtdSpecValAssgmtIsPermChgd,
      vainst.SpecInheritanceTemplate,
      vainst.SpecValAssgmtInheritanceParent,
      vainst.SpecValAssgmtInheritanceRoot,
      vainst.SpecValAssgmtRootSpecIntID,
      vainst.SpecValAssgmtType,
      vainst.SpecValAssgmtChangeState,
      vainst.SpecValAssgmtSortSequence,
      vainst.SpecValAssgmtUnitRefDimension,
      vainst.ValueAssignmentSource,
      vainst.SpecificationRating,
      vainst.SpecificationValidityArea,

      vaitem.CompSpecComponentType,
      vaitem.CompSpecLowerLimitOperator,
      vaitem.CompSpecLowerLimit,
      vaitem.CompSpecUpperLimitOperator,
      vaitem.CompSpecUpperLimit,
      vaitem.CompSpecQuantity,
      vaitem.CompSpecUnit,
      vaitem.CompSpecSortSequence,
      vaitem.CompSpecDecimalQuantity,
      vaitem.CompSpecExceptionCode,

      _SpecificationForKeyDate,
      _ComponentSpecForKeyDate,
      _ValueAssignmentType,
      _SpecValAssgmtInstance
}
where
  SpecValAssgmtItemIsDeleted <> 'X'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SPECVALASSGMTINSTANCE",
"I_SPECVALASSGMTITEMFORKEYDATE"
],
"ASSOCIATED":
[
"I_SPECIFICATIONFORKEYDATE",
"I_SPECVALASSGMTINSTANCE",
"I_SPECVALASSGMTTYPE"
],
"BASE":
[
"I_SPECVALASSGMTINSTANCE",
"I_SPECVALASSGMTITEMFORKEYDATE"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/