I_DOCUMENTINFORECORDTP

CDS View

Document Info Record Transactional

I_DOCUMENTINFORECORDTP is a CDS View in S/4HANA. Document Info Record Transactional. It contains 7 fields. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
C_DocumentInfoRecordTP view from CONSUMPTION Document Info Record TP

Fields (7)

KeyField CDS FieldsUsed in Views
KEY DocumentInfoRecordDocNumber DocumentInfoRecordDocNumber 1
KEY DocumentInfoRecordDocPart DocumentInfoRecordDocPart 1
KEY DocumentInfoRecordDocType DocumentInfoRecordDocType 1
KEY DocumentInfoRecordDocVersion DocumentInfoRecordDocVersion 1
DocInfoRecdDocNumberForEdit DocInfoRecdDocNumberForEdit 1
DocInfoRecdDocPartForEdit DocInfoRecdDocPartForEdit 1
DocInfoRecdDocTypeForEdit DocInfoRecdDocTypeForEdit 1
@AbapCatalog.sqlViewName: 'ICVDOCINFORECTP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.privilegedAssociations:  [ '_ChangedUser', '_CreatedUser', '_UserDetails' ]
@EndUserText.label: 'Document Info Record Transactional'
@VDM.viewType: #TRANSACTIONAL
@ObjectModel.compositionRoot: true
@ObjectModel.transactionalProcessingEnabled: true
@ObjectModel.draftEnabled: true
@ObjectModel.writeDraftPersistence: 'DRAW_DRAFT'
@ObjectModel.createEnabled: true //'EXTERNAL_CALCULATION'

@ObjectModel.updateEnabled: true //'EXTERNAL_CALCULATION'

@ObjectModel.deleteEnabled: true
@ObjectModel.entityChangeStateId: 'ChangedDateTime'

@ClientHandling.algorithm: #SESSION_VARIABLE
@ClientHandling.type: #INHERITED
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API


-- BOPF Related Annotations
@ObjectModel.modelCategory: #BUSINESS_OBJECT
@ObjectModel.sapObjectNodeType.name: 'DocumentInfoRecord'   
define view I_DocumentInfoRecordTP
  as select from I_DocumentInfoRecord as Document

  association [0..*] to I_DocumentInfoRecordDescTP    as _Desc    on  $projection.DocumentInfoRecordDocType    = _Desc.DocumentInfoRecordDocType
                                                                  and $projection.DocumentInfoRecordDocNumber  = _Desc.DocumentInfoRecordDocNumber
                                                                  and $projection.DocumentInfoRecordDocVersion = _Desc.DocumentInfoRecordDocVersion
                                                                  and $projection.DocumentInfoRecordDocPart    = _Desc.DocumentInfoRecordDocPart

  association [0..*] to I_DocumentInfoRecordObjLinkTP as _ObjLink on  $projection.DocumentInfoRecordDocType    = _ObjLink.DocumentInfoRecordDocType
                                                                  and $projection.DocumentInfoRecordDocNumber  = _ObjLink.DocumentInfoRecordDocNumber
                                                                  and $projection.DocumentInfoRecordDocVersion = _ObjLink.DocumentInfoRecordDocVersion
                                                                  and $projection.DocumentInfoRecordDocPart    = _ObjLink.DocumentInfoRecordDocPart

-------Extension Association
--  association [1..1] to E_DocumentInfoRecord  as _ManageDocDataExtension  on  $projection.DocumentInfoRecordDocType     =  _ManageDocDataExtension.DocumentInfoRecordDocType
--                                                                           and $projection.DocumentInfoRecordDocNumber  =  _ManageDocDataExtension.DocumentInfoRecordDocNumber
--                                                                           and $projection.DocumentInfoRecordDocVersion =  _ManageDocDataExtension.DocumentInfoRecordDocVersion
--                                                                           and $projection.DocumentInfoRecordDocPart    =  _ManageDocDataExtension.DocumentInfoRecordDocPart
  
{
      /*  Document Info Record  key Details */
      @ObjectModel.mandatory:true     
  key Document.DocumentInfoRecordDocType                as  DocumentInfoRecordDocType,

  key Document.DocumentInfoRecordDocNumber              as  DocumentInfoRecordDocNumber,

  key Document.DocumentInfoRecordDocVersion             as  DocumentInfoRecordDocVersion,

  key Document.DocumentInfoRecordDocPart                as  DocumentInfoRecordDocPart,

      Document.DocumentInfoRecord                       as  DocumentInfoRecord,
      
      Document.DocInfoRecdIsMarkedForDeletion           as  DocInfoRecdIsMarkedForDeletion,
      Document.InternalDocumentStatus                   as  InternalDocumentStatus,
      Document.IsDocInfoRecdCreatedFromCAD              as  IsDocInfoRecdCreatedFromCAD,
      Document.IsDocInfoRecdStructure                   as  IsDocInfoRecdStructure,

      Document.DocInfoRecdSourceDocNumber               as  DocInfoRecdSourceDocNumber,
      Document.DocInfoRecdSourceDocVersion              as  DocInfoRecdSourceDocVersion,
      Document.DocInfoRecdSourceDocPart                 as  DocInfoRecdSourceDocPart,

      //@ObjectModel.updateEnabled: true

      @ObjectModel: {
       enabled:   'EXTERNAL_CALCULATION',
       readOnly:  'EXTERNAL_CALCULATION',
       mandatory: 'EXTERNAL_CALCULATION'
       }
      Document.ResponsiblePersonName                    as  ResponsiblePersonName,

      Document.CreatedByUser                            as  CreatedByUser,
      Document.CreationDateTime                         as  CreationDateTime,

      Document.LastChangedByUser                        as  LastChangedByUser,
      Document.ChangedDateTime                          as  ChangedDateTime,
 
      //@ObjectModel.mandatory:true 

      //@ObjectModel.enabled: true

      @ObjectModel: {
       readOnly:  'EXTERNAL_CALCULATION'
//       enabled:   'EXTERNAL_CALCULATION'

       }                            
      Document.DocumentInfoRecordDocType                as  DocInfoRecdDocTypeForEdit,

      //@ObjectModel.updateEnabled: true

      @ObjectModel: {
       readOnly:  'EXTERNAL_CALCULATION'
       }
      Document.DocumentInfoRecordDocNumber              as  DocInfoRecdDocNumberForEdit,
     
      Document.DocumentInfoRecordDocVersion             as  DocInfoRecdDocVersionForEdit,

      //@ObjectModel.updateEnabled: true

      @ObjectModel: {
       readOnly:  'EXTERNAL_CALCULATION'       
       }

      Document.DocumentInfoRecordDocPart                as  DocInfoRecdDocPartForEdit,

      //@ObjectModel.updateEnabled: true

      @ObjectModel: {
       enabled:   'EXTERNAL_CALCULATION',
       readOnly:  'EXTERNAL_CALCULATION',
       mandatory: 'EXTERNAL_CALCULATION'
       }
      Document.LaboratoryOrDesignOffice                 as  LaboratoryOrDesignOffice,
      //@ObjectModel.updateEnabled: true

      @ObjectModel: {
       enabled:   'EXTERNAL_CALCULATION',
       readOnly:  'EXTERNAL_CALCULATION',
       mandatory: 'EXTERNAL_CALCULATION'
       }
      Document.AuthorizationGroup                       as  AuthorizationGroup,

      //@ObjectModel.updateEnabled: true

      @ObjectModel: {
       enabled:   'EXTERNAL_CALCULATION',
       readOnly:  'EXTERNAL_CALCULATION',
       mandatory: 'EXTERNAL_CALCULATION'
       }
      cast( '' as dktxt )                               as  DocumentDescriptionForEdit,

      //@ObjectModel.updateEnabled: true

      @ObjectModel: {
       enabled:   'EXTERNAL_CALCULATION',
       readOnly:  'EXTERNAL_CALCULATION',
       mandatory: 'EXTERNAL_CALCULATION'
       }
      cast( '' as stabk )                               as  ExternalDocumentStatusForEdit,

      @UI.hidden: true
      cast(' ' as vchclf_side_effect_data)              as  ClassificationSideEffect,

      Document._ChangedUser,
      Document._CreatedUser,
      Document._UserDetails,
      Document._ChangedUserVH,
      Document._CreatedUserVH,
      Document._UserDetailsVH,
      Document._DocNumber,
      Document._DocPart,
      Document._DocType,
      Document._DocVersion,
      Document._DocStatus,
      Document._Indicator,
      Document._AuthGroup,
      Document._LabOffice,
      Document._LogAccMObjectTypeActive,
      Document._LogAccMObjectUserAuthzn,
      Document._LogAccMObjSecureIDAssgmt,
      
      @ObjectModel.association.type:  #TO_COMPOSITION_CHILD
      _Desc,

      @ObjectModel.association.type:  #TO_COMPOSITION_CHILD
      _ObjLink

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_DOCUMENTINFORECORD"
],
"ASSOCIATED":
[
"I_DOCINFORECORDACCMSECIDASGT",
"I_DOCUMENTINFORECORDACCMACTV",
"I_DOCUMENTINFORECORDAUTHZNGRP",
"I_DOCUMENTINFORECORDDESCTP",
"I_DOCUMENTINFORECORDDOCNUMBER",
"I_DOCUMENTINFORECORDDOCPRT",
"I_DOCUMENTINFORECORDDOCSTATUS",
"I_DOCUMENTINFORECORDDOCTYPE",
"I_DOCUMENTINFORECORDDOCVERSION",
"I_DOCUMENTINFORECORDINDSTS",
"I_DOCUMENTINFORECORDLBTRYOFFC",
"I_DOCUMENTINFORECORDOBJLINKTP",
"I_DOCUMENTINFORECORDUAUTHACCM",
"I_DOCUMENTINFORECORDUSERVH",
"I_USER"
],
"BASE":
[
"I_DOCUMENTINFORECORD"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/