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

table type

Former Member
0 Likes
357

Hi Expetrts,

i have a declaration like this:

data: w_file type string.

DATA: W_FILENAME TYPE FILETABLE,.

This FILETABLE is of table type.

So i have a value for this like:

W_FILENAME-FILENAME = 'C:\DATA'.

no i want to move it one more variablle called w_file.

How can i do this?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
336

Hi,

Try this..

DATA: WA LIKE LINE OF W_FILENAME.

READ TABLE W_FILENAME INTO WA INDEX 1.

W_FILE = WA-FILENAME

Thanks

Naren

2 REPLIES 2
Read only

Former Member
0 Likes
337

Hi,

Try this..

DATA: WA LIKE LINE OF W_FILENAME.

READ TABLE W_FILENAME INTO WA INDEX 1.

W_FILE = WA-FILENAME

Thanks

Naren

Read only

Former Member
0 Likes
336

data : w_file type filetable-filename.

move W_FILENAME-FILENAME to w_file.