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

READ TABLE

Former Member
0 Likes
390

Hi!

A deep water question again...

I would like to use a READ TABLE statement with field-symbols.

FIELD-SYMBOLS:

WITH KEY ???

The with key part is unknown by me, what syntax can I use here, if the table structure is not known?

Thank you

Tamá

1 ACCEPTED SOLUTION
Read only

JozsefSzikszai
Active Contributor
0 Likes
362

hi Tamás,

you have to assign each field of the table during runtime before the READ (and after the field symbol assignment to the table):

FIELD-SYMOBOLS : IS ASSIGNED.

...

ENDIF.

hope this helps

ec

2 REPLIES 2
Read only

Former Member
0 Likes
362

Hi,

You must have passed some data into <fs_table> before using READ Table statement, use those key fields.

Regards,

Satish

Read only

JozsefSzikszai
Active Contributor
0 Likes
363

hi Tamás,

you have to assign each field of the table during runtime before the READ (and after the field symbol assignment to the table):

FIELD-SYMOBOLS : IS ASSIGNED.

...

ENDIF.

hope this helps

ec