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 Document Number
AuthorizationGroup
IsBusinessPurposeCompleted
CANumberOfAuthorizationGroups

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view P_CANotDisputedDocIsBlocked.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PCADCDOCISBLOCK

CREATE VIEW P_CANotDisputedDocIsBlocked AS
SELECT
  CADocumentNumber,
  max(AuthorizationGroup) AS AuthorizationGroup,
  max(IsBusinessPurposeCompleted) AS IsBusinessPurposeCompleted,
  count(distinct AuthorizationGroup) AS CANumberOfAuthorizationGroups
FROM P_CANotDisputedDocBPItem
;