C_BillOfOperationsActivity
Bill Of Operations Activities
C_BillOfOperationsActivity is a Consumption CDS View that provides data about "Bill Of Operations Activities" in SAP S/4HANA. It reads from 1 data source (I_MfgBillOfOperationsOperation) and exposes 21 fields with key fields BillOfOperationsType, BillOfOperationsGroup, BOOOperationInternalID, BOOOpInternalVersionCounter, BillOfOperationsVariant. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MfgBillOfOperationsOperation | _Acty | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_MfgBOOOperationChangeState | _SupOp | _Op.BillOfOperationsType = _SupOp.BillOfOperationsType and _Op.BillOfOperationsGroup = _SupOp.BillOfOperationsGroup and _Op.BOOPhaseSuperiorOpInternalID = _SupOp.BOOOperationInternalID and _Op.ValidityStartDate <= _SupOp.ValidityEndDate and _Op.ValidityEndDate >= _SupOp.ValidityStartDate and _SupOp.BOOOperationIsPhase <> 'X' and _SupOp.IsDeleted <> 'X' and _SupOp.IsImplicitlyDeleted <> 'X' |
| [1..1] | I_WorkCenterText | _WorkCenterText | $projection.WorkCenterInternalID = _WorkCenterText.WorkCenterInternalID and $projection.WorkCenterTypeCode = _WorkCenterText.WorkCenterTypeCode and _WorkCenterText.Language = $session.system_language |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Bill Of Operations Activities | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.allowExtensions | true | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillOfOperationsType | _Op | BillOfOperationsType | Task List Type |
| KEY | BillOfOperationsGroup | _Op | BillOfOperationsGroup | Task List Group |
| KEY | BOOOperationInternalID | _Op | BOOOperationInternalID | Task list node |
| KEY | BOOOpInternalVersionCounter | _Op | BOOOpInternalVersionCounter | Counter |
| KEY | BillOfOperationsVariant | _Op | BillOfOperationsVariant | Task List Counter |
| KEY | BillOfOperationsIntID | _SupOp | BOOOpInternalVersionCounter | Counter |
| Operation | ||||
| SuperiorOperation | ||||
| BOOOperationIsPhase | _Op | BOOOperationIsPhase | ||
| BOOPhaseSuperiorOpInternalID | _Op | BOOPhaseSuperiorOpInternalID | ||
| OperationText | _Op | OperationText | Description | |
| BillOfOperationsRefVariant | _Op | BillOfOperationsRefVariant | ||
| Plant | _Op | Plant | Valuation Area | |
| OperationControlProfile | _Op | OperationControlProfile | Control Key | |
| OperationStandardTextCode | _Op | OperationStandardTextCode | Std Text Key | |
| WorkCenterTypeCode | _Op | WorkCenterTypeCode | Object Type | |
| WorkCenterInternalID | _Op | WorkCenterInternalID | Work Center | |
| CreationDate | _Op | CreationDate | Time Stamp | |
| ValidityStartDate | _Op | ValidityStartDate | Validity Start Date | |
| ValidityEndDate | _Op | ValidityEndDate | ValidTo | |
| WorkCenterText | _WorkCenterText | WorkCenterText | Work Center Text |
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 C_BillOfOperationsActivity.
-- 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 C_BillOfOperationsActivity AS
SELECT
_Op.BillOfOperationsType AS BillOfOperationsType,
_Op.BillOfOperationsGroup AS BillOfOperationsGroup,
_Op.BOOOperationInternalID AS BOOOperationInternalID,
_Op.BOOOpInternalVersionCounter AS BOOOpInternalVersionCounter,
_Op.BillOfOperationsVariant AS BillOfOperationsVariant,
_SupOp.BOOOpInternalVersionCounter AS BillOfOperationsIntID,
cast( _Op.Operation as pph_vornr preserving type ) AS Operation,
cast( _SupOp.Operation as pph_vornr preserving type ) AS SuperiorOperation,
_Op.BOOOperationIsPhase AS BOOOperationIsPhase,
_Op.BOOPhaseSuperiorOpInternalID AS BOOPhaseSuperiorOpInternalID,
_Op.OperationText AS OperationText,
_Op.BillOfOperationsRefVariant AS BillOfOperationsRefVariant,
_Op.Plant AS Plant,
_Op.OperationControlProfile AS OperationControlProfile,
_Op.OperationStandardTextCode AS OperationStandardTextCode,
_Op.WorkCenterTypeCode AS WorkCenterTypeCode,
_Op.WorkCenterInternalID AS WorkCenterInternalID,
_Op.CreationDate AS CreationDate,
_Op.ValidityStartDate AS ValidityStartDate,
_Op.ValidityEndDate AS ValidityEndDate,
_WorkCenterText.WorkCenterText AS WorkCenterText
INNER JOIN I_MfgBillOfOperationsOperation AS _Acty ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MfgBOOOperationChangeState AS _SupOp ON _Op.BillOfOperationsType = _SupOp.BillOfOperationsType AND _Op.BillOfOperationsGroup = _SupOp.BillOfOperationsGroup AND _Op.BOOPhaseSuperiorOpInternalID = _SupOp.BOOOperationInternalID AND _Op.ValidityStartDate <= _SupOp.ValidityEndDate AND _Op.ValidityEndDate >= _SupOp.ValidityStartDate AND _SupOp.BOOOperationIsPhase <> 'X' AND _SupOp.IsDeleted <> 'X' AND _SupOp.IsImplicitlyDeleted <> 'X' -- association [1..*]
LEFT OUTER JOIN I_WorkCenterText AS _WorkCenterText ON WorkCenterInternalID = _WorkCenterText.WorkCenterInternalID AND WorkCenterTypeCode = _WorkCenterText.WorkCenterTypeCode AND _WorkCenterText.Language = $session.system_language -- association [1..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