DATA: it_file_content TYPE rsanm_file_table. DATA: lv_file TYPE string VALUE '/usr/sap/Test.txt'. TRY. cl_rsan_ut_appserv_file_reader=>appserver_file_read( EXPORTING i_filename = lv_file CHANGING c_data_tab = it_file_content ). LOOP AT it_file_content ASSIGNING FIELD-SYMBOL(<fs_line>). WRITE: / <fs_line>. ENDLOOP. CATCH cx_root INTO DATA(e_text). WRITE: / e_text->get_text( ). ENDTRY.
Kategorien
-
Neueste Beiträge
- [SAP] Mailversand einrichten
- [SAP EWM] SAP EWM and SAP ERP integration via CIF
- [SAP] Nutzung der ALV-Anzeige im MM-Reporting
- [Raspberry Pi 4] Raspberry Pi als DNS Server
- [Raspberry Pi] SSH aktivieren
- [Raspberry Pi] Bootoptionen in der config.txt
- [Raspberry Pi 4] Bessere Youtube-Videoperformance in Google Chrome
- [Raspberry Pi 4] Direkt von SSD booten (ohne SD-Karte)
- [ABAP] Fixkontentabelle (T030) auslesen
- [SAPUI5] SAPUI5 Entwicklung mit SAP Business Application Studio (BAS)