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

Open internal table in Notepad

Former Member
0 Likes
1,046

Hi.

How can I open (not exist file) internal table in notepad?

Thanks!

Marcos.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
851

i dont know what is your requirement but you can try this

EDITOR-CALL FOR itab.

Extras:

1. ... TITLE text

2. ... DISPLAY-MODE

3. ... BACKUP INTO itab1

The internal table itab must have the table type STANDARD TABLE, and can contain only type C components.

The lines of the internal table can be up to 72 characters long.

regards

shiba dutta

7 REPLIES 7
Read only

Former Member
0 Likes
851

hi,

u r question is not clear but what i interpreted i will tell u

u have u r internal table contents with u

call function gui_download'.

specify internal table and location ie filename

and file type as dat .

cheers.

Read only

Former Member
0 Likes
851

Hi.

I have got internal table only.

I like open notepad, and load the internal table in notepad.

I don't use gui_download.

the internal table is:

TYPES: BEGIN OF ty_codigo,

linea TYPE string,

END OF ty_codigo.

DATA: t_codigo TYPE STANDARD TABLE OF ty_codigo. "Tabla con codigo fuente.

Read only

Former Member
0 Likes
851

u dont have internal table in ur pc...u have data in internal table...when executed this internal table data needs to be opened in excel/notepad sheet...this is what ur requirement is....

u need to use GUI_DOWNLOAD with some field properties so that the internal table data gets opened in excel/notepad and if u want to save u can do it...

u can also use OLE concepts wherein u can open data in excel sheet.

Read only

Former Member
0 Likes
851

But I don't like download the file I only load automatic.

Read only

Former Member
0 Likes
851

Hi Marcos

u want to open IT in notepad so to say in an text file but the contents shouldnot be latrge else it wont open in it instead u can carry in wordpad .Use the FM gui_download give file name as "test.txt" and location as a:\test.txt file type as "ASC".

regards

Read only

Former Member
0 Likes
852

i dont know what is your requirement but you can try this

EDITOR-CALL FOR itab.

Extras:

1. ... TITLE text

2. ... DISPLAY-MODE

3. ... BACKUP INTO itab1

The internal table itab must have the table type STANDARD TABLE, and can contain only type C components.

The lines of the internal table can be up to 72 characters long.

regards

shiba dutta

Read only

Former Member
0 Likes
851

Hi. It's ok, but i prefer load in the notepad 😛

Thanks!