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

need the simplest code to select a table's content

Former Member
0 Likes
1,013

Hi!

We want to view the content of some tables which are NOT activated .

Could you provide a piece of ABAP code to help?

Points guaranteed. Thanks!

1 ACCEPTED SOLUTION
Read only

JozsefSzikszai
Active Contributor
0 Likes
999

hi Jennifer,

the tables which are NOT activated, from SAP point of view don't exist at all. If they don't exist, no data could be stored in these tables, so there is nothing to select and you cannot select from tables which don't exist... and so on...

hope this helps

ec

Hi!

We want to view the content of some tables which are NOT activated .

Could you provide a piece of ABAP code to help?

Points guaranteed. Thanks!

8 REPLIES 8
Read only

Former Member
0 Likes
999

HI

can u tell me what do uyou mean by 'Which are not Activated'?

Regards,

Waseem

Read only

JozsefSzikszai
Active Contributor
0 Likes
1,000

hi Jennifer,

the tables which are NOT activated, from SAP point of view don't exist at all. If they don't exist, no data could be stored in these tables, so there is nothing to select and you cannot select from tables which don't exist... and so on...

hope this helps

ec

Read only

0 Likes
999

OK, I give an example here:

I can do this at the UNIX level:

select * from SAPSR3DB.BC_SL_ACTIVE_PARTS;

and I get 3 lines returned. However if I try se16 for above table, I am told that is NOT activated in the dictionary

But for some systems I do not have UNIX access. So please help give some code to get it.

Thanks!

Read only

0 Likes
999

Interesting - try native SQL.

Rob

Read only

0 Likes
999

Jennifer,

That table doesnt exist in SAP. The table name can be 16 characters long max.

Rgds,

Naren

Read only

0 Likes
999

It's existing at DB level. I can see it thru SQLPLUS.

Please provide ABAP code. <REMOVED BY MODERATOR>. Thanks!

Edited by: Alvaro Tejada Galindo on Feb 22, 2008 10:05 AM

Read only

0 Likes
999

Native SQL is database dependent, so it's not possible to give a general answer. Please see:

[Native SQL|http://help.sap.com/saphelp_47x200/helpdata/EN/fc/eb3b8b358411d1829f0000e829fbfe/frameset.htm]

Rob

Read only

0 Likes
999

This is Oracle10. Please give the exact code because I do NOT have any ABAP experience. Thanks!