P_ChgImpactOrderEffectivity
P_ChgImpactOrderEffectivity is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (tecs, afpo) and exposes 22 fields with key field OrderId.
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCHGIMPORDEFF | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OrderId | afpo | aufnr | SettlementOrder |
| techs | afpo | techs | Tech st from | |
| mandt | tecs | mandt | Editing Client | |
| andat | tecs | andat | Created On | |
| annam | tecs | annam | Created By | |
| date_lo | tecs | date_lo | Date | |
| date_hi | tecs | date_hi | Date | |
| date_oi | tecs | date_oi | Date | |
| matnr_lo | tecs | matnr_lo | Material | |
| sernr_lo | tecs | sernr_lo | Serial no. | |
| sernr_hi | tecs | sernr_hi | Serial no. | |
| product_lo | tecs | product_lo | Product | |
| class_lo | tecs | class_lo | Class | |
| classty_lo | tecs | classty_lo | Class Type | |
| plant_lo | tecs | plant_lo | Plant | |
| startup_lo | tecs | startup_lo | Start-Up Params | |
| locno_lo | tecs | locno_lo | Location | |
| sernr_oi | tecs | sernr_oi | Serial no. | |
| tabname | tecs | tabname | Table/Constant Value | |
| objky | tecs | objky | Relation (Key) | |
| techu | tecs | techu | Original technical status | |
| techo | tecs | techo | Technical status for original |
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_ChgImpactOrderEffectivity.
-- 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: PCHGIMPORDEFF
CREATE VIEW P_ChgImpactOrderEffectivity AS
SELECT
ChgImpactProd.aufnr AS OrderId,
ChgImpactProd.techs AS techs,
ChgImpactParameffec.mandt AS mandt,
ChgImpactParameffec.andat AS andat,
ChgImpactParameffec.annam AS annam,
ChgImpactParameffec.date_lo AS date_lo,
ChgImpactParameffec.date_hi AS date_hi,
ChgImpactParameffec.date_oi AS date_oi,
ChgImpactParameffec.matnr_lo AS matnr_lo,
ChgImpactParameffec.sernr_lo AS sernr_lo,
ChgImpactParameffec.sernr_hi AS sernr_hi,
ChgImpactParameffec.product_lo AS product_lo,
ChgImpactParameffec.class_lo AS class_lo,
ChgImpactParameffec.classty_lo AS classty_lo,
ChgImpactParameffec.plant_lo AS plant_lo,
ChgImpactParameffec.startup_lo AS startup_lo,
ChgImpactParameffec.locno_lo AS locno_lo,
ChgImpactParameffec.sernr_oi AS sernr_oi,
ChgImpactParameffec.tabname AS tabname,
ChgImpactParameffec.objky AS objky,
ChgImpactParameffec.techu AS techu,
ChgImpactParameffec.techo AS techo
FROM afpo AS ChgImpactProd
LEFT OUTER JOIN tecs AS ChgImpactParameffec 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