Can I perform file operations, such as creating a file, in ABAP?
Yes, it is possible, as mentioned earlier. You should start reading here - it covers almost everything official documentation , including working with files both on the application and on the presentation server. It also explains how to use platform-independent file names - always remember, someday you may encounter an application server running on OS / 400 that will not allow you to write material to C: \ Temp \ MyExport.csv. Another hint: be careful about the mentioned functional modules, some of them are unsafe for use when using content in Unicode. Always use the CL_GUI_FRONTEND_SERVICES class methods for security.
, . ABAP " " / "/ " " .
, . MS Excel, .
, , , , AS (, "GUI_UPLOAD" / "GUI_DOWNLOAD" / "WS_DOWNLOAD" / "SAP_CONVERT_TO_CSV_FORMAT" / ..)...
, , ...
CL_GUI_FRONTEND_SERVICES GUI_DOWNLOAD.
CL_GUI_FRONTEND_SERVICES. . , GUI_DOWNLOAD, GUI_UPLOAD ..
CL_GUI_FRONTEND_SERVICES
GUI_DOWNLOAD
GUI_UPLOAD
we can create a flat file with the data entered into it with divided tabs. Now this bunker corresponds to the sap field tables, where the tables refer to the application, for example, to the material. Now we can use standard FM modules to load data into the internal tables of the program and then update the database.
Thus, you can load data with flat files.
Source: https://habr.com/ru/post/1760307/More articles:APNS Send notifications from multiple servers - iosRemoving uninstalled created files - c #Why is the spinlock in the linux kernel located in ".subsection 1" (or ".text.lock.smth")? - assemblyКак удалить приложение программно - c#BinaryFormatter Alternative - .netExpected Object Error in Internet Explorer - javascriptVariable rails are loaded the first time, and then zero! - nullMyGuid.Equals (OtherGuid) NOT EQUAL? - c #Correct link in PHP error text - phpRunning UninstallString using C # - c #All Articles