Uploading and Downloading Programs - SAP ABAP(Flat file to Database Table and Vice-Versa)
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHOvg5lCflzYVnH-Dzg6apO7vTzPfvq50ggOCqLlbqNLwnKeaon_tQxWoU05V4XLcDyLUl7RU9DLKEG5v8roE33KXrQZOwPA1Pyge3i_dNlofJIja6nbiPsJavK06q5-u5QdxMci5jVMQ/s640/1.jpg)
Uploading Program Uploading programs are used to upload the data from Flat files/Input files into SAP. Step1: Prepare an input file as below to upload into SAP Step2: Write an ABAP Program in SE38 and -> Declare Local Structure ( declared as per the available input file fields ), Internal table and Work area. -> Make use of Function Module: GUI_UPLOAD to upload the data from Input file to Internal table . Example: CALL FUNCTION ' GUI_UPLOAD ' EXPORTING FILENAME = L_PATH " Input File Path FILETYPE = 'ASC' HAS_FIELD_SEPARATOR = 'X' TABLES DATA_TAB ...