cancel
Showing results for 
Search instead for 
Did you mean: 

Field has value in CIT but read empty in SAP CC logic

0 Kudos
422

Hi SAP CC Expert,

Did you encounter a strange case where CIT field has a value but during the rating it was read as blank causing to have rating error. Note that CC mapping is using the correct and same CIT field. Rating is done by a rating job. Upon rating again the other day of the same CIT, it was rated successfully. Note that we did not performed any change yet. Is it possible that it is a bug?

Thanks in advance!

Accepted Solutions (0)

Answers (1)

Answers (1)

francois_thimon
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Stephen,

Based on your description, our first assumption would be that your rating logic generates different results depending on its input data (consumption dates, contract dates, chargeable item properties, etc.).
One way of tracing that data is to enable the "DATA" and "MSG" tracing domains in the rater (by setting LS_TRC_DOMAIN to "DATA,MSG", and LS_TRC_SEVERITY to "DEBUG", for the rater).

Can you please try that, reproduce the two scenarios (i.e., with and without the inconsistent results), and check the traces in the rater's TRC file?
There, for each CIT, you'll see the query and response, and also the corresponding rating context (i.e., the list of values processed by the rater).

If this is not enough, it may also help you to add temporary logic components that store a value or generate an "user alert", just in order to determine which branches of the logic actually get invoked by each query.

Since this issue is in one of the most commonly used parts of the application, it's quite unlikely that there would be a bug there. Still, if you feel that the observed behaviour is abnormal, it's highly recommended to report a customer incident (or an internal incident) along with the rater's TRC file and, if possible, also with the data required to reproduce the scenario ourselves (the subscriber account/contract and the whole pricing logic).

Feel free to ask for more information if needed.

Best regards.

François
SAP Convergent Charging Support

0 Kudos

Hi Francois,

Thanks, what we did to confirm that the value accepted in CC is blank is because of the passed property value in the no access error message. The field was ticked in the no access and it returns blank but in in CIT monitor it has a value. It is weird cause in another day without doing any changes, it was successfully rated.

francois_thimon
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Stephen,

Yes, using the "no access" message is a good way of tracing values.
The only problem is that we don't know when the property gets blanked out.

Do you mean that the input CIT property is mapped directly to the billable item?
Or is the value copied into another property that may change during the execution of the pricing logic? In particular, I was thinking that the actual computations might indirectly depend upon the consumption date, or maybe the contract's dates, for example. Do you have any time-based components in your logic?

This issue is rather unexpected. If there's no easy way of troubleshooting that, it's really best to open a support ticket, where you can send us the whole log files, as well as your pricing logic, the subscriber data, and any other piece of sensitive data that can help us reproduce the scenario ourselves.

Best regards.

François
SAP Convergent Charging Support