Dear Clara
the function module you have used is the right (good selection (but checkl as well functiopn group C1F5) one. The topic of how to get data using BAPIs/APIs in EHS is discussed in :;SAP EHS Management for Beginners
In most of the cases the use of a different BAPI/API might make sense. Please check e.g.:
EHS: BAPI_BUS1077_GETDETAIL field PROP_DATA-DESCR_CVAL issue
EHS: BAPI_BUS1077_CHANGE / DELETE problem with referenced Spec data
Using BAPI_BUS1077_GETDETAIL to read hazard inducers
How to read R & S phrases from EHS
E.g. List of BAPI's - ABAP Development - SCN Wiki is a good source to get a list of BAPIS/APIs
But quesiotn_ why can you not use the existing "outputvariants"? in most case 90% of the demand can be fulfilled if you use them (e.g. outputvariant "EXCEL")
May be check therefore: Specification Information system output varaint error
Table to get Characteristics Value or similar threads
C.B.
PS: what is the meaning of the word "report" in your thread? WWI Report; ABAP report?