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 statement with dynamic key

Former Member
0 Likes
411

Can i READ a dynamic table with a dynamic key combination?

READ TABLE <dyn_sel_table>

INTO <dyn_sel_wa>

WITH KEY ? .

Hi,

Where would <fld1> point to?

If i want to have 'matnr' as key then how do i declare <fld1>.

2 REPLIES 2
Read only

Former Member
0 Likes
370

yes i guess u can do it

READ TABLE <dyn_sel_table>

<b>ASSIGNING</b> <dyn_sel_wa>

WITH KEY <field1> eq ...

Read only

0 Likes
370

Hi,

Where would <fld1> point to?

If i want to have 'matnr' as key then how do i declare <fld1>.