P_Tbat_Basis_Quot_Max

DDL: P_TBAT_BASIS_QUOT_MAX SQL: PPRICEQUOT_B_MAX Type: view BASIC

P_Tbat_Basis_Quot_Max is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (tbact_bas_quot) and exposes 9 fields with key fields basis_type, basis_id, dcsid, mic, delivery_to.

Data Sources (1)

SourceAliasJoin Type
tbact_bas_quot tbact_bas_quot from

Annotations (6)

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

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY basis_type basis_type Basis Type
KEY basis_id basis_id Strategy
KEY dcsid dcsid DCSID
KEY mic mic MIC
KEY delivery_to delivery_to Delivery End Date
KEY pricetype pricetype Price Type
KEY pricedate pricedate Price Date
KEY pricetime pricetime Price Time
validfrom

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_Tbat_Basis_Quot_Max.
-- 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: PPRICEQUOT_B_MAX

CREATE VIEW P_Tbat_Basis_Quot_Max AS
SELECT
  basis_type,
  basis_id,
  dcsid,
  mic,
  delivery_to,
  pricetype,
  pricedate,
  pricetime,
  max(validfrom) AS validfrom
FROM tbact_bas_quot
;