P_Tbat_Basis_DeliveryPeriods
Provides the per delivery period the most current record
P_Tbat_Basis_DeliveryPeriods is a Basic CDS View that provides data about "Provides the per delivery period the most current record" in SAP S/4HANA. It reads from 2 data sources (P_Tbat_Basis_Quot_Max, tbact_bas_quot) and exposes 15 fields with key fields basis_type, basis_id, dcsid, mic, delivery_to. Part of development package LOG_CMM_RUNTIME_VALUATION.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_Tbat_Basis_Quot_Max | bas_quot_current | from |
| tbact_bas_quot | bas_quot_single | inner |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PTBATBDLVPER | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | basis_type | P_Tbat_Basis_Quot_Max | basis_type | Basis Type |
| KEY | basis_id | P_Tbat_Basis_Quot_Max | basis_id | Strategy |
| KEY | dcsid | P_Tbat_Basis_Quot_Max | dcsid | DCSID |
| KEY | mic | P_Tbat_Basis_Quot_Max | mic | MIC |
| KEY | delivery_to | P_Tbat_Basis_Quot_Max | delivery_to | Delivery End Date |
| KEY | pricetype | P_Tbat_Basis_Quot_Max | pricetype | Price Type |
| KEY | pricedate | P_Tbat_Basis_Quot_Max | pricedate | Price Date |
| KEY | pricetime | P_Tbat_Basis_Quot_Max | pricetime | Price Time |
| KEY | validfrom | P_Tbat_Basis_Quot_Max | validfrom | Vers.Valid From |
| keydate | tbact_bas_quot | keydate | Maturity Key Date | |
| price | tbact_bas_quot | price | RVP f.PricePro. | |
| uom | tbact_bas_quot | uom | UoM: Conv. to | |
| currency | tbact_bas_quot | currency | Valuation Crcy | |
| createdby | tbact_bas_quot | createdby | User Name | |
| deletion_ind | tbact_bas_quot | deletion_ind | Quotation Deleted |
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_DeliveryPeriods.
-- 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: PTBATBDLVPER
CREATE VIEW P_Tbat_Basis_DeliveryPeriods AS
SELECT
bas_quot_current.basis_type AS basis_type,
bas_quot_current.basis_id AS basis_id,
bas_quot_current.dcsid AS dcsid,
bas_quot_current.mic AS mic,
bas_quot_current.delivery_to AS delivery_to,
bas_quot_current.pricetype AS pricetype,
bas_quot_current.pricedate AS pricedate,
bas_quot_current.pricetime AS pricetime,
bas_quot_current.validfrom AS validfrom,
bas_quot_single.keydate AS keydate,
bas_quot_single.price AS price,
bas_quot_single.uom AS uom,
bas_quot_single.currency AS currency,
bas_quot_single.createdby AS createdby,
bas_quot_single.deletion_ind AS deletion_ind
FROM P_Tbat_Basis_Quot_Max AS bas_quot_current
INNER JOIN tbact_bas_quot AS bas_quot_single ON /* join condition not captured in parsed metadata */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA