During repartitioning, the partitioning of an existing semantically partitioned object is changed. Partitioning comprises properties like the number of partitions, the logical display order of partitions and criteria and texts for the individual partitions. Repartitioning also includes creating new partitions.
Repartitioning if the object does not contain any data
If a semantically partitioned object does not contain any data, you can repartition it any way you like. You can simply change, save and activate the partition criteria.
Repartitioning if the object contains data
If a semantically partitioned object contains data, you cannot repartition it any way you like. Repartitioning is only possible if no data needs to be moved to different partitions and if no partial deletion of partition data is required.
If these conditions are met, you can change the partition criteria of a semantically partitioned object and activate it. The system then automatically deletes the data that does not match the partition criteria any more.
You can thus use the semantically partitioned object for a rolling window scenario:
To do this, change the partition criteria and the text for the oldest partition. When you activate it, the system deletes the data from this partition, thus making it possible to load new data.
In the example below, the partition for 2007 is changed into a partition for 2010:
You can also use the automated repartitioning. You do not change the new partitioning properties manually any more. You use BAdI RSLPO_BADI_PARTITIONING to define the properties instead.
More information: BAdI: Partitioning a Semantically Partitioned Object