I_DocInfoRecdObjLinkProdTP

DDL: I_DOCINFORECDOBJLINKPRODTP SQL: IDIROBJPRDWODRTP Type: view TRANSACTIONAL

Doc Info Recd Obj Link Prod TP

I_DocInfoRecdObjLinkProdTP is a Transactional CDS View that provides data about "Doc Info Recd Obj Link Prod TP" in SAP S/4HANA. It reads from 1 data source (I_DocumentInfoRecordObjectLink) and exposes 10 fields with key fields DocumentInfoRecordDocType, DocumentInfoRecordDocNumber, DocumentInfoRecordDocVersion, DocumentInfoRecordDocPart, LinkedSAPObject. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_DocumentInfoRecordObjectLink ObjLink from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Product _Product $projection.LinkedSAPObjectKey = _Product.Product

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IDIROBJPRDWODRTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Doc Info Recd Obj Link Prod TP view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AbapCatalog.preserveKey true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY DocumentInfoRecordDocType DocumentInfoRecordDocType
KEY DocumentInfoRecordDocNumber DocumentInfoRecordDocNumber
KEY DocumentInfoRecordDocVersion DocumentInfoRecordDocVersion
KEY DocumentInfoRecordDocPart DocumentInfoRecordDocPart
KEY LinkedSAPObject I_DocumentInfoRecordObjectLink LinkedSAPObject
KEY LinkedSAPObjectKey I_DocumentInfoRecordObjectLink LinkedSAPObjectKey
KEY DocObjectLinkCounter I_DocumentInfoRecordObjectLink DocObjectLinkCounter
ChangedDateTime _DocInfoRecord ChangedDateTime
_Product _Product
_DocInfoRecord _DocInfoRecord
@AbapCatalog.sqlViewName: 'IDIROBJPRDWODRTP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Doc Info Recd Obj Link Prod TP'
@ClientHandling.algorithm: #SESSION_VARIABLE
//@ObjectModel.createEnabled: true

//@ObjectModel.updateEnabled: true

//@ObjectModel.deleteEnabled: true

@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #TRANSACTIONAL 

@VDM.viewType: #TRANSACTIONAL
@Metadata.ignorePropagatedAnnotations:true
//@ObjectModel.writeActiveImplementedBy: 'ABAP:CL_PLM_RAP_PROVIDER_DMS'

//@ObjectModel.transactionalProcessingEnabled: true

@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@AbapCatalog.preserveKey: true
define view I_DocInfoRecdObjLinkProdTP
  as select from I_DocumentInfoRecordObjectLink as ObjLink

  --Get Linked object details
  association to parent I_DocInfoRecordTP as _DocInfoRecord on  $projection.DocumentInfoRecordDocType    = _DocInfoRecord.DocumentInfoRecordDocType
                                                            and $projection.DocumentInfoRecordDocNumber  = _DocInfoRecord.DocumentInfoRecordDocNumber
                                                            and $projection.DocumentInfoRecordDocPart    = _DocInfoRecord.DocumentInfoRecordDocPart
                                                            and $projection.DocumentInfoRecordDocVersion = _DocInfoRecord.DocumentInfoRecordDocVersion
  
  association [0..1] to I_Product as _Product on $projection.LinkedSAPObjectKey = _Product.Product 
{
      /*  Document Info Record key Details */
  key DocumentInfoRecordDocType,    //  as DocumentInfoRecordDocType,

  key DocumentInfoRecordDocNumber,  //  as DocumentInfoRecordDocNumber,

  key DocumentInfoRecordDocVersion, //  as DocumentInfoRecordDocVersion,

  key DocumentInfoRecordDocPart,    //  as DocumentInfoRecordDocPart,


      /*  Object Type and Object Key Details */
  key ObjLink.LinkedSAPObject                as LinkedSAPObject,
  key ObjLink.LinkedSAPObjectKey             as LinkedSAPObjectKey,
  key ObjLink.DocObjectLinkCounter           as DocObjectLinkCounter,
  
   //   @ObjectModel.readOnly: true

      _DocInfoRecord.ChangedDateTime as ChangedDateTime,

      //Associations

      _Product,      
      _DocInfoRecord
}
where
  ObjLink.LinkedSAPObject = 'MARA'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_DOCINFORECORDTP",
"I_DOCUMENTINFORECORDOBJECTLINK"
],
"ASSOCIATED":
[
"I_DOCINFORECORDTP",
"I_PRODUCT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/