Hello Vinhng,
you can use the below query to export the data in Excel from the table . you have to modify the report to create the data in excel.
Output to "test.xls".
For each cm_mstr :
put unformatted
cm_addr "~011"
cm_sort "~011"
cm_ar_acct "~011" skip.
end.
output close.
Best Regards,
Mayank Sharma