P_ProcurementAlternative
Procurement Alternatives
P_ProcurementAlternative is a Basic CDS View that provides data about "Procurement Alternatives" in SAP S/4HANA. It reads from 1 data source (ckmlmv001) and exposes 17 fields with key field ProcurementAlternative. Part of development package ODATA_MANAGE_DRCT_ACTY_ALLOC.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ckmlmv001 | ckmlmv001 | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPROCMTALTV | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProcurementAlternative | ProdCostEst.No. | ||
| ValuationArea | Valuation Area | |||
| Plant | werks | Receiving Plant | ||
| ProductionPlant | prwrk_nd | Plant | ||
| Material | Vehicle Model | |||
| ProcessCategory | Process Cat. | |||
| ProcurementProcess | Procurement proc. | |||
| ProductionVersion | Prod. Version | |||
| PlanningPlant | Planning Plant | |||
| SourceBOMUsage | Usage | |||
| SourceBOMAlternative | Alternative | |||
| TaskListType | Task List Type | |||
| TaskListGroup | Group | |||
| TaskListGroupCounter | Group Counter | |||
| Supplier | Supplier | |||
| PurchasingOrganization | Purchasing Org. | |||
| spez_name_nd | spez_name_nd | User-Def. 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_ProcurementAlternative.
-- 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: PPROCMTALTV
CREATE VIEW P_ProcurementAlternative AS
SELECT
cast(kalnr as ckml_alprocnr) AS ProcurementAlternative,
cast(bwkey as bwkey) AS ValuationArea,
werks AS Plant,
prwrk_nd AS ProductionPlant,
cast(matnr as productnumber) AS Material,
cast(btyp as ckml_btyp) AS ProcessCategory,
cast(proc_kalnr as ckml_f_procnr) AS ProcurementProcess,
cast(verid_nd as verid) AS ProductionVersion,
cast(plwrk_nd as vpwrk) AS PlanningPlant,
cast(stlan_nd as stlan) AS SourceBOMUsage,
cast(stlal_nd as stlal) AS SourceBOMAlternative,
cast(plnty_nd as plnty) AS TaskListType,
cast(plnnr_nd as plnnr) AS TaskListGroup,
cast(plnal_nd as plnal) AS TaskListGroupCounter,
cast(lifnr_nd as lifnr) AS Supplier,
cast(ekorg_nd as ekorg) AS PurchasingOrganization,
spez_name_nd
FROM ckmlmv001
;
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