Odoo already holds your sales orders and invoices, yet someone then has to create a file that SAP can fetch. Lines and quantities then have to be right a second time, or delivery follows a different document than your ERP. That extra entry is the work this integration takes over: a change in Odoo becomes a file on the server, without retyping.
Everything moves from Odoo to the server, never back. You choose whether it concerns sales orders or invoices, and which statuses may go. The read looks at changes since a date, and that date moves forward automatically. Documents sent earlier fall outside the selection the next time. What does go along becomes a CSV or XML file. SAP picks that file up from the server; the integration writes nothing in SAP itself.
You choose the document type, the statuses and the layout of the file yourself. CSV or XML follows from the type of the connection. If you leave the switch off, one run produces one file; switched on, each document gets its own file. If you have no pattern of your own, the file name is a unique identifier. It first gets a temporary name and only then its final name, so an unfinished file never carries the final name.