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

Performance analysis

Former Member
0 Likes
738

SELECT objnr

FROM onr00

INTO TABLE t_1

WHERE objnr IN t_2.

In t_2 internal table all objnr values contains wild card u2018*u2019.

It is taking lot of database time. ONR00 table has almost 14 lakhs records. If we use internal table also it takes time. But what do you people suggest the solution for it.

6 REPLIES 6
Read only

Former Member
0 Likes
718

This message was moderated.

Read only

Former Member
0 Likes
718

Hello

Declare internal table t_2 as RANGES.

Read only

0 Likes
718

Declaration part:

TYPES: tp_objnr TYPE RANGE OF j_objnr.

DATA: t_objnr TYPE tp_objnr

Read only

0 Likes
718

Sorry.

Here is the correct one.

TYPES: tp_objnr TYPE RANGE OF j_objnr.

DATA: t_2 TYPE tp_objnr

Edited by: lalitha botla on Aug 28, 2008 9:12 AM

Read only

0 Likes
718

Hello

In t_2 internal table all objnr values contains wild card u2018*u2019.

Show sample of value in t_2 ...

Read only

0 Likes
718

LMREPT0201785001*