C_LegalTrLinkedObjectsTP

DDL: C_LEGALTRLINKEDOBJECTSTP SQL: CLGLTRLINKOBJTP Type: view CONSUMPTION

Legal Transaction Linked Objects

C_LegalTrLinkedObjectsTP is a Consumption CDS View that provides data about "Legal Transaction Linked Objects" in SAP S/4HANA. It reads from 1 data source (I_LegalTrLinkedObjectsTP) and exposes 21 fields with key field LegalTransactionLinkdObjUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_LegalTrLinkedObjectsTP LinkedObject from

Associations (3)

CardinalityTargetAliasCondition
[1..1] C_LegalTransactionTP _LegalTransactionTP $projection.LegalTransactionUUID = _LegalTransactionTP.LegalTransactionUUID
[0..1] C_LCMLinkedObjectTypeValueHelp _LinkedObjectTypeValueHelp $projection.LglCntntMLinkdObjType = _LinkedObjectTypeValueHelp.LglCntntMLinkdObjType
[0..1] C_LglCntntMLinkedObjVH _LglCntntMLinkedObjVH $projection.LglCntntMLinkdObj = _LglCntntMLinkedObjVH.LglCntntMLinkdObj and $projection.LglCntntMLinkdObjType = _LglCntntMLinkedObjVH.LglCntntMLinkdObjType

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName CLGLTRLINKOBJTP view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Legal Transaction Linked Objects view
VDM.viewType #CONSUMPTION view
ObjectModel.semanticKey LegalTransactionLinkdObjUUID view
ObjectModel.representativeKey LegalTransactionLinkdObjUUID view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
UI.headerInfo.typeName Linked Object view
UI.headerInfo.typeNamePlural Linked Objects view
UI.headerInfo.title.value LglCntntMLinkdObj view
UI.headerInfo.description.value LglCntntMLinkdObjTypeName view
Search.searchable true view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY LegalTransactionLinkdObjUUID I_LegalTrLinkedObjectsTP LegalTransactionLinkdObjUUID
LglCntntMLinkdObjType I_LegalTrLinkedObjectsTP LglCntntMLinkdObjType Linked Object Type
LglCntntMLinkdObjTypeName _LinkedObjectTypeValueHelp LglCntntMLinkdObjTypeName
LglCntntMLinkdObj I_LegalTrLinkedObjectsTP LglCntntMLinkdObj Linked Object
LglCntntMLinkdObjName Linked Object Description
LglCntntMLinkdObjTechType _LinkedObjectTypeValueHelp LglCntntMLinkdObjTechType
LglCntntMLinkdObjTechCat _LinkedObjectTypeValueHelp LglCntntMLinkdObjTechCat
LglCntntMSemanticObject _LinkedObjectTypeValueHelp LglCntntMSemanticObject
LglCntntMSemanticObjectAttrib _LinkedObjectTypeValueHelp LglCntntMSemanticObjectAttrib
LglCntntMIntentAction _LinkedObjectTypeValueHelp LglCntntMIntentAction
LglCntntMIsMandatory Required
LegalTransactionMandatoryFlag I_LegalTrLinkedObjectsTP LegalTransactionMandatoryFlag
LglCntntMIsIntegRelevant I_LegalTrLinkedObjectsTP LglCntntMIsIntegRelevant Integrated
LegalTransactionIsTriggerObj I_LegalTrLinkedObjectsTP LegalTransactionIsTriggerObj
LegalTransactionUUID I_LegalTrLinkedObjectsTP LegalTransactionUUID
LegalTransaction _LegalTransaction LegalTransaction
IsCloudSystem
_LegalTransactionTP _LegalTransactionTP
_LegalTransaction _LegalTransaction
_LinkedObjectTypeValueHelp _LinkedObjectTypeValueHelp
_LglCntntMLinkedObjVH _LglCntntMLinkedObjVH
@AbapCatalog.sqlViewName: 'CLGLTRLINKOBJTP'
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE

@EndUserText.label: 'Legal Transaction Linked Objects'

@VDM.viewType: #CONSUMPTION

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

                transactionalProcessingDelegated: true,

                createEnabled: true,
                updateEnabled: true,
                deleteEnabled: 'EXTERNAL_CALCULATION',

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

                delegatedAction: [
                                    // Action that are called directly in UI using breakouts

                                  { name: 'DETERMINE_URL_FOR_EXT_LNKD_OBJ',        exposureName: 'DetermineURLForExtLinkdObj'      }
                                 ]

              }

//@Metadata.ignorePropagatedAnnotations: true


@UI.headerInfo:{
  typeName: 'Linked Object',
  typeNamePlural: 'Linked Objects',
  title: { value: 'LglCntntMLinkdObj' },
  description: { value: 'LglCntntMLinkdObjTypeName' }
}
@UI:
{
  presentationVariant:
  {
    requestAtLeast: ['LegalTransactionUUID']
    }
}
@Search.searchable: true

define view C_LegalTrLinkedObjectsTP
  as select from I_LegalTrLinkedObjectsTP as LinkedObject
  association [1..1] to C_LegalTransactionTP           as _LegalTransactionTP        on  $projection.LegalTransactionUUID = _LegalTransactionTP.LegalTransactionUUID
  //Value Helps

  association [0..1] to C_LCMLinkedObjectTypeValueHelp as _LinkedObjectTypeValueHelp on  $projection.LglCntntMLinkdObjType = _LinkedObjectTypeValueHelp.LglCntntMLinkdObjType
  association [0..1] to C_LglCntntMLinkedObjVH         as _LglCntntMLinkedObjVH      on  $projection.LglCntntMLinkdObj     = _LglCntntMLinkedObjVH.LglCntntMLinkdObj
                                                                                     and $projection.LglCntntMLinkdObjType = _LglCntntMLinkedObjVH.LglCntntMLinkdObjType

{
      @UI.facet: [
              { label:'General Information',
                 id:'GeneralInformation',
                 type: #COLLECTION,
                 isSummary,
                 position: 10
               },
                 {
                   label: 'General Information',
                   id: 'MyInbox_BasicData',
                   parentId: 'GeneralInformation',
                   type: #FIELDGROUP_REFERENCE,
                   position: 10,
                   targetQualifier: 'MyInbox_BasicData'
                 } ]


      @UI.hidden : true
  key LinkedObject.LegalTransactionLinkdObjUUID,

      @UI: {
            identification:{position: 10, importance: #HIGH },
            lineItem: [{position: 10, importance: #HIGH },
            {qualifier: 'MyInbox', position: 10, importance: #HIGH, label: 'Linked Object Type' }],
            textArrangement: #TEXT_ONLY
           }
      @UI.fieldGroup: [{qualifier: 'MyInbox_BasicData', groupLabel : 'Basic Data', position: 10}]
      @ObjectModel.text.element: 'LglCntntMLinkdObjTypeName'
      @Consumption.valueHelp: '_LinkedObjectTypeValueHelp'
      @Semantics.text: true
      @EndUserText.label: 'Linked Object Type'
      @ObjectModel.mandatory: true
      @ObjectModel.readOnly: 'EXTERNAL_CALCULATION'
      LinkedObject.LglCntntMLinkdObjType,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      @Semantics.text: true
      _LinkedObjectTypeValueHelp.LglCntntMLinkdObjTypeName     as LglCntntMLinkdObjTypeName,

      @UI: {
      //            identification:{position: 20, importance: #HIGH, label: 'Object ID'}

                  lineItem: {qualifier: 'MyInbox',position: 20, importance: #HIGH, label: 'Linked Object'}
           }
      @UI.fieldGroup: [{qualifier: 'MyInbox_BasicData', groupLabel : 'Basic Data', position: 20}]

      //      @Consumption.semanticObject: 'LglCntntMLinkdObj'

      @UI.textArrangement: #TEXT_FIRST
      @EndUserText.label: 'Linked Object'
      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
      @Consumption.valueHelp: '_LglCntntMLinkedObjVH'
      @ObjectModel.text.element: ['LglCntntMLinkdObjName']
      LinkedObject.LglCntntMLinkdObj,

      @ObjectModel.readOnly: true
      @Semantics.text: true
      @EndUserText.label: 'Linked Object Description'
      @UI: {  identification: {position: 25, importance: #HIGH } }
      @Consumption.filter.hidden: true
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_LINKEDOBJ_DESCR'
      @UI.hidden: true
      cast ('' as lcm_linkedobject_name )                      as LglCntntMLinkdObjName,

      @UI.hidden: true
      @ObjectModel.readOnly : true
      _LinkedObjectTypeValueHelp.LglCntntMLinkdObjTechType,

      @UI.hidden: true
      //      @ObjectModel.readOnly: true

      _LinkedObjectTypeValueHelp.LglCntntMLinkdObjTechCat      as LglCntntMLinkdObjTechCat,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      _LinkedObjectTypeValueHelp.LglCntntMSemanticObject       as LglCntntMSemanticObject,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      _LinkedObjectTypeValueHelp.LglCntntMSemanticObjectAttrib as LglCntntMSemanticObjectAttrib,

      @UI.hidden: true
      @ObjectModel.readOnly: true
      _LinkedObjectTypeValueHelp.LglCntntMIntentAction         as LglCntntMIntentAction,

      @UI: {
            identification:{position: 30, importance: #HIGH, label: 'Required'},
            lineItem: [{position: 30, importance: #HIGH, label: 'Required'}]
           }
      @ObjectModel.mandatory: true
      @ObjectModel.readOnly: true
      @EndUserText.label: 'Required'
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'CL_LCM_LT_REQUIRED_FLAG_EXIT'
      @Semantics.booleanIndicator: true
      ''                                                       as LglCntntMIsMandatory,
      //      cast( I_LegalTrLinkedObjectsTP.LegalTransactionMandatoryFlag as lcm_lt_mandatory_ctrl_to_bool preserving type ) as LglCntntMIsMandatory,


      @ObjectModel.readOnly: true
      LinkedObject.LegalTransactionMandatoryFlag,

      //      @UI.hidden: true

      @UI: {
              identification:{position: 40, importance: #HIGH, label: 'Integrated'},
              lineItem: {position: 40, importance: #HIGH, label: 'Integrated'}
           }
      @ObjectModel.readOnly: true
      @EndUserText.label: 'Integrated'
      @Feature: 'BF:LCM_BOINTEGRATION'
      LinkedObject.LglCntntMIsIntegRelevant                    as LglCntntMIsIntegRelevant,


      @UI: {
              identification:{position: 50, importance: #HIGH},
              lineItem: {position: 50, importance: #HIGH}
           }
      @ObjectModel.readOnly: true
      LinkedObject.LegalTransactionIsTriggerObj                as LegalTransactionIsTriggerObj,

      @UI.hidden : true
      @ObjectModel.readOnly: true
      LinkedObject.LegalTransactionUUID,

      @UI.hidden : true
      @ObjectModel.readOnly: true
      _LegalTransaction.LegalTransaction,

//      @UI.hidden: true

//      @ObjectModel.readOnly: true

//      _LegalTransactionTP.LglCntntMProfile,


      @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,


      @ObjectModel.association.type:  [ #TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT ]
      _LegalTransactionTP,

      _LegalTransaction,

      _LinkedObjectTypeValueHelp,

      _LglCntntMLinkedObjVH



}