Skip to Content
author's profile photo Former Member
Former Member

Performance Issue

HI,

When I am copying the entries from one table to another table and using modifying statement,

it is taking a lot of time during execution.

the number of entries in the first table are some 20,000 records

my logic is:

1)selecting the records from the first table into an internal table

2)loop and the modify the second table.

the performance is too slow.

is there any way where i can increase the performance.

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2005 at 04:31 PM

    Hi

    Are you using select - endslect. Modifying in Loop.

    Why not use SELECT INTO TABLE ITAB.

    ( itab has structire of your first database table )

    Populate entries from ITAB to ITAB1.

    ( Itab1 has structure of you second database table

    For modify you can use

    MODIFY <DBTAB> from TABLE ITAB1.

    Cheers

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2005 at 04:30 PM

    Use field symbols. It can improve the performance.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.