Take a look at FM SO_OBJECT_READ, within in it look at the following code. Internal table OBJCONT will get filled with the message text after the call to Form DATA_SELECT. This might get you headed in the right direction….
if filter-nocont is initial.
Read content of the object if desired
perform data_select(sapfsso1) tables objhead