
Then first read your flat file from the desktop using GUI_UPLOAD If you want to create a file on the application server, Write something like this in your code to hold the location where the flatĭATA: f1 TYPE localfile value '/usr/reports/flat_file/education.txt'. So, your file will get created in the folder ' flat_file'. The BASIS guy needs to create up to this- /usr/reports/flat_file The file path on application server will be something like this.

I have an ALV report so i want to save the report as a text file (.txt) with pipeline delimited with my program.So could any one help me to do this ?Īlso when i use OPEN DATASET command to create a file, where is the file stored by default ?

If the save as text is not available, then the only way I know is creating your own pf-status, program the function codes you want in your program and handle the call to the new pf-status and the call to the new function codes in your program.ĭe: vidhyakorgaoker via sap-dev [mailto: el: Mircoles, 11 de Noviembre de 2009 10:55 a.m.Īsunto: Create a text file with abap program

Talk to your basis to get the right path). Open dataset works on the app server (if you don't specify any path, it will open the file in the default path.
