I_SDDOCCOMPLETERELATEDOBJECT

CDS View

Complete Data on Related Object of SD Document

I_SDDOCCOMPLETERELATEDOBJECT is a CDS View in S/4HANA. Complete Data on Related Object of SD Document. It contains 1 fields. 3 CDS views read from this table.

CDS Views using this table (3)

ViewTypeJoinVDMDescription
I_SDDocumentItemRelatedObject view_entity from BASIC SD Document Item Related Object
I_SDDocumentRelatedObject view_entity from BASIC SD Document Related Object
P_CustRetProcFlowMIHR view_entity inner CONSUMPTION Customer Return Process Flow: Level -1 In-house Repair

Fields (1)

KeyField CDS FieldsUsed in Views
KEY SDDocRelatedObjectReference1 PrecedingDocument 1
//@ClientHandling.algorithm: #SESSION_VARIABLE

@EndUserText.label: 'Complete Data on Related Object of SD Document'
@VDM.viewType: #BASIC
@AccessControl: {
  authorizationCheck: #PRIVILEGED_ONLY,
  personalData.blocking: #NOT_REQUIRED
}
//@AbapCatalog: {

//  sqlViewName: 'ISDDOCCMPLTRO',

// compiler.compareFilter: true,

//  preserveKey: true

//}

@ObjectModel: {
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #A,
     sizeCategory:   #XL
   }
}
define view entity I_SDDocCompleteRelatedObject as select from sdro as RelatedObject
  
  association[0..1] to I_SDDocRelatedObjectTypeStdVH  as _SDDocumentRelatedObjectType on  $projection.SDDocumentRelatedObjectType = _SDDocumentRelatedObjectType.SDDocumentRelatedObjectType 
{
  key RelatedObject.sddocumentcategory             as SDDocumentCategory,
  key RelatedObject.salesdocument                  as SalesDocument,
  key RelatedObject.salesdocumentitem              as SalesDocumentItem,
  //@ObjectModel.readOnly: true

  key RelatedObject.sddocrelatedobjectsequencenmbr as SDDocRelatedObjectSequenceNmbr,
  @ObjectModel.foreignKey.association: '_SDDocumentRelatedObjectType'  
  RelatedObject.sddocumentrelatedobjecttype        as SDDocumentRelatedObjectType,
  RelatedObject.sddocrelatedobjectsystem           as SDDocRelatedObjectSystem,
  RelatedObject.sddocrelatedobjectreference1       as SDDocRelatedObjectReference1,
  RelatedObject.sddocrelatedobjectreference2       as SDDocRelatedObjectReference2, 
  
  //expose associations

  _SDDocumentRelatedObjectType
};