Skip to Content
0
Oct 17, 2005 at 07:17 AM

Dynamical key for READ TABLE statement

17 Views

Hello!

Is it possible to define a key for the READ TABLE statement dynamically?

For example, I'd like

READ TABLE t_lfa1 ASSIGNING <lfa1> WITH KEY lifnr = v_lifnr.

to become something like

READ TABLE t_lfa1 ASSIGNING <lfa1> WITH KEY (t_lifnr_key).

If the answer is "yes", please provide example. If you are certain that it's "no", please post that too.

I'm on WAS 620. Thanks!

Kind regards,

Igor