$sec = GetIBlockSectionList($IBLOCK_ID,0,Array(),1,Array("=CODE"=>$CODE)); if ($arSec = $sec->Fetch()) { $el = CIBlockElement::GetList(Array(), Array("SECTION_ID"=>$arSec["ID"])); } else { //ошибка нет такой секции }