I_SUPPROTPERMCONSUMPTIONTP

CDS View

Supply Protection Perm Consumed Prot

I_SUPPROTPERMCONSUMPTIONTP is a CDS View in S/4HANA. Supply Protection Perm Consumed Prot. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
C_SupProtPermConsumptionTP view_entity projection CONSUMPTION Supply Protection Perm Consumed Prot
@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@ObjectModel:   { usageType: { serviceQuality: #C,
                               sizeCategory:   #XL,
                               dataClass:      #MIXED }
}
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@EndUserText.label: 'Supply Protection Perm Consumed Prot'
define root view entity I_SupProtPermConsumptionTP
  as select from I_SupProtPermConsumption

  association [1..1] to I_SupplyProtectionTimeBucketTP as _SupplyProtectionTimeBucketTP on $projection.SupProtTimeBucketUUID = _SupplyProtectionTimeBucketTP.SupProtTimeBucketUUID
  association [1..1] to I_SupplyProtectionTP                  as _SupplyProtectionTP           on $projection.SupplyProtectionUUID = _SupplyProtectionTP.SupplyProtectionUUID
  association [1..*] to I_ATPRlvtDocumentCategoryText         as _ATPRlvtDocumentCategoryText  on $projection.SupplyProtectionDocumentType = _ATPRlvtDocumentCategoryText.ATPRelevantDocumentCategory

{
  key SupProtPermConsumptionUUID,
      SupProtTimeBucketUUID,
      SupplyProtectionDocumentType,

      @Consumption.semanticObject: 'SalesOrder'
      SupProtAssignedDocument,
      SupProtAssignedDocumentItem,
      ATPRelevantDocScheduleLine,
      SupProtConsumedQuantity,
      SupProtConsumedQuantityUnit,

      @Semantics.user.createdBy: true
      CreatedByUser,

      @Semantics.systemDateTime.createdAt: true
      CreationDateTime,

      @Semantics.user.lastChangedBy: true
      LastChangedByUser,

      @Semantics.systemDateTime.lastChangedAt: true
      LastChangeDateTime,


      _SupplyProtectionTimeBucketTP.SupplyProtectionUUID as SupplyProtectionUUID,

      /* Associations */
      _SupplyProtectionTP,
      _SupplyProtectionTimeBucketTP,
      _ATPRlvtDocumentCategoryText
}