I_DOCUMENTINFORECORDDOCSTATUS

CDS View

Document Info Record Document Status

I_DOCUMENTINFORECORDDOCSTATUS is a CDS View in S/4HANA. Document Info Record Document Status. 3 CDS views read from this table.

CDS Views using this table (3)

ViewTypeJoinVDMDescription
C_CharacteristicDocument view left_outer CONSUMPTION Characteristic Document of DMS
C_InspLotDocument view_entity left_outer CONSUMPTION Inspection Lot Document of DMS
C_InspMethodDocument view_entity left_outer CONSUMPTION Inspection Method Document of DMS
@AbapCatalog.sqlViewName: 'ICVDOCSTATUS'
@AbapCatalog.compiler.compareFilter: true
@EndUserText.label: 'Document Info Record Document Status'
@ClientHandling.algorithm: #SESSION_VARIABLE
@Analytics: { dataCategory: #DIMENSION }
@VDM.viewType: #BASIC
@ObjectModel.compositionRoot:true 
@ObjectModel.representativeKey: 'InternalDocumentStatus'
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory : #M
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@AbapCatalog.buffering.status: #ACTIVE
@AbapCatalog.buffering.type: #GENERIC
@AbapCatalog.buffering.numberOfKeyFields: #(001)
@Metadata.ignorePropagatedAnnotations: true
@Metadata.allowExtensions: true
@VDM.lifecycle.contract.type:#PUBLIC_LOCAL_API

//--[ GENERATED:011:GlBfhyFV7jY4gRmvB6oo}W

@AccessControl.privilegedAssociations: ['_DocTypeText']
// ]--GENERATED

@ObjectModel.supportedCapabilities: [ #ANALYTICAL_DIMENSION , #CDS_MODELING_ASSOCIATION_TARGET , #SQL_DATA_SOURCE , #CDS_MODELING_DATA_SOURCE ]
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
define view I_DocumentInfoRecordDocStatus
  as select from    tdws  as status     

  --Get Document Type Association
  
  //--[ GENERATED:011:GlBfhyFV7jY4gRmvB6oo}W

  association [0..*] to I_DocumentInfoRecordDocTypeT      as _DocTypeText on   $projection.DocumentInfoRecordDocType = _DocTypeText.DocumentInfoRecordDocType
  // ]--GENERATED

  association [0..1] to I_DocumentInfoRecordDocType as _DocType on $projection.DocumentInfoRecordDocType = _DocType.DocumentInfoRecordDocType

  association [0..*] to I_DocumentInfoRecordDocStatusT  as _Text     on $projection.InternalDocumentStatus = _Text.InternalDocumentStatus

{
      //--[ GENERATED:011:GlBfhyFV7jY4gRmvB6oo}W

      @Consumption.valueHelpDefinition: [ 
        { entity:  { name:    'I_DocInfoRecdDocTypeStdVH',
                     element: 'DocumentInfoRecordDocType' }
        }]
      @ObjectModel.text.association: '_DocTypeText'
      // ]--GENERATED

      @ObjectModel.foreignKey.association: '_DocType'
  key status.dokar  as DocumentInfoRecordDocType,

      @EndUserText.label:'Internal Document Status'
      @ObjectModel.text.association: '_Text' 
  key status.dokst  as InternalDocumentStatus,
  
      status.dosar  as DocInfoRecdStatusType, //added by IH to retrieve status

      
      _DocType,
      @ObjectModel.association.type: [#TO_COMPOSITION_CHILD] 
      _Text,
      //--[ GENERATED:011:GlBfhyFV7jY4gRmvB6oo}W

      @Consumption.hidden: true
      _DocTypeText
      // ]--GENERATED


      
}