C_ProdSubstnExclsnTP

DDL: C_PRODSUBSTNEXCLSNTP Type: view_entity CONSUMPTION Package: ODATA_PROD_SUBSTN_EXCLSN

Manage Exclusions - Products

C_ProdSubstnExclsnTP is a Consumption CDS View that provides data about "Manage Exclusions - Products" in SAP S/4HANA. It reads from 1 data source (R_ProdSubstnExclsnTP) and exposes 45 fields with key field MDSubstnUUID. It is exposed through 1 OData service (UI_PRODSUBSTN_EXCLN_MANAGE). It is used in 1 Fiori application: Manage Exclusions - Products. Part of development package ODATA_PROD_SUBSTN_EXCLSN.

Data Sources (1)

SourceAliasJoin Type
R_ProdSubstnExclsnTP R_ProdSubstnExclsnTP projection

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Manage Exclusions - Products view
ObjectModel.representativeKey MDSubstnUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
Search.searchable true view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view

OData Services (1)

ServiceBindingVersionContractRelease
UI_PRODSUBSTN_EXCLN_MANAGE UI_PRODSUBSTN_EXCLN_MANAGE V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F4786 Manage Exclusions - Products Transactional An application to manage product exclusions

Manage Exclusions - Products

Business Role: Master Data Specialist - Product Data

With this app, you can create and manage product exclusions. Product exclusions allow you to prevent products from being used in any substitution. For example, Product A is out of stock for one month. You can create a product exclusion for Product A, which is applicable for a month. When a product exclusion is linked to a group, the system excludes the product only when the group is used in a substitution. You can use this app if the business role Master Data Specialist – Product Data (R0097-13) is assigned to you. Note While creating a product exclusion, you must specify the application area. For example, either eSPP or aATP, or both.

Key Features: You can use this app to: Create, edit, and delete product exclusions. Create time-range specific product exclusions. Specify a group for a product exclusion. Activate or deactivate product exclusions.

Fields (45)

KeyFieldSource TableSource FieldDescription
KEY MDSubstnUUID MDSubstnUUID
MDSubstnObjectType MDSubstnObjectType
Product Product
ProductNameasProductDescriptionlocalized
Material _Product Product
MDSubstnContextObjectType MDSubstnContextObjectType
Plant Plant
PlantName _Plant PlantName
PlntFilterAnlytlMod _Plant Plant
MDSubstnContextObjectType2 MDSubstnContextObjectType2
MDSubstnGroup MDSubstnGroup
MDSubstnGroupDescriptionlocalized
MDSubstnVersionValue MDSubstnVersionValue
MDSubstnValidityStartDateTime MDSubstnValidityStartDateTime
MDSubstnValidityStartDate MDSubstnValidityStartDate
MDSubstnValidityStartTime MDSubstnValidityStartTime
MDSubstnValidityEndDateTime MDSubstnValidityEndDateTime
MDSubstnValidityEndDate MDSubstnValidityEndDate
MDSubstnValidityEndTime MDSubstnValidityEndTime
TimeZoneID TimeZoneID
TimeZoneTextlocalized
MDSubstnReason MDSubstnReason
MDSubstnReasonDescriptionlocalized
MDSubstnStatus MDSubstnStatus
MDSubstnStatusCriticality MDSubstnStatusCriticality
MDSubstnStatusDescriptionlocalized
MDSubstnIsRlvtForATPProd MDSubstnIsRlvtForATPProd
MDSubstnIsRelevantForESPP MDSubstnIsRelevantForESPP
CreatedByUser CreatedByUser
CreatedByUserFullName _CreatedByUser FullName
CreationDateTime CreationDateTime
LastChangedByUser LastChangedByUser
LastChangedByUserFullName _LastChangedByUser FullName
LastChangeDateTime LastChangeDateTime
_MDObjectType _MDObjectType
_ContextObjectTypeCode _ContextObjectTypeCode
_Product _Product
_Plant _Plant
_ContextObjectTypeCode2 _ContextObjectTypeCode2
_Group _Group
_TimeZone _TimeZone
_Reason _Reason
_Status _Status
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
@AccessControl: {
 authorizationCheck: #MANDATORY,
  privilegedAssociations: [
    '_CreatedByUser',
    '_LastChangedByUser'
  ]
}
@AccessControl.personalData.blocking: #NOT_REQUIRED
@EndUserText.label: 'Manage Exclusions - Products'
@ObjectModel: {
  representativeKey: 'MDSubstnUUID',
  semanticKey: [ 'Product'],
  usageType: {
    dataClass: #TRANSACTIONAL,
    serviceQuality: #C,
    sizeCategory: #M
  }
}
@Search.searchable: true
@VDM: {
  usage.type: [ #TRANSACTIONAL_PROCESSING_SERVICE ],
  viewType: #CONSUMPTION
}
@Metadata.allowExtensions: true
define root view entity C_ProdSubstnExclsnTP
  provider contract transactional_query
  as projection on R_ProdSubstnExclsnTP
{
  key MDSubstnUUID,
      MDSubstnObjectType,

      @ObjectModel.text.element: ['ProductDescription']
      @Consumption: {
      semanticObject: 'Material',
       valueHelpDefinition: [{ entity: { name: 'I_ProductStdVH', element: 'Product' } }]
      }
      Product,
      _Product._Text.ProductName  as ProductDescription : localized,
      @ObjectModel.text.association: null
      _Product.Product            as Material,
      MDSubstnContextObjectType,

      @ObjectModel.text.element: ['PlantName']
      @Consumption: {
       valueHelpDefinition: [{ entity: { name: 'I_PlantStdVH', element: 'Plant' } }]
      }
      Plant,
      _Plant.PlantName,
      _Plant.Plant                as PlntFilterAnlytlMod,
      MDSubstnContextObjectType2,

      @ObjectModel.text.element: ['MDSubstnGroupDescription']
      @Consumption: {
       semanticObject: 'ProductSubstitutionGroup',
       valueHelpDefinition: [{ entity: { name: 'C_ProdSubstnGrpVH', element: 'MDSubstnGroup' },
                               additionalBinding: [{ localElement: 'MDSubstnVersionValue', element: 'MDSubstnVersionValue' }] }]
      }
      MDSubstnGroup,
      _Group._GroupText.MDSubstnGroupDescription        : localized,
      MDSubstnVersionValue,
      @Semantics.timeZoneReference: 'TimeZoneID'
      MDSubstnValidityStartDateTime,      
      MDSubstnValidityStartDate,
      MDSubstnValidityStartTime,
      @Semantics.timeZoneReference: 'TimeZoneID'
      MDSubstnValidityEndDateTime,
      MDSubstnValidityEndDate,
      MDSubstnValidityEndTime,

//      @ObjectModel.text.element: ['TimeZoneText']

      @Consumption: {
//        valueHelpDefinition: [{ entity: { name: 'I_TimeZone', element: 'TimeZoneID' } }]

        valueHelpDefinition: [{ entity: { name: 'C_MDSubstnTmznDfltIANACodeVH', element: 'TimeZoneIANACode' } }]
      }
      @Semantics.timeZone: true
      TimeZoneID,
      _TimeZone._TimeZoneText.TimeZoneText              : localized,

      @Consumption: {
            semanticObject: 'ProductSubstitutionReason',
            valueHelpDefinition: [{ entity: { name: 'C_ProdSubstnRsnVH', element: 'MDSubstnReason' } }]
          }
      @ObjectModel.text.element: ['MDSubstnReasonDescription']
      MDSubstnReason,
      _Reason._Text.MDSubstnReasonDescription           : localized,

      @ObjectModel.text.element: ['MDSubstnStatusDescription']
      @Consumption: {
       valueHelpDefinition: [{ entity: { name: 'I_MDSubstnSts', element: 'MDSubstnStatus' } }]
      }
      MDSubstnStatus,
      MDSubstnStatusCriticality,
      @Semantics.text: true
      _Status._Text.MDSubstnStatusDescription           : localized,

      @Feature: 'SW:PROD_SUBSTN_ENABLE_ESPP'
      @Consumption.filter.selectionType: #SINGLE
      MDSubstnIsRlvtForATPProd,

      @Feature: 'SW:PROD_SUBSTN_ENABLE_ESPP'
      @Consumption.filter.selectionType: #SINGLE
      MDSubstnIsRelevantForESPP,

      @ObjectModel.text.element: ['CreatedByUserFullName']
      CreatedByUser,

      _CreatedByUser.FullName     as CreatedByUserFullName,
      CreationDateTime,

      @ObjectModel.text.element: ['LastChangedByUserFullName']
      LastChangedByUser,

      _LastChangedByUser.FullName as LastChangedByUserFullName,
      LastChangeDateTime,

      /* Associations */
      @Consumption.filter.hidden: true
      _MDObjectType,
      @Consumption.filter.hidden: true
      _ContextObjectTypeCode,
      @Consumption.filter.hidden: true
      _Product,
      @Consumption.filter.hidden: true
      _Plant,
      @Consumption.filter.hidden: true
      _ContextObjectTypeCode2,
      @Consumption.filter.hidden: true
      _Group,
      @Consumption.filter.hidden: true
      _TimeZone,
      @Consumption.filter.hidden: true
      _Reason,
      @Consumption.filter.hidden: true
      _Status,
      @Consumption.filter.hidden: true
      _CreatedByUser,
      @Consumption.filter.hidden: true
      _LastChangedByUser

}