Deprecated NONE
This CDS view is deprecated in S/4HANA. View all deprecated CDS views →

P_CHNG_DOC_SUP_INV_UNBLOCK

DDL: P_CHNG_DOC_SUP_INV_UNBLOCK SQL: PCHNGDSINVU Type: view BASIC

P_CHNG_DOC_SUP_INV_UNBLOCK is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (P_UNBLOCKED_FI_INVOICE) and exposes 4 fields with key fields SupplierInvoice, FiscalYearMM, SupplierInvoiceItem.

Data Sources (1)

SourceAliasJoin Type
P_UNBLOCKED_FI_INVOICE P_UNBLOCKED_FI_INVOICE inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PCHNGDSINVU view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.private true view
VDM.lifecycle.contract.type #NONE view
VDM.lifecycle.status #DEPRECATED view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY SupplierInvoice
KEY FiscalYearMM
KEY SupplierInvoiceItem
fname fname User

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_CHNG_DOC_SUP_INV_UNBLOCK.
-- 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: PCHNGDSINVU

CREATE VIEW P_CHNG_DOC_SUP_INV_UNBLOCK AS
SELECT
  cast( substring( cdpos.tabkey, 4, 10) as belnr_d preserving type ) AS SupplierInvoice,
  cast( substring( cdpos.tabkey, 14, 4) as gjahr ) AS FiscalYearMM,
  cast( substring( cdpos.tabkey, 18, 6) as rblgp ) AS SupplierInvoiceItem,
  fname
INNER JOIN P_UNBLOCKED_FI_INVOICE ON /* join condition not captured in parsed metadata */
;