C_LegalTransactionDocStamp

DDL: C_LEGALTRANSACTIONDOCSTAMP SQL: CLCMLTDOCSTMP Type: view CONSUMPTION Package: ODATA_LCM_LT

Document Stamps in Legal Transaction

C_LegalTransactionDocStamp is a Consumption CDS View that provides data about "Document Stamps in Legal Transaction" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMDocumentStamp) and exposes 11 fields with key field LglCntntMDocumentStampUUID. It has 4 associations to related views. Part of development package ODATA_LCM_LT.

Data Sources (1)

SourceAliasJoin Type
I_LglCntntMDocumentStamp I_LglCntntMDocumentStamp from

Associations (4)

CardinalityTargetAliasCondition
[0..1] C_LglCntntMDocStampNameVH _LglCntntMDocStampNameVH $projection.LglCntntMDocumentStamp = _LglCntntMDocStampNameVH.LglCntntMDocumentStamp
[1..1] C_LglCntntMDocStamp _LglCntntMDocStamp $projection.LglCntntMDocumentStamp = _LglCntntMDocStamp.LglCntntMDocumentStamp
[0..1] I_LCMUserContactCard _StampContactCard _StampContactCard.ContactCardType = 'User' and _StampContactCard.ContactCardID = $projection.LglCntntMCreatedByUser and _StampContactCard.ContactCardRole = 'Creator'
[1..1] E_LglCntntMDocumentStamp _LglCntntMDocumentStampExtn $projection.LglCntntMDocumentStampUUID = _LglCntntMDocumentStampExtn.LglCntntMDocumentStampUUID

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CLCMLTDOCSTMP view
AccessControl.personalData.blocking #REQUIRED view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.semanticKey LglCntntMDocumentStampUUID view
ObjectModel.representativeKey LglCntntMDocumentStampUUID view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
UI.headerInfo.typeName Stamp view
UI.headerInfo.typeNamePlural Stamps view
UI.headerInfo.title.value LglCntntMDocumentStampName view
Search.searchable true view
EndUserText.label Document Stamps in Legal Transaction view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY LglCntntMDocumentStampUUID LglCntntMDocumentStampUUID
LglCntntMDocumentStamp LglCntntMDocumentStamp Stamp Name
LglCntntMDocumentStampName _LglCntntMDocStampNameVH LglCntntMDocumentStampName
LglCntntMCreatedUTCDateTime LglCntntMCreatedUTCDateTime Date, Time
LglCntntMCreatedByUser LglCntntMCreatedByUser
_StampContactCard _StampContactCard Added By
FullName _StampContactCard FullName
LglCntntMDocumentUUID LglCntntMDocumentUUID
_LglCntntMDocStampNameVH _LglCntntMDocStampNameVH
_LglCntntMDocStamp _LglCntntMDocStamp
_DocumentAuth _DocumentAuth
@AbapCatalog.sqlViewName: 'CLCMLTDOCSTMP'
@AccessControl.personalData.blocking: #REQUIRED
@AccessControl.authorizationCheck: #CHECK
@AccessControl.privilegedAssociations:  [ '_StampContactCard' ]
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION

@ObjectModel: { semanticKey: 'LglCntntMDocumentStampUUID',
                representativeKey: 'LglCntntMDocumentStampUUID',

                usageType.dataClass: #MIXED,
                usageType.serviceQuality:  #C,
                usageType.sizeCategory: #L  }


@UI.headerInfo:{
  typeName: 'Stamp',
  typeNamePlural: 'Stamps',
  title: { value: 'LglCntntMDocumentStampName' }
}

@Search.searchable: true
@EndUserText.label: 'Document Stamps in Legal Transaction'

define view C_LegalTransactionDocStamp
  as select from I_LglCntntMDocumentStamp
  //  Value Helps

  association [0..1] to C_LglCntntMDocStampNameVH as _LglCntntMDocStampNameVH    on  $projection.LglCntntMDocumentStamp = _LglCntntMDocStampNameVH.LglCntntMDocumentStamp

  // For Stamp Text

  association [1..1] to C_LglCntntMDocStamp       as _LglCntntMDocStamp          on  $projection.LglCntntMDocumentStamp = _LglCntntMDocStamp.LglCntntMDocumentStamp

  //Contact Card

  association [0..1] to I_LCMUserContactCard      as _StampContactCard           on  _StampContactCard.ContactCardType = 'User'
                                                                                 and _StampContactCard.ContactCardID   = $projection.LglCntntMCreatedByUser
                                                                                 and _StampContactCard.ContactCardRole = 'Creator'

  //Extension

  association [1..1] to E_LglCntntMDocumentStamp  as _LglCntntMDocumentStampExtn on  $projection.LglCntntMDocumentStampUUID = _LglCntntMDocumentStampExtn.LglCntntMDocumentStampUUID
{
      @UI.hidden: true
  key LglCntntMDocumentStampUUID                          as LglCntntMDocumentStampUUID,

      @UI: {
            identification: {position: 10, importance: #HIGH },
            lineItem: {position: 10, importance: #HIGH },
            textArrangement: #TEXT_ONLY
          }
      @ObjectModel: {
          mandatory: true,
          text.element: 'LglCntntMDocumentStampName'
          }
      @Consumption.valueHelp: '_LglCntntMDocStampNameVH'
      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
      @EndUserText.label: 'Stamp Name'
      LglCntntMDocumentStamp                              as LglCntntMDocumentStamp,

      @UI.hidden: true
      @Consumption.filter.hidden: true
      @ObjectModel.readOnly: true
      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
      _LglCntntMDocStampNameVH.LglCntntMDocumentStampName as LglCntntMDocumentStampName,

      @UI: {
          identification: {position: 20, importance: #HIGH },
          lineItem: {position: 20, importance: #HIGH}
          }
      @EndUserText.label: 'Date, Time'
      LglCntntMCreatedUTCDateTime                         as LglCntntMCreatedUTCDateTime,

      @UI.hidden: true
      @Consumption.filter.hidden: true
      LglCntntMCreatedByUser                              as LglCntntMCreatedByUser,

      @UI: {
          lineItem: { position: 30, label: 'Added By', value: '_StampContactCard', type: #AS_CONTACT, importance: #HIGH },
          fieldGroup: { qualifier: 'AddedBy', position: 30, value: '_StampContactCard', type: #AS_CONTACT }
          }
      @EndUserText.label: 'Added By'
      _StampContactCard,

      @ObjectModel.readOnly: true
      @UI: {
          lineItem: { position: 40, label: 'Added By', importance: #HIGH }
          }
      _StampContactCard.FullName,

      @UI.hidden : true
      LglCntntMDocumentUUID                               as LglCntntMDocumentUUID,

      //      Value Help / Contact Card

      _LglCntntMDocStampNameVH,
      _LglCntntMDocStamp,


      //Authorization

      @UI.hidden: true
      _DocumentAuth
}