Download CSV file to SAP Presentation Server
How to download internal table data to SAP Presentation server as CSV file?
How to download internal table data to SAP Presentation server as CSV file?
Use COPY_FILES_LOCAL static method of class CL_CTS_LANGUAGE_FILE_IO to copy a file from one folder to another folder in SAP application server.
How to display XML document in SAP?
Use the SAP function module KCD_CSV_FILE_TO_INTERN_CONVERT to upload a CSV file from presentation server.
By default the function module GUI_DOWNLOAD’ and ‘GUI_DOWNLOAD’ method of ‘CL_GUI_FRONTEND_SERVICES’ class downloads all the columns of internal table. What if we want to download only some columns of internal table.
To provide F4 help for SAP presentation server file using ABAP try function module ‘/SAPDMC/LSM_F4_SERVER_FILE’ in AT SELECTION-SCREEN ON VALUE-REQUEST FOR field event.
To upload a file from SAP application server use OPEN DATASET, READ DATASET and CLOSE DATASET ABAP statements.
To download a file to SAP application server use OPEN DATASET, TRANSFER and CLOSE DATASET ABAP statements.
To provide F4 help for SAP presentation server file using ABAP use function module ‘F4_FILENAME’ or ‘FILE_OPEN_DIALOG’ method of ‘CL_GUI_FRONTEND_SERVICES’ class.
To upload a file from SAP presentation server using ABAP use function module ‘GUI_UPLOAD’ or ‘GUI_UPLOAD’ method of ‘CL_GUI_FRONTEND_SERVICES’ class.
Copyright © 2024 | WordPress Theme by MH Themes