SAP Message 5A247 - Error while accessing specified structure root

Diagnosis
A structure root ID was specified during the retrieval of the functionmodule PD_OBJECTS_COLLECT. Access to this ID failed. Either nostructural reporting was carried out before calling the function moduleor the evaluated structure has been deleted in the meantime.