P_SupDmndAllDocDelivComp
P_SupDmndAllDocDelivComp is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (lips, I_SupDmndMaterialPlant, vbbe) and exposes 3 fields.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| lips | lips | inner |
| I_SupDmndMaterialPlant | marc | inner |
| vbbe | vbbe | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | PSUPDMNDADDCOMP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view |
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM: {
viewType: #BASIC
}
@VDM.private: true
@AccessControl: {
authorizationCheck: #NOT_REQUIRED,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@AbapCatalog: {
sqlViewName: 'PSUPDMNDADDCOMP',
compiler.compareFilter: true
}
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #B,
sizeCategory: #XXL
}
}
//@EndUserText.label: 'View for Deliveries for Sub Contracting PO Components'
define view P_SupDmndAllDocDelivComp
as select from vbbe as vbbe
inner join lips as lips on vbbe.vbeln = lips.vbeln
and vbbe.posnr = lips.posnr
inner join I_SupDmndMaterialPlant as marc on vbbe.matnr = marc.Material
and vbbe.werks = marc.Plant
{
lips.fsh_rsnum as Reservation,
lips.fsh_rspos as ReservationItem,
sum(vbbe.omeng) as DeliveredQuantity
}
where
vbbe.vbtyp = 'J' -- Delivery
and vbbe.omeng > 0
and not(
fsh_rsnum = '0000000000'
or fsh_rspos = '0000'
)
group by
fsh_rsnum,
fsh_rspos
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SUPDMNDMATERIALPLANT",
"LIPS",
"VBBE"
],
"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