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

Error in ABAP Report TABLES declaration

Former Member
0 Likes
696

Hi,

I am a Basis administrator and trying to write a small program for archiving.

I get a folowing error when user the following statement in a report -

TABLES: RSDAARCHREQ.

The error is as follows -

"RSDAARCHREQ" must be a flat structure. You cannot use internal tables,

strings, references, or structures as components. -

I can include all the other tables requred but somehow this particular table gives me this error which I have never encountered earlier. This is BI 7.0 and it is standard SAP transparent table.

Please help me.

I will appreciate it.

Regards,

Sume

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
539

Hi Sume,

Do not declare RSDAARCHREQ in tables.

If you want a internal table declare in the below mentioned way .


data: it_RSDAARCHREQ TYPE STANDARD TABLE OF RSDAARCHREQ.
select * into table
 it_RSDAARCHREQ
  from RSDAARCHREQ.

Regards

Naresh

Hi Sume,

Do not declare RSDAARCHREQ in tables.

If you want a internal table declare in the below mentioned way .


data: it_RSDAARCHREQ TYPE STANDARD TABLE OF RSDAARCHREQ.
select * into table
 it_RSDAARCHREQ
  from RSDAARCHREQ.

Regards

Naresh

2 REPLIES 2
Read only

Former Member
0 Likes
540

Hi Sume,

Do not declare RSDAARCHREQ in tables.

If you want a internal table declare in the below mentioned way .


data: it_RSDAARCHREQ TYPE STANDARD TABLE OF RSDAARCHREQ.
select * into table
 it_RSDAARCHREQ
  from RSDAARCHREQ.

Regards

Naresh

Read only

0 Likes
539

Hi,

Thank you for a reply. I never new it will be this simple.

Regards,

Sume.

Edited by: Sume on May 5, 2009 2:59 PM