P_CANotDisputedDocIsBlocked

DDL: P_CANOTDISPUTEDDOCISBLOCKED SQL: PCADCDOCISBLOCK Type: view COMPOSITE

P_CANotDisputedDocIsBlocked is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_CANotDisputedDocBPItem) and exposes 4 fields with key field CADocumentNumber.

Data Sources (1)

SourceAliasJoin Type
P_CANotDisputedDocBPItem P_CANotDisputedDocBPItem from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PCADCDOCISBLOCK view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CADocumentNumber CADocumentNumber
AuthorizationGroup
IsBusinessPurposeCompleted
CANumberOfAuthorizationGroups
@AbapCatalog.sqlViewName: 'PCADCDOCISBLOCK'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #COMPOSITE
@VDM.private: true
define view P_CANotDisputedDocIsBlocked
  as select from P_CANotDisputedDocBPItem
{

  key CADocumentNumber,

      max(AuthorizationGroup)            as AuthorizationGroup,
      max(IsBusinessPurposeCompleted)    as IsBusinessPurposeCompleted,

      count(distinct AuthorizationGroup) as CANumberOfAuthorizationGroups
}
group by
  CADocumentNumber
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_CANOTDISPUTEDDOCBPITEM"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/