P_MstrProjAcctDocHdr

DDL: P_MSTRPROJACCTDOCHDR Type: view_entity BASIC

P_MstrProjAcctDocHdr is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (bkpf) and exposes 5 fields with key fields CompanyCode, AccountingDocument, FiscalYear.

Data Sources (1)

SourceAliasJoin Type
bkpf bkpf from

Annotations (8)

NameValueLevelField
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
VDM.private true view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bukrs Value
KEY AccountingDocument belnr SD Document
KEY FiscalYear Settlement Year
AROPostingObjectKey awkey RefKey GJE
AccountingDocumentCategory bstat Document Status

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_MstrProjAcctDocHdr.
-- 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.

CREATE VIEW P_MstrProjAcctDocHdr AS
SELECT
  bukrs AS CompanyCode,
  belnr AS AccountingDocument,
  cast(gjahr as fis_gjahr_no_conv) AS FiscalYear,
  awkey AS AROPostingObjectKey,
  bstat AS AccountingDocumentCategory
FROM bkpf
;