Write Text File: Column 'SAP Code' does not belong to table DataTable

as your screenshot is not showing all details from the LINQ we are limited for the checks

In general a column name SAP Code is in use, but the datatable does not contains a datacolumn with this name

Debug and inspect it within the debugging panels as mentioned here:
Understanding the 6 Debugging Panels of UiPath in the easiest way possible! - News / Tutorials - UiPath Community Forum

The error is pretty clear. You are referencing a column named “SAP Code” but there is no such column in your datatable.