C_ChmlCmplncReqMktTP

DDL: C_CHMLCMPLNCREQMKTTP Type: view CONSUMPTION

Requested Market of a Chemical Compliance Request

C_ChmlCmplncReqMktTP is a Consumption CDS View that provides data about "Requested Market of a Chemical Compliance Request" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncReqMktTP) and exposes 9 fields with key field ChmlCmplncReqMktUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCmplncReqMktTP I_ChmlCmplncReqMktTP from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_ChmlCmplncReqProcMkt _ChmlCmplncReq $projection.ChmlCmplncRequestUUID = _ChmlCmplncReq.ChmlCmplncRequestUUID

Annotations (16)

NameValueLevelField
EndUserText.label Requested Market of a Chemical Compliance Request view
AbapCatalog.sqlViewName CCREQMREQTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled false view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
Search.searchable true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncReqMktUUID ChmlCmplncReqMktUUID
ChmlCmplncRequestUUID ChmlCmplncRequestUUID
ChmlCmplncInfoUUID _ChmlCmplncReq ChmlCmplncInfoUUID
CountryName
ProductionrequestedChmlCmplncProdnIsReqd
SalesrequestedChmlCmplncSalesIsReqd
ChangetypeChmlCmplncReqChgType
_ChmlCmplncReq _ChmlCmplncReq
_Country _Country
@EndUserText.label: 'Requested Market of a Chemical Compliance Request'

@AbapCatalog:
{
  sqlViewName: 'CCREQMREQTP',
  compiler.compareFilter: true,
  preserveKey: true
}

@AccessControl:
{
  authorizationCheck: #MANDATORY,
  // blocking of personal data not required (user data can not be blocked and no business partner data exposed from user)

  personalData.blocking: #NOT_REQUIRED
}

@ClientHandling.algorithm: #SESSION_VARIABLE

@VDM.viewType: #CONSUMPTION

@ObjectModel:
{
  transactionalProcessingDelegated: true,
  createEnabled: true,
  updateEnabled: false,
  deleteEnabled: 'EXTERNAL_CALCULATION',
  semanticKey:  [ 'Country' ],
  usageType:
  {
    /*Service Quality - reflects the quality of service with respect to the expected performance of the CDS view:
      #A: may be consumed within business logic for high volume transactions or background processing
      #B: may be consumed within business logic for transactions or background processing
    */
    dataClass: #MIXED,
    sizeCategory: #M,
    serviceQuality: #C
  }
}

@UI.presentationVariant : {
  sortOrder: [ {by: 'CountryName', direction: #ASC }]
}

--Search
@Search.searchable : true

define view C_ChmlCmplncReqMktTP
  as select from I_ChmlCmplncReqMktTP

  association [1..1] to C_ChmlCmplncReqProcMkt as _ChmlCmplncReq on $projection.ChmlCmplncRequestUUID = _ChmlCmplncReq.ChmlCmplncRequestUUID
{

      @UI.hidden: true
      @ObjectModel.readOnly: true
  key ChmlCmplncReqMktUUID,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      ChmlCmplncRequestUUID,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      _ChmlCmplncReq.ChmlCmplncInfoUUID,

      -- Country
      @UI.hidden: true
      Country,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      @Semantics.text: true
      @Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8 }
      _Country._Text[1: Language = $session.system_language].CountryName,
      
      --Production requested     
      @UI.hidden: true
      ChmlCmplncProdnIsReqd,
      --Sales requested
      @UI.hidden: true
      ChmlCmplncSalesIsReqd,
      
      --Change type
      @UI.hidden: true
      ChmlCmplncReqChgType,
      
      /* Associations */
      @ObjectModel.association.type:  [ #TO_COMPOSITION_ROOT, #TO_COMPOSITION_PARENT ]
      _ChmlCmplncReq,

      _Country
}