Application Development 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: 

Table type of Character Type

Former Member
0 Kudos

I have created Table type of Type Char(40).I have used this Table type in my program and I have created Itab like table type and i stored some date in it.what the problem is How can read the data from the Itab using Read table with key access? Can any one tell me how we can read the data.

Regards,

D.KiranKumar.

2 REPLIES 2

former_member196079
Active Contributor
0 Kudos

Hi

You should have an univocal field which you can use for a key field...

so if you have only a long text field you should create it, because without it you can't have an univocal key

for read the record.

best regards

Marco

Former Member
0 Kudos

Hi,

Use:

read table itab with key table_line  = 'xx'.

or

read table itab with key table_line  = 'xx' into wa_tab.

Best regards,

Leandro Mengue