SAP Knowledge Base Article - Public

3503748 - Add Item in Bulk not working

Symptom

Since 2408 release, the newly added feature AddItemInBulk does not work with error message: " Bulk add and delete operations for items through scripting are currently disabled. Please enable this feature to perform these actions."

Environment

SAP SALES CLOUD CPQ

Reproducing the Issue

  1. Enable parameter Add Items in Bulk in Application Parameters page
  2. Open a Quote
  3. Open Script Workbench
  4. Run below code
  5. Issue will be thrown
from Scripting import AddItemArgument

product1 = ProductHelper.CreateProduct(1468)
product2 = ProductHelper.CreateProduct(1464)
requests = []
request1 = AddItemArgument(product1, 1)
request2 = AddItemArgument(product2, 2)
requests.append(request1)
requests.append(request2)
# Call the method with the list of item arguments
Context.Quote.AddItemsInBulk(requests)

Resolution

Please reach out to Support Team through a case mentioning the error message and that you would like to use the feature. Also provide explicit approval to enable this feature in the environment.

Keywords

SAP, CPQ, Release, Known Issue, Bug, AddItemsInBulk , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Known Error

Product

SAP CPQ 2024