cancel
Showing results for 
Search instead for 
Did you mean: 

DBIF_DSQL2_SQL_ERROR Dump error generating

Former Member
0 Kudos

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",

"SRTF2", "LOEKZ", "SPERR", "AEDAT", "USERA", "PGMID", "BEGDT", "ENDDT",

"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

keywords:

"DBIF_DSQL2_SQL_ERROR" "CX_SY_NATIVE_SQL_ERROR"

"SAPLAQNF" or "RSAQIEXN"

"NEXT_NUMBER"

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

(Unconverted)".

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

(Unconverted)".

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

Utilities->Upload/Download->Download".

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...... "192.168.2.218"

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

Zam

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi All

Thanks Malte for you cooperation i appreciate it,

i solved this issue by doing the kernel upgradation

Regards

Zamu

malte_schuenemann
Product and Topic Expert
Product and Topic Expert
0 Kudos

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").

Malte

Former Member
0 Kudos

Hi Malte

Once again Thnx yes i wan to investigate it below is the dev_w0

-


trc file: "dev_w0", trc level: 1, release: "700"

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, MJ

*

B

B Tue Nov 04 22:40:57 2008

B create_con (con_name=R/3)

B Loading DB library 'D:\usr\sap\POC\DVEBMGS30\exe\dbdb6slib.dll' ...

B Library 'D:\usr\sap\POC\DVEBMGS30\exe\dbdb6slib.dll' loaded

B Version of 'D:\usr\sap\POC\DVEBMGS30\exe\dbdb6slib.dll' is "700.08", patchlevel (0.144)

C DbSl trace SM50: switch request to level 1

B New connection 0 created

M sysno 30

M sid POC

M systemid 562 (PC with Windows NT)

M relno 7000

M patchlevel 0

M patchno 144

M intno 20050900

M make: multithreaded, Unicode, 64 bit, optimized

M pid 5496

M

M kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)

M length of sys_adm_ext is 576 bytes

M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 5496) [dpxxdisp.c 1305]

I MtxInit: 30000 0 0

M DpSysAdmExtCreate: ABAP is active

M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active

M DpShMCreate: sizeof(wp_adm) 16288 (1480)

M DpShMCreate: sizeof(tm_adm) 5652128 (28120)

M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)

M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)

M DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080

M DpShMCreate: sizeof(comm_adm) 552080 (1088)

M DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0

M DpShMCreate: sizeof(slock_adm) 0 (104)

M DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0

M DpShMCreate: sizeof(file_adm) 0 (72)

M DpShMCreate: sizeof(vmc_adm) 0 (1864)

M DpShMCreate: sizeof(wall_adm) (41664/36752/64/192)

M DpShMCreate: sizeof(gw_adm) 48

M DpShMCreate: SHM_DP_ADM_KEY (addr: 0000000010E70050, size: 6339712)

M DpShMCreate: allocated sys_adm at 0000000010E70050

M DpShMCreate: allocated wp_adm at 0000000010E72150

M DpShMCreate: allocated tm_adm_list at 0000000010E760F0

M DpShMCreate: allocated tm_adm at 0000000010E76150

M DpShMCreate: allocated wp_ca_adm at 00000000113D9FF0

M DpShMCreate: allocated appc_ca_adm at 00000000113DFDB0

M DpShMCreate: allocated comm_adm at 00000000113E1CF0

M DpShMCreate: system runs without slock table

M DpShMCreate: system runs without file table

M DpShMCreate: allocated vmc_adm_list at 0000000011468980

M DpShMCreate: allocated gw_adm at 0000000011468A00

M DpShMCreate: system runs without vmc_adm

M DpShMCreate: allocated ca_info at 0000000011468A30

M DpShMCreate: allocated wall_adm at 0000000011468A40

M

M Tue Nov 04 22:40:58 2008

M ThTaskStatus: rdisp/reset_online_during_debug 0

X EmInit: MmSetImplementation( 2 ).

X MM global diagnostic options set: 0

X <ES> client 0 initializing ....

X Using implementation view

X <EsNT> Using memory model view.

M <EsNT> Memory Reset disabled as NT default

X ES initialized.

M ThInit: running on host WPD-tech-sol

M

M Tue Nov 04 22:40:59 2008

M calling db_connect ...

C Registering callback for dynamic profile parameters

C

C Tue Nov 04 22:41:02 2008

C DB2 library successfully loaded DB2 library 'D:\usr\sap\POC\DVEBMGS30\exe/db6_clidriver\bin\db2app64.dll' successfully loaded

C

C DB6 (DB2 UDB) UNICODE database interface 700.08 [opt]

C

C DB6 shared library (dbdb6slib) patchlevels

C (0.8) DB6: V8.2.2 optguidelines in OPEN SQL (note 150037)

C (0.8) Support of SDBUPDEXCL (note 847616)

C (0.9) DB6: use export file for dbdb6slib (note 835135)

C (0.9) DB6: Core in getAndBindSQLDA (note 833183)

C (0.10) DB6: link dbdb6slib.dll on windows with libdb6.obj (note 761159)

C (0.10) DB6: DUPLICATE_KEY on MERGE -> repeat (note 851474)

C (0.15) DB6: wrong CAST for short string ABAP type (note 861905)

C (0.17) DB6: special characters in sidadm passwd (note 865839)

C (0.21) DB6: no SAP_INFO comments (note 873889)

C (0.22) DB6: hints: get correlation names from view texts (note 868888)

C (0.23) DB6: hints: get correlation names from view texts (note 868888)

C (0.26) DB6: DB6_DBSL_CLP_COMMAND STRING_BAD_REF (note 883402)

C (0.27) DB6: activate value compression (note 886231)

C (0.28) DB6: optimization guidelines on views part 2 (note 868888)

C (0.30) DB6: no SQL trace for SQLCancel (note 892111)

C (0.33) DB6: append SAP_TA comment (note 873889)

C (0.34) DB6: activate value compression with quoted names (note 886231)

C (0.36) DB6: Repeat isolated DDL statements after SQL0911 (note 901338)

C (0.41) DB6: add V9 to list of supported DB2 releases (note 912386)

C (0.50) DB6: reread passwords for secondary connections (note 931742)

C (0.52) DB6: double quote table names in optguidelines (note 868888)

C (0.54) DB6: error handling in DBSL CLP (note 940260)

C (0.69) DB6: technical support of DB2 CLI driver (note 962892)

C (0.73) DB6: log table name on TRUNCATE failure (note 970743)

C (0.79) DB6: column type XML in index size calculation (note 982993)

C (0.82) DB6: CAST for SSTRING data types (note 989568)

C (0.86) DB6: long runtimes for R3szchk (note 1000847)

C (0.88) DB6: patch collection Dec 06 (note 1005574)

C (0.96) DB6: patch collection Jan 07 (note 1017852)

C (0.97) DB6: CLP commands with DB2 CLI Driver (note 1024102)

C (0.99) DB6: SUBSTITUTE VALUES with FAE statements (note 1028779)

C (0.107) DB6: patch collection Apr 07 (note 1047194)

C (0.110) DB6: SAP user names ending with non-ASCII char (note 1054555)

C (0.113) DB6: work process type in application snapshot (note 1059905)

C (0.114) DB6: connect using SAPDBHOST and DB2DB6_SVCENAME (note 1062049)

C (0.117) DB6: patch for execution of long DDL statements (note 1069658)

C (0.122) DB6: SNAPSHOT_TBS_CFG table function is deprecated (note 1077963)

C (0.123) DB6: CLP commands on Windows with V9.1 (note 1080149)

C (0.124) DB6: Set DB2CODEPAGE=819 for non-Unicode (note 1084400)

C (0.126) DB6: reuse optguidelines on FAE statements (note 1087375)

C (0.126) DB6: Enforce DB2CODEPAGE=819 for non-Unicode environments (note 1084400)

C (0.128) DB6: db6_free on invalid memory area (note 1092030)

C (0.133) DB6: statement cache enhancements (note 1101031)

C (0.136) DB6: change for enhancement pack installer (note 1111536)

C (0.138) DB6: improoved table size estimate for DB8 V8 (note 1119934)

C (0.144) I5/OS ldappasswd support for 5250 terminal. (note 1129573)

C (0.144) MSSQL: ODBC fastload on separate connection (note 1131805)

C

C Supported features:

C

C ..retrieving configuration parameters

C ..done

C Running with UTF-8 Unicode

C

C Tue Nov 04 22:41:03 2008

C Running with CLI driver

C DB2 client driver version '09.01.0005'

C Connected to DB2 server type 'DB2/NT64'

C Connected to DB2 version '09.01.0005'

C Connect to 'POC' as 'SAPPOC' schema 'SAPPOC' o.k.; con_hdl=0

C Database code page is ok.

C Database collating sequence is ok.

C DB2_WORKLOAD=SAP is set in DB2 registry as required.

C CLI Insert Buffering is disabled on single partition databases.

C DbSl trace SM50: switch request to level 1

C DbSlControl: returning SAPDBHOST='WPD-tech-sol'

B Connection 0 opened (DBSL handle 0)

B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost

B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20081104 224059 WPD-tech-sol

C DbSlControl: returning SAPDBHOST='WPD-tech-sol'

M

M Tue Nov 04 22:41:04 2008

M db_connect o.k.

M ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif

I

I Tue Nov 04 22:41:25 2008

I MtxInit: 0 0 0

M SHM_PRES_BUF (addr: 00000000150F0050, size: 10544128)

M SHM_ROLL_AREA (addr: 000007FFDDA80050, size: 268435456)

M SHM_PAGING_AREA (addr: 0000000015B00050, size: 134217728)

M SHM_ROLL_ADM (addr: 000000001DB10050, size: 2678942)

M SHM_PAGING_ADM (addr: 000000001DDA0050, size: 525344)

M ThCreateNoBuffer allocated 544152 bytes for 1000 entries at 000000001DE30050

M ThCreateNoBuffer index size: 3000 elems

M ThCreateVBAdm allocated 12176 bytes (50 server) at 000000001DEC0050

X EmInit: MmSetImplementation( 2 ).

X MM global diagnostic options set: 0

X <ES> client 0 initializing ....

X Using implementation view

X ES initialized.

B db_con_shm_ini: WP_ID = 0, WP_CNT = 11, CON_ID = -1

B dbtbxbuf: Buffer TABL (addr: 0000000026060160, size: 61744128, end: 0000000029B42560)

B dbtbxbuf: Buffer TABLP (addr: 0000000029B50160, size: 10240000, end: 000000002A514160)

B dbexpbuf: Buffer EIBUF (addr: 000000002A530170, size: 4194304, end: 000000002A930170)

B dbexpbuf: Buffer ESM (addr: 000000002A940170, size: 4194304, end: 000000002AD40170)

B dbexpbuf: Buffer CUA (addr: 000000002AD50170, size: 10240000, end: 000000002B714170)

B dbexpbuf: Buffer OTR (addr: 000000002B720170, size: 4194304, end: 000000002BB20170)

M CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.

S

S Tue Nov 04 22:41:31 2008

S *** init spool environment

S initialize debug system

T Stack direction is downwards.

T debug control: prepare exclude for printer trace

T new memory block 000000000A7F9A40

S

S Tue Nov 04 22:41:33 2008

S spool kernel/ddic check: Ok

S using table TSP02FX for frontend printing

S 1 spool work process(es) found

S frontend print via spool service enabled

S printer list size is 150

S printer type list size is 50

S queue size (profile) = 300

S hostspool list size = 3000

S option list size is 30

S found processing queue enabled

S found spool memory service RSPO-RCLOCKS at 0000000034E400D0

S doing lock recovery

S setting server cache root

S found spool memory service RSPO-SERVERCACHE at 0000000034E40460

S using messages for server info

S size of spec char cache entry: 297032 bytes (timeout 100 sec)

S size of open spool request entry: 2272 bytes

S immediate print option for implicitely closed spool requests is disabled

A

A -PXA--


A PXA INITIALIZATION

A PXA: Locked PXA-Semaphore.

A System page size: 4kb, total admin_size: 11000kb, dir_size: 10952kb.

A PXA allocated (address 000007FFEDAB0050, size 300000K)

A System name

A DB6..............................POC...........................................................

A is used for RFC security.

A Sharedbuffer token: 41534050...33 (len: 111)====== 191b2f818c805af464225317...

B dbtran INFO (init_connection '<DEFAULT>' [DB6:700.08]):

B max_blocking_factor = 30, max_in_blocking_factor = 60,

B min_blocking_factor = 1, min_in_blocking_factor = 1,

B prefer_union_all = 1, prefer_join = 1,

B prefer_fix_blocking = 0, prefer_in_itab_opt = 0,

B convert AVG = 1, alias table FUPD = 0,

B escape_as_literal = 0, opt GE LE to BETWEEN = 0,

B select * =0x0f, character encoding = STD / <none>:-,

B use_hints = abap->1, dbif->0x3, upto->2147483647, rule_in->0,

B rule_fae->0, concat_fae->0, concat_fae_or->0

A

A Tue Nov 04 22:41:35 2008

A abap/pxa = shared protect gen_remote

A PXA INITIALIZATION FINISHED

A -PXA--


A

A

A Tue Nov 04 22:41:36 2008

A ABAP ShmAdm attached (addr=000007FF44AE2000 leng=20955136 end=000007FF45EDE000)

A >> Shm MMADM area (addr=000007FF44FBBE50 leng=244096 end=000007FF44FF77D0)

A >> Shm MMDAT area (addr=000007FF44FF8000 leng=15622144 end=000007FF45EDE000)

A RFC Destination> destination WPD-tech-sol_POC_30 host WPD-tech-sol system POC systnr 30 (WPD-tech-sol_POC_30)

A RFC Options> H=WPD-tech-sol,S=30,d=2,

A RFC FRFC> fallback activ but this is not a central instance.

A

A RFC rfc/signon_error_log = -1

A RFC rfc/dump_connection_info = 0

A RFC rfc/dump_client_info = 0

A RFC rfc/cp_convert/ignore_error = 1

A RFC rfc/cp_convert/conversion_char = 23

A RFC rfc/wan_compress/threshold = 251

A RFC rfc/recorder_pcs not set, use defaule value: 2

A RFC rfc/delta_trc_level not set, use default value: 0

A RFC rfc/no_uuid_check not set, use default value: 0

A RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0

A RFC Method> initialize RemObjDriver for ABAP Objects

M ThrCreateShObjects allocated 22886 bytes at 0000000034FB0050

N

N Tue Nov 04 22:41:37 2008

N SsfSapSecin: putenv(SECUDIR=D:\usr\sap\POC\DVEBMGS30\sec): ok

N

N =================================================

N === SSF INITIALIZATION:

N ===...SSF Security Toolkit name SAPSECULIB .

N ===...SSF trace level is 0 .

N ===...SSF library is D:\usr\sap\POC\DVEBMGS30\exe\sapsecu.dll .

N ===...SSF hash algorithm is SHA1 .

N ===...SSF symmetric encryption algorithm is DES-CBC .

N ===...completed with return code 5.

N =================================================

N

N Tue Nov 04 22:41:38 2008

N MskiInitLogonTicketCacheHandle: Logon Ticket cache pointer retrieved from shared memory.

N MskiInitLogonTicketCacheHandle: Workprocess runs with Logon Ticket cache.

M JrfcVmcRegisterNativesDriver o.k.

W =================================================

W === ipl_Init() called

W

W Tue Nov 04 22:41:39 2008

W ITS Plugin: Path dw_gui

W ITS Plugin: Description ITS Plugin - ITS rendering DLL

W ITS Plugin: sizeof(SAP_UC) 2

W ITS Plugin: Release: 700, [7000.0.144.20050900]

W ITS Plugin: Int.version, [33]

W ITS Plugin: Feature set: [16]

W ===... Calling itsp_Init in external dll ===>

W === ipl_Init() returns 0, ITSPE_OK: OK

W =================================================

N VSI: WP init in ABAP VM completed with rc=0

E Enqueue Info: rdisp/wp_no_enq=1, rdisp/enqname=<empty>, assume WPD-tech-sol_POC_30

E Replication is disabled

E EnqCcInitialize: local lock table initialization o.k.

E EnqId_SuppressIpc: local EnqId initialization o.k.

E EnqCcInitialize: local enqueue client init o.k.

S

S Tue Nov 04 22:42:17 2008

S found spool memory service RSPO-ACTIONS at 0000000034E4A1A0

B

B Tue Nov 04 22:42:18 2008

B table logging switched off for all clients

M

M Tue Nov 04 22:42:20 2008

M SecAudit(RsauShmInit): WP attached to existing shared memory.

M SecAudit(RsauShmInit): addr of SCSA........... = 000000000A960050

M SecAudit(RsauShmInit): addr of RSAUSHM........ = 000000000A9607C0

M SecAudit(RsauShmInit): addr of RSAUSLOTINFO... = 000000000A960800

M SecAudit(RsauShmInit): addr of RSAUSLOTS...... = 000000000A96080C

B

B Tue Nov 04 22:44:14 2008

B dbmyclu : info : my major identification is 3232235994, minor one 30.

B dbmyclu : info : Time Reference is 1.12.2001 00:00:00h GMT.

B dbmyclu : info : my initial uuid is DDAB0523F7F5ACF1BDB1001E4FBEDA05.

B dbmyclu : info : current optimistic cluster level: 2

B dbmyclu : info : pessimistic reads set to 2.

M

M Tue Nov 04 22:45:32 2008

M rdisp/rb_cleaned_rfc = 0

A

A Tue Nov 04 22:47:29 2008

A RFC FRFC> fallback on the central gateway WPD-tech-sol sapgw30 activ

B

B Tue Nov 04 22:48:55 2008

B create_con (con_name=R/3*)

B New connection 1 created

C DB2 client driver version '09.01.0005'

C Connected to DB2 server type 'DB2/NT64'

C Connected to DB2 version '09.01.0005'

C Connect to 'POC' as 'SAPPOC' schema 'SAPPOC' o.k.; con_hdl=1

C DbSlControl: returning SAPDBHOST='WPD-tech-sol'

B Connection 1 opened (DBSL handle 1)

B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time DBHost

B 000 000 R/3 000000000 ACTIVE NO YES NO 000 255 255 20081104 224059 WPD-tech-sol

B 000 001 R/3* 000000001 ACTIVE NO NO NO 004 255 255 20081104 224855 WPD-tech-sol

C

C Tue Nov 04 22:48:56 2008

C Sqlcode -150 was returned on SQL statement:

C insert into "AQDB" ( "MANDT", "RELID", "SRTFD", "SRTF2", "LOEKZ", "SPERR", "AEDAT", "USERA", "PGMID", "BEGDT", "ENDDT", "CLUSTR", "CLUSTD" ) values ( ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ) -- OPTLEVEL( 5 ) -- QUERY_DEGREE( 1 ) -- LOCATION( SAPLAQNF , 2133 )

C DB message text:

C [IBM][CLI Driver][DB2/NT64] 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

C This sqlcode does not neccessarily indicate a problem if the affected table is a virtual table.

C

C Tue Nov 04 22:48:57 2008

C Table "AQDB" is no virtual table for deferred table creation.

C

C Tue Nov 04 22:48:58 2008

C Sqlcode -150 was returned on SQL statement:

C insert into "AQDB" ( "MANDT", "RELID", "SRTFD", "SRTF2", "LOEKZ", "SPERR", "AEDAT", "USERA", "PGMID", "BEGDT", "ENDDT", "CLUSTR", "CLUSTD" ) values ( ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ) -- OPTLEVEL( 5 ) -- QUERY_DEGREE( 1 ) -- LOCATION( SAPLAQNF , 2133 )

C DB message text:

C [IBM][CLI Driver][DB2/NT64] 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

C This sqlcode does not neccessarily indicate a problem if the affected table is a virtual table.

B ***LOG BY2=> sql error -150 performing EXE [dbds#1 @ 798] [dbds 0798 ]

B ***LOG BY0=> 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 [dbds#1 @ 798] [dbds 0798 ]

A TH VERBOSE LEVEL FULL

A ** RABAX: level LEV_RX_PXA_RELEASE_MTX entered.

A ** RABAX: level LEV_RX_PXA_RELEASE_MTX completed.

A ** RABAX: level LEV_RX_COVERAGE_ANALYSER entered.

A ** RABAX: level LEV_RX_COVERAGE_ANALYSER completed.

A ** RABAX: level LEV_RX_ROLLBACK entered.

A ** RABAX: level LEV_RX_ROLLBACK completed.

A ** RABAX: level LEV_RX_DB_ALIVE entered.

A ** RABAX: level LEV_RX_DB_ALIVE completed.

A ** RABAX: level LEV_RX_HOOKS entered.

A ** RABAX: level LEV_RX_HOOKS completed.

A ** RABAX: level LEV_RX_STANDARD entered.

A ** RABAX: level LEV_RX_STANDARD completed.

A ** RABAX: level LEV_RX_STOR_VALUES entered.

A ** RABAX: level LEV_RX_STOR_VALUES completed.

A ** RABAX: level LEV_RX_C_STACK entered.

A

A Tue Nov 04 22:49:03 2008

A ** RABAX: level LEV_RX_C_STACK completed.

A ** RABAX: level LEV_RX_MEMO_CHECK entered.

A ** RABAX: level LEV_RX_MEMO_CHECK completed.

A ** RABAX: level LEV_RX_AFTER_MEMO_CHECK entered.

A ** RABAX: level LEV_RX_AFTER_MEMO_CHECK completed.

A ** RABAX: level LEV_RX_INTERFACES entered.

A ** RABAX: level LEV_RX_INTERFACES completed.

A ** RABAX: level LEV_RX_GET_MESS entered.

A ** RABAX: level LEV_RX_GET_MESS completed.

A ** RABAX: level LEV_RX_INIT_SNAP entered.

A ** RABAX: level LEV_RX_INIT_SNAP completed.

A ** RABAX: level LEV_RX_WRITE_SYSLOG entered.

A ** RABAX: level LEV_RX_WRITE_SYSLOG completed.

A ** RABAX: level LEV_RX_WRITE_SNAP entered.

A

A Tue Nov 04 22:49:07 2008

A ** RABAX: level LEV_SN_END completed.

A ** RABAX: level LEV_RX_SET_ALERT entered.

A ** RABAX: level LEV_RX_SET_ALERT completed.

A ** RABAX: level LEV_RX_COMMIT entered.

A ** RABAX: level LEV_RX_COMMIT completed.

A ** RABAX: level LEV_RX_SNAP_SYSLOG entered.

A ** RABAX: level LEV_RX_SNAP_SYSLOG completed.

A ** RABAX: level LEV_RX_RESET_PROGS entered.

A ** RABAX: level LEV_RX_RESET_PROGS completed.

A ** RABAX: level LEV_RX_STDERR entered.

A Tue Nov 04 22:49:07 2008

A

A ABAP Program SAPLAQNF .

A Source RSAQIEXN Line 529.

A Error Code DBIF_DSQL2_SQL_ERROR.

A Module $Id: //bas/700_REL/src/krn/runt/abexsql.c#2 $ SAP.

A Function DsqlErrorHandler Line 2062.

A ** RABAX: level LEV_RX_STDERR completed.

A ** RABAX: level LEV_RX_RFC_ERROR entered.

A ** RABAX: level LEV_RX_RFC_ERROR completed.

A ** RABAX: level LEV_RX_RFC_CLOSE entered.

A ** RABAX: level LEV_RX_RFC_CLOSE completed.

A ** RABAX: level LEV_RX_IMC_ERROR entered.

A ** RABAX: level LEV_RX_IMC_ERROR completed.

A ** RABAX: level LEV_RX_DATASET_CLOSE entered.

A ** RABAX: level LEV_RX_DATASET_CLOSE completed.

A ** RABAX: level LEV_RX_RESET_SHMLOCKS entered.

A ** RABAX: level LEV_RX_RESET_SHMLOCKS completed.

A ** RABAX: level LEV_RX_ERROR_SAVE entered.

A ** RABAX: level LEV_RX_ERROR_SAVE completed.

A ** RABAX: level LEV_RX_ERROR_TPDA entered.

A ** RABAX: level LEV_RX_ERROR_TPDA completed.

A ** RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.

A ** RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.

A ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.

A ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.

A ** RABAX: level LEV_RX_END entered.

A ** RABAX: level LEV_RX_END completed.

A ** RABAX: end no http/smtp

A ** RABAX: end RX_GOTO_RABAX

A An SQL error occurred when executing Native SQL..

A

A

A Tue Nov 04 23:01:33 2008

A GENER request remote generation: CL_SWNC_PF_SPO_ADAPTER========CP.

C

C Tue Nov 04 23:06:17 2008

C disconnected from 'POC', con_hdl=1

B Disconnected from connection con_da={R/3*,1,1}

M

M Wed Nov 05 00:21:37 2008

M ThIUsrDel: th_rollback_usrdelentry = 1

C

C Wed Nov 05 03:03:34 2008

C Sqlcode -150 was returned on SQL statement:

C DELETE FROM "TSP03POCCNF" WHERE "PRINTER" = ? -- OPTLEVEL( 5 ) -- QUERY_DEGREE( 1 ) -- LOCATION( SAPLRSPOPOSS , 1604 ) -- SYSTEM( POC , SAPPOC )

C DB message text:

C [IBM][CLI Driver][DB2/NT64] 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

C This sqlcode does not neccessarily indicate a problem if the affected table is a virtual table.

C Table TSP03POCCNF is a virtual table for deferred table creation.

C Virtual table TSP03POCCNF needs to be converted to a table.

C opening temporary connection for deferred table creation of table TSP03POCCNF

C DB2 client driver version '09.01.0005'

C Connected to DB2 server type 'DB2/NT64'

C Connected to DB2 version '09.01.0005'

C Connect to 'POC' as 'SAPPOC' schema 'SAPPOC' o.k.; con_hdl=11

C

C Wed Nov 05 03:03:35 2008

C Virtual table TSP03POCCNF has been dropped.

C

C Wed Nov 05 03:03:44 2008

C Table TSP03POCCNF has been successfully created.

C

C Wed Nov 05 03:03:45 2008

C disconnected from 'POC', con_hdl=11

C Sqlcode -150 was returned on SQL statement:

C DELETE FROM "TSP03POCPRE" WHERE "PRINTER" = ? -- OPTLEVEL( 5 ) -- QUERY_DEGREE( 1 ) -- LOCATION( SAPLRSPOPOSS , 1615 ) -- SYSTEM( POC , SAPPOC )

C DB message text:

C [IBM][CLI Driver][DB2/NT64] 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

C This sqlcode does not neccessarily indicate a problem if the affected table is a virtual table.

C Table TSP03POCPRE is a virtual table for deferred table creation.

C Virtual table TSP03POCPRE needs to be converted to a table.

C opening temporary connection for deferred table creation of table TSP03POCPRE

C DB2 client driver version '09.01.0005'

C Connected to DB2 server type 'DB2/NT64'

C Connected to DB2 version '09.01.0005'

C Connect to 'POC' as 'SAPPOC' schema 'SAPPOC' o.k.; con_hdl=11

C

C Wed Nov 05 03:03:46 2008

C Virtual table TSP03POCPRE has been dropped.

C

C Wed Nov 05 03:03:52 2008

C Table TSP03POCPRE has been successfully created.

C disconnected from 'POC', con_hdl=11

A

A Wed Nov 05 03:03:53 2008

A GENER request remote generation: SAPLSPCPC.

A

A Wed Nov 05 03:04:40 2008

A GENER request remote generation: RSM51000_ALV.

A

A Wed Nov 05 03:04:54 2008

A GENER request remote generation: SAPLSGWY.

A

A Wed Nov 05 03:17:00 2008

A GENER starting remote generation: RSPO1055 (requested by W2).

A

A Wed Nov 05 03:17:15 2008

A GENER starting remote generation: RSTXPDFT (requested by W2).

A

A Wed Nov 05 03:40:45 2008

A GENER request remote generation: RSM55000.

C

C Wed Nov 05 03:50:19 2008

C Sqlcode -150 was returned on SQL statement:

C DELETE FROM "TSP02FX" WHERE "PJIDENT" = ? AND "PJNUMBER" = ? -- OPTLEVEL( 5 ) -- QUERY_DEGREE( 1 ) -- LOCATION( SAPLSPRR , 1982 ) -- SYSTEM( POC , SAPPOC )

C DB message text:

C [IBM][CLI Driver][DB2/NT64] 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

C This sqlcode does not neccessarily indicate a problem if the affected table is a virtual table.

C Table TSP02FX is a virtual table for deferred table creation.

C Virtual table TSP02FX needs to be converted to a table.

C opening temporary connection for deferred table creation of table TSP02FX

C DB2 client driver version '09.01.0005'

C Connected to DB2 server type 'DB2/NT64'

C Connected to DB2 version '09.01.0005'

C Connect to 'POC' as 'SAPPOC' schema 'SAPPOC' o.k.; con_hdl=11

C

C Wed Nov 05 03:50:20 2008

C Virtual table TSP02FX has been dropped.

C

C Wed Nov 05 03:50:28 2008

C Table TSP02FX has been successfully created.

C disconnected from 'POC', con_hdl=11

C Sqlcode -150 was returned on SQL statement:

C DELETE FROM "TSP02T" WHERE "PJIDENT" = ? AND "PJNUMMER" = ? -- OPTLEVEL( 5 ) -- QUERY_DEGREE( 1 ) -- LOCATION( SAPLSPRR , 1982 ) -- SYSTEM( POC , SAPPOC )

C DB message text:

C [IBM][CLI Driver][DB2/NT64] 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

C This sqlcode does not neccessarily indicate a problem if the affected table is a virtual table.

C Table TSP02T is a virtual table for deferred table creation.

C Virtual table TSP02T needs to be converted to a table.

C opening temporary connection for deferred table creation of table TSP02T

C DB2 client driver version '09.01.0005'

C Connected to DB2 server type 'DB2/NT64'

C Connected to DB2 version '09.01.0005'

C Connect to 'POC' as 'SAPPOC' schema 'SAPPOC' o.k.; con_hdl=11

C

C Wed Nov 05 03:50:29 2008

C Virtual table TSP02T has been dropped.

C

C Wed Nov 05 03:50:34 2008

C Table TSP02T has been successfully created.

C disconnected from 'POC', con_hdl=11

S datafile pattern is 'D:\usr\sap\POC\DVEBMGS30\data\+++++++++++++++' (checksum 3233)

S

S Wed Nov 05 03:51:21 2008

S handle memory type is RSTSPROMMM

T

T Wed Nov 05 03:57:13 2008

T new memory block 000000003566FEB0

A

A Wed Nov 05 05:10:58 2008

A GENER starting remote generation: RSPOLPRF (requested by W9).

A

A Wed Nov 05 05:11:00 2008

A GENER starting remote generation: SAPLSXOM (requested by W9).

A

A Wed Nov 05 20:45:34 2008

A GENER request remote generation: SAPLMEHI.

A

A Wed Nov 05 20:46:45 2008

A GENER starting remote generation: SAPLKSV2 (requested by W10).

A

A Wed Nov 05 20:51:33 2008

A GENER request remote generation: SAPLJ1BA.

A

A Wed Nov 05 20:57:01 2008

A GENER starting remote generation: IF_BADI_CONTEXT===============IP (requested by W2).

A

A Wed Nov 05 20:57:04 2008

A GENER starting remote generation: IF_BADI_INTERFACE=============IP (requested by W2).

A

A Wed Nov 05 21:04:58 2008

A GENER starting remote generation: SAPLKAPS (requested by W2).

A

A Wed Nov 05 21:04:59 2008

A GENER starting remote generation: SAPLKCOA (requested by W2).

A

A Wed Nov 05 21:05:48 2008

A GENER starting remote generation: SAPLBO01 (requested by W2).

M

M Wed Nov 05 21:14:32 2008

M ThNoDisableInterval: allocated 5 entries

M ThNoDisableInterval: added 400/RK_BELEG /3333 /01 to disable-list

A

A Wed Nov 05 21:15:52 2008

A GENER starting remote generation: SAPLKALP (requested by W2).

A

A Wed Nov 05 21:15:57 2008

A GENER starting remote generation: SAPLQMEL_EXEC (requested by W2).

A

A Wed Nov 05 21:16:00 2008

A GENER starting remote generation: SAPLCOKY (requested by W2).

A

A Wed Nov 05 21:16:09 2008

A GENER starting remote generation: SAPLMCP5 (requested by W2).

A

A Wed Nov 05 21:19:00 2008

A GENER starting remote generation: SAPMSFT0 (requested by W1).

A

A Wed Nov 05 21:19:25 2008

A GENER starting remote generation: SZC_HOLIDAY_CALENDAR_MAINTAIN (requested by W1).

A

A Wed Nov 05 21:20:15 2008

A GENER starting remote generation: SAPLSCLS (requested by W1).

A

A Wed Nov 05 21:33:03 2008

A GENER starting remote generation: SAPLHFPT (requested by W2).

A

A Wed Nov 05 21:33:37 2008

A GENER starting remote generation: SAPLHFPM (requested by W2).

A

A Wed Nov 05 21:34:23 2008

A GENER starting remote generation: SAPLMBMS (requested by W5).

A

A Wed Nov 05 21:34:46 2008

A GENER starting remote generation: SAPLKED5 (requested by W5).

A

A Wed Nov 05 21:42:47 2008

A GENER starting remote generation: MM70AMRB (requested by W3).

A

A Wed Nov 05 21:49:51 2008

A GENER starting remote generation: SAPL0F01 (requested by W1).

A

A Wed Nov 05 23:14:02 2008

A GENER request remote generation: SAPMP52X.

A

A Wed Nov 05 23:14:53 2008

A GENER starting inline generation: /1BCF41/T549A (reason: explicit generation).

A

A Thu Nov 06 00:36:04 2008

A GENER starting remote generation: RMCFSERI (requested by W2).

A

A Thu Nov 06 00:36:05 2008

A GENER starting remote generation: RMCF2500 (requested by W2).

A

A Thu Nov 06 00:36:40 2008

A GENER starting remote generation: SAPLMCSF (requested by W2).

A

A Thu Nov 06 00:36:58 2008

A GENER starting remote generation: PPIO_ENTRY (requested by W2).

A

A Thu Nov 06 00:37:32 2008

A GENER starting remote generation: CL_COBADI_NAME_C==============CP (requested by W2).

A

A Thu Nov 06 00:37:33 2008

A GENER starting remote generation: SAPLCOBADI (requested by W2).

A

A Thu Nov 06 00:37:45 2008

A GENER starting remote generation: CL_EX_WORKORDER_INFOSYSTEM====CP (requested by W2).

A

A Thu Nov 06 00:37:59 2008

A GENER starting remote generation: IF_EX_WORKORDER_INFOSYSTEM====IP (requested by W2).

A

A Thu Nov 06 00:38:12 2008

A GENER starting remote generation: SAPLCOIS (requested by W2).

A

A Thu Nov 06 00:38:26 2008

A GENER starting remote generation: CL_COIS_C=====================CP (requested by W2).

A GENER starting remote generation: CL_IM_COCR_CMX_BI_INFO========CP (requested by W2).

A

A Thu Nov 06 00:38:52 2008

A GENER starting remote generation: CL_COCR_CMX_TOP===============CP (requested by W2).

A

A Thu Nov 06 00:39:05 2008

A GENER starting remote generation: CL_CO_MSG_C===================CP (requested by W2).

A

A Thu Nov 06 00:39:06 2008

A GENER starting remote generation: CL_COIS_LAYOUT================CP (requested by W2).

A

A Thu Nov 06 01:01:56 2008

A GENER starting remote generation: SAPLWRF_SEL_CRITERIA_SAVE (requested by W1).

A

A Thu Nov 06 01:28:24 2008

A GENER starting remote generation: SAPL0KCA (requested by W1).

A

A Thu Nov 06 01:51:45 2008

A GENER starting remote generation: SAPLKABS (requested by W5).

A

A Thu Nov 06 01:58:58 2008

A GENER starting remote generation: SAPSCOZ3 (requested by W3).

A

A Thu Nov 06 01:59:22 2008

A GENER starting remote generation: SAPLCOZ3 (requested by W3).

A

A Thu Nov 06 01:59:48 2008

A GENER starting remote generation: SAPL0CNEV_00_CUST (requested by W3).

A

A Thu Nov 06 02:00:50 2008

A GENER starting remote generation: SAPLK_VERSN_F4 (requested by W3).

A

A Thu Nov 06 02:10:18 2008

A GENER starting remote generation: SAPMOMEV (requested by W1).

Thnx & Regards

zamu

malte_schuenemann
Product and Topic Expert
Product and Topic Expert
0 Kudos

Very strange ... the INSERT command to AQDB is obviously to a view - but then, the dev trace tells us that this is not a deferred table. Moreover, later entries in the same file show cases where deferred tables are correctly detected and are re-created as database tables.

Can you provide the results of the following commands ?

db2 "select substr(tabname,1,15) as tabname, create_time, type from syscat.tables where tabname in  ('AQDB', 'SVERS', 'SYSTABLES')"
db2 -x "select text from syscat.views where viewname = 'AQDB'"

Please do not paste in the many trailing blanks of the 2nd command ...

Malte

Former Member
0 Kudos

Hi Malte

i try it below is the information which i get on given queryies

db2 "select substr(tabname,1,15) as tabname, create_time, type from syscat.tables where tabname in 'AQDB', 'SVERS', 'SYSTABLES')"

select substr(tabname,1,15) as tabname, create_time, type from syscat.tables where tabname in ('AQDB', 'SVERS', 'SYSTABLES')

TABNAME CREATE_TIME TYPE

AQDB 2008-10-17-07.08.23.992003 V

SVERS 2008-10-16-23.45.32.879001 T

SYSTABLES 2008-10-16-23.41.53.767000 T

3 record(s) selected.

A JDBC connection to the target has succeeded.

db2 -x "select text from syscat.views where viewname = 'AQDB'"

select text from syscat.views where viewname = 'AQDB'

-


Results for a single query are displayed on the Query Results tab.

1 row(s) returned successfully

CREATE VIEW "AQDB" AS SELECT * FROM ( VALUES( CAST ( NULL AS VARCHAR(9) ), CAST ( NULL AS VARCHAR(6) ), CAST ( NULL AS VARCHAR(66) ), CAST ( NULL AS INTEGER ), CAST ( NULL AS VARCHAR(3) ), CAST ( NULL AS VARCHAR(3) ), CAST ( NULL AS

thnx & regards

Edited by: zamu on Nov 6, 2008 4:58 PM

malte_schuenemann
Product and Topic Expert
Product and Topic Expert
0 Kudos

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.

Malte

malte_schuenemann
Product and Topic Expert
Product and Topic Expert
0 Kudos

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).

Malte

Former Member
0 Kudos

Hi Malte,

Thnx for your instant answer

db information

db client lib. db6_81

dbsl version 700.08

dbsl patch level 144

kernel

kernel rel 700

sup pkg lvl 144

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

Thnx & Regards

zamu