A_SlsQtanSubsqntProcFlow

DDL: A_SLSQTANSUBSQNTPROCFLOW Type: view_entity COMPOSITE

Header Subsequent Process Flow

A_SlsQtanSubsqntProcFlow is a Composite CDS View that provides data about "Header Subsequent Process Flow" in SAP S/4HANA. It reads from 1 data source (I_SlsQtanSubsqntProcFlow) and exposes 15 fields with key fields SalesQuotation, DocRelationshipUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SlsQtanSubsqntProcFlow SubsequentProcFlow from

Associations (1)

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

Annotations (8)

NameValueLevelField
EndUserText.label Header Subsequent Process Flow view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY SalesQuotation I_SlsQtanSubsqntProcFlow SalesQuotation
KEY DocRelationshipUUID I_SlsQtanSubsqntProcFlow DocRelationshipUUID
SubsequentDocument I_SlsQtanSubsqntProcFlow SubsequentDocument
SubsequentDocumentCategory I_SlsQtanSubsqntProcFlow SubsequentDocumentCategory
ProcessFlowLevel I_SlsQtanSubsqntProcFlow ProcessFlowLevel
StatusCode
SDDocumentStatusDesc
CreationDate I_SlsQtanSubsqntProcFlow CreationDate
CreationTime I_SlsQtanSubsqntProcFlow CreationTime
LastChangeDate I_SlsQtanSubsqntProcFlow LastChangeDate
SalesQuotationType _SalesQuotation SalesQuotationType
SalesOrganization _SalesQuotation SalesOrganization
DistributionChannel _SalesQuotation DistributionChannel
OrganizationDivision _SalesQuotation OrganizationDivision
_SalesQuotation _SalesQuotation
@EndUserText.label: 'Header Subsequent Process Flow'
@VDM: {
  viewType: #COMPOSITE,
  lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #B,
     sizeCategory:   #XL
   }
}
@Metadata.ignorePropagatedAnnotations: true

define view entity A_SlsQtanSubsqntProcFlow
  as select from I_SlsQtanSubsqntProcFlow as SubsequentProcFlow
  association [1..1] to A_SalesQuotation as _SalesQuotation on _SalesQuotation.SalesQuotation = $projection.SalesQuotation

{
  key SubsequentProcFlow.SalesQuotation,
  key SubsequentProcFlow.DocRelationshipUUID,

      SubsequentProcFlow.SubsequentDocument,
      SubsequentProcFlow.SubsequentDocumentCategory,

      SubsequentProcFlow.ProcessFlowLevel,
      
      @ObjectModel.virtualElement: true 
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_SD_SALESQUOTATION_PROCFLOW'
      cast('' as status_va ) as StatusCode,

      @ObjectModel.virtualElement: true 
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_SD_SALESQUOTATION_PROCFLOW'
      cast('' as status_bez ) as SDDocumentStatusDesc,

      SubsequentProcFlow.CreationDate,
      SubsequentProcFlow.CreationTime,     
      SubsequentProcFlow.LastChangeDate,

      // For Access control

      @Consumption.hidden: true
      _SalesQuotation.SalesQuotationType,
      @Consumption.hidden: true
      _SalesQuotation.SalesOrganization,
      @Consumption.hidden: true
      _SalesQuotation.DistributionChannel,
      @Consumption.hidden: true
      _SalesQuotation.OrganizationDivision,
      
      // Associations

      _SalesQuotation

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