* Read object number
select single objnr
into lv_objnr
from vbak
where vbeln = itab_hol_contracts-vbeln.
* Read user status
select single stat into lv_status
from jest
where objnr = lv_objnr and stat like 'E%'
and inact 'X'.
* Read text for user status
select single txt04
into lv_txt04
from tj30t
where stsma = 'ZCONTRAC'
and estat = lv_status
and spras = 'E'.