Uploading and Downloading Programs - SAP ABAP(Flat file to Database Table and Vice-Versa)
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 ...