SAP Knowledge Base Article - Public

3582916 - CreateProduct snippet requires CSVPAVID

Symptom

ProductHelper.CreateProduct(productSystemId, packedConfiguration) Method requests CSVPAVID as packedConfiguration and there is no snippet to recover this value.

Environment

SAP SALES CLOUD CPQ

Cause

CSVPAVID is an internal value that holds attribute configuration. This is based entirely on internal database schema, which can be modified.

Resolution

CreateProduct method is defined as legacy, therefore we don't suggest to use it, as the proper usage depends on querying internal table, up to modification without notice.

There are currently no options to recover whole attribute configuration, which needs to be configured all the time through other existing snippets.

You can use CreateProduct(productId) method to create an instance of the product and configure it.

See Also

Keywords

CPQ, Snippet, Method, CreateProduct, ProductHelper, CSVPAVID , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Bug Filed

Product

SAP CPQ all versions