* Check if a downtime was planned for one of the involved systems data: downtime type abap_bool. CALL FUNCTION 'Z_EEM_CHECK_DOWNTIME' EXPORTING tech_scen_name = eem_script->gs_scenario-involved_systems timestamp = timestamp_now IMPORTING DOWNTIME = downtime. if downtime = abap_true. ls_scenario_exe-availability = planned_downtime. modify eem_scenario_exe FROM ls_scenario_exe. endif.