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

Counter on data in CBO?

former_member355106
Active Participant
0 Likes
646

Hello together,

would it be possible to create a counter on data in a CBO and show this attribute in segmentation? If yes what would be the basic steps to model this.

BR/

Accepted Solutions (0)

Answers (3)

Answers (3)

eileenriediger
Product and Topic Expert
Product and Topic Expert

Hi Oliver,

you have to model a Custom SAP HANA View on top of your CBO. In the Custom SAP HANA View you can setup the counter and the Custom View can be added to Segmentation. You can check documentation https://help.sap.com/viewer/13d84c47bb6749a188fd53915c256516/1911.500/en-US/977e46fb6b0945df9a5b3887... regarding Custom SAP HANA Views.

Best regards

Eileen

vervinckt_joyca
Active Contributor
0 Likes

Hi Oliver,

On this help page there's something that may help you, Custom Logic on the CBO:

https://help.sap.com/viewer/e0cd7c1ecf3d4f2f9feb46ec1c5b68fb/1911.500/en-US/c703c5b4e6a24d52a928ea54...

After Modification

This pattern is used to recalculate data immediately after node instances have been created or edited, and then saved. Logic of this pattern overwrites field values such as text strings or dates.

If node instances are deleted, this pattern is used to inform dependent nodes of the deletion and trigger their recalculation.

Sample use cases: You want to count the subnodes that are contained under the root node of your custom business object, or you want to store who last modified a custom business object.

Kr

Joyca

former_member355106
Active Participant
0 Likes

HI Kunal,

we would like to count the amount of products a customer has. All product-related data we collect in a CBO (we do not use agreements). Every product would be a line inside the CBO.

BR/