Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

create a text plain file

Former Member
0 Likes
1,375

Hi !

I need to create a '.txt' file from a ABAP program,

please, could you help me with a function? I'm looking for this but I don't find it.

Thank you in advance!

Regards...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,314

Hi,

There is a icon in application tool bar (--->) in se38, you can click, and save it in local file (text file).

regs

Rams

Hi !

I need to create a '.txt' file from a ABAP program,

please, could you help me with a function? I'm looking for this but I don't find it.

Thank you in advance!

Regards...

8 REPLIES 8
Read only

Former Member
0 Likes
1,314

Hi ,

What exactly do you want to do , download an internal table or download the code it self.

Please be clear

Regards

Arun

Read only

Former Member
0 Likes
1,315

Hi,

There is a icon in application tool bar (--->) in se38, you can click, and save it in local file (text file).

regs

Rams

Read only

0 Likes
1,314

sorry!

yes, I need create a txt file from a internal table in a place of hard-disk/server (I don't know at this moment)...

could I to specify the folder where the file will be to create??

thank you!

Read only

0 Likes
1,314

You can use GUI_DOWNLOAD FM

Regs

Rams

Read only

0 Likes
1,314

Hi,

You have to provide the whole path to download the file. You can also use FM F4_FILENAME for the same.

Reward points if the answer is helpful.

Regards,

Mukul

Read only

0 Likes
1,314

OK,

thank you at all

regards

Read only

Former Member
0 Likes
1,314

Hi,

Use funciton module GUI_UPLOAD to download contents of an internal table as a .txt file on the presentation server.

If you want to download your program then there is an icon under the program name to download your code as a .txt file on the presentation server.

Reward points if the answer is helpful.

Regards,

Mukul

Read only

Former Member
0 Likes
1,314

say u have data in internal table.

use GUI_DOWNLOAD and pass file name as .txt

this will create a notepad file with data