C_DocumentInfoRecordObjLinkTP

DDL: C_DOCUMENTINFORECORDOBJLINKTP SQL: CDOCINFRECOBJ Type: view CONSUMPTION

Document Info Record Object Link TP

C_DocumentInfoRecordObjLinkTP is a Consumption CDS View that provides data about "Document Info Record Object Link TP" in SAP S/4HANA. It reads from 1 data source (I_DocumentInfoRecordObjLinkTP) and exposes 24 fields with key fields DocumentInfoRecordDocType, DocumentInfoRecordDocNumber, DocumentInfoRecordDocVersion, DocumentInfoRecordDocPart, LinkedSAPObject. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_DocumentInfoRecordObjLinkTP I_DocumentInfoRecordObjLinkTP from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_DocumentInfoRecordTP _DocInfo $projection.DocumentInfoRecordDocType = _DocInfo.DocumentInfoRecordDocType and $projection.DocumentInfoRecordDocNumber = _DocInfo.DocumentInfoRecordDocNumber and $projection.DocumentInfoRecordDocVersion = _DocInfo.DocumentInfoRecordDocVersion and $projection.DocumentInfoRecordDocPart = _DocInfo.DocumentInfoRecordDocPart
[1..1] I_DocumentInfoRecordObjLinkVH _ObjLinkVH $projection.DocumentInfoRecordDocType = _ObjLinkVH.DocumentInfoRecordDocType and $projection.LinkedSAPObject = _ObjLinkVH.LinkedSAPObject

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CDOCINFRECOBJ view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Document Info Record Object Link TP view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.transactionalProcessingDelegated true view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY DocumentInfoRecordDocType DocumentInfoRecordDocType
KEY DocumentInfoRecordDocNumber DocumentInfoRecordDocNumber
KEY DocumentInfoRecordDocVersion DocumentInfoRecordDocVersion
KEY DocumentInfoRecordDocPart DocumentInfoRecordDocPart
KEY LinkedSAPObject LinkedSAPObject
KEY LinkedSAPObjectKey LinkedSAPObjectKey
KEY DocObjectLinkCounter DocObjectLinkCounter
ObjectDescription
CreationDateTime CreationDateTime
CreatedByUser CreatedByUser
ChangedDateTime ChangedDateTime
LastChangedByUser LastChangedByUser
DocInfoRecdAdditionalObjectKey DocInfoRecdAdditionalObjectKey
DocInfoRecdIsMarkedForDeletion DocInfoRecdIsMarkedForDeletion
DocInfoRecdLinkStatus DocInfoRecdLinkStatus
DocInfoRecdLongTextUUID DocInfoRecdLongTextUUID
DocInfoRecdObjectLinkStatus DocInfoRecdObjectLinkStatus
DocLinkDirectionIsActive DocLinkDirectionIsActive
IsDocInfoRecdCreatedFromCAD IsDocInfoRecdCreatedFromCAD
IsDefaultDocument IsDefaultDocument
ObjectTypeDatabaseTable ObjectTypeDatabaseTable
IsArchived IsArchived
_ObjLinkVH _ObjLinkVH
_DocInfo _DocInfo
@AbapCatalog.sqlViewName: 'CDOCINFRECOBJ'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Document Info Record Object Link TP'

@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@ObjectModel: { createEnabled: true,
                updateEnabled: true,
                deleteEnabled: true,
//                semanticKey:  'DocumentInfoRecordDocPart',

//                representativeKey: 'DocumentInfoRecordDocPart',

                usageType.dataClass: #MIXED,
                usageType.serviceQuality: #C,
                usageType.sizeCategory: #L,
                transactionalProcessingDelegated: true }
                
@UI.presentationVariant.requestAtLeast: ['IsArchived','DocInfoRecdIsMarkedForDeletion']

define view C_DocumentInfoRecordObjLinkTP
  as select from I_DocumentInfoRecordObjLinkTP


  association [1..1] to C_DocumentInfoRecordTP        as _DocInfo   on  $projection.DocumentInfoRecordDocType    = _DocInfo.DocumentInfoRecordDocType
                                                                    and $projection.DocumentInfoRecordDocNumber  = _DocInfo.DocumentInfoRecordDocNumber
                                                                    and $projection.DocumentInfoRecordDocVersion = _DocInfo.DocumentInfoRecordDocVersion
                                                                    and $projection.DocumentInfoRecordDocPart    = _DocInfo.DocumentInfoRecordDocPart

  association [1..1] to I_DocumentInfoRecordObjLinkVH as _ObjLinkVH on  $projection.DocumentInfoRecordDocType = _ObjLinkVH.DocumentInfoRecordDocType
                                                                   and $projection.LinkedSAPObject           = _ObjLinkVH.LinkedSAPObject
                                                                    

{
        /*  Document Info Record  key Details */
      @ObjectModel.mandatory:true
      //@UI.lineItem: { position: 10, importance: #HIGH }

  key DocumentInfoRecordDocType,
      @ObjectModel.mandatory:true
      //@UI.lineItem: { position: 20, importance: #HIGH }

  key DocumentInfoRecordDocNumber,
      @ObjectModel.mandatory:true
      //@UI.lineItem: { position: 30, importance: #HIGH }

  key DocumentInfoRecordDocVersion,
      @ObjectModel.mandatory:true
  key DocumentInfoRecordDocPart,

 
//      /*  Object Type and Object Key Details */

        @UI.lineItem: { position: 10, importance: #HIGH}
    // @Consumption.valueHelp: '_ObjLinkVH'

     //--

      
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_DocumentInfoRecordObjLinkVH',
                     element: 'LinkedSAPObject' },
          additionalBinding: [{ localElement: 'DocumentInfoRecordDocType',
                                element: 'DocumentInfoRecordDocType' }]
        }]
        
      
      @EndUserText.quickInfo: 'Linked SAP Object' 
      @UI.hidden:true
      key LinkedSAPObject,
    
      //@ObjectModel.updateEnabled: true

  
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_DocumentInfoRecordObjLinkVH',
                   element: 'LinkedSAPObject' },
          additionalBinding: [{ localElement: 'DocumentInfoRecordDocType',
                             element: 'DocumentInfoRecordDocType' }]
        }]
 
        @UI.lineItem: { position: 30, importance: #HIGH}
        @EndUserText.quickInfo: 'Linked SAP Object Key'
    key LinkedSAPObjectKey,
      // @UI.lineItem: { position: 30, importance: #HIGH }

  key DocObjectLinkCounter,
      @UI.lineItem: { position: 20, importance: #HIGH }
      @EndUserText.quickInfo: 'Object Description'
      @ObjectModel.readOnly: true
            @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_DocumentInfoRecordObjLinkVH',
                     element: 'LinkedSAPObject' }}]
         // additionalBinding: [{ localElement: 'DocumentInfoRecordDocType',

         //                       element: 'DocumentInfoRecordDocType' }]

        //}]

      _ObjLinkVH._Text[1: Language = $session.system_language].ObjectDescription as ObjectDescription,

      @ObjectModel.readOnly: true
      //@Semantics.businessDate.at: true

      //@Semantics.businessDate.createdAt: true

      CreationDateTime,

      @ObjectModel.readOnly: true
      //@Semantics.businessDate.at: true

      @Semantics.user.createdBy: true
      CreatedByUser,

      @ObjectModel.readOnly: true
      // @Semantics.businessDate.at: true

      // @Semantics.businessDate.lastChangedAt: true

      ChangedDateTime,

      @ObjectModel.readOnly: true
      @Semantics.user.lastChangedBy: true
      LastChangedByUser,

      DocInfoRecdAdditionalObjectKey,
      //DocInfoRecdConfignMgmtFixed,

      // DocInfoRecdConfignMgmtIsFixed,


      DocInfoRecdIsMarkedForDeletion,
      //@ObjectModel.updateEnabled: true

      DocInfoRecdLinkStatus,

      DocInfoRecdLongTextUUID, //??

      DocInfoRecdObjectLinkStatus,
      DocLinkDirectionIsActive,
      @ObjectModel.readOnly: true
      IsDocInfoRecdCreatedFromCAD,

      IsDefaultDocument,
      ObjectTypeDatabaseTable,
     
      IsArchived,
      
      _ObjLinkVH,
      @ObjectModel.association.type:  [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT ]
      _DocInfo
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_DOCUMENTINFORECORDOBJLINKT",
"I_DOCUMENTINFORECORDOBJLINKTP",
"I_DOCUMENTINFORECORDOBJLINKVH"
],
"ASSOCIATED":
[
"C_DOCUMENTINFORECORDTP",
"I_DOCUMENTINFORECORDOBJLINKVH"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/