A_BusSolnOrdEntProjectItem
Enterprise Project Item
A_BusSolnOrdEntProjectItem is a Composite CDS View that provides data about "Enterprise Project Item" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentItemEnhcd) and exposes 30 fields with key fields BusinessSolutionOrder, BusinessSolutionOrderItem. It has 10 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentItemEnhcd | I_ServiceDocumentItemEnhcd | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | A_BusinessSolutionOrder | _BusinessSolutionOrder | $projection.BusinessSolutionOrder = _BusinessSolutionOrder.BusinessSolutionOrder |
| [0..1] | A_BusSolnOrdItmFUPEntProject | _EnterpriseProject | $projection.BusinessSolutionOrder = _EnterpriseProject.BusinessSolutionOrder and $projection.BusinessSolutionOrderItem = _EnterpriseProject.BusinessSolutionOrderItem |
| [0..*] | I_SrvcDocAppointment | _EnterpriseProjectDates | $projection.BusinessSolutionOrderItemUUID = _EnterpriseProjectDates.SrvcMgmtObjectUUID |
| [0..1] | I_CustMgmtPartner | _ProjectManager | $projection.BusinessSolutionOrder = _ProjectManager.CustMgmtDocument and $projection.BusinessSolutionOrderItem = _ProjectManager.CustMgmtDocumentItem and _ProjectManager.CustMgmtPartFunctionCategory = '0093' and _ProjectManager.CustMgmtObjectType = 'BUS2000172' |
| [0..*] | A_BusSolutionOrderItemText | _Text | $projection.BusinessSolutionOrder = _Text.BusinessSolutionOrder and $projection.BusinessSolutionOrderItem = _Text.BusinessSolutionOrderItem |
| [0..1] | I_CustMgmtExtRefID | _ExternalReference | $projection.BusinessSolutionOrder = _ExternalReference.CustMgmtDocument and _ExternalReference.CustMgmtObjectType = 'BUS2000172' and $projection.BusinessSolutionOrderItem = _ExternalReference.CustMgmtDocumentItem and _ExternalReference.CustMgmtExtRefIDType = '0013' |
| [0..1] | E_ServiceDocumentItem | _Extension | _Extension.ServiceCategory = 'BUS2000172' and $projection.BusinessSolutionOrder = _Extension.ServiceOrderItem and $projection.BusinessSolutionOrderItem = _Extension.ServiceLineExternalID |
| [0..*] | A_BusSolnOrdItmUserStatus | _UserStatus | $projection.BusinessSolutionOrder = _UserStatus.BusinessSolutionOrder and $projection.BusinessSolutionOrderItem = _UserStatus.BusinessSolutionOrderItem |
| [0..1] | I_ServiceDocumentItemSuccssr_3 | _ProjectLinkage | _ProjectLinkage.ServiceDocumentItmRelationType = 'SOL1' and _ProjectLinkage.ServiceDocItmSuccssrBusObjType = 'CPMPROJI' and $projection.ServiceDocumentItemCharUUID = _ProjectLinkage.ServiceDocumentItemCharUUID |
| [0..1] | I_UnitOfMeasure | _QuantityUnit | $projection.QuantityUnit = _QuantityUnit.UnitOfMeasure |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Enterprise Project Item | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| AbapCatalog.sqlViewName | ABSOENTPROJITM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (30)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessSolutionOrder | ServiceDocument | Transaction ID | |
| KEY | BusinessSolutionOrderItem | ServiceDocumentItem | Service Document | |
| BusinessSolutionOrderItemUUID | ServiceDocumentItemUUID | |||
| BusSolnOrdItmCategory | ServiceDocItemCategory | |||
| Product | Product | Product Sold | ||
| Quantity | ServiceDocumentItemQuantity | |||
| QuantityUnit | ServiceDocItemQuantityUnit | |||
| BusSolnOrdItmQtyUnitSAPCode | ||||
| BusSolnOrdItmQtyUnitISOCode | ||||
| BusSolnOrdItmDescription | ServiceDocumentItemDescription | |||
| ServiceDocumentItemNetAmount | ServiceDocumentItemNetAmount | |||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| BusSolnOrdItmExtReference | _ExternalReference | CustMgmtExtRefID | ||
| ParentServiceDocumentItemUUID | ParentServiceDocumentItemUUID | |||
| ParentBusSolnOrdItem | _ParentServiceDocItem | ServiceDocumentItem | Service Document | |
| BusSolnOrdItmIsReleased | ServiceDocumentItemIsReleased | |||
| SoldToParty | SoldToParty | Sold-to Party | ||
| ProjectManager | _ProjectManager | CustMgmtBusinessPartner | ||
| PersonResponsible | Employee Resp. | |||
| clientNULLasProjectStartDate | ||||
| clientNULLasProjectEndDate | ||||
| ResponsibleCostCenter | ResponsibleCostCenter | Responsible Cost Center | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| EnterpriseProjectServiceOrg | EnterpriseProjectServiceOrg | Service Org. | ||
| ServiceDocumentItemCharUUID | ServiceDocumentItemCharUUID | |||
| ProjectelseendasLinkedProject | ||||
| _BusinessSolutionOrder | _BusinessSolutionOrder | |||
| _EnterpriseProject | _EnterpriseProject | |||
| _Text | _Text | |||
| _UserStatus | _UserStatus |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view A_BusSolnOrdEntProjectItem.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW A_BusSolnOrdEntProjectItem AS
SELECT
ServiceDocument AS BusinessSolutionOrder,
ServiceDocumentItem AS BusinessSolutionOrderItem,
ServiceDocumentItemUUID AS BusinessSolutionOrderItemUUID,
ServiceDocItemCategory AS BusSolnOrdItmCategory,
Product,
ServiceDocumentItemQuantity AS Quantity,
ServiceDocItemQuantityUnit AS QuantityUnit,
cast(_QuantityUnit.UnitOfMeasureSAPCode as sd_ord_qty_sapunit preserving type) AS BusSolnOrdItmQtyUnitSAPCode,
cast(_QuantityUnit.UnitOfMeasureISOCode as sd_ord_qty_isounit preserving type) AS BusSolnOrdItmQtyUnitISOCode,
ServiceDocumentItemDescription AS BusSolnOrdItmDescription,
ServiceDocumentItemNetAmount,
TransactionCurrency,
_ExternalReference.CustMgmtExtRefID AS BusSolnOrdItmExtReference,
ParentServiceDocumentItemUUID,
_ParentServiceDocItem.ServiceDocumentItem AS ParentBusSolnOrdItem,
ServiceDocumentItemIsReleased AS BusSolnOrdItmIsReleased,
SoldToParty,
_ProjectManager.CustMgmtBusinessPartner AS ProjectManager,
cast(ResponsibleEmployee as abap.char( 12 ) ) AS PersonResponsible,
tstmp_to_dats( _EnterpriseProjectDates[1:SrvcDocAppointmentType = 'PROJSTART'].SrvcDocApptStartDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client,'NULL' ) as ProjectStartDate AS clientNULLasProjectStartDate,
tstmp_to_dats( _EnterpriseProjectDates[1:SrvcDocAppointmentType = 'PROJEND'].SrvcDocApptStartDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client,'NULL' ) as ProjectEndDate AS clientNULLasProjectEndDate,
ResponsibleCostCenter,
ProfitCenter,
EnterpriseProjectServiceOrg,
ServiceDocumentItemCharUUID,
case _ProjectLinkage.ServiceDocumentItmRelationType when 'SOL1' then _EnterpriseProject.Project else '' end as LinkedProject AS ProjectelseendasLinkedProject
FROM I_ServiceDocumentItemEnhcd
LEFT OUTER JOIN A_BusinessSolutionOrder AS _BusinessSolutionOrder ON BusinessSolutionOrder = _BusinessSolutionOrder.BusinessSolutionOrder -- association [1..1]
LEFT OUTER JOIN A_BusSolnOrdItmFUPEntProject AS _EnterpriseProject ON BusinessSolutionOrder = _EnterpriseProject.BusinessSolutionOrder AND BusinessSolutionOrderItem = _EnterpriseProject.BusinessSolutionOrderItem -- association [0..1]
LEFT OUTER JOIN I_SrvcDocAppointment AS _EnterpriseProjectDates ON BusinessSolutionOrderItemUUID = _EnterpriseProjectDates.SrvcMgmtObjectUUID -- association [0..*]
LEFT OUTER JOIN I_CustMgmtPartner AS _ProjectManager ON BusinessSolutionOrder = _ProjectManager.CustMgmtDocument AND BusinessSolutionOrderItem = _ProjectManager.CustMgmtDocumentItem AND _ProjectManager.CustMgmtPartFunctionCategory = '0093' AND _ProjectManager.CustMgmtObjectType = 'BUS2000172' -- association [0..1]
LEFT OUTER JOIN A_BusSolutionOrderItemText AS _Text ON BusinessSolutionOrder = _Text.BusinessSolutionOrder AND BusinessSolutionOrderItem = _Text.BusinessSolutionOrderItem -- association [0..*]
LEFT OUTER JOIN I_CustMgmtExtRefID AS _ExternalReference ON BusinessSolutionOrder = _ExternalReference.CustMgmtDocument AND _ExternalReference.CustMgmtObjectType = 'BUS2000172' AND BusinessSolutionOrderItem = _ExternalReference.CustMgmtDocumentItem AND _ExternalReference.CustMgmtExtRefIDType = '0013' -- association [0..1]
LEFT OUTER JOIN E_ServiceDocumentItem AS _Extension ON _Extension.ServiceCategory = 'BUS2000172' AND BusinessSolutionOrder = _Extension.ServiceOrderItem AND BusinessSolutionOrderItem = _Extension.ServiceLineExternalID -- association [0..1]
LEFT OUTER JOIN A_BusSolnOrdItmUserStatus AS _UserStatus ON BusinessSolutionOrder = _UserStatus.BusinessSolutionOrder AND BusinessSolutionOrderItem = _UserStatus.BusinessSolutionOrderItem -- association [0..*]
LEFT OUTER JOIN I_ServiceDocumentItemSuccssr_3 AS _ProjectLinkage ON _ProjectLinkage.ServiceDocumentItmRelationType = 'SOL1' AND _ProjectLinkage.ServiceDocItmSuccssrBusObjType = 'CPMPROJI' AND ServiceDocumentItemCharUUID = _ProjectLinkage.ServiceDocumentItemCharUUID -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _QuantityUnit ON QuantityUnit = _QuantityUnit.UnitOfMeasure -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA