P_PrcgCndnRecordHeader

DDL: P_PRCGCNDNRECORDHEADER Type: view BASIC

P_PrcgCndnRecordHeader is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (konh) and exposes 12 fields with key field ConditionRecord.

Data Sources (1)

SourceAliasJoin Type
konh konh from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PPRCGCNDNRECDHDR view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY ConditionRecord knumh NoCondRec.Batch
ConditionTable Table Number
ConditionApplication kappl Application
ConditionValidityEndDate datbi Validity period
ConditionValidityStartDate datab Validity period
CreatedByUser ernam User Name
CreationDate erdat Entered On
PriceApprovalRequest priceapprovalrequest Approval Request
PrevApprovedConditionRecord knumh_prev_aprvd Cond.Record No.
TaxExemptionLicense licno License Number
LicenseGrantDate licdt License Date
LastChangeDateTime upd_tmstmp Time Stamp

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_PrcgCndnRecordHeader.
-- 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_PrcgCndnRecordHeader AS
SELECT
  knumh AS ConditionRecord,
  cast(kotabnr as kotabnr_char) AS ConditionTable,
  kappl AS ConditionApplication,
  datbi AS ConditionValidityEndDate,
  datab AS ConditionValidityStartDate,
  ernam AS CreatedByUser,
  erdat AS CreationDate,
  PriceApprovalRequest,
  knumh_prev_aprvd AS PrevApprovedConditionRecord,
  licno AS TaxExemptionLicense,
  licdt AS LicenseGrantDate,
  upd_tmstmp AS LastChangeDateTime
FROM konh
;