Program scope
The EXECUTE_HIERARCHY_GENERATE
program determines the scope as follows:
- If the HIERARCHY_ID or HIERARCHY_NAME parameter is specified, the hierarchy data is generated only for the specified hierarchy.
- If the HIERARCHY_ID and HIERARCHY_NAME parameters are not specified, the hierarchy data is generated for all hierarchies in the SZ_HIERARCHY table that are set to Active status and with the hierarchy_source field set to Generated. Else, an error message is logged, and the execution is stopped.
The EXECUTE_HIERARCHY_GENERATE
program validates all hierarchies in scope of the current execution. If all hierarchies in scope are valid, the program continues with execution. Else, an error message is logged, and the execution is stopped.