cancel
Showing results for 
Search instead for 
Did you mean: 

Variant configurator and pricing (btp) log on S4 - transaction code

dmonta
Explorer
0 Kudos
546

Dear community,

is there any transaction code on S4 hana to see any log of 'sap variant configurator and pricing' reading sap hana tables?

Adding some products to quote, cpq system shows us the following error:

An error occurred with the CPS connection. Please review the event log.

Thank you in advance.

Davide

Accepted Solutions (0)

Answers (3)

Answers (3)

Michael_W
Product and Topic Expert
Product and Topic Expert

First you should check the CPS error response in CPQ logs: SAP Variant Configuration and Pricing Log | SAP Help Portal

dmonta
Explorer
0 Kudos
MessageResilient web client processing for requested URL 'https://cpservices-product-configuration.cfapps.eu10.hana.ondemand.com/api/v2/configurations?autoCleanup=True'System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.GetResponse() at Webcom.Common.Util.Helper.ResilientWebRequest.Execute(HttpWebRequest req, Func`2 fun) in ./Helper/ResilientWebRequest.cs:line 109




CPS communication error for requested URL: https://cpservices-product-configuration.cfapps.eu10.hana.ondemand.com/api/v2/configurations?autoCle... Method: POST Status: 0 RequestBody: {"productKey":"PRODUCTID","context":[{"name":"VBPA_AG-LAND1","value":"IT"},{"name":"VBPA_RG-LAND1","value":"IT"},{"name":"VBAK-SPART","value":"10"},{"name":"VBAP-KWMENG","value":"1"},{"name":"VBAK-ERDAT","value":"2023-05-10"},{"name":"VBAK-VKORG","value":"9999"},{"name":"VBAK-VTWEG","value":"10"},{"name":"KOMK-VKORG","value":"9999"}],"kbId":201} ResponseBody: { "status" : 500, "typeId" : "50001", "type" : "_RESOURCE", "message" : "java.lang.NullPointerException: Cannot invoke \"Object.equals(Object)\" because the return value of \"com.sap.sce.kbrt.kb_cstic.kb_get_founding_type()\" is null", "messageDetails" : null, "moreInfo" : null, "details" : [ ] } Exception: One or more errors occurred.
dmonta
Explorer
0 Kudos

Method: POST Status: 0 RequestBody: {"productKey":"PRODUCTID","context":[{"name":"VBPA_AG-LAND1","value":"IT"},{"name":"VBPA_RG-LAND1","value":"IT"},{"name":"VBAK-SPART","value":"10"},{"name":"VBAP-KWMENG","value":"1"},{"name":"VBAK-ERDAT","value":"2023-05-10"},{"name":"VBAK-VKORG","value":"9999"},{"name":"VBAK-VTWEG","value":"10"},{"name":"KOMK-VKORG","value":"9999"}],"kbId":201} ResponseBody: { "status" : 500, "typeId" : "50001", "type" : "_RESOURCE", "message" : "java.lang.NullPointerException: Cannot invoke \"Object.equals(Object)\" because the return value of \"com.sap.sce.kbrt.kb_cstic.kb_get_founding_type()\" is null", "messageDetails" : null, "moreInfo" : null, "details" : [ ] } Exception: One or more errors occurred.

sap cpq log 'com.sap.sce.kbrt.kb_cstic.kb_get_founding_type()\" is null'

Do you have any experience of that error?

Michael_W
Product and Topic Expert
Product and Topic Expert

Is the name of your product really PRODUCTID?

Please create a ticket on component LOD-CPS with the above information to get it analyzed.

yogananda
Product and Topic Expert
Product and Topic Expert
0 Kudos

dmonta

you would be seeing those logs in SAP Variant Configuration & Pricing Portal (CPS) going through BTP

you can see left menu - Monitoring and you can enable the trace.

dmonta
Explorer

When we got this error: 'An error occurred with the CPS connection. Please review the event log.' we do not reach variant configurator log. When sap cpq is able to call variant api and retrieve configuration correctly, then we can see log on variant configurator.

yogananda
Product and Topic Expert
Product and Topic Expert
0 Kudos
dmonta

It seems like your KB having some issues.. As Michael said, you can create support ticket in component - LOD-CPS