P_ScheduleItemCount
Private View For Item Count
P_ScheduleItemCount is a Consumption CDS View that provides data about "Private View For Item Count" in SAP S/4HANA.
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSCHCOUNT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Private View For Item Count | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SchedulingAgreement | _Item | SchedulingAgreement | |
| NumberOfContractItems |
@AbapCatalog.sqlViewName: 'PSCHCOUNT'
@AbapCatalog.compiler.compareFilter: true
@EndUserText.label: 'Private View For Item Count'
@VDM.private: true
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@Metadata.ignorePropagatedAnnotations: true
define view P_ScheduleItemCount
as select distinct from I_SchedgAgrmtItm as _Item
{
key _Item.SchedulingAgreement,
// key _Item.SchedulingAgreementItem,
cast( 1 as mm_a_contractitems ) as NumberOfContractItems
}
where
_Item.PurchasingDocumentDeletionCode = ' '
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SCHEDGAGRMTITM"
],
"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