P_PrcgCndnRecordHeader

DDL: P_PRCGCNDNRECORDHEADER Type: view BASIC Package: VDM_SD_MD_CM

Condition Record Header for Pricing

P_PrcgCndnRecordHeader is a Basic CDS View that provides data about "Condition Record Header for Pricing" in SAP S/4HANA. It reads from 1 data source (konh) and exposes 14 fields with key field ConditionRecord. Part of development package VDM_SD_MD_CM.

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 (14)

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
ConditionSearchTermValue kosrt Search term
PriceApprovalRequest priceapprovalrequest Approval Request
PrevApprovedConditionRecord knumh_prev_aprvd Cond.Record No.
TaxExemptionLicense licno License Number
LicenseGrantDate licdt License Date
LastChangeDateTime upd_tmstmp Time Stamp
SAPObjectNodeType sap_object_node_type SONT Name

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,
  kosrt AS ConditionSearchTermValue,
  PriceApprovalRequest,
  knumh_prev_aprvd AS PrevApprovedConditionRecord,
  licno AS TaxExemptionLicense,
  licdt AS LicenseGrantDate,
  upd_tmstmp AS LastChangeDateTime,
  sap_object_node_type AS SAPObjectNodeType
FROM konh
;