v_konv
CDS-View for PRCD_ELEM_DRAFT to KONV conversion
v_konv is a CDS View that provides data about "CDS-View for PRCD_ELEM_DRAFT to KONV conversion" in SAP S/4HANA. It reads from 1 data source (prcd_elements) and exposes 65 fields with key fields knumv, kposn, stunr, zaehk.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| prcd_elements | prcd_elements | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | V_KONV_CDS | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | CDS-View for PRCD_ELEM_DRAFT to KONV conversion | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (65)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | knumv | knumv | Doc. Condition | |
| KEY | kposn | kposn | Number | |
| KEY | stunr | stunr | Step Number | |
| KEY | zaehk | zaehk | Counter | |
| kappl | kappl | Application | ||
| kschl | kschl | Tax Item Type | ||
| kdatu | ||||
| krech | ||||
| waers | waers | Transaction Currency | ||
| kkurs | kkurs | Rate | ||
| kpein | kpein | Pricing Unit | ||
| kmein | kmein | Unit of Measure | ||
| kumza | Numerator | |||
| kumne | Denominator | |||
| kntyp | kntyp | Condit.Category | ||
| kstat | kstat | Status | ||
| knprs | knprs | Scale Type | ||
| kruek | kruek | Accruals | ||
| kreli | kreli | Inv.List Cond. | ||
| kherk | kherk | Condit.Origin | ||
| kgrpe | kgrpe | Group Condition | ||
| koupd | koupd | Condit. Update | ||
| kolnr | kolnr | Access | ||
| knumh | knumh | NoCondRec.Batch | ||
| kopos | ||||
| kvsl1 | kvsl1 | Account Key | ||
| sakn1 | sakn1 | G/L Account | ||
| mwsk1 | mwsk1 | Tax Code | ||
| kvsl2 | kvsl2 | Accruals | ||
| sakn2 | sakn2 | G/L Account | ||
| mwsk2 | mwsk2 | W/Tax Code | ||
| lifnr | lifnr | Vendor no. | ||
| kunnr | kunnr | Stock customer | ||
| kdiff | kdiff | CondRoundDiff. | ||
| kwert | Condition Value | |||
| ksteu | ksteu | Pricing Type | ||
| kinak | kinak | Inactive | ||
| koaid | koaid | Condition Class | ||
| zaeko | zaeko | HdCond.Counter | ||
| kmxaw | kmxaw | Max Basis Value | ||
| kmxwr | kmxwr | Maximum Amount | ||
| kfaktor | kfaktor | K-factor | ||
| kdupl | kdupl | Structure Cond. | ||
| kfaktor1 | kfaktor1 | CondFactor | ||
| kzbzg | ||||
| konms | konms | Scale UoM | ||
| konws | konws | Scale Currency | ||
| kwaeh | kwaeh | Cndn Currency | ||
| kwert_k | Condition Value | |||
| kfkiv | kfkiv | IntcoBillCond | ||
| kvarc | kvarc | UsedfVarConfig | ||
| kmprs | kmprs | Changed Manual. | ||
| prsqu | prsqu | Price Source | ||
| varcond | varcond | Variant Key | ||
| stufe | ||||
| wegxx | ||||
| ktrel | ktrel | Rel.Acc.Assig. | ||
| mdflg | mdflg | Matrix Maint. | ||
| txjlv | txjlv | Jurisdiction level | ||
| kbflag | kbflag | BitFlags | ||
| kolnr3 | ||||
| cpf_guid | cpf_guid | Form. ID in Document | ||
| kaqty | kaqty | Adjusted Qty. | ||
| val_zero | val_zero | Zero Value Proc. | ||
| tax_country | tax_country | Tax Ctry/Rgn |
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 v_konv.
-- 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: V_KONV_CDS
CREATE VIEW v_konv AS
SELECT
knumv,
kposn,
stunr,
zaehk,
kappl,
kschl,
cast(substring( kdatu, 1, 8 ) as abap.dats ) AS kdatu,
cast(substring( krech, 1, 1 ) as abap.char( 1 ) ) AS krech,
waers,
kkurs,
kpein,
kmein,
cast( kumza as abap.dec( 5, 0 ) ) AS kumza,
cast( kumne as abap.dec( 5, 0 ) ) AS kumne,
kntyp,
kstat,
knprs,
kruek,
kreli,
kherk,
kgrpe,
koupd,
kolnr,
knumh,
cast(substring( kopos, 2, 2 ) as abap.numc( 2 ) ) AS kopos,
kvsl1,
sakn1,
mwsk1,
kvsl2,
sakn2,
mwsk2,
lifnr,
kunnr,
kdiff,
cast( kwert as abap.curr( 13, 2 ) ) AS kwert,
ksteu,
kinak,
koaid,
zaeko,
kmxaw,
kmxwr,
kfaktor,
kdupl,
kfaktor1,
cast(substring( kzbzg, 1, 1 ) as abap.char( 1 ) ) AS kzbzg,
konms,
konws,
kwaeh,
cast(kwert_k as abap.curr( 13, 2 ) ) AS kwert_k,
kfkiv,
kvarc,
kmprs,
prsqu,
varcond,
cast('0' as abap.dec( 2, 0 ) ) AS stufe,
cast('0' as abap.dec( 4, 0 ) ) AS wegxx,
ktrel,
mdflg,
txjlv,
kbflag,
cast ( '000' as abap.numc(3) ) AS kolnr3,
cpf_guid,
kaqty,
val_zero,
tax_country
FROM prcd_elements
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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