The scope of rollup defines the level at which the CPQ displays the rollups. The following scope is available to you:

ScopeDescription
Header LevelThe rollups are displayed on all line items with rollups that are added to the cart.
ProductThe rollups are displayed on the product defined in this scope.
Product GroupThe rollups are displayed on the products that are part of a product group defined in the scope.

The following is an example describes a of product configuration, rollup setup, and the output.

Products Configuration

Bundle 1Bundle 2Bundle 3

product scope attribute

The attribute has a numerical expression to display the value of the rollup field “Product Rollup“

product scope attribute

This attribute has a numerical expression to display the value of the rollup field “Product Rollup“

product scope attribute

This attribute has a numerical expression to display the value of the rollup field “Product Rollup“

product group scope attribute

This attribute has a numerical expression to display the value of the rollup field “Product Group Rollup“

product group scope attribute

This attribute has a numerical expression to display the value of the rollup field “Product Group Rollup“

product group scope attribute

This attribute has a numerical expression to display the value of the rollup field “Product Group Rollup“

header level scope attribute

This attribute has a numerical expression to display the value of the rollup field “Header Level Rollup“

header level scope attribute

This attribute has a numerical expression to display the value of the rollup field “Header Level Rollup“

header level scope attribute

This attribute has a numerical expression to display the value of the rollup field “Header Level Rollup“

Product Groups

Product Groups Products
Product Group ABundle 1
Bundle 2

Rollups defined

Rollup ScopeDescription
ProductProduct = Bundle 1
Expression: the logic to calculate the number of products added to the cart.
Product GroupProduct Group= Product Group A,
Expression: the logic to calculate the number of products added to the cart.
Header LevelExpression: the logic to calculate the number of products added to the cart.

Output

The following table describes the output of each rollup based on the above-mentioned product configuration. When you add Bundle 1, Bundle 2, and Bundle 3 to the cart, the expression result is 3 as there are three line items added to the cart.

Rollup ScopeOutput
Product

is displayed only on Bundle 1.

Product Group3 is displayed on Bundle 1 and Bundle 2.
Header Level is displayed on Bundle 1, Bundle 2, and Bundle 3.