on 2021 Nov 17 1:24 PM
Hi everyone,
The provider contract is successfully replicated from CRM to CC. The Activation Step also is successfully executed as confirmed from the Distribution Monitor in CRM.
But unfortunately in SAP CC, the provider contract is not activated and the Last Activation Date is empty. As a result, no BITs are generated. During midnight that the ACTIVATION_SCHEDULER is scheduled the provider contract gets activated and the BITs are generated correctly.
Could someone kindly give me a hint? From the Rater, Dispatcher logs I could not get any information.
Thank you,
Doris
Request clarification before answering.
Hi Doris,
By default, Convergent Charging's activation process is already configured to start automatically, because ACTIVATION_SCHEDULER_ENABLED is already set to "true".
Besides this, with the default configuration, that process will always start at 00:00:00, because ACTIVATION_SCHEDULER_RECURRENCE is set to "0h/0m/0s".
The reason for this default setting (00:00:00) is that the activation manipulates all the provider contracts available in your database, which usually requires a very large amount of resources.
We consequently recommend to launch that process only during the night, when no other activity is ongoing. Furthermore, the recurring events are usually daily or monthly. Trying to process them more than once a day is consequently usually pointless and can become problematic, performance-wise.
Consequently, as suggested by Anil, you are concerned by these two parameters but, unless you have very specific business constraints, you should leave them as they already are.
So, when you need to activate a contract immediately, you should rather use the "chargingContractActivate" SOAP method:
https://help.sap.com/doc/d847860d561a47568a936d5f3cbeb9da/2021.0/en-US/core_wsdoc/activation/Chargin...
This is a recommended approach: it'll process only the targeted contract, instead of going through the whole database.
Alternatively, you may also target several contracts in one request, using "chargingContractBulkActivate":
https://help.sap.com/doc/d847860d561a47568a936d5f3cbeb9da/2021.0/en-US/core_wsdoc/wsdl/rating.html#c...
In order to guarantee the consistency of the subscriber's data, CC also automatically makes sure that each contract is activated before charging any consumption against it (the point is to always process the events in the right chronological order). This means that, if you send an usage request for a contract that has unprocessed recurring events, CC will automatically activate these recurring events properly, before processing your usage request. So, if your test scenario includes usage requests, you may not even have to launch the activation explicitly, CC takes care of it all if needed.
In the previous reply, Anil also mentioned one of the "XXX_FILE_ROLLOVER_POLICY" parameters. Your initial problem isn't related with that but, indeed, you'll eventually probably want to change these parameters, at least for your tests. When the rater computes charging results, it temporarily batches them in CSV files, and the bulkloader has to wait for a while before these files become accessible, in order to generate BIT's for CI. If you need the bulkloader to send this data sent to CI sooner, you may indeed change the "XXX_FILE_ROLLOVER_POLICY" parameters, as suggested by Anil.
There are both "XXX_MAX_SIZE_BASED_FILE_ROLLOVER_POLICY" and "XXX_TIME_BASED_FILE_ROLLOVER_POLICY" parameters. You can change all of them if your business requires it, and if it doesn't affect the performances negatively by generating too much traffic to CI.
Feel free to ask for clarifications if needed.
Best regards.
François
SAP Convergent Charging Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Francois,
I would really thank you for the detailed answer.
As you clearly mentioned changing the ACTIVATION_SCHEDULER_RECURRENCE to a value that is different than "0h/0m/0s" would have an impact on the performance of CC as the activation process should manipulate all the provider contracts in the DB. So changing this parameter is not an option as far as it is not a must.
Usually, in these cases, I activate the provider contract from the message_client tool using the activate command. I really appreciate your suggestion for the "chargingContractActivate" SOAP method, as I was not aware of it and never used it before.
My only concern is to troubleshoot and find why in this case the provider contract was not activated immediately (as happens normally with several other provider contracts). And how to prevent this behavior in the future. I want to have the BITs generated because we have the Billing and Invoicing in CI scheduled every 4 hours and from the time when this provider contract was created and activated, it will somehow "miss" some Billing/Invoicing Cycles.
Wishing you a great day,
Doris
User | Count |
---|---|
8 | |
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.