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

Mass Export of Charge Plans/Objects in SAP CC 5.0

Former Member
0 Kudos
395

Hi CC Expert,

For backup purposes, I always backup all objects from CC core tool through exporting manually. Is it possible or is there anyway we can "MASS" export all charge plans/objects from CC in to XML? (e.g. In just one click, all charge plans will be exported)

Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

francois_thimon
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi George,

Unfortunately, there is no standard solution for this, but you can still use CC's HCI API.
The HCI protocol relies on XML envelopes sent over HTTP, this is what Core tool uses to communicate with the dispatcher and the updater.

To access this API, you are supposed to develop a Java application, based upon our SDK:
https://help.sap.com/doc/d847860d561a47568a936d5f3cbeb9da/5.0/en-US/core_javadoc/index.html

In particular, you'll be interested in the following operations (each of them is a Java class):
- SearchCodeOp: lets you list objects by owner (catalog) and type (charge plan, macro, ...).
This just gives you the names of the objects, not their data.
- ExportOp: this is what Core tool uses when you export objects through the GUI, and it's also accessible through the API, so you can easily develop a small application based on it.
Once the object (along with its dependencies) has been exported, you just need to marshal it as an XML document that you can output into a file.
- ImportOp: as for ExportOp, you can use this if you need to mimic what Core tool does when importing objects back into CC

Other than this, CC comes with a plugin for SAP CTS+, but this is meant to automatically transport catalog objects into another CC system (not to export them into XML files), so this is probably not helpful in the present case.
Here's the documentation though, if you want to read more about it:
https://help.sap.com/doc/9a3a227ca57c4d9885f556d9c84300b0/4.1/en-US/ig.pdf#page=151

Best regards.


François
SAP Convergent Charging Support

francois_thimon
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi George,

You can use CC's "change list" feature.
It is normally meant to let you pick a list of objects (from the catalog only, no subscriber data), and replicate it into another CC system, but you can also use it to export a whole set of objects into one XML file that can then be reimported into any CC system.

To create such a change list:
- go to Core tool and click File | New | Change List
- pick the objects you want to export (their dependencies will be automatically exported too)
- click Action | Export change list, and select the path to an XML file
The XML file can then be imported into any CC system later, using Core tool (File | Import).

Details about the change lists are given in Core tool's documentation:
https://help.sap.com/viewer/c7120011d1c244168dc1f945a06f1350/5.0.4/en-US/a6a202782ea5412d9cec46a98fd...

Best regards.

François
SAP Convergent Charging Support

Former Member
0 Kudos

Thanks a lot Francois, but is there any possibility to export the objects without using the export in cc or changelist? Cause based from our experienced, the bigger the content of chargeplans, the slower for it to export even if we add it in changelist.

Im thinking if is it possible to access it via admin+ or any third party tool to export it without accessing the coretool?