P_BUSSOLNORDENTPROJECTFLWLVL2
Solution Order Enterprise Project Flow: Level 2
P_BUSSOLNORDENTPROJECTFLWLVL2 is a CDS View in S/4HANA. Solution Order Enterprise Project Flow: Level 2. It contains 4 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| P_BusSolnOrdEntProjectFlwLvl3 | view | from | CONSUMPTION | Solution Order Enterprise Project Flow: Level 3 |
Fields (4)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | SubsequentDocument | PrecedingDocument | 1 |
| KEY | SubsequentDocumentCategory | PrecedingDocumentCategory | 1 |
| KEY | SubsequentDocumentItem | PrecedingDocumentItem | 1 |
| BusinessSolutionOrder | BusinessSolutionOrder | 1 |
@AbapCatalog: {
sqlViewName: 'PBSOEPFLWLVL2',
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 Order Enterprise Project Flow: Level 2'
// Customer Project -> Sales Order
define view P_BusSolnOrdEntProjectFlwLvl2
as select from P_BusSolnOrdEntProjectFlwLvl1 as Level1
inner join I_EnterpriseProject as _EnterpriseProject on _EnterpriseProject.Project = Level1.SubsequentDocument
inner join I_EnterpriseProjectElement as _EnterpriseProjectElement on _EnterpriseProjectElement.ProjectInternalID = _EnterpriseProject.ProjectInternalID
inner join I_CustProjSlsOrdItem as _SalesDocumentItem on _SalesDocumentItem.WBSElementInternalID = _EnterpriseProjectElement.WBSElementInternalID
{
key Level1.SubsequentDocument as PrecedingDocument,
key Level1.SubsequentDocumentItem as PrecedingDocumentItem,
key Level1.SubsequentDocumentCategory as PrecedingDocumentCategory,
key _SalesDocumentItem.SalesOrder as SubsequentDocument,
key _SalesDocumentItem.SalesOrderItem as SubsequentDocumentItem,
key 'CPSO' as SubsequentDocumentCategory,
@Semantics.amount.currencyCode: 'TransactionCurrency'
_SalesDocumentItem._SalesOrder.TotalNetAmount,
_SalesDocumentItem._SalesOrder.TransactionCurrency,
// For filtering
Level1.BusinessSolutionOrder,
ServiceObjectType,
Level1.CustomerProject,
CustomerProjectItem
}
where _EnterpriseProjectElement.WBSElementIsBillingElement = 'X'