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

select stmt problem in upgrade project.

former_member463678
Participant
0 Likes
566

Hi ,

I got problem with select statement in SAP upgradation in of standard include in report.

There is select statement

select * from BSET where ....................

The INTO addition is not used in this select statement.

it is giving the following error in ECC6.

" A target area must be declared either explictly with INTO clause or imlictly with TABLES statement "

I cant change this select statement becoz its contained in stndard include. In program I define BEST with TABLES stmt .

At this movement i got another error

" BEST must be a flat structure. You cant use internal table, srings, referances or structures as components "

Can anybody pls give solution for above error.

Thanks in advance.

Zakir.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
545

if you dont want to put your selected data anywhere then why you r writing this select statement.

3 REPLIES 3
Read only

Former Member
0 Likes
545

Hi Zakir,

at both instance the name is differing ... is it BSET or BEST?

Read only

Former Member
0 Likes
545

hi

dont declare any field as a string in your structure.

use char256 instead of string.

Reward if help.

Read only

Former Member
0 Likes
546

if you dont want to put your selected data anywhere then why you r writing this select statement.