SAP Message S3050 - Include & could not be deleted

Diagnosis
The include program could not be deleted because the correspondingfunction module (RS_DELETE_PROGRAM) could not perform the deletion.