diff --git a/SAS/TMSS/backend/services/scheduling/lib/constraints.py b/SAS/TMSS/backend/services/scheduling/lib/constraints.py
index 9632d84f2352315af5d3fb4a5ea4ccd9d021e088..4b85778380d8d1ce51919f60c37d79fae9a7eb4d 100644
--- a/SAS/TMSS/backend/services/scheduling/lib/constraints.py
+++ b/SAS/TMSS/backend/services/scheduling/lib/constraints.py
@@ -944,6 +944,10 @@ def get_calibrator_sap_pointings(observation_task: models.TaskBlueprint) -> []:
         return [ Pointing(**observation_task.specifications_doc['calibrator']['pointing']) ]
     return []
 
+def get_sap_pointings(observation_task: models.TaskBlueprint) -> []:
+    ''' get a list of all calibrator or target pointings depending on the type of observation'''
+    return get_calibrator_sap_pointings(observation_task) + get_target_sap_pointings(observation_task)
+
 def get_transit_offset_reference_pointing(observation_task: Union[models.TaskBlueprint, models.TaskDraft]) -> []:
     ''' return the sky constraints reference pointing if given, else None'''
     constraints = observation_task.scheduling_unit.scheduling_constraints_doc