P_ProductPurchaseTaxD

DDL: P_PRODUCTPURCHASETAXD SQL: PPRDPURCHTAXD Type: view BASIC Package: VDM_MD_PRODUCT_OBSOLETE

draft

P_ProductPurchaseTaxD is a Basic CDS View that provides data about "draft" in SAP S/4HANA. It reads from 1 data source (prd_pur_tax) and exposes 6 fields with key field DraftKey. Part of development package VDM_MD_PRODUCT_OBSOLETE.

Data Sources (1)

SourceAliasJoin Type
prd_pur_tax DraftDocument from

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName PPRDPURCHTAXD view
VDM.private true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY DraftKey prd_pur_tax draftkey NodeID
Parentdraftkey prd_pur_tax parentdraftkey NodeID
HasActiveEntity prd_pur_tax hasactiveentity TRUE
ActiveProduct prd_pur_tax activeproduct Product
ActiveCountry prd_pur_tax activecountry Supply C/R
taxindicator prd_pur_tax taxindicator Tax indicator

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_ProductPurchaseTaxD.
-- 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: PPRDPURCHTAXD

CREATE VIEW P_ProductPurchaseTaxD AS
SELECT
  DraftDocument.draftkey AS DraftKey,
  DraftDocument.parentdraftkey AS Parentdraftkey,
  DraftDocument.hasactiveentity AS HasActiveEntity,
  DraftDocument.activeproduct AS ActiveProduct,
  DraftDocument.activecountry AS ActiveCountry,
  DraftDocument.taxindicator AS taxindicator
FROM prd_pur_tax AS DraftDocument
;