Also how can we fetch the list of column names from the passing features and store them into a attribute list?
Also how can we fetch the list of column names from the passing features and store them into a attribute list?
not sure I completely understand what you're trying to do here, but it is definitely possible to run an Oracle stored procedure using an SQLExecutor. The code in the SQLExecutor will be executed once for every feature that enters it, not once for the whole recordset.
Be aware that the FME workflow doesn't really have a concept of a database cursor, as such, so you might have to look at alternative solutions.
To get a list of all the attributes available in the workspace at a given point, use the AttributeExploder (Exploding type: List).
You could also query the Oracle table for its columns, using an SQLExecutor with some like:
select column_name
from user_tab_columns
where table_name='MYTABLE' David