Skip to Content
0

IS IT POSSIBLE EXECUTE DYNAMIC SELECT OVER AN INTERNAL TABLE?

Jun 06, 2017 at 02:31 PM

25

avatar image

Hi experts!

My AMDP admit the command "EXEC" but when I execute the following code:

lv_select = 'SELECT SUM( ' || :lv_ratio_origen || ' ) INTO lv_valor_repartir FROM :lt_origen' ;

EXECUTE IMMEDIATE lv_select;

It throws an exception:

Is it possible to execute "EXEC o EXECUTE IMMEDIATE" command over an internal table?

Thanks in advance.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers