P_ProcessedImpairmentLineItem
P_ProcessedImpairmentLineItem is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_LedgerCompanyCodeCrcyRoles, P_GLACCImpairmentLineItem) and exposes 72 fields with key fields CompanyCode, FiscalYear, FiscalPeriod.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_LedgerCompanyCodeCrcyRoles | CurrencyRoles | inner |
| P_GLACCImpairmentLineItem | P_GLACCImpairmentLineItem | from |
Parameters (6)
| Name | Type | Default |
|---|---|---|
| P_Ledger | fis_rldnr | |
| P_CompanyCode | fis_bukrs | |
| P_CurrencyRole | fis_curtp | |
| P_LossAllowanceLayout | fins_key_figure_layout | |
| P_FiscalYear | gjahr | |
| P_FiscalPeriod | poper |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPRCIMPLI | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (72)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| Ledger | LineItems | Ledger | Ledger | |
| CompanyCode | LineItems | CompanyCode | Receiver Company Code | |
| FiscalYear | FiscalYear | G/L Fiscal Year | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| Country | Country | Venue: Ctry/Reg | ||
| CreditRiskClass | CreditRiskClass | Credit Risk Class | ||
| GeneralLedgerAgingIncrement | GeneralLedgerAgingIncrement | Increment | ||
| CompanyCodeCurrencyRole | CompanyCodeCurrencyRole | |||
| GlobalCurrencyRole | GlobalCurrencyRole | |||
| FreeDefinedCurrency1Role | FreeDefinedCurrency1Role | |||
| FreeDefinedCurrency2Role | FreeDefinedCurrency2Role | |||
| FreeDefinedCurrency3Role | FreeDefinedCurrency3Role | |||
| FreeDefinedCurrency4Role | FreeDefinedCurrency4Role | |||
| FreeDefinedCurrency5Role | FreeDefinedCurrency5Role | |||
| FreeDefinedCurrency6Role | FreeDefinedCurrency6Role | |||
| FreeDefinedCurrency7Role | FreeDefinedCurrency7Role | |||
| FreeDefinedCurrency8Role | FreeDefinedCurrency8Role | |||
| GLAccount | GLAccount | General Ledger | ||
| BusinessPartner | BusinessPartner | Issuing Authority | ||
| Customer | Customer | Sold-to Party | ||
| LossAllowanceSortSequenceValue | LossAllowanceSortSequenceValue | |||
| LossAllowanceKeyFigure | LossAllowanceKeyFigure | |||
| CostCenter | CostCenter | Cost Center | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| BusinessArea | BusinessArea | Business Area | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| Segment | Segment | Segment number | ||
| PartnerCostCenter | PartnerCostCenter | Sender Cost Ctr | ||
| PartnerProfitCenter | PartnerProfitCenter | Profit Center | ||
| PartnerFunctionalArea | PartnerFunctionalArea | Rec. Fntcl Area | ||
| PartnerBusinessArea | PartnerBusinessArea | Trdg Part.BA | ||
| PartnerCompany | PartnerCompany | Trading Partner | ||
| PartnerSegment | PartnerSegment | Partner Segment | ||
| SubLedgerAcctLineItemType | SubLedgerAcctLineItemType | SLALineItemType | ||
| P_LedgerasLedger | Local Crcy Amt | |||
| KEY | CompanyCode | Receiver Company Code | ||
| KEY | FiscalYear | G/L Fiscal Year | ||
| KEY | FiscalPeriod | Tax period | ||
| Country | Venue: Ctry/Reg | |||
| CreditRiskClass | Credit Risk Class | |||
| GeneralLedgerAgingIncrement | Increment | |||
| CompanyCodeCurrencyRole | ||||
| GlobalCurrencyRole | ||||
| FreeDefinedCurrency1Role | ||||
| FreeDefinedCurrency2Role | ||||
| FreeDefinedCurrency3Role | ||||
| FreeDefinedCurrency4Role | ||||
| FreeDefinedCurrency5Role | ||||
| FreeDefinedCurrency6Role | ||||
| FreeDefinedCurrency7Role | ||||
| FreeDefinedCurrency8Role | ||||
| GLAccount | General Ledger | |||
| BusinessPartner | Issuing Authority | |||
| Customer | Sold-to Party | |||
| LossAllowanceSortSequenceValue | LossAllowanceSortSequenceValue | |||
| LossAllowanceKeyFigure | LossAllowanceKeyFigure | |||
| CostCenter | Cost Center | |||
| ProfitCenter | Profit Center | |||
| FunctionalArea | Sendr Fctl Area | |||
| BusinessArea | Business Area | |||
| ControllingArea | Controlling Area | |||
| Segment | Segment number | |||
| PartnerCostCenter | Sender Cost Ctr | |||
| PartnerProfitCenter | Profit Center | |||
| PartnerFunctionalArea | Rec. Fntcl Area | |||
| PartnerBusinessArea | Trdg Part.BA | |||
| PartnerCompany | Trading Partner | |||
| PartnerSegment | Partner Segment | |||
| SubLedgerAcctLineItemType | SubLedgerAcctLineItemType | SLALineItemType | ||
| DisplayCurrency | ||||
| AmountInDisplayCurrency |
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_ProcessedImpairmentLineItem.
-- 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: PPRCIMPLI
-- Parameters: P_Ledger : fis_rldnr, P_CompanyCode : fis_bukrs, P_CurrencyRole : fis_curtp, P_LossAllowanceLayout : fins_key_figure_layout, P_FiscalYear : gjahr, P_FiscalPeriod : poper
CREATE VIEW P_ProcessedImpairmentLineItem AS
SELECT
LineItems.Ledger AS Ledger,
LineItems.CompanyCode AS CompanyCode,
FiscalYear,
FiscalPeriod,
Country,
CreditRiskClass,
GeneralLedgerAgingIncrement,
CompanyCodeCurrencyRole,
GlobalCurrencyRole,
FreeDefinedCurrency1Role,
FreeDefinedCurrency2Role,
FreeDefinedCurrency3Role,
FreeDefinedCurrency4Role,
FreeDefinedCurrency5Role,
FreeDefinedCurrency6Role,
FreeDefinedCurrency7Role,
FreeDefinedCurrency8Role,
GLAccount,
BusinessPartner,
Customer,
LossAllowanceSortSequenceValue,
LossAllowanceKeyFigure,
CostCenter,
ProfitCenter,
FunctionalArea,
BusinessArea,
ControllingArea,
Segment,
PartnerCostCenter,
PartnerProfitCenter,
PartnerFunctionalArea,
PartnerBusinessArea,
PartnerCompany,
PartnerSegment,
SubLedgerAcctLineItemType,
case when CompanyCodeCurrencyRole = :P_CurrencyRole then cast(AmountInCompanyCodeCurrency as farp_amount_display_crcy preserving type) when GlobalCurrencyRole = :P_CurrencyRole then cast(AmountInGlobalCurrency as farp_amount_display_crcy preserving type) when FreeDefinedCurrency1Role = :P_CurrencyRole then cast(AmountInFreeDefinedCurrency1 as farp_amount_display_crcy preserving type) when FreeDefinedCurrency2Role = :P_CurrencyRole then cast(AmountInFreeDefinedCurrency2 as farp_amount_display_crcy preserving type) when FreeDefinedCurrency3Role = :P_CurrencyRole then cast(AmountInFreeDefinedCurrency3 as farp_amount_display_crcy preserving type) when FreeDefinedCurrency4Role = :P_CurrencyRole then cast(AmountInFreeDefinedCurrency4 as farp_amount_display_crcy preserving type) when FreeDefinedCurrency5Role = :P_CurrencyRole then cast(AmountInFreeDefinedCurrency5 as farp_amount_display_crcy preserving type) when FreeDefinedCurrency6Role = :P_CurrencyRole then cast(AmountInFreeDefinedCurrency6 as farp_amount_display_crcy preserving type) when FreeDefinedCurrency7Role = :P_CurrencyRole then cast(AmountInFreeDefinedCurrency7 as farp_amount_display_crcy preserving type) when FreeDefinedCurrency8Role = :P_CurrencyRole then cast(AmountInFreeDefinedCurrency8 as farp_amount_display_crcy preserving type) else cast('0' as farp_amount_display_crcy) end as AmountInDisplayCurrency AS P_LedgerasLedger,
cast(' ' as vdm_v_display_currency) AS DisplayCurrency,
cast(0 as farp_amount_display_crcy) AS AmountInDisplayCurrency
FROM P_GLACCImpairmentLineItem
INNER JOIN I_LedgerCompanyCodeCrcyRoles AS CurrencyRoles 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