C_LCMLegalTrDocument

DDL: C_LCMLEGALTRDOCUMENT SQL: CLEGALTRDOC Type: view CONSUMPTION

C view for Document in Lgl Transaction

C_LCMLegalTrDocument is a Consumption CDS View that provides data about "C view for Document in Lgl Transaction" in SAP S/4HANA. It reads from 1 data source (I_LcmDocument) and exposes 62 fields with key fields LegalTransaction, LglCntntMDocumentUUID. It has 15 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_LcmDocument LegalDocument from

Associations (15)

CardinalityTargetAliasCondition
[1..1] I_LcmDocument _DocumentAuth $projection.LglCntntMDocumentUUID = _DocumentAuth.LglCntntMDocumentUUID
[1..1] I_LglCntntMDocInfoAttachment _LCMDocInfoRecord $projection.LglCntntMDocumentLinkedObjKey = _LCMDocInfoRecord.LinkedSAPObjectKey and $projection.LglCntntMDocumentLinkedObject = _LCMDocInfoRecord.LinkedSAPObject
[0..1] C_LglCntntMDocContentTypeVH _LglCntntMDocContentTypeVH $projection.LglCntntMDocCntntTypeFilter = _LglCntntMDocContentTypeVH.LglCntntMDocContentType
[0..1] C_LglCntntMDocCntntTypeEditVH _LglCntntMDocCntntTypeEditVH $projection.LglCntntMDocContentType = _LglCntntMDocCntntTypeEditVH.LglCntntMDocContentType and _LglCntntMDocCntntTypeEditVH.LglCntntMIsRstrcdDocCntnt = '' and $projection.LglCntntMProfile = _LglCntntMDocCntntTypeEditVH.LglCntntMProfile
[0..1] C_LcmLanguageValueHelp _LanguageValueHelp $projection.LglCntntMLanguage = _LanguageValueHelp.Language
[1..1] I_LglCntntMDocLockedReasonText _LcmDocLockedReason _LcmDocLockedReason.LglCntntMDocLockedReasonCode = $projection.LglCntntMDocLockedReasonCode
[0..1] C_LglCntntMDocAccLvlEditVH _LglCntntMDocAccLvlEditVH $projection.LglCntntMDocAccessLvl = _LglCntntMDocAccLvlEditVH.LglCntntMAccessLvl and $projection.LglCntntMDocContentType = _LglCntntMDocAccLvlEditVH.LglCntntMDocContentType and $projection.InternalDocumentStatus = _LglCntntMDocAccLvlEditVH.InternalDocumentStatus
[0..1] C_LglCntntMGovLawVH _LCMGovLawVH $projection.LglCntntMGovLaw = _LCMGovLawVH.LglCntntMGovLaw
[1..1] I_LegalTransactionAggr _LegalTransactionAggrgn $projection.LegalTransactionUUID = _LegalTransactionAggrgn.LegalTransactionUUID
[1..1] C_LglCntntMTmplSelVH _LglCntntMTmplSelVH $projection.LglCntntMTmplUUID = _LglCntntMTmplSelVH.LglCntntMTmplUUID
[0..1] I_LglCntntMDocAssemblyStsText _AssemblyStatusText $projection.LglCntntMDocAssemblyStatus = _AssemblyStatusText.LglCntntMDocAssemblyStatus and _AssemblyStatusText.Language = $session.system_language
[1..1] C_LglCntntMgmtDOCUSIGNTemplate _LglCntntMgmtDOCUSIGNTemplate $projection.LglCntntMgmtDOCUSIGNTmpl = _LglCntntMgmtDOCUSIGNTemplate.LglCntntMgmtDOCUSIGNTmpl
[0..*] C_LglCntntMgmtDOCUSIGNUsers _LglCntntMgmtDOCUSIGNUsers $projection.LglCntntMgmtDOCUSIGNTmpl = _LglCntntMgmtDOCUSIGNUsers.LglCntntMgmtDOCUSIGNTmpl
[1..1] E_LegalDocument _LegalDocumentExtension $projection.LglCntntMDocumentUUID = _LegalDocumentExtension.LglCntntMDocumentUUID
[0..1] C_LglCntntMDocImportantCat _LglCntntMDocImportantCat $projection.LglCntntMDocumentUUID = _LglCntntMDocImportantCat.LglCntntMDocumentUUID

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName CLEGALTRDOC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.representativeKey LglCntntMDocumentUUID view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view
Search.searchable true view
UI.headerInfo.typeName Document view
UI.headerInfo.typeNamePlural Documents view
UI.headerInfo.title.value DocumentDescription view
UI.headerInfo.description.value LegalDocument view
EndUserText.label C view for Document in Lgl Transaction view

Fields (62)

KeyFieldSource TableSource FieldDescription
KEY LegalTransaction I_LcmDocument LegalTransaction
KEY LglCntntMDocumentUUID I_LcmDocument LglCntntMDocumentUUID
LegalTransactionUUID I_LcmDocument LegalTransactionUUID
LegalDocument I_LcmDocument LglCntntMDocument Document ID
LegalDocumentMyInboxDisplay I_LcmDocument LglCntntMDocument Document ID
LglCntntMDocumentIsTopVersion I_LcmDocument LglCntntMDocumentIsTopVersion
LglCntntMIsMandatory I_LcmDocument LglCntntMIsMandatory
DocumentDescription I_LcmDocument DocumentDescription Legal Document - Title
LglCntntMParentDocument I_LcmDocument LglCntntMParentDocument Parent Document
LglCntntMProfile LglCntntMProfile
LglCntntMCreatedFromDocUUID I_LcmDocument LglCntntMCreatedFromDocUUID
LglCntntMCreatedFromDoc Created From
LglCntntMCreatedFromDocDesc
LglCntntMGovLaw I_LcmDocument LglCntntMGovLaw Governing Law
LglCntntMDocContentTypeName Content Type Text
LglCntntMDocCntntTypeFilter I_LcmDocument LglCntntMDocContentType Content Type
LglCntntMDocContentType I_LcmDocument LglCntntMDocContentType
LglCntntMIsRstrcdDocCntnt _LglCntntMDocContentTypeVH LglCntntMIsRstrcdDocCntnt
LglCntntMAccessLvlName Access Level Text
LglCntntMDocAccessLvl LglCntntMDocAccessLvl Access Level
LglCntntMDocPaperTypeName Type Of Paper Text
LglCntntMDocPaperType I_LcmDocument LglCntntMDocPaperType Type Of Paper
LglCntntMLanguage I_LcmDocument LglCntntMLanguage Language
LglCntntMChangedUTCDateTime I_LcmDocument LglCntntMChangedUTCDateTime Last Changed On
LglCntntMDocStsCriticality 0
LglCntntMDocStatusName Legal Document - Status
InternalDocumentStatus I_LcmDocument InternalDocumentStatus
LglCntntMDocumentKind I_LcmDocument LglCntntMDocumentKind Document Kind
LglCntntMDocumentKindText Document Kind Text
LglCntntMDocAssemblyStsCritlty 0
LglCntntMDocAssemblyStatus
LglCntntMSgntrDocStatusName eSign Status Text
LglCntntMSignatureDocStatus LglCntntMSignatureDocStatus e-Signature Status
LglCntntMgmtDOCUSIGNTmpl
LglCntntMSgntrIsDisabled _LegalTransactionAggrgn LglCntntMSgntrIsDisabled
LglCntntMDocCreateEnabled
LglCntntMDocumentLinkedObject I_LcmDocument LglCntntMDocumentLinkedObject
LglCntntMDocumentLinkedObjKey I_LcmDocument LglCntntMDocumentLinkedObjKey
LglCntntMDocType I_LcmDocument LglCntntMDocType
LglCntntMTmplUUID I_LcmDocument LglCntntMTmplUUID
IsCloudSystem
FileName
DocumentInfoRecordDocType
DocumentInfoRecordDocNumber
DocumentInfoRecordDocPart
DocumentInfoRecordDocVersion
LogicalDocument
PhysicalDocument
FileUUID
LglCntntMDocCntntCrtnScen
LglCntntMVirtualDocVersKey I_LcmDocument LglCntntMVirtualDocVersKey
LglCntntMVirtualDocDownloadURL
_LCMDocInfoRecord _LCMDocInfoRecord
LglCntntMParentDocDescription
LglCntntMDocEditEnabled
LglCntntMAgingTemperature I_LcmDocument LglCntntMAgingTemperature
LglCntntMVirtualDocSyncSts I_LcmDocument LglCntntMVirtualDocSyncSts
LglCntntMDocRefreshStatus I_LcmDocument LglCntntMDocRefreshStatus Content Refresh
LglCntntMDocRefreshStatusText
LglCntntMDocLowTouchLevel I_LcmDocument LglCntntMDocLowTouchLevel Assembly Automation Level
LglCntntMDocLockedReasonCode LglCntntMDocLockedReasonCode
LglCntntMDocLockedReasonText _LcmDocLockedReason LglCntntMDocLockedReasonText
@AbapCatalog.sqlViewName: 'CLEGALTRDOC'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE

@VDM.viewType: #CONSUMPTION

@ObjectModel: { semanticKey: [ 'LegalDocument' ],
                representativeKey: 'LglCntntMDocumentUUID',
                alternativeKey.element:  [ 'LegalTransaction' ],

                usageType.dataClass: #MIXED,
                usageType.serviceQuality: #D,
                usageType.sizeCategory: #M

               }


@Search.searchable: true

@UI:
{
  presentationVariant:
  {
    requestAtLeast: [ 'LglCntntMDocPaperType' ]
  },
  headerInfo:
  {
    typeName: 'Document',
    typeNamePlural: 'Documents',
    title: { value: 'DocumentDescription' },
    description: { value: 'LegalDocument' }
  }
}

@EndUserText.label: 'C view for Document in Lgl Transaction'

define view C_LCMLegalTrDocument
  as select from I_LcmDocument as LegalDocument

  // Authorization

  association [1..1] to I_LcmDocument                  as _DocumentAuth                 on  $projection.LglCntntMDocumentUUID = _DocumentAuth.LglCntntMDocumentUUID

  //Document Agreement

  association [1..1] to C_LglCntntMDocAgreementTP      as _LglCntntMDocAgreementTP      on  $projection.LglCntntMDocumentUUID = _LglCntntMDocAgreementTP.LglCntntMDocumentUUID

  //  Document Info Record

  association [1..1] to I_LglCntntMDocInfoAttachment   as _LCMDocInfoRecord             on  $projection.LglCntntMDocumentLinkedObjKey = _LCMDocInfoRecord.LinkedSAPObjectKey
                                                                                        and $projection.LglCntntMDocumentLinkedObject = _LCMDocInfoRecord.LinkedSAPObject

  //  Value Helps

  association [0..1] to C_LglCntntMDocContentTypeVH    as _LglCntntMDocContentTypeVH    on  $projection.LglCntntMDocCntntTypeFilter = _LglCntntMDocContentTypeVH.LglCntntMDocContentType
  association [0..1] to C_LglCntntMDocCntntTypeEditVH  as _LglCntntMDocCntntTypeEditVH  on  $projection.LglCntntMDocContentType                    = _LglCntntMDocCntntTypeEditVH.LglCntntMDocContentType
                                                                                        and _LglCntntMDocCntntTypeEditVH.LglCntntMIsRstrcdDocCntnt = ''
                                                                                        and $projection.LglCntntMProfile                           = _LglCntntMDocCntntTypeEditVH.LglCntntMProfile
  //  association [0..1] to C_LglCntntMParentDocumentVH    as _ParentDocumentVH             on  $projection.LglCntntMParentDocument = _ParentDocumentVH.LglCntntMDocument

  //                                                                                        and _ParentDocumentVH.LegalTransaction  = I_LcmDocument.LegalTransaction

  association [0..1] to C_LcmLanguageValueHelp         as _LanguageValueHelp            on  $projection.LglCntntMLanguage = _LanguageValueHelp.Language

  //  association [0..1] to C_LglCntntMDocStatusValueHelp  as _DocumentStatusValueHelp      on  $projection.InternalDocumentStatus = _DocumentStatusValueHelp.InternalDocumentStatus


  association [1..1] to I_LglCntntMDocLockedReasonText as _LcmDocLockedReason           on  _LcmDocLockedReason.LglCntntMDocLockedReasonCode = $projection.LglCntntMDocLockedReasonCode

  //  association [0..1] to C_LglCntntMSgntrDocStatusVH    as _LglCntntMSgntrDocStatusVH    on  $projection.LglCntntMSignatureDocStatus = _LglCntntMSgntrDocStatusVH.LglCntntMSignatureDocStatus


  //  association [0..1] to C_LglCntntMDocAccLvlVH         as _LglCntntMDocAccLvlVH         on  $projection.LglCntntMDocAccessLvl = _LglCntntMDocAccLvlVH.LglCntntMAccessLvl


  association [0..1] to C_LglCntntMDocAccLvlEditVH     as _LglCntntMDocAccLvlEditVH     on  $projection.LglCntntMDocAccessLvl   = _LglCntntMDocAccLvlEditVH.LglCntntMAccessLvl
                                                                                        and $projection.LglCntntMDocContentType = _LglCntntMDocAccLvlEditVH.LglCntntMDocContentType
                                                                                        and $projection.InternalDocumentStatus  = _LglCntntMDocAccLvlEditVH.InternalDocumentStatus


  association [0..1] to C_LglCntntMGovLawVH            as _LCMGovLawVH                  on  $projection.LglCntntMGovLaw = _LCMGovLawVH.LglCntntMGovLaw
  //Aggregations

  association [1..1] to I_LegalTransactionAggr         as _LegalTransactionAggrgn       on  $projection.LegalTransactionUUID = _LegalTransactionAggrgn.LegalTransactionUUID

  // Templates

  association [1..1] to C_LglCntntMTmplSelVH           as _LglCntntMTmplSelVH           on  $projection.LglCntntMTmplUUID = _LglCntntMTmplSelVH.LglCntntMTmplUUID

  association [0..1] to I_LglCntntMDocAssemblyStsText  as _AssemblyStatusText           on  $projection.LglCntntMDocAssemblyStatus = _AssemblyStatusText.LglCntntMDocAssemblyStatus
                                                                                        and _AssemblyStatusText.Language           = $session.system_language
  // DocuSign

  association [1..1] to C_LglCntntMgmtDOCUSIGNTemplate as _LglCntntMgmtDOCUSIGNTemplate on  $projection.LglCntntMgmtDOCUSIGNTmpl = _LglCntntMgmtDOCUSIGNTemplate.LglCntntMgmtDOCUSIGNTmpl

  association [0..*] to C_LglCntntMgmtDOCUSIGNUsers    as _LglCntntMgmtDOCUSIGNUsers    on  $projection.LglCntntMgmtDOCUSIGNTmpl = _LglCntntMgmtDOCUSIGNUsers.LglCntntMgmtDOCUSIGNTmpl

  //Extension

  association [1..1] to E_LegalDocument                as _LegalDocumentExtension       on  $projection.LglCntntMDocumentUUID = _LegalDocumentExtension.LglCntntMDocumentUUID

  //Important Document

  association [0..1] to C_LglCntntMDocImportantCat     as _LglCntntMDocImportantCat     on  $projection.LglCntntMDocumentUUID = _LglCntntMDocImportantCat.LglCntntMDocumentUUID

  //Main Linked Object Type VH

  association [1..1] to C_LCMLinkedObjectTypeValueHelp as _LinkedObjectTypeValueHelp    on  $projection.LglCntntMMainLinkdObjType = _LinkedObjectTypeValueHelp.LglCntntMLinkdObjType

  association [0..1] to I_LegalTransactionDate         as _LglCntntMDocEffectiveDate    on  $projection.LegalTransactionUUID             = _LglCntntMDocEffectiveDate.LegalTransactionUUID
                                                                                        and _LglCntntMDocEffectiveDate.LglCntntMDateType = 'SAP2'

{
      @UI.hidden: true
      //      @ObjectModel.foreignKey.association

  key LegalDocument.LegalTransaction                                                                            as LegalTransaction,
      @UI.hidden: true
  key LegalDocument.LglCntntMDocumentUUID                                                                       as LglCntntMDocumentUUID,

      @UI.hidden: true
      LegalDocument.LegalTransactionUUID,

      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
      @UI: {
          lineItem: [{ position: 10, importance: #HIGH, label: 'Document'}
                    ],
      //          { qualifier: 'MyInbox', position: 10, importance: #HIGH, label: 'Document'}],

            textArrangement: #TEXT_FIRST
          }
      @ObjectModel: { readOnly: true,
                      mandatory: true,
                      text.element: 'DocumentDescription' }
      @EndUserText.label: 'Document ID'
      @Consumption.semanticObject: 'LegalDocument'
      LegalDocument.LglCntntMDocument                                                                           as LegalDocument,

      //      @UI.lineItem: {qualifier: 'MyInbox', position: 10, importance: #HIGH, label: 'Document'}

      @UI.textArrangement: #TEXT_FIRST
      @ObjectModel: { readOnly: true,
                      mandatory: true,
                      text.element: 'DocumentDescription'
                      }
      @EndUserText.label: 'Document ID'
      @Consumption.filter.hidden: true
      // @Consumption.semanticObject: 'LegalDocument'

      LegalDocument.LglCntntMDocument                                                                           as LegalDocumentMyInboxDisplay,

      //concat('LegalDocument-manage?LegalDocument=', LegalDocument.LglCntntMDocument)                       as  LegalDocumentURL,


      @ObjectModel.readOnly: true
      @Consumption.filter.hidden: true
      @UI.hidden: true
      LegalDocument.LglCntntMDocumentIsTopVersion                                                               as LglCntntMDocumentIsTopVersion,

      @ObjectModel.readOnly: true
      //      @Consumption.filter.hidden: true

      @Semantics.booleanIndicator: true
      //      @UI: {

      //        lineItem: {

      //        //position: 80,

      //        //importance: #HIGH,

      //        label: 'Required' }

      //        }

      @Consumption: {
        valueHelpDefinition: [{ entity: { name : 'C_LCMBooleanValueHelp', element : 'LglCntntMIsChecked' } }],
        filter.selectionType: #SINGLE
        }
      @EndUserText.label: 'Required'
      LegalDocument.LglCntntMIsMandatory                                                                        as LglCntntMIsMandatory,

      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
      @Semantics.text: true
      @EndUserText.label: 'Legal Document - Title'
      @ObjectModel.readOnly: true
      LegalDocument.DocumentDescription                                                                         as DocumentDescription,


      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
      @UI: {
            lineItem: {position: 70, importance: #HIGH, label: 'Parent Document' }, //type: #WITH_INTENT_BASED_NAVIGATION, semanticObjectAction: 'manage' },

            textArrangement: #TEXT_FIRST
        }
      @ObjectModel: {
            readOnly: true,
            text.element: 'LglCntntMParentDocDescription'
      //            foreignKey.association: '_ParentDocumentVH'

      }
      @EndUserText.label: 'Parent Document'
      //      @Consumption.semanticObject: 'LegalDocument'

      LegalDocument.LglCntntMParentDocument                                                                     as LglCntntMParentDocument,

      @UI.hidden: true
      LglCntntMProfile,

      @UI.hidden: true
      LegalDocument.LglCntntMCreatedFromDocUUID                                                                 as LglCntntMCreatedFromDocUUID,

      //      @UI: {

      //            lineItem: {position: 25, importance: #HIGH, label: 'Created From' },

      //            textArrangement: #TEXT_FIRST

      //        }

      @Consumption.semanticObject: 'LegalDocument'
      @Consumption.filter.hidden: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_CRTDFRMDOC_EXIT'
      @ObjectModel: {
            readOnly: true,
            text.element: 'LglCntntMCreatedFromDocDesc'
      }
      @EndUserText.label: 'Created From'
      cast('' as lcm_document_id)                                                                               as LglCntntMCreatedFromDoc,

      @ObjectModel.readOnly: true
      @UI.hidden: true
      @Consumption.filter.hidden: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_CRTDFRMDOC_EXIT'
      cast('' as lcm_description)                                                                               as LglCntntMCreatedFromDocDesc,


      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
      @UI: {
            lineItem: {position: 20, importance: #HIGH, label: 'Governing Law' },
            textArrangement: #TEXT_FIRST,
            hidden: true
        }
      @ObjectModel: {
            readOnly: true,
            text.association: '_LCMGovLawVH'
      }
      @Consumption: { valueHelpDefinition : [{ entity: { name : 'C_LglCntntMGovLawVH', element : 'LglCntntMGovLaw' } }] }
      @EndUserText.label: 'Governing Law'
      @Feature: 'BF:LCM_CONTENTASSEMBLY'
      LegalDocument.LglCntntMGovLaw                                                                             as LglCntntMGovLaw,

      @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
      @EndUserText.label: 'Content Type Text'
      @Semantics.text: true
      @EndUserText.quickInfo: 'Content Type Name'
      _ContentTypeText[1: Language = $session.system_language].LglCntntMDocContentTypeName                      as LglCntntMDocContentTypeName,

      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
      @UI: {
          lineItem : [{ position: 21, importance: #HIGH}],
          textArrangement: #TEXT_ONLY
          }
      @ObjectModel.text.element: ['LglCntntMDocContentTypeName']
      @Consumption.valueHelpDefinition: [
                               {
                                 entity: {
                                           element: 'LglCntntMDocContentType',
                                           name: 'C_LglCntntMDocContentTypeVH'
                                         }
                               }
                            ]
      @EndUserText.label: 'Content Type'
      LegalDocument.LglCntntMDocContentType                                                                     as LglCntntMDocCntntTypeFilter,

      //@Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }

      @UI: {
          textArrangement: #TEXT_ONLY,
          hidden: true
          }
      @ObjectModel: {
          readOnly: true,
          mandatory: true
          }
      @ObjectModel.text.element: ['LglCntntMDocContentTypeName']
      @Consumption.valueHelpDefinition: [
                         {
                           entity: {
                                     element: 'LglCntntMDocContentType',
                                     name: 'C_LglCntntMDocCntntTypeEditVH'
                                   }
                         }
                      ]
      //@EndUserText.label: 'Content Type'

      LegalDocument.LglCntntMDocContentType                                                                     as LglCntntMDocContentType,

      @Feature: 'LCM_DOC_AMENDMENT_TYPE_ENH'
      @ObjectModel:{
        text: {
          element: [ 'LglCntntMDocAmendmentTypeName' ]
        }
      }
      @Consumption: {
        valueHelpDefinition: [{ entity: { name : 'C_LglCntntMDocAmendmentTypeVH', element : 'LglCntntMDocAmendmentType' } }]
        }
      @UI: {
                textArrangement: #TEXT_FIRST
           }
      LegalDocument.LglCntntMDocAmendmentType                                                                   as LglCntntMDocAmendmentType,

      @Feature: 'LCM_DOC_AMENDMENT_TYPE_ENH'
      @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
      @Semantics.text: true
      @ObjectModel.readOnly: true
      @Consumption.filter.hidden: true
      _LglCntntMDocAmendmentTypeTxt[1: Language = $session.system_language].LglCntntMDocAmendmentTypeName       as LglCntntMDocAmendmentTypeName,

      @Feature: 'LCM_DOCUMENT_SIGNATURE_ENH'
      @ObjectModel:{
        text: {
          element: [ 'LglCntntMSgntrPreferenceText' ]
        }
      }
      @Consumption: {
        valueHelpDefinition: [{ entity: { name : 'C_LglCntntMSgntrPrefVH', element : 'LglCntntMSgntrPreference' } }]
        }
      @UI: {
                textArrangement: #TEXT_FIRST
           }
      LegalDocument.LglCntntMSgntrPreference                                                                    as LglCntntMSgntrPreference,

      @Feature: 'LCM_DOCUMENT_SIGNATURE_ENH'
      @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
      @Semantics.text: true
      @ObjectModel.readOnly: true
      @Consumption.filter.hidden: true
      @EndUserText.label: 'Signature Preference Text'
      _LglCntntMSgntrPreferenceText[1: Language = $session.system_language].LglCntntMSgntrPreferenceText        as LglCntntMSgntrPreferenceText,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      @Consumption.filter.hidden: true
      _LglCntntMDocContentTypeVH.LglCntntMIsRstrcdDocCntnt                                                      as LglCntntMIsRstrcdDocCntnt,

      @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
      @EndUserText.label: 'Access Level Text'
      @EndUserText.quickInfo: 'Access Level Name'
      @Semantics.text: true
      _AccessLvlText[1: Language = $session.system_language].LglCntntMAccessLvlName                             as LglCntntMAccessLvlName,

      //      @UI: {lineItem : [{ position: 40, importance: #HIGH, label: 'Access Level'}] , textArrangement: #TEXT_ONLY }

      @ObjectModel.text.element: ['LglCntntMAccessLvlName']
      @ObjectModel.readOnly: true
      @EndUserText.label: 'Access Level'
      @Consumption: { valueHelpDefinition : [{ entity: { name : 'C_LglCntntMDocAccLvlVH', element : 'LglCntntMAccessLvl' } }] }
      LglCntntMDocAccessLvl,

      @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
      @EndUserText.label: 'Type Of Paper Text'
      @EndUserText.quickInfo: 'Type Of Paper Text'
      @Semantics.text: true
      @UI.hidden: true
      LegalDocument._LglCntntMDocPaperTypeTxt[1: Language = $session.system_language].LglCntntMDocPaperTypeName as LglCntntMDocPaperTypeName,

      @UI.textArrangement: #TEXT_ONLY
      //@UI: {lineItem : [{ position: 145, importance: #LOW, label: 'Type Of Paper'}] }

      @ObjectModel.text.element: ['LglCntntMDocPaperTypeName']
      @ObjectModel.readOnly: true
      @EndUserText.label: 'Type Of Paper'
      @Consumption: { valueHelpDefinition : [{ entity: { name : 'C_LglCntntMDocPaperTypeVH', element : 'LglCntntMDocPaperType' } }] }
      LegalDocument.LglCntntMDocPaperType                                                                       as LglCntntMDocPaperType,

      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
      @UI: {lineItem : [{ position: 25, importance: #HIGH, label: 'Language'}] , textArrangement: #TEXT_FIRST }
      @EndUserText.label: 'Language'
      @ObjectModel.text.association: '_LanguageText'
      @Consumption.valueHelp: '_LanguageValueHelp'
      LegalDocument.LglCntntMLanguage                                                                           as LglCntntMLanguage,

      // @UI.lineItem : [{ position: 45, importance: #HIGH , label: 'Last Changed On' }]

      //      { qualifier: 'MyInbox', position: 50, importance: #HIGH , label: 'Last Changed On'}]

      @ObjectModel.readOnly: true
      @Semantics.systemDate.lastChangedAt: true
      @EndUserText.label: 'Last Changed On'
      LegalDocument.LglCntntMChangedUTCDateTime                                                                 as LglCntntMChangedUTCDateTime,

      @ObjectModel.readOnly: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_STS_CRITCALITY_EXIT'
      @UI.hidden: true
      0                                                                                                         as LglCntntMDocStsCriticality,


      @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
      @EndUserText.label: 'Status Text'
      @Semantics.text: true
      @EndUserText.quickInfo: 'Document Status Name'
      _DocStatusText[1: Language = $session.system_language].LglCntntMDocStatusName                             as LglCntntMDocStatusName,

      @UI: {
         lineItem: [{
                      //position: 70,

                      position: 60,
                      criticality: 'LglCntntMDocStsCriticality',
                      criticalityRepresentation: #WITHOUT_ICON,
                      importance: #HIGH,
                      label: 'Status'
                   }],
         textArrangement: #TEXT_ONLY
         }
      @ObjectModel.readOnly: true
      @Consumption.valueHelpDefinition: [
               {
                 entity: {
                           element: 'InternalDocumentStatus',
                           name: 'C_LglCntntMDocStatusValueHelp'
                         }
               }
            ]
      @ObjectModel.text.element: ['LglCntntMDocStatusName']
      LegalDocument.InternalDocumentStatus                                                                      as InternalDocumentStatus,

      @Consumption: {
        valueHelpDefinition: [{ entity: { name : 'C_LglCntntMDocumentKindVH', element : 'LglCntntMDocumentKind' } }]
        }
      @ObjectModel.readOnly: true
      @EndUserText.label: 'Document Kind'
      @UI: {
       lineItem: {position: 20, importance: #HIGH, label: 'Document Kind' },
                textArrangement: #TEXT_FIRST
           }
      @ObjectModel.text.element: ['LglCntntMDocumentKindText']
      LegalDocument.LglCntntMDocumentKind,

      @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
      @EndUserText.label: 'Document Kind Text'
      @Semantics.text: true
      @ObjectModel.readOnly: true
      @Consumption.filter.hidden: true
      @EndUserText.quickInfo: 'Document Kind Text'
      _DocumentKindText[1: Language = $session.system_language].LglCntntMDocumentKindText                       as LglCntntMDocumentKindText,

      @ObjectModel.readOnly: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_STS_CRITCALITY_EXIT'
      @UI.hidden: true
      0                                                                                                         as LglCntntMDocAssemblyStsCritlty,

      @UI: {
         lineItem: [{ position: 65,
                      criticality: 'LglCntntMDocAssemblyStsCritlty',
                      criticalityRepresentation: #WITHOUT_ICON,
                      importance: #HIGH,
                      label: 'Assembly Status'
                   }],
         textArrangement: #TEXT_ONLY
         }
      @ObjectModel: {
          readOnly: true ,
          text.association: '_AssemblyStatusText'
          }
      @Consumption: { valueHelpDefinition : [{ entity: { name : 'C_LglCntntMDocAssemblyStsVH', element : 'LglCntntMDocAssemblyStatus' } }] }
      @Feature: 'BF:LCM_CONTENTASSEMBLY'
      //LegalDocument.LglCntntMDocAssemblyStatus                                                                    as  LglCntntMDocAssemblyStatus,

      LegalDocument._LglCntntMDocAssemblyInfo.LglCntntMDocAssemblyStatus                                        as LglCntntMDocAssemblyStatus,


      @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
      @EndUserText.label: 'Signature Status Text'
      @Semantics.text: true
      @ObjectModel.readOnly: true
      @EndUserText.quickInfo: 'Signature Status Name'
      _SgntrDocStatusText[1: Language = $session.system_language].LglCntntMSgntrDocStatusName                   as LglCntntMSgntrDocStatusName,

      @UI: {
         //lineItem: [{ position: 60, importance: #HIGH, hidden: #(LglCntntMSgntrIsDisabled), label: 'e-Signature Status' }],

      //         lineItem: [{ position: 70, importance: #HIGH, hidden: #(LglCntntMSgntrIsDisabled), label: 'Signature Status' }],

      //  textArrangement: #TEXT_ONLY  }

         lineItem: [{ position: 70, importance: #HIGH, label: 'Signature Status' }], textArrangement: #TEXT_ONLY  }
      @ObjectModel: {
                   text.element:  [ 'LglCntntMSgntrDocStatusName' ]
          }
      @EndUserText.label: 'Signature Status'
      @Consumption: { valueHelpDefinition : [{ entity: { name : 'C_LglCntntMSgntrDocStatusVH', element : 'LglCntntMSignatureDocStatus' } }] }
      @Semantics.text: true
      LglCntntMSignatureDocStatus,

      @Feature: 'SW:LCM_ICRTS_SWITCH'
      @ObjectModel.readOnly: true
      @ObjectModel.text.element: ['LglCntntMDocAgrmtBizStatusText']
      @Consumption.filter.hidden: true
      @EndUserText.label: 'External Contract Status'
      @UI: {
         lineItem: [{ //position: 66,

                      criticality: 'LglCntntMDocAgrmtBizStsCritlty',
                      criticalityRepresentation: #WITHOUT_ICON
      //                      //importance: #HIGH

                   }],
         textArrangement: #TEXT_ONLY
         }
      _LglCntntMDocAgreementTP.LglCntntMDocAgrmtBizStatus                                                       as LglCntntMDocAgrmtBizStatus,

      @Feature: 'SW:LCM_ICRTS_SWITCH'
      @Consumption.filter.hidden: true
      @UI.hidden: true
      @ObjectModel.readOnly: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_ICRTS_AGRMT_CALC_EXIT'
      cast ( '' as lcm_doc_agrmt_biz_status_text )                                                              as LglCntntMDocAgrmtBizStatusText,

      @Feature: 'SW:LCM_ICRTS_SWITCH'
      @ObjectModel.readOnly: true
      @Consumption.filter.hidden: true
      @UI.hidden: true
      _LglCntntMDocAgreementTP.LglCntntMDocAgrmtCoreStatus                                                      as LglCntntMDocAgrmtCoreStatus,
//      @Feature: 'SW:LCM_ICRTS_SWITCH'

      @ObjectModel.readOnly: true
      @Consumption.filter.hidden: true
      @UI.hidden: true
      _LglCntntMDocAgreementTP.LglCntntMAgreementSystemID                                                       as LglCntntMAgreementSystemID,
//      @Feature: 'SW:LCM_ICRTS_SWITCH'

      @ObjectModel.readOnly: true
      @Consumption.filter.hidden: true
      @UI.hidden: true
      _LglCntntMDocAgreementTP.LglCntntMContractTypeName                                                        as LglCntntMContractTypeName,
      //      @Feature: 'SW:LCM_ICRTS_SWITCH'

      @ObjectModel.readOnly: true
      @Consumption.filter.hidden: true
      @UI.hidden: true
      _LglCntntMDocAgreementTP.LglCntntMLogHandler                                                              as LglCntntMLogHandler,

      @Feature: 'SW:LCM_ICRTS_SWITCH'
      @ObjectModel: {
            readOnly: true,
            virtualElement: true,
            virtualElementCalculatedBy: 'CL_LCM_ICRTS_AGRMT_CALC_EXIT'
      }
      @Consumption.filter.hidden: true
      @EndUserText.label: 'External Contract Name'
      cast( '' as lcm_description )                                                                             as LglCntntMAgreementName,

      @Feature: 'SW:LCM_ICRTS_SWITCH'
      @ObjectModel: {
           readOnly: true,
           virtualElement: true,
           virtualElementCalculatedBy: 'CL_LCM_ICRTS_AGRMT_CALC_EXIT'
          }
      @UI.hidden: true
      cast ( 0 as int1 )                                                                                        as LglCntntMDocAgrmtBizStsCritlty,

      @Feature: 'SW:LCM_ICRTS_SWITCH'
      @Consumption: {
        valueHelpDefinition: [
          {
            entity: { name : 'C_LglCntntMMainLinkdObjTypeVH', element : 'LglCntntMMainLinkdObjType' },
            additionalBinding: [{ element: 'LegalTransaction', localElement: 'LegalTransaction', usage: #FILTER_AND_RESULT }]
          }
        ]
        }
      //      @ObjectModel: {

      //          readOnly: 'EXTERNAL_CALCULATION',

      //          enabled: 'EXTERNAL_CALCULATION'

      //      }

      @EndUserText.label: 'Main Linked Object Type'
      @ObjectModel.text.element: ['LglCntntMMainLinkdObjTypeName']
      LglCntntMMainLinkdObjType                                                                                 as LglCntntMMainLinkdObjType,

      @Feature: 'SW:LCM_ICRTS_SWITCH'
      @Semantics.text: true
      @ObjectModel.readOnly: true
      @UI.hidden: true
      _LinkedObjectTypeValueHelp.LglCntntMLinkdObjTypeName                                                      as LglCntntMMainLinkdObjTypeName,

      @Consumption: { valueHelp : '_LglCntntMgmtDOCUSIGNTemplate' }
      @UI.hidden: true
      cast('1' as abap.char(256) )                                                                              as LglCntntMgmtDOCUSIGNTmpl,

      _LegalTransactionAggrgn.LglCntntMSgntrIsDisabled                                                          as LglCntntMSgntrIsDisabled,

      @UI.hidden: true
      _LegalTransactionAggrgn.LglCntntMDocSuppdSignatureType                                                    as LglCntntMDocSuppdSignatureType,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      @Semantics.booleanIndicator: true
      @Consumption.filter.hidden: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_CREATE_BTN_VIS_EXIT'
      cast('' as abap.char( 1 ))                                                                                as LglCntntMDocCreateEnabled,

      //      Document Object Links

      @UI.hidden: true
      @ObjectModel.readOnly: true
      LegalDocument.LglCntntMDocumentLinkedObject                                                               as LglCntntMDocumentLinkedObject,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      LegalDocument.LglCntntMDocumentLinkedObjKey                                                               as LglCntntMDocumentLinkedObjKey,


      @Feature: 'LCM_DOCUMENT_ENH'
      LegalDocument.LglCntntMDocEffectiveFromDate                                                               as LglCntntMDocEffectiveFromDate,

      @Feature: 'LCM_DOCUMENT_ENH'
      @ObjectModel.readOnly: true
      @EndUserText.label: 'Effective To'
      _LglCntntMDocEffectiveDate.LglCntntMFromDate                                                              as LglCntntMDocEffectiveToDate,


      @ObjectModel.readOnly: true
      @UI.hidden: true
      LegalDocument.LglCntntMDocType                                                                            as LglCntntMDocType,

      @UI.hidden: true
      LegalDocument.LglCntntMTmplUUID                                                                           as LglCntntMTmplUUID,

      @ObjectModel.readOnly: true
      @Semantics.text: true
      @Consumption.filter.hidden: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_COMMON_CALC_EXIT'
      @UI.hidden: true
      cast ('' as is_cloud_system )                                                                             as IsCloudSystem,

      @UI.hidden: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_FETCH_DMS_FIELDS'
      cast( '' as abap.char(200) )                                                                              as FileName,
      @ObjectModel.readOnly: true
      @Consumption.filter.hidden: true
      @EndUserText.label: 'Mime Type'
      @UI.hidden: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_FETCH_DMS_FIELDS'
      cast( '' as abap.char(128) )                                                                              as MimeType,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_FETCH_DMS_FIELDS'
      cast( '' as dokar )                                                                                       as DocumentInfoRecordDocType,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_FETCH_DMS_FIELDS'
      cast( '' as abap.char(25) )                                                                               as DocumentInfoRecordDocNumber,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_FETCH_DMS_FIELDS'
      cast( '' as abap.char(3) )                                                                                as DocumentInfoRecordDocPart,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_FETCH_DMS_FIELDS'
      cast( '' as abap.char(2) )                                                                                as DocumentInfoRecordDocVersion,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_FETCH_DMS_FIELDS'
      cast( '' as abap.char(32) )                                                                               as LogicalDocument,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_FETCH_DMS_FIELDS'
      cast( '' as abap.char(32) )                                                                               as PhysicalDocument,

      @ObjectModel.readOnly: true
      @UI.hidden: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_FETCH_DMS_FIELDS'
      cast( '' as sysuuid_c )                                                                                   as FileUUID,

      // Field to set the Content Creation Scenario Buttons

      @ObjectModel.readOnly: true
      @UI.hidden: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_CNTNT_CRTN_VIS_EXIT'
      cast('' as abap.char( 1 ))                                                                                as LglCntntMDocCntntCrtnScen,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      @Consumption.filter.hidden: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_BUTTON_VIS_EXIT'
      cast('' as abap.char( 1 ))                                                                                as LglCntntMDocContentSource,
      @ObjectModel.readOnly: true
      @UI.hidden: true
      @Consumption.filter.hidden: true
      LegalDocument.LglCntntMVirtualDocVersKey                                                                  as LglCntntMVirtualDocVersKey,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      @Semantics.text: true
      @Consumption.filter.hidden: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_FETCH_VD_FIELDS'
      cast( '' as abap.char(255) )                                                                              as LglCntntMVirtualDocDownloadURL,

      _LCMDocInfoRecord,

      //      @Consumption.filter.hidden: true

      //      _ParentDocumentVH,

      //

      //      @Consumption.filter.hidden: true

      //      @ObjectModel.readOnly: true

      //      _ParentDocumentVH.DocumentDescription                              as LglCntntMParentDocDescription,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      @Consumption.filter.hidden: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_PARENTDOC_EXIT'
      cast ( '' as lcm_description )                                                                            as LglCntntMParentDocDescription,

      @ObjectModel.readOnly: true
      @UI.hidden: true
      ''                                                                                                        as LglCntntMDocEditEnabled,
      @UI.hidden: true
      LegalDocument.LglCntntMAgingTemperature                                                                   as LglCntntMAgingTemperature,

      @UI.hidden: true
      LegalDocument.LglCntntMVirtualDocSyncSts                                                                  as LglCntntMVirtualDocSyncSts,

      @UI.textArrangement: #TEXT_ONLY
      @ObjectModel.readOnly: true
      @ObjectModel.text.element: ['LglCntntMDocRefreshStatusText'] // Calculated because NULL <> ''

      @Semantics.text: true
      @EndUserText.label: 'Content Refresh'
      @Feature: 'BF:LCM_CONTENTASSEMBLY, SW:LCM_ICRTS_SWITCH'
      LegalDocument.LglCntntMDocRefreshStatus,

      @Feature: 'BF:LCM_CONTENTASSEMBLY, SW:LCM_ICRTS_SWITCH'
      @ObjectModel.readOnly: true
      @Consumption.filter.hidden: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_RFRSH_STS_TXT_EXIT'
      @UI.hidden: true
      cast ( '' as val_text )                                                                                   as LglCntntMDocRefreshStatusText,

      @UI.textArrangement: #TEXT_ONLY
      @ObjectModel.text.association: '_LglCntntMDocLowTouchLvlTxt'
      @ObjectModel.readOnly: true
      @Semantics.text: true
      @Consumption.filter.hidden: true
      @EndUserText.label: 'Assembly Automation Level'
      @Feature: 'BF:LCM_CONTENTASSEMBLY'
      LegalDocument.LglCntntMDocLowTouchLevel                                                                   as LglCntntMDocLowTouchLevel,

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

      @UI.hidden: true
      @ObjectModel.readOnly: true
      // Property is required for VH during WF start. VH should not display collaboration documents.

      // The ReasonCode cannot be used in association as it will remove all records that are not locked

      cast ( case when LglCntntMDocLockedReasonCode = '03' then 'X'
          else ''  end as  abap_boolean preserving type )                                                       as LglCntntMDocIsLockedForCollabn,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      @Consumption.filter.hidden: true
      _LcmDocLockedReason.LglCntntMDocLockedReasonText,

      @UI: {
          lineItem: [{ position: 140, importance: #MEDIUM, label: 'Important', exclude: true }],
          textArrangement: #TEXT_ONLY
          }
      //Document Important feature is not shipped yet. Remove @UI.hidden: true when releasing this feature

      //No other changes is required to activate this feature apart from removing @UI.hidden: true

      //      @UI.hidden: true

      @ObjectModel.readOnly: true
      @ObjectModel.virtualElement: true
      @ObjectModel.text.element: ['LglCntntMDocImportantTxt']
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_IS_IMPORT_CALC_EXIT'
      @ObjectModel.filter.transformedBy: 'CL_LCM_DOC_IS_IMPORT_CALC_EXIT'
      @ObjectModel.sort.transformedBy: 'CL_LCM_DOC_IS_IMPORT_CALC_EXIT'
      @EndUserText.label: 'Important'
      @Consumption: {
                       valueHelpDefinition        : [{ entity: { name : 'C_LglCntntMDocImportantVH', element : 'LglCntntMDocImportant' } }]
                     }
      cast( '' as lcm_doc_important )                                                                           as LglCntntMDocImportant,

      @ObjectModel.readOnly: true
      //@Consumption.filter.hidden: true

      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_DOC_IS_IMPORT_CALC_EXIT'
      @UI.hidden: true
      cast ( '' as val_text )                                                                                   as LglCntntMDocImportantTxt,

      @ObjectModel: {
                virtualElement: true,
                virtualElementCalculatedBy: 'ABAP:CL_LCM_TSK_ATTDOC_CALC_EXIT',
                readOnly: true
                }
      @EndUserText.label: 'Part of Active Workflow'
      cast( '' as abap_boolean )                                                                                as LglCntntMDocIsPartOfWorkflow,

      //      Value Helps

      _LglCntntMDocContentTypeVH,
      _LglCntntMDocCntntTypeEditVH,
      _LanguageValueHelp,
      _LglCntntMDocAccLvlEditVH,
      @Consumption.filter.hidden: true
      _LinkedObjectTypeValueHelp,
      @Consumption.filter.hidden: true
      _AccessLvlText,
      @Consumption.filter.hidden: true
      _ContentTypeText,
      @Consumption.filter.hidden: true
      _LanguageText,
      @Consumption.filter.hidden: true
      _DocStatusText,
      @Consumption.filter.hidden: true
      _AssemblyStatusText,
      @Consumption.filter.hidden: true
      _LCMGovLawVH,

      @Consumption.filter.hidden: true
      _LglCntntMTmplSelVH,
      @Consumption.filter.hidden: true
      _LglCntntMgmtDOCUSIGNTemplate,
      @Consumption.filter.hidden: true
      _LglCntntMgmtDOCUSIGNUsers,

      @Consumption.filter.hidden: true
      _LglCntntMDocLowTouchLvlTxt,

      //Authorization

      @UI.hidden: true
      _DocumentAuth,

      //Association Important Document

      @Consumption.filter.hidden: true
      _LglCntntMDocImportantCat
}
where
  LglCntntMDocIsToBeDeleted = ' '