Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

problem in select statement

Former Member
0 Likes
465

Hello ,

I ve a select statement. its like SELECT SINGLE FILEDS FROM DBTABLE INTO SCREEN_FIELDS WHERE CONDITIONS.

SCREEN_FIELDS ARE THE DRAG FIELDS FROM THE TABLE IN SCREEN.

It showing me an error message when i m checking for the syntax that " the fields are not in the list. but i ve the checked all the fields are in proper order.

3 REPLIES 3
Read only

Former Member
0 Likes
432

Hi

If you have used table fields on screen than yo u have to select data in that table only.

Suppose you have screen field from work area of table itab

then write like this:

select single fields from DB tab

into wa_itab

where....

Read only

Former Member
0 Likes
432

Hi Goldenn,

There may be problem in Type mismatch between the screen fields and database table fields.

Regards

Kumar M.

Read only

Former Member
0 Likes
432

Hi,

Whatever fileds you have decalred in the screen, you need to declare the same in the TOP INCLUDE of your program.

For example, you have a field in the screen with name w_name

then you must declare the same variable in the program also.