Rebuild Multiple Cubes through Custom Program

Introduction: Whenever the system refreshed, and then need to delete and rebuild all the cubes for that system. During that time it’s very difficult to rebuild index individually by manual steps. To avoid these kind issues, need to create a Custom program to rebuild all the cubes based on parallel cubes run.

Step by step procedure to create a custom program:

1) Create a custom program like ZRSDDV through tcode SE38. Create a ABAP Editor program to rebuild index for all Cubes.

2) Define a Selection Screen: PARAMETERS: P_QUAN means How many cubes run parallel; we can define in this input parameter.