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

C_PurInfoRecdPrHistStruc

DDL: C_PURINFORECDPRHISTSTRUC SQL: CPIRPRHISTSTRUC Type: view CONSUMPTION

Purchasing Info Record Structure View

C_PurInfoRecdPrHistStruc is a Consumption CDS View that provides data about "Purchasing Info Record Structure View" in SAP S/4HANA. It reads from 1 data source (P_PurInfoRecdPrHistCalc) and exposes 6 fields with key field FormattedPurDoc.

Data Sources (1)

SourceAliasJoin Type
P_PurInfoRecdPrHistCalc P_PurInfoRecdPrHistCalc from

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CPIRPRHISTSTRUC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Purchasing Info Record Structure View view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #NONE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey FormattedPurDoc view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor C_PurgInfoRecdOrdVarcCalc view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY FormattedPurDoc FormattedPurDoc
PurchasingInfoRecord PurchasingInfoRecord Info Record
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingInfoRecordCategory PurchasingInfoRecordCategory Infotype
Plant Plant Valuation Area
PurchasingGroup

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 C_PurInfoRecdPrHistStruc.
-- 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: CPIRPRHISTSTRUC

CREATE VIEW C_PurInfoRecdPrHistStruc AS
SELECT
  FormattedPurDoc,
  PurchasingInfoRecord,
  PurchasingOrganization,
  PurchasingInfoRecordCategory,
  Plant,
  '001' AS PurchasingGroup
FROM P_PurInfoRecdPrHistCalc
;