For a novice, the best way to do what you want is probably through some sort of query that can select the data you want to have in your file. Build the query to display the desired data. It is possible to place criteria in the query but uncheck the SHOW box. That way, the criteria values don't show up in the output. Make this query present the data in the right order based on the columns you need to see. Don't forget that if you need to add a constant or the result of a computation of some sort in the output, you can add a labeled field that has a constant or formula value in the appropriate columen. The resulting value can be exported to the file as easily as the actual data.
Now use the help files to look up keyword Export. You want to export your data to a file, perhaps comma-delimited. (Or perhaps not delimited, I'm not sure about SPSS - it has been literally 25 years since I've been anywhere near that package.) If you have to have some sort of header on the file, think about editing the header into the file after the bulk of your table data has been exported.