How to export data table in SAP?

Hello!

Do you know how to create data table from sap?

goal:
To get the free dialog number (in this case need to get 29 ) ( transaction code: sm50 ; RVC system)

situation:
1.upper white part can’t be recognized individually using uipath
2.can export local file or spreadsheet (on tool bar) as excel, but the format sometimes changes

Because of the situation, I want to get data table directly or do you know any other way to get the number?
Thanks!