cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Custom field in EPPM WBS structure

FranciscoCosta
Explorer
0 Kudos
3,415

Dear experts,

Our client has a requirment to have a field that indicates how far along a project or a WBS is. To meet thos requirement, we have created the custom field "Project Execution".

This printscreen shows how the custom field was created.

FranciscoCosta_0-1756996150399.png

However we are facing two issues:

1 - The first issue is that we are only being able to record values, for this field, for the WBS elements not for the project. When we try to save values for the project, after saving, the field value goes back to 0.00.

FranciscoCosta_1-1756996255662.png

2 - The customer also wants this field to show up in a custom report that we have built. However, for the column Project Execution, its rows are being filled in with the maximum value, which is not correct.

FranciscoCosta_2-1756996660288.png

Best regards,

Francisco Costa

Accepted Solutions (1)

Accepted Solutions (1)

Chuma
Active Contributor
0 Kudos

Hello @FranciscoCosta 

Thank you for your question. The screenshots are very helpful.

You are addressing two separate issues:

1st, Value resets on the project header

Your field is created in the WBS (Project Element) business context, so it saves on PRPS only. The project header PROJ has nowhere to store it - it snaps back to 0.

Fix: create a second field in the Project header context and enable it in UIs and the Reports and If you want the header to reflect WBS progress, add a small derivation avg/max/weighted in Custom Fields & Logic on the Project header.

2nd, The report shows the maximum everywhere

Analytics is treating your numeric field as a measure and aggregating it.

Fix: in Custom Fields & Logic - field - General Information, set Aggregation to None or Average if that’s your logic.
Then, in your custom query/report, set the field’s Exception Aggregation to None/Average accordingly. Republish and refresh.

Use the Checklist below;

  • Create a Project header field and keep the existing WBS field.
  • Enable both under UIs and Reports for the apps/cubes you use.
  • Set proper aggregation, republish, and refresh the report cache.
  • (Optional) Add roll-up logic from WBS - Project.

Refer to the SAP documentations below;

SAP Help Portal – Creating Custom Fields & enabling for UIs and Reports

SAP Help Portal – Custom Analytical Queries (Fiori app): Measures & Exception Aggregation

Let me know if it works

With best regards

Chuma

 

FranciscoCosta
Explorer
0 Kudos

.

FranciscoCosta
Explorer
0 Kudos
For the fields that I am trying to create, the system, for the Aggregation field, only shows the values: Sum, Maximum and Minumum...

Answers (3)

Answers (3)

Chuma
Active Contributor
0 Kudos

Hello @FranciscoCosta 

My apologies for the late reply,😊

If you only see the Properties tab, it means you’re not working on a measure. In Custom Analytical Queries (CAQ), the Aggregation and Expression tabs are visible only for measures, not for characteristics.

How to activate Average.

  1. In Custom CDS Views, define an Analytical Cube based on your data source and include your numeric custom field as a measure, setting a default aggregation such as Sum, Max, or Min.
  2. Publish the cube, then add a Calculated Measure in Custom Analytical Queries and set Exception aggregation converted to average, using a reference characteristic such as Project/PROJ or Work. Breakdown Structure (WBS).

You also refer to the below-mentioned official SAP Documentation

Let me know if it works

With regards

Chuma

Chuma
Active Contributor
0 Kudos

Hello @FranciscoCosta.

Thank you for your feedback and follow up,

Understood, that UI behaviour is logical.You only see Properties because the field is a standard element. The Expression tab is available only for a Calculated element. In Custom CDS Views, use Add and then select Calculation.

Aggregation appears in Element Properties only for numeric measure fields in analytical views. Mark the field as a measure and choose a Default Aggregation. The effect is visible when using the view, such as in Custom Analytical Queries, not in the preview.

Let me know if you need further information

With regards

Chuma

Chuma
Active Contributor
0 Kudos

Hello @FranciscoCosta 

That’s perfectly understandable!Numeric custom fields can only use Sum, Max, and Min options in Custom Fields Logic.

How to get what you want:

  • Average or no roll-up: In Custom Analytical Query, set the measure’s Exception Aggregation to Average, select a Reference Characteristic such as WBS/Project, or None.
  • Never aggregate utilise a text mirror field for display, or compute and persist the header value on Project (PROJ) via Custom Fields & Logic.

If you have further questions, let me know

With regards

Chuma

FranciscoCosta
Explorer
0 Kudos
Hello Chuma. For this field the system only displays the tab Properties, it doesn't display the tab Expression or the tab Aggregation (which is the one that you mentioned)