P_VarConfignXPlantProdVariant
P_VarConfignXPlantProdVariant is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (mara) and exposes 5 fields with key field ProductVariant.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mara | mara | from |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PAVCXPLANTPVAR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductVariant | mara | matnr | |
| Product | satnr | |||
| CreatedByUser | ernam | |||
| CreationDate | ersda | |||
| ProductConfiguration | cuobf |
@AbapCatalog.sqlViewName: 'PAVCXPLANTPVAR'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #BASIC
define view P_VarConfignXPlantProdVariant as
select from mara
{
key mara.matnr as ProductVariant,
satnr as Product,
ernam as CreatedByUser,
ersda as CreationDate,
case
when laeda = '00000000'
or laeda is null
then ersda
else laeda
end as LastChangeDate,
case
when laeda = '00000000'
or laeda is null
then ernam
else aenam
end as LastChangedByUser,
cuobf as ProductConfiguration
} where
satnr is not null and //Filter for Cross-Plant Product Variants
cuobf != '000000000000000000' and
lvorm != 'X' //Deletion marker
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"MARA"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- 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 Annotations — A Complete Guide
- 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