Check, if di-api connected
return 1=connect or -1=not connected
declare d=ue_api_sbo
if <d.connect> = -1 then
messagebox=API not connected
return -1
end if