Syntax
start_cleanup <REF_DATE> <MAX_THROUGHPUT>
| Name | Description |
|---|---|
<REF_DATE> |
The reference date for processing the cleanup. The date format is ISO 8601 ('yyyy-MM-ddTHH:mm:ss'). |
<MAX_THROUGHPUT> |
The maximum throughput (subscriptions per second); Format: 0 or a number between 1 and 1000. |
The Note
The console program will freeze until the end of the processing
by the connected SAP CC system. You must launch another user interface and
log on to use the
Use the ISO 8601 format (yyyy-MM-ddTHH:mm:ss) to enter a date.
The maximum throughput must be greater than or equal to 0.
The value 0 means that the throughput is not limited.
start_cleanup command triggers the cleanup process of all the
provider contracts and subscriptions in the connected SAP CC system.
stop_cleanup command.
You must have a specific role in your SAP CC user profile. Refer to the SAP CC Security Guide for more information about the necessary authorizations.
stop_cleanup
-
To stop the running cleanup processed by the connected SAP CC system | Code | Message | Action |
|---|---|---|
| invalidToDate | Error: The date must be in the ISO 8601 (yyyy-MM-ddTHH:mm:ss) date format and the argument "{date}" does not | |
| invalidMaxThroughput | Error: The maximum throughput must be a positive integer: ''{argument}''. | |
| cleanupStarted | The cleanup process is started at ''{date}'' | |
| cleanupStopped | The cleanup process is stopped at ''{date}'' | |
| server.unavailable | Comm. error: The instance of the SAP CC system is unavailable: {exception}. | |
| cleanup_subscriptions | OK: {number} subscription(s) cleaned up. | |
| cleanupAll.stopped | OK: The cleanup process has been stopped by the SAP CC user. | |
| cleanupAll.incomplete | Error: The cleanup operation did not complete. Check the log files. |