on 2019 Nov 22 12:22 PM
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/
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Oliver,
On this help page there's something that may help you, Custom Logic on the CBO:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.