This may help you:
From the link:
//Iterate through the loaded tables
For t = 0 to NoOfTables() - 1
//Iterate through the fields of table
For f = 1 to NoOfFields(TableName($(t)))
Load TableName($(t)) as Table,
TableNumber(TableName($(t))) as TableNo,
NoOfRows(TableName($(t))) as TableRows,
FieldName($(f),TableName($(t))) as Field, FieldNumber(FieldName($(f),TableName($(t))),TableName($(t))) as FieldNo Autogenerate 1;
You can get all table name, and then you can store it in csv with store command.
If you have the rights to reload that application, put these line of code at the end of Data Script load:
For i = 1 to nooftables() - 1 Let vTableName = tablename($(i)); Store $(vTableName) into [lib://Your_Connection_Name/$(vTableName).csv](txt); Next
If you dont have the data source to reload that application, you have to create a new application, do "binary load" from that qvf file, then excute the codes above in the new application.
For binary load, check: