P_BusSolnOrdSrvcOrdFlwLvl0
Solution OrderService Order Flow: Level 0
P_BusSolnOrdSrvcOrdFlwLvl0 is a Consumption CDS View that provides data about "Solution OrderService Order Flow: Level 0" in SAP S/4HANA. It reads from 3 data sources (I_ServiceDocumentItemEnhcd, I_ServiceDocumentItemEnhcd, I_ServiceDocumentItemSuccssr_2) and exposes 10 fields with key fields PrecedingDocument, PrecedingDocumentItem, PrecedingDocumentCategory, SubsequentDocument, SubsequentDocumentItem.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentItemEnhcd | _ServiceContract | inner |
| I_ServiceDocumentItemEnhcd | _SolutionOrder | inner |
| I_ServiceDocumentItemSuccssr_2 | _SrvContToSolnOrd | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PBSOSOFLWLVL0 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| EndUserText.label | Solution OrderService Order Flow: Level 0 | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PrecedingDocument | I_ServiceDocumentItemEnhcd | ServiceDocument | |
| KEY | PrecedingDocumentItem | I_ServiceDocumentItemEnhcd | ServiceDocumentItem | |
| KEY | PrecedingDocumentCategory | |||
| KEY | SubsequentDocument | I_ServiceDocumentItemEnhcd | ServiceDocument | |
| KEY | SubsequentDocumentItem | I_ServiceDocumentItemEnhcd | ServiceDocumentItem | |
| KEY | SubsequentDocumentCategory | |||
| ServiceObjectType | I_ServiceDocumentItemEnhcd | ServiceObjectType | ||
| BusinessSolutionOrder | I_ServiceDocumentItemEnhcd | ServiceDocument | ||
| ServiceOrder | _SrvcOrd | ServiceDocument | ||
| ServiceOrderItem | I_ServiceDocumentItemEnhcd | ServiceDocumentItem |
@AbapCatalog: {
sqlViewName: 'PBSOSOFLWLVL0',
compiler.compareFilter: true,
preserveKey: true
}
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {
dataClass: #MIXED,
serviceQuality: #C,
sizeCategory: #XL
}
@VDM: {
viewType: #CONSUMPTION,
private: true
}
@EndUserText.label: 'Solution OrderService Order Flow: Level 0'
// Service Contract -> Solution Order
define view P_BusSolnOrdSrvcOrdFlwLvl0
as select from I_ServiceDocumentItemSuccssr_2 as _SrvContToSolnOrd
inner join I_ServiceDocumentItemEnhcd as _SolutionOrder on _SolutionOrder.ServiceObjectType = 'BUS2000172'
and _SrvContToSolnOrd.ServiceDocItmSuccssrCharUUID = _SolutionOrder.ServiceDocumentItemCharUUID
and _SrvContToSolnOrd.ServiceDocumentItemObjectType = 'BUS2000137'
inner join I_ServiceDocumentItemEnhcd as _ServiceContract on _ServiceContract.ServiceDocumentItemCharUUID = _SrvContToSolnOrd.ServiceDocumentItemCharUUID
and _ServiceContract.ServiceObjectType = 'BUS2000112'
left outer to one join I_ServiceDocumentItemSuccssr_2 as _SrvConToSrvOrd on _SrvConToSrvOrd.ServiceDocumentItemCharUUID= _SolutionOrder.ServiceDocumentItemCharUUID
left outer to one join I_ServiceDocumentItemEnhcd as _SrvcOrd on _SrvcOrd.ServiceDocumentItemCharUUID = _SrvConToSrvOrd.ServiceDocItmSuccssrCharUUID
{
key _ServiceContract.ServiceDocument as PrecedingDocument,
key _ServiceContract.ServiceDocumentItem as PrecedingDocumentItem,
key 'SC' as PrecedingDocumentCategory,
key _SolutionOrder.ServiceDocument as SubsequentDocument,
key _SolutionOrder.ServiceDocumentItem as SubsequentDocumentItem,
key 'SOLO' as SubsequentDocumentCategory,
// For filtering
_SolutionOrder.ServiceObjectType as ServiceObjectType,
_SolutionOrder.ServiceDocument as BusinessSolutionOrder,
_SrvcOrd.ServiceDocument as ServiceOrder,
_SolutionOrder.ServiceDocumentItem as ServiceOrderItem
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SERVICEDOCUMENTITEMENHCD",
"I_SERVICEDOCUMENTITEMSUCCSSR_2"
],
"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