Sunday, January 1, 2017

Error in module RSQL of the database interface

DATA var_sum type n LENGTH 3.



SELECT sum( col ) from ztable INTO  var_sum
  WHERE (filter condition).


Here in above query i try to store the sum of col into a variable of type numc.Due to this i got the error (Error in module RSQL of the database interface).


Solution in this case :
DATA var_sum TYPE i.


FOR more details with example Click HERE

No comments:

Post a Comment