Skip to Content
avatar image
Former Member

IS IT POSSIBLE EXECUTE DYNAMIC SELECT OVER AN INTERNAL TABLE?

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers