P_SlsOrdProcFlow15
Sales Order Process Flow: Level +1 Intercompany Delivery
P_SlsOrdProcFlow15 is a Consumption CDS View that provides data about "Sales Order Process Flow: Level +1 Intercompany Delivery" in SAP S/4HANA. It reads from 2 data sources (P_SlsOrdProcFlow0, I_DeliveryDocumentItem) and exposes 10 fields with key fields Level1Document, Level1DocumentItem, Level1DocumentCategory.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_SlsOrdProcFlow0 | Level0 | from |
| I_DeliveryDocumentItem | Level1 | inner |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSLSORDPROCF15 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Sales Order Process Flow: Level +1 Intercompany Delivery | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Level1Document | I_DeliveryDocumentItem | DeliveryDocument | |
| KEY | Level1DocumentItem | I_DeliveryDocumentItem | DeliveryDocumentItem | |
| KEY | Level1DocumentCategory | DeliveryDocument | SDDocumentCategory | |
| SalesOrder | SalesOrder | |||
| SalesOrderType | SalesOrderType | |||
| SalesOrderCategory | SalesOrderCategory | |||
| SalesOrderIsProjectBased | SalesOrderIsProjectBased | |||
| SalesOrganization | P_SlsOrdProcFlow0 | SalesOrganization | ||
| DistributionChannel | P_SlsOrdProcFlow0 | DistributionChannel | ||
| OrganizationDivision | P_SlsOrdProcFlow0 | OrganizationDivision |
@AbapCatalog.sqlViewName: 'PSLSORDPROCF15'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Sales Order Process Flow: Level +1 Intercompany Delivery'
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@VDM.private: true
@VDM.viewType: #CONSUMPTION
define view P_SlsOrdProcFlow15
as select from P_SlsOrdProcFlow0 as Level0 --> Level 0
inner join I_DeliveryDocumentItem as Level1 --> Level 1
on Level0.SalesOrder = Level1.IntcoRefSDDocument
left outer to one join I_DeliveryDocument as DeliveryDocument on Level1.DeliveryDocument = DeliveryDocument.DeliveryDocument
and DeliveryDocument.SDDocumentCategory = 'J'
{
//Key
key Level1.DeliveryDocument as Level1Document,
key Level1.DeliveryDocumentItem as Level1DocumentItem,
key DeliveryDocument.SDDocumentCategory as Level1DocumentCategory,
//SalesOrder
SalesOrder,
SalesOrderType,
SalesOrderCategory,
//Order relevant for Project e.g Professional Service
SalesOrderIsProjectBased,
//Organization
Level0.SalesOrganization,
Level0.DistributionChannel,
Level0.OrganizationDivision,
//Status
case when
DeliveryDocument.OverallDelivReltdBillgStatus = 'A' or
DeliveryDocument.OverallDelivReltdBillgStatus = 'B'
then
'X'
else
''
end as BillingDocumentIsRequired
}
where
Level0.SalesOrderCategory = 'ICSO' --> Order
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_DELIVERYDOCUMENT",
"I_DELIVERYDOCUMENTITEM",
"P_SLSORDPROCFLOW0"
],
"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