hello leah,
use method
get_properties(
IMPORTING es_attributes = <attr> ).
to get all attributes at one time of entity used as also suggest above.
check structure of entity and use as importing variable of this method.
Regards Harish Kumar