Validation of input parameters
The values specified for the input parameters are validated. These are the validation rules for each parameter in the M3_EXECUTE_EXPORT program:
- SOURCE_TABLE_NAME: The specified value must exist in the SZ_REG_TABLE table. If there are no active entries in the SZ_REG_TABLE table with the provided table_name value, an error message is logged, and the execution is stopped.
- SOURCE_TABLE_GROUP_NAME: The specified value must exist in the SZ_REG_TABLE_GROUP table. If there are no active entries in the SZ_REG_TABLE_GROUP table with the provided table_group_name value, an error message is logged, and the execution is stopped.
- SOURCE_TABLE_AREA: The specified value must exist in the SZ_REG_TABLE table. If there are no active entries in the SZ_REG_TABLE table with the provided table_area value, an error message is logged, and the execution is stopped. If the specified value is not M3_Export, an error message is logged, and the execution is stopped.
Note: The program logs an error message and stops the execution in these scenarios:
- No parameter is specified.
- More than one parameter is specified.