cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Refreshing the Consumption Item Mapping when a Field Type has changed

doris_karapici
Participant
1,344

Dear all, 

In an integrated scenario SAP ERP (or SAP S/4HANA) with SAP Convergent Charging the Consumption Items refresh operation enables the SAP CC Core Server system to retrieve the consumption item class from the SAP ERP/FI-CA reference system and synchronizes the changes in SAP CC. This is supported as confirmed in the Documentation. However, refreshing the consumption item mapping may fail if the field type of a field of the consumption item class has changed. 

In this scenario how can we refresh the CIM in CC when we have a different field type in ERP?

Thank you,
 Doris
francois_thimon

Accepted Solutions (1)

Accepted Solutions (1)

Eric_F
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

the refresh is used only to take into account any new additional field. As explained in the documentation, the change of the name or of the type of a field is not allowed and not taken into account. 

See Core Tool - Refreshing the Consumption Item Mapping at: https://help.sap.com/docs/Convergent_Charging/c7120011d1c244168dc1f945a06f1350/e48dafe98191449a9e13d...

Best regards 

Eric F.

doris_karapici
Participant
0 Likes

Hi Eric, thanks a lot for the reply. This is very clear mentioned in the Documentation you linked, but its not an impossible scenario to happen and can happen. In this situation that a field type is changed what can we do to update it from CC side?

doris_karapici
Participant
0 Likes
Hi Eric, thanks a lot for the reply. This is very clear mentioned in the Documentation you linked, but its not an impossible scenario to happen and can happen. In this situation that a field type is changed what can we do to update it from CC side?
Eric_F
Product and Topic Expert
Product and Topic Expert
0 Likes
In the case that, despite the SAP recommendation, a field has been modified, you have to remove the chargeable item class and create a new one. It is a complex process, as you have to unrefer the chargeable item class before to remove it.
Ines_H29
Explorer
0 Likes
Hi Eric,
Ines_H29
Explorer
0 Likes

Hi Eric,

since there is no undo function in SAP CC and deleting an object is always tricky, and in this case this action is necessary, please can you support with any documentation regarding such use cases. The one from help portal mentions: 

"Before you delete a chargeable item class, you must first delete all objects which reference it. 

For example, you can not delete a chargeable item class that is part of a charge plan in the database. You must first delete the charge plan and the charge that contain this chargeable item class, and then you can delete the chargeable item class."

In our scenario the deletion means we should delete all the Charge Plans and Charges that contain this chargeable item class. I am curious to know what happens with the contracts which are actually using these charge planes, because again from the help portal it looks like everything should be deleted:

"Before you delete a charge plan, you must first delete all master data objects which reference it.

For example, you can not delete a charge plan that is part of a contract in the back-end database. You must first delete the contract that uses this charge plan, and then you can delete the charge plan."

Thank you!

doris_karapici
Participant
0 Likes


Hi Eric, thanks for the reply. Does it mean that we need to unlink any charge where this chargeable item class is linked and delete the old one, and then create a new one? Is there any cookbook or documentation that we can refer to? We need to clearly explain to the customer the situation and having a documentation as base for our proposal would be the best

Thank you, Doris

doris_karapici
Participant
0 Likes
Hi Eric, thanks for the reply. Does it mean that we need to unlink any charge where this chargeable item class is linked and delete the old one, and then create a new one? Is there any cookbook or documentation where we can refer to? Thank you, Doris
Eric_F
Product and Topic Expert
Product and Topic Expert

Hello Ines and Doris,

the goal is to modify a consumption item mapping.   My recommendation is to generate a new chargeable item class from the last version of the consumption class. To do that  (let say you have a consumption item class CoItCl, a chargeable item class ChItCl and a consumption item mapping CoItMa between CoItCl and ChItCl) : 

  1. Create a fake chargeable item class ChItCl_TMP
  2. Replace all the reference to ChItCl  in your charge plans by a reference to ChItCl_TMP
  3. Delete the consumption item mapping CoItMa
  4. Delete the chargeable item class ChItCl  
  5. Create a new  consumption item mapping CoItMa by generating a new chargeable item class ChItCl 
  6. Replace all the reference to ChItCl_TMP in your charge plans by a reference to ChItCl
  7. Delete the chargeable item class ChItCl_TMP

This a little bit time consuming but by doing this you don't have to delete charge plan. 
It has to be clear that this procedure is valid for non-productive environment. For productive environment, in order to be sure to handle all items, you have to think about adding a new consumption item class instead of modifying it. 

Best regards 

Eric F. 


 

Answers (0)