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

Error in module RSQL of the database interface.

$
0
0

Hello Experts,

I'm new to Web Dynpro and trying to develop an application. It seems like there is something wrong with SELECT statement, however, I can't what's the issue. Can somebody see what's wrong with it? For reference here is my code.

 

*************************************************************************************************************************

* create where condition
if not stru_node_vbak-vbeln eq ''.
concatenate 'VBELN = ''' stru_node_vbak-vbeln '''' into ls_where.
append ls_where to lt_where.
endif.

if not stru_node_vbak-erdat eq '00000000'.
concatenate 'ERDAT = ''' stru_node_vbak-erdat '''' into ls_where.
if stru_node_vbak-vbeln ne ''.
concatenate 'AND' ls_where into ls_where separated by space.
endif.
append ls_where to lt_where.
endif.


select vbeln erdat erzet audat vbtyp auart augru
from vbak into table lt_vbak where (lt_where).

*************************************************************************************************************************

 

Attached is output on browser.

 

Many thanks in advance.


Viewing all articles
Browse latest Browse all 10498

Trending Articles



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