Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8802

Re: Debug procedure throws an exception error

$
0
0

Hi Sangamesh,

You can use select statements only on a database object. Here in your case RESULT_ERTRAG is a result set, so you cant use select on the result set. Its like internal table in ABAP. On internal table we can only perform 'read' operation and not select. Thats the reason you are not able to see any values further.

 

And also you have declared matnr_ertrag variable (of type varchar(18)). It can hold only one value. If you see your operations, you are trying to fill entire column matnr in the variable(select "MATNR" into  matnr_ertrag), logically it will not work this way.

 

Regards,

Vijay


Viewing all articles
Browse latest Browse all 8802

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>