P_VarConfignPlntSpcfcProdVar
P_VarConfignPlntSpcfcProdVar is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (mara, v_marc_md) and exposes 8 fields with key fields ProductVariant, Plant.
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PAVCPLSPCFCPVAR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
@AbapCatalog.sqlViewName: 'PAVCPLSPCFCPVAR'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #BASIC
define view P_VarConfignPlntSpcfcProdVar
as select from v_marc_md as ProductPlant
inner join mara as Product on ProductPlant.matnr = Product.matnr
{
key ProductPlant.matnr as ProductVariant,
key ProductPlant.werks as Plant,
ProductPlant.stdpd as Product,
ProductPlant.cuobj as ProductConfiguration,
Product.ernam as CreatedByUser,
Product.ersda as CreationDate,
case
when Product.laeda = '00000000'
or Product.laeda is null
then Product.ersda
else Product.laeda
end as LastChangeDate,
case
when Product.laeda = '00000000'
or Product.laeda is null
then Product.ernam
else Product.aenam
end as LastChangedByUser
} where ProductPlant.cuobj != '000000000000000000' and
ProductPlant.lvorm != 'X' and //Deletion marker
Product.lvorm != 'X' //Deletion marker
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"MARA",
"V_MARC_MD"
],
"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