A_SalesQuotationRelatedObject

DDL: A_SALESQUOTATIONRELATEDOBJECT Type: view_entity COMPOSITE

Header Related Object

A_SalesQuotationRelatedObject is a Composite CDS View that provides data about "Header Related Object" in SAP S/4HANA. It reads from 1 data source (I_SalesQuotationRelatedObject) and exposes 11 fields with key fields SalesQuotation, SDDocRelatedObjectSequenceNmbr. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SalesQuotationRelatedObject RelatedObject from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_SalesQuotation _SalesQuotation _SalesQuotation.SalesQuotation = $projection.SalesQuotation

Annotations (12)

NameValueLevelField
EndUserText.label Header Related Object view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AccessControl.authorizationCheck #CHECK view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled false view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view
OData.entitySet.name A_SalesQuotationRelatedObject view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY SalesQuotation I_SalesQuotationRelatedObject SalesQuotation
KEY SDDocRelatedObjectSequenceNmbr I_SalesQuotationRelatedObject SDDocRelatedObjectSequenceNmbr
SDDocumentRelatedObjectType I_SalesQuotationRelatedObject SDDocumentRelatedObjectType
SDDocRelatedObjectSystem I_SalesQuotationRelatedObject SDDocRelatedObjectSystem
SDDocRelatedObjectReference1 I_SalesQuotationRelatedObject SDDocRelatedObjectReference1
SDDocRelatedObjectReference2 I_SalesQuotationRelatedObject SDDocRelatedObjectReference2
SalesQuotationType SalesQuotationType
OrganizationDivision OrganizationDivision
SalesOrganization SalesOrganization
DistributionChannel DistributionChannel
_SalesQuotation _SalesQuotation
@EndUserText.label: 'Header Related Object'
@VDM: {
  viewType: #COMPOSITE,
  lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@AccessControl: { 
  authorizationCheck: #CHECK,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
   createEnabled: true,
   updateEnabled: false,   
   deleteEnabled: true,
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #C,
     sizeCategory:   #XL
   }
}
@Metadata.ignorePropagatedAnnotations: true
@OData.entitySet.name:'A_SalesQuotationRelatedObject' 

define view entity A_SalesQuotationRelatedObject
  as select from I_SalesQuotationRelatedObject  as RelatedObject

  association [1..1] to A_SalesQuotation as _SalesQuotation on _SalesQuotation.SalesQuotation = $projection.SalesQuotation

{
  @ObjectModel.readOnly: true
  key RelatedObject.SalesQuotation,
  @ObjectModel.readOnly: true
  key  RelatedObject.SDDocRelatedObjectSequenceNmbr,

  RelatedObject.SDDocumentRelatedObjectType,
  RelatedObject.SDDocRelatedObjectSystem,
  RelatedObject.SDDocRelatedObjectReference1,
  RelatedObject.SDDocRelatedObjectReference2,

  // For Access control

  @Consumption.hidden: true
  SalesQuotationType,
  @Consumption.hidden: true
  OrganizationDivision,
  @Consumption.hidden: true
  SalesOrganization,
  @Consumption.hidden: true
  DistributionChannel,

  //Expose associations

  _SalesQuotation
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SALESQUOTATIONRELATEDOBJECT"
],
"ASSOCIATED":
[
"A_SALESQUOTATION"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/