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

Delete sentence is failing.

Hi everybody.

I have i report, which i use to delete records from pa0002 table.

I have a select-options to select a range of pernr's, after that i execute the following sentence:

delete from pa0002 where pernr in S_OPT.

When i have a huge amount of records in this table the delete sentence is failiing and i've got a dump.

What can i do to solve this?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 12:21 PM

    can u plz just send the dump details

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 12:23 PM

    Contact your basis team to icrease your 'Dialog response Time'.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 12:30 PM

    Hi,

    other wise read the data into your itab into small amount till all r deleted

    read small amount of data into internal table and then delete using

    DELETE <target> FROM TABLE itab <wa>

    this may solve your problem.

    Regards

    Shiva

    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.