Skip to Content
avatar image
Former Member

DBIF_DSQL2_SQL_ERROR Dump error generating

HI All,

Can some one tell me how can i solve this Below abap dump error,

Database error text........: "SQL0150N The target fullselect, view, typed

table, materialized query table, or staging table in the INSERT, DELETE,

UPDATE, or MERGE statement is a target for which the requested operation is

not permitted. SQLSTATE=42807"

Database error code........: "-150"

Triggering SQL statement...: "insert into "AQDB" ( "MANDT", "RELID", "SRTFD",


"CLUSTR", "CLUSTD" ) values ( ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,

? )"

Internal call code.........: "[DBDS/NEW DSQL]"

Please check the entries in the system log (Transaction SM21).

If the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following





If you cannot solve the problem yourself and want to send an error

notification to SAP, include the following information:

1. The description of the current problem (short dump)

To save the description, choose "System->List->Save->Local File


2. Corresponding system log

Display the system log by calling transaction SM21.

Restrict the time interval to 10 minutes before and five minutes

after the short dump. Then choose "System->List->Save->Local File


3. If the problem occurs in a problem of your own or a modified SAP

program: The source code of the program

In the editor, choose "Utilities->More


4. Details about the conditions under which the error occurred or which

actions and input led to the error.

The exception must either be prevented, caught within proedure

"NEXT_NUMBER" "(FORM)", or its possible occurrence must be declared in the

RAISING clause of the procedure.

To prevent the exception, note the following:

what could be the reason please help me

System environment

SAP-Release 700

Application server... "wpd-tech-sys"

Network address...... ""

Operating system..... "Windows NT"

Release.............. "5.2"

Hardware type........ "2x AMD64 Level"

Character length.... 16 Bits

Pointer length....... 64 Bits

Work process number.. 0

Shortdump setting.... "full"

Database server... "wpd-tech-sys"

Database type..... "DB6"

Database name..... "POC"

Database user ID.. "SAPPOC"

Char.set.... "C"

SAP kernel....... 700

created (date)... "Jan 24 2008 01:15:15"

create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"

Database version. "DB6_81 "

Patch level. 144

Patch text.. " "

Database............. "DB6 08.02., DB6 09."

SAP database version. 700

Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows

NT 6.0"

Memory consumption

Roll.... 16192

EM...... 8379680

Heap.... 0

Page.... 65536

MM Used. 2454880

MM Free. 1732336

Thnx & Regards


Edited by: zamu on Nov 6, 2008 9:38 AM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 06, 2008 at 10:14 AM

    The best would be to use the most recent DbSl (current PL for SAP kernel 700 is 178)..

    If you would like to have the issue investigated further, please provide the complete error entry from the SAP dev trace (dev_w0 from server "wpd-tech-sys").


    Add comment
    10|10000 characters needed characters exceeded

    • The view text does not appear to be complete - DB2 does not allow such a view text.

      To resolve the issue, I suggest to use transaction SE14 to drop and re-create the table. There is no data loss with this action.

      If you need to identify the source of the issue, I suggest to open a ticket at SAP. However, the suggested approach via SE14 would destroy the information needed to investigate.


  • Nov 06, 2008 at 08:32 AM

    This error is due to the fact that the system is attempting to INSERT into a SAP table that is a view at database level. I suspect that you have a system with deferred table creation enabled - but the DbSl level might be too low.

    Please try with a higher DbSl for your SAP kernel. If this does not help, please provide the DbSl patch level (contained e.g. in the SAP developer traces).


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Malte,

      Thnx for your instant answer

      db information

      db client lib. db6_81

      dbsl version 700.08

      dbsl patch level 144


      kernel rel 700

      sup pkg lvl 144

      can you pls tell how can i solve the above dump error

      Thnx & Regards


  • avatar image
    Former Member
    Nov 10, 2008 at 10:17 AM

    Hi All

    Thanks Malte for you cooperation i appreciate it,

    i solved this issue by doing the kernel upgradation



    Add comment
    10|10000 characters needed characters exceeded