SQL Error in Workgroup environment
Hello all,
maybe someone could help with this:
We installed B1 8.8 in a windows workgroup environment (Windows Server 2008, SQL Server 2008). B1 Client on Server is working fine, but when starting B1 Client on a workstation, connection to the database takes between 1 to 5 minutes. Server event log then shows an error saying
"Login failed for user ". Reason: An attempt to login using SQL authentication failed. Server is configured for Wondows authentication only [CLIENT: <IP-Adress>]" Event-ID: 18456, Category (4).
But the SQL Server is configured as mixed mode authentication!
Anybody had this problem already?
Thanks for your help!
Greetings, H. Müller
Hi
- How are you trying to connect from the client? Trusted connection?
- How many network cards do you have?
Paulo Calado
SAP Business One Forums Team
Similar Messages
-
HI EXPERTS!
CAN ANYBODY TELL ME HOW TO RESOLVE THIS RUNTIME ERROR ON EXECUTING TRANSACTION PC00_M40_CALC.
Runtime errors DBIF_RSQL_SQL_ERROR
Exception CX_SY_OPEN_SQL_DB
Occurred on 07.08.2007 at 14:13:06
An SQL error occurred when accessing a table.
What happened?
What can you do?
Make a note of the actions and input which caused the error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
Error analysis
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
neither
caught nor passed along using a RAISING clause, in the procedure
"GET_SLAB_RATE" "(METHOD)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
How to correct the error
The exception must either be prevented, caught within the procedure
"GET_SLAB_RATE"
"(METHOD)", or declared in the procedure's RAISING clause.
To prevent the exception, note the following:
Database error text........: "ORA-04031: unable to allocate 4200 bytes of
shared memory ("shared pool","SELECT * FROM "T7INT1" WHERE...","library
cache","kkslpkp - literal info.")"
Internal call code.........: "[RSQL/FTCH/T7INT1 ]"
Please check the entries in the system log (Transaction SM21).
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"DBIF_RSQL_SQL_ERROR" CX_SY_OPEN_SQL_DBC
"CL_HRPAYIN_SLABRATES==========CP " or "CL_HRPAYIN_SLABRATES==========CM002 "
"GET_SLAB_RATE"
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. "620"
Application server....... "hmsidev01"
Network address.......... "10.249.16.150"
Operating system......... "Windows NT"
Release.................. "5.0"
Hardware type............ "2x Intel 801586"
Character length......... 8 Bits
Pointer length........... 32 Bits
Work process number...... 0
Short dump setting....... "full"
Database server.......... "HMSIDEV01"
Database type............ "ORACLE"
Database name............ "DEV"
Database owner........... "SAPDEV"
Character set............ "English_United State"
SAP kernel............... "620"
Created on............... "Jun 13 2004 22:06:10"
Created in............... "NT 5.0 2195 Service Pack 2 x86 MS VC++ 12.00"
Database version......... "OCI_817_SHARE "
Patch level.............. "1511"
Patch text............... " "
Supported environment....
Database................. "ORACLE 8.1.7.."
SAP database version..... "620"
Operating system......... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
User, transaction...
Client.............. 100
User................ "IR1"
Language key........ "E"
Transaction......... "PC00_M40_CALC "
Program............. "CL_HRPAYIN_SLABRATES==========CP "
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where terminated
The termination occurred in the ABAP program "CL_HRPAYIN_SLABRATES==========CP
" in "GET_SLAB_RATE".
The main program was "HINCALC0 ".
The termination occurred in line 12 of the source code of the (Include)
program "CL_HRPAYIN_SLABRATES==========CM002 "
of the source code of program "CL_HRPAYIN_SLABRATES==========CM002 " (when
calling the editor 120).
Processing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in
the
procedure "GET_SLAB_RATE" "(METHOD)" but was not handled locally, not declared
in the
RAISING clause of the procedure.
The procedure is in the program "CL_HRPAYIN_SLABRATES==========CP ". Its source
code starts in line 1
of the (Include) program "CL_HRPAYIN_SLABRATES==========CM002 ".
Source code extract
000010 METHOD get_slab_rate .
000020
000030 DATA: wa_t7int1 TYPE t7int1,
000040 wa_t7int3 TYPE t7int3,
000050 slab_code TYPE t7int1-slcod.
000060 CLEAR: wa_t7int1 ,
000070 wa_t7int3 ,
000080 slab_code .
000090
000100
000110 * Select slab code from t7int1.
SELECT * FROM t7int1 INTO wa_t7int1
000130 WHERE sltyp = slab_type
000140 AND begda LT ref_date
000150 AND endda GE ref_date.
000160 MOVE wa_t7int1-slcod TO slab_code.
000170 ENDSELECT.
000180
000190 * Find out the rate for the salb code in which the income falls.
000200 SELECT * FROM t7int3 INTO wa_t7int3 WHERE slcod = slab_code ORDER BY
000210 hirge.
000220 IF wa_t7int3-hirge GE income.
000230 EXIT.
000240 ENDIF.
000250 ENDSELECT.
000260
000270 slab_rate = wa_t7int3-txval.
000280
000290
000300 ENDMETHOD.
Contents of system fields
SY field contents..................... SY field contents.....................
SY-SUBRC 0 SY-INDEX 215
SY-TABIX 63 SY-DBCNT 1
SY-FDPOS 1 SY-LSIND 0
SY-PAGNO 1 SY-LINNO 1
SY-COLNO 1 SY-PFKEY
SY-UCOMM SY-TITLE Payroll Driver, India
SY-MSGTY SY-MSGID
SY-MSGNO 000 SY-MSGV1
SY-MSGV2 SY-MSGV3
SY-MSGV4
Active calls / events
No.... Type........ Name..........................
Program
Include Line
Class
16 METHOD GET_SLAB_RATE
CL_HRPAYIN_SLABRATES==========CP
CL_HRPAYIN_SLABRATES==========CM002 12
CL_HRPAYIN_SLABRATES
15 FORM STDDED03
HINCALC0
PCTAXIN0 564
14 FORM CALC_STANDARD_DEDUCTION
HINCALC0
PCTAXIN0 466
13 FORM FUINTAX
HINCALC0
PCTAXIN0 253
12 FORM AS-FUNKTION
HINCALC0
PCASFIN0 13
11 FORM ASLOOP
HINCALC0
RPCHRT09_ASLOOP 58
10 FORM MONATSABRECHNUNG
HINCALC0
RPCHRT09_MONATSABRECHNUNG 48
9 FORM RUECKRECHNUNG
HINCALC0
RPCHRT09_RUECKRECHNUNG 136
8 FORM MAIN
HINCALC0
RPCHRT09_MAIN 134
7 FORM %_GET_PERNR
HINCALC0
RPCHRT09 762
6 FORM FILL_INFOTYPE_TABLES_AND_PUT
SAPDBPNP
DBPNPF03 542
5 FORM PUTPERN
SAPDBPNP
DBPNPF03 470
4 FORM LOOP_AT_INDEX_AND_PUT
SAPDBPNP
DBPNPF01 996
3 FORM PUT_PERNR
SAPDBPNP
DBPNPF01 194
2 FORM %_ROOT
SAPDBPNP
SAPDBPNP 151
1 EVENT SYSTEM-EXIT
HINCALC0
20
Chosen variables
16 METHOD GET_SLAB_RATE
CL_HRPAYIN_SLABRATES==========CP
CL_HRPAYIN_SLABRATES==========CM002 12
SLAB_TYPE D
4
4
REF_DATE 20070331
33333333
20070331
INCOME ####Q#
00005991
0001153C
SLAB_RATE ########
00000000
0000000C
WA_T7INT1 0000000000000000
222233333333333333332
000000000000000000000
WA_T7INT3 ####### #######
222222000000022222220000000
000000000000C0000000000000C
SLAB_CODE
2222
0000
%_VIASELSCR #
0
4
<%_TABLE_T7INT1> ???
%_SPACE
2
0
SYST-REPID CL_HRPAYIN_SLABRATES==========CP
4454554544554445454533333333334522222222
3CF820199EF3C1221453DDDDDDDDDD3000000000
SY-XPROG SAPDBPNP
5454454522222222222222222222222222222222
310420E000000000000000000000000000000000
SY-REPID CL_HRPAYIN_SLABRATES==========CP
4454554544554445454533333333334522222222
3CF820199EF3C1221453DDDDDDDDDD3000000000
SY-XFORM %_ROOT
255445222222222222222222222222
5F2FF4000000000000000000000000
%_DUMMY$$
2222
0000
<%_TABLE_T7INT3> ???
15 FORM STDDED03
HINCALC0
PCTAXIN0 564
STD_DED_TAB Table[initial]
0000FFFD
0000FFFF
SY-TABIX 63
3000
F000
STD_PERCENT #####
00000
0000C
%_SPACE
2
0
SYST-REPID HINCALC0
4444444322222222222222222222222222222222
89E31C3000000000000000000000000000000000
SPACE
2
0
%_DUMMY$$
2222
0000
$ENDDATE 20070331
33333333
20070331
$PRE_DEDN_AMOUNT ####Q#
00005991
0001153C
$CALC_DEDN ########
00000000
0000000C
SY-REPID HINCALC0
4444444322222222222222222222222222222222
89E31C3000000000000000000000000000000000
SY ×#######?###?###########################
D000000030003000000000000000000000000000
70001000F000F000000000000000000000000000
... + 40 ###################################5###
0000000000000000000080000000000000003000
1000100010000000100040000000000000005000
... + 80 ########################################
0000000000000000000000000000000000000000
0000000000000000400000000000000000000000
... + 120 ################################%######
0000000000000000000000000000000020008000
000000000000000000000000000000005000E000
... + 160 ############XM## P############# E0 1
0000000000005400250000000000000222432223
0000700040008D00000020000C0000C000500001
... + 200 000 ####PNP 100
3332222222220000545222222222222222223332
00000000000000000E0000000000000000001000
... + 240 00
222223322222222
000000000000000
NO_OF_ROWS
2
0
SY-TFILL 63
3000
F000
14 FORM CALC_STANDARD_DEDUCTION
HINCALC0
PCTAXIN0 466
P0015[] Table IT_204[12x147]
F7D4DED48000C000000090000000FFFF00004500
871900998000C000C00030000000FFFF40000F00
... + 40
0000C020
20001E80
SW_AUFROLLUNG X
5
8
%BX03242_BLOCK_1000 Log
4662222222222222222222222222222222222222
CF70000000000000000000000000000000000000
... + 40
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 80
222
000
SNAME 40INDED
33444442
409E4540
T559A-WTIME 000000
333333
000000
OGRT[] Table IT_299[0x53]
00000000C0002000000030000000FFFF0000E300
000000003000B100000050000000FFFF40000310
... + 40
1000C200
00001E00
ENDDATE 20070331
33333333
20070331
T596F-PGMNA HINCALC0
4444444322222222222222222222222222222222
89E31C3000000000000000000000000000000000
T596F-MODNA STDDED03
55444433
34445403
P_PRE_DEDUCTION_BALANCE ####Q#
00005991
0001153C
STANDARD_DEDUCTION ########
00000000
0000000C
P2006[] Table IT_460[37x168]
9ED40000E000C0002000A0000000FFFF00008500
877900006000C100500080000000FFFF40000600
... + 40
0000C020
20001E00
13 FORM FUINTAX
HINCALC0
PCTAXIN0 253
ANNUAL_IRREGULAR_INCOME ####3#%L
00003124
0000365C
%_SET_VOID_%_APP_%
222222222222222222222222222222
000000000000000000000000000000
ANNUAL_PERK ########
00000000
0000000C
SET_ODC
2
0
%_SET_ODC_%_APP_%
222222222222222222222222222222
000000000000000000000000000000
SET_REVR
2
0
P%2007 00000000 000000000000000000000
3333333322222222222333333333333333333333
0000000000000000000000000000000000000000
... + 40 000000 00
3333332222222222222222222222222222222233
0000000000000000000000000000000000000000
... + 80 0000000000 00###### ###### 00000000000
3333333333233000000200000022233333333333
000000000000000000C000000C00000000000000
... + 120 0000000000000000000000000
3333333333333333333333333222222222222222
0000000000000000000000000000000000000000
... + 160
222222222222
000000000000
PRE_DEDUCTION_BALANCE ####Q#
00005991
0001153C
OCRSN
2222
0000
APER-PAPER-PABRJ 2006
3333
2006
APER-IAPER-PABRJ 2007
3333
2007
SW_INTIM
2
0
APER-PAPER 200612
333333
200612
ANN_PTAX_AMT ########
00000000
0000000C
12 FORM AS-FUNKTION
HINCALC0
PCASFIN0 13
P0584 00000000 000000000000000000000
3333333322222222222333333333333333333333
0000000000000000000000000000000000000000
... + 40 000000 #
3333332222222222222222222222222222222220
0000000000000000000000000000000000000000
... + 80 ########################################
0000000000000000000000000000000000000000
00000C0000C0000C0000C0000C000000C000000C
... + 120 ####################################
0000000000000000000000000000000000002222
000000C000000C0000C0000C000000C0000C0000
... + 160 0000
22222222222333322222
00000000000000000000
ORGDIR 00000 0000000000000000 00 0
3333322222222333333333333333322332222223
0000000000000000000000000000000000000000
... + 40 0000000 0000000000000000000000000
3333333222222223333333333333333333333333
0000000000000000000000000000000000000000
... + 80 0000000000000 00000000
3333333333333223333333322222222222222222
0000000000000000000000000000000000000000
... + 120 00000000000000 000000000000000000000
3333333333333323333333333333333333332222
0000000000000000000000000000000000000000
RP-IMP-CD-SUBRC 0
0000
0000
CD-SUBRC 0
0000
0000
CD-INDEX 0
0000
0000
IT[] Table IT_490[63x53]
EFC47AC4F000E000300030000000FFFF00005100
0AB903399000A100F00050000000FFFF40000810
... + 40
2000C000
B0009E00
IT */418######### # ####################Q
2233300000000020222000000000000000000005
AF418000000000000000000000C0000000C00011
... + 40 #
9912222222222
53C0000000000
RGDIR_CA[] Table IT_383[0x156]
00003ED4E0007000000090000000FFFF0000C100
000086791000F1000000C0000000FFFF40000810
... + 40
4000C000
00001400
RGDIR_CA 00000 0000000000000000 00 0
3333322222222333333333333333322332222223
0000000000000000000000000000000000000000
... + 40 0000000 0000000000000000000000000
3333333222222223333333333333333333333333
0000000000000000000000000000000000000000
... + 80 0000000000000 00000000
3333333333333223333333322222222222222222
0000000000000000000000000000000000000000
... + 120 00000000000000 000000000000000000000
333333333333332333333333333333333333
000000000000000000000000000000000000
%%_DIR2[] Table IT_218[0x54]
000000009000D000000030000000FFFF0000D100
000000006000A000000060000000FFFF40008210
... + 40
6000C000
40001400
<%_TABLE_T599B> ???
PY_PM_CONTAINER 00000000
2222222222222222222222222222222233333333
0000000000000000000000000000000000000000
... + 40 0
3222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 80
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 120
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 160
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 200
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 240
222222222222222
000000000000000
PNPSTATU-LOW
222
000
SET_LCW 010
333
010
11 FORM ASLOOP
HINCALC0
RPCHRT09_ASLOOP 58
P_WITH_LOG X
5
8
SW_EXPORT_ES
2
0
ASNUM 215
D000
7000
APER_NUMB 15
0000
F000
NEXT_AS_ENTRY 244
F000
4000
SW_REPETITION X
5
8
SW_P0005_CHANGED
2
0
PNPSACHZ
222222222
000000000
PTEXT[] Table IT_139[0x548]
0000CCC460008000000020000000FFFF00004300
00000D79C000B000000042000000FFFF40000500
... + 40
1000C200
00001400
SW_VOID
2
0
SCREEN %_17SNS0000177553_%_%_%_%_%_%_
2533545333333333352525252525252222222222
5F173E30000177553F5F5F5F5F5F5F0000000000
... + 40
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 80
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 120 SRI00001#00000 ####
2222222222222222222225543333303333320000
0000000000000000000003290000100000000000
SW_PROT
2
0
PNPSBMOD-LOW
2222
0000
PTEXT_LINES 0
0000
0000
10 FORM MONATSABRECHNUNG
HINCALC0
RPCHRT09_MONATSABRECHNUNG 48
CALC_CURRENCY INR
44522
9E200
SY-SUBRC 0
0000
0000
CALC_CURR_DEC 1380862210
0
2
TCURX-CURRDEC 0
0
0
PNPPERSK-LOW
22
00
PNPKOSTL
22222222222222222222222
00000000000000000000000
SL_BRUTTO
2
0
FC-SL_B_N
2
0
%_PNPSNAME_%_APP_% PNPSNAMEEE name can be sorted to
5455444444266662666266276776622222222276
0E03E1D5550E1D5031E02503F24540000000004F
... + 40
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 80 @1FQMultiple selection@
2224345547676766276666766642222222222222
000016C1D5C490C5035C5349FE00000000000000
... + 120
222
000
APER-CALCD X
5
8
DT /AEA00200612 00000000########
24443333333322333333330000000022222
F1510020061200000000000000000C00000
DT[] Table IT_1916[4x35]
F8F40000E0007000000020000000FFFF0000E400
06090000A100C700400030000000FFFF40008610
... + 40
1000C220
00001E00
9 FORM RUECKRECHNUNG
HINCALC0
RPCHRT09_RUECKRECHNUNG 136
APER-PAYTY
2
0
SY-XPROG SAPDBPNP
5454454522222222222222222222222222222222
310420E000000000000000000000000000000000
PYCT 0<>
0000FFFF
0000FFFF
PNP-SW-AUTH-SKIPPED-RECORD 0
3
0
P0007[] Table IT_201[4x138]
CBC47DD48000C000000080000000FFFF00005400
80390F99500090004000A0000000FFFF40008B00
... + 40
0000C020
20001E80
PNPKOKRS[] Table IT_52[0x11]
0000000020003000000000000000FFFF04007200
00000000A00040000000B0000000FFFF44008700
... + 40
0000C000
A0001400
PNPBLCKT
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 40
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 80
222
000
FC-NT_BEGIN 0
0000
0000
PNP-SW-IGNORELOCKEDRECORDS Y
5
9
FROM_DATE 00000000
33333333
00000000
%_SET_LCW_%_APP_%
222222222222222222222222222222
000000000000000000000000000000
8 FORM MAIN
HINCALC0
RPCHRT09_MAIN 134
%_PNPFKBER_%_APP_% PNPFKBERFunctional Area to
5454444547667666662476622222222222222276
0E06B25265E349FE1C012510000000000000004F
... + 40
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 80 @1FQMultiple selection@
2224345547676766276666766642222222222222
000016C1D5C490C5035C5349FE00000000000000
... + 120
222
000
PERNR-PERNR 00003015
33333333
00003015
Table IT_235[0x178]
000045D4A000E0000000B0000000FFFF00003400
000080390000B000000020000000FFFF40008110
... + 40
1000C200
00001400
P0027[] Table IT_234[0x1851]
0000A4D49000E000000030000000FFFF0000DE00
00008F39F000A0000000B7000000FFFF40000610
... + 40
0000C200
80001E00
PNPENAME
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 40
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 80
222
000
INFTY[] Table IT_116[34x4]
8EC4000050007000200000000000FFFF0D008000
0E790000A0004000200040000000FFFF43000900
... + 40
2000C000
20001400
INFTY 0078
3333
0078
PNPBLCKP Payroll period
5677666276766622222222222222222222222222
0192FCC00529F400000000000000000000000000
... + 40
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 80
222
000
SY-MSGNO 000
333
000
FC-PGM_TYP ABR
4452
1220
PY12W_MEM_ID_BUFFER T512W_BUFFER
533355454445
45127F256652
RSJOBINFO 00000000
2222222222222222222222222222222233333333
0000000000000000000000000000000000000000
... + 40 000000
3333332222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 80 ####
0000
0000
P0032 00000000 000000000000000000000
3333333322222222222333333333333333333333
0000000000000000000000000000000000000000
... + 40 000000
3333332222222222222222222222222222222222
0000000000000000000000000000000000000000
... + 80 #####
2222222222222222222222200000222222222222
000000000000000000000000000C000000000000
... + 120
2222222222222222222222222222222222222222
Hello,
strange, you have the same message in SQL Server forum, but we can see Oracle DB here:
SQL ERROR
Without developer traces it would be difficult to say. But it looks bad enough because of kernel 6.20 patch level 1511 (definitely dboraslib.dll has similar patch level) and Oracle 8.1.7 are out of support since years.
best regards -
SQL error 3113 occurred when executing EXEC SQL.
Hi,
We are facing one typical problem, One background is failing regularly with
below dump. as we now got all notes giving information, if database restarted
taking backup, these type of failures occur, but our database is only down for backup once in a week, but it is failing with frequenly.
in this two servers are located in different place, in this job tries to connect
another server to get material statistics.
It is giving some error message in sm21 with
SQL error 3113 occurred when executing EXEC SQL.
work procees in reconnect mode.
all notes saying these types of dump occur when database restared, but this dump
even though database is up.
below is short dump, please can anyone help me from this problem.
ABAP runtime errors DBIF_DSQL2_SQL_ERROR
Occurred on 08.01.2007 at 00:30:28
>> Short dump has not been completely stored. It is too big.
SQL error 3113 occurred when executing EXEC SQL.
What happened?
The error occurred in the current database connection "AZ1".
What can you do?
Note the actions and input that caused the error.
Inform your SAP system administrator.
You can print out this message by choosing "Print". Transaction ST22
allows you to display and manage termination messages, including keeping
them beyond their normal deletion date.
Error analysis
How to correct the error
Database error text........: "ORA-03113: end-of-file on communication channel#"
Triggering SQL statement...: "select mara.groes, mara.brgew, mara.ntgew,
mara.gewei, mara.volum, mara.voleh, mara.mstae, mara.mstde, mara.prdha,
marc.matnr, marc.werks, marc.mmsta, marc.mmstd from sapr3.mara, sapr3.m
where sapr3.mara.mandt = sapr3.marc.mandt and sapr3.mara.matnr =
Internal call code.........: "[DBDS/NEW DSQL]"
Please check the entries in the system log (Transaction SM21).
If the error occurred in a non-modified SAP program, you may be
able to find a solution in the SAP note system.
If you have access to the note system yourself, use the following
search criteria:
"DBIF_DSQL2_SQL_ERROR"
"ZM2431216 " or "ZM2431216 "
"EXTRACT_GENERAL_DATA"
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in th
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error o
or which actions and input led to the error.
System environment
SAP Release.............. "46C"
Application server....... "essceu3"
Network address.......... "172.19.119.198"
Operating system......... "AIX"
Release.................. "5.3"
Hardware type............ "00C7ADBD4C00"
Database server.......... "ukblx176"
Database type............ "ORACLE"
Database name............ "EU3"
Database owner........... "SAPR3"
Character set............ "es_ES.ISO8859-1"
SAP kernel............... "46D"
Created on............... "Jul 9 2006 20:26:33"
Created in............... "AIX 1 5 00447C4A4C00"
Database version......... "OCI_920__OCI_7_API "
Patch level.............. "2257"
Patch text............... " "
Supported environment....
Database................. "ORACLE 8.0.5.., ORACLE 8.0.6.., ORACLE
8.1.6.., ORACLE 8.1.7.., ORACLE 9.2.0.., ORACLE 10.2.0.."
SAP database version..... "46D"
Operating system......... "AIX 1 4, AIX 2 4, AIX 3 4, AIX 1 5, AIX 2 5, AIX 3
5, , System build information:, , LCHN :
841480"
User, transaction...
Client.............. 600
User................ "MPZMMES"
Language key........ "S"
Transaction......... " "
Program............. "ZM2431216 "
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where termination occurred
The termination occurred in the ABAP/4 program "ZM2431216 " in
"EXTRACT_GENERAL_DATA".
The main program was "ZM2431216 ".
The termination occurred in line 980
of the source code of program "ZM2431216 " (when callin
The program "ZM2431216 " was started as a background jo
Source code extract
009500 mara.ntgew,
009510 mara.gewei,
009520 mara.volum,
009530 mara.voleh,
009540 mara.mstae,
009550 mara.mstde,
009560 mara.prdha,
009570 marc.matnr,
009580 marc.werks,
009590 marc.mmsta,
009600 marc.mmstd
009610 into :w_ops-groes,
009620 :w_ops-brgew,
009630 :w_ops-ntgew,
009640 :w_ops-gewei,
009650 :w_ops-volum,
009660 :w_ops-voleh,
009670 :w_ops-mstae,
009680 :w_ops-mstde,
009690 :w_ops-prdha,
009700 :w_ops-matnr,
009710 :w_ops-werks,
009720 :w_ops-mmsta,
009730 :w_ops-mmstd
009740 from sapr3.mara, sapr3.marc
009750 where sapr3.mara.mandt = sapr3.marc.mandt
009760 and sapr3.mara.matnr = sapr3.marc.matnr
009770 and sapr3.mara.mandt = :p_mandt
009780 and sapr3.mara.matnr = :w_ebs-matnr
009790 and sapr3.marc.werks = :p_owerks
> ENDEXEC.
009810 endform. " extract_general_data
009820 *&
009830 *& Form append_i_ops
009840 *&
009850 * Appends W_OPS to I_OPS
009860 *
009870 form append_i_ops.
009880 append w_ops to i_ops.
009890 endform. " append_i_ops
009900 *&
009910 *& Form extract_material_description
009920 *&
009930 * Extracts a Material Description from the remote database an
009940 * modifies the current record in I_OPS.
009950 *
009960 * >P_SPRAS Language Key
009970 *
009980 form extract_material_description using p_spras.
009990 EXEC sql performing set_langauge.
Contents of system fields
SY field contents..................... SY field contents............
SY-SUBRC 0 SY-INDEX 0
SY-TABIX 1 SY-DBCNT 1
SY-FDPOS 18 SY-LSIND 0
SY-PAGNO 0 SY-LINNO 1
SY-COLNO 1
Chosen variables
Name.......................... Contents.1........2........3....+..
W_EBS-PRAT4
2
0
W_OPS-GROES
22222222222222222222222222222222
00000000000000000000000000000000
W_OPS-BRGEW #######
0000000
000000C
W_OPS-NTGEW #######
0000000
000000C
regards,
krishnaiah.Hi,
This is usually a SERVER SIDE DATABASE PROBLEM or SQLNET LISTENER (server side) PROBLEM. The client side should initially be ignored and instead the server should be investigated. In rare cases, this can be caused by client
side memory or other resource problem, or a DLL version mismatch, but this is
unlikely.
Enlist the assistance of your DBA. Then reproduce the ORA-3113 error on your
client application. Ask your DBA to look at the database side Alert.log and
trace files and look for ANY activity. Any activity that coincides with your
ORA-3113 will be a clue.
REgards
Vinod -
While running the livecache server test a native sql error occures
We are using scm4.1 livecache 7.5.0 And every time we are running the livecache test program he is dumping
whith the following dump
patch level scm & scm_basis is 8
Runtime Errors DBIF_DSQL2_SQL_ERROR
Except. CX_SY_NATIVE_SQL_ERROR
Date and Time 31.10.2005 16:50:55
ShrtText
An SQL error occurred when executing Native SQL.
What happened?
Error 600 occurred in the current database connection "LCA".
What can you do?
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
is especially useful if you want to keep a particular message.
How to correct the error
Database error text........: "Work rolled back: DbpError -28814 in
APS_ORDER_CH"
Database error code .......: 600
Triggering SQL statement...: " ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? or'"
Internal call code.........: "[DBDS/NEW DSQL]"
Please check the entries in the system log (Transaction SM21).
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"DBIF_DSQL2_SQL_ERROR" CX_SY_NATIVE_SQL_ERRORC
"/SAPAPO/SAPLOM_PLANNING" or "/SAPAPO/LOM_PLANNINGU08"
"/SAPAPO/OM_ORDER_CHANGE"
If you cannot solve the problem yourself and you wish to send
an error message to SAP, include the following documents:
1. A printout of the problem description (short dump)
To obtain this, select in the current display "System->List->
Save->Local File (unconverted)".
2. A suitable printout of the system log
To obtain this, call the system log through transaction SM21.
Limit the time interval to 10 minutes before and 5 minutes
after the short dump. In the display, then select the function
"System->List->Save->Local File (unconverted)".
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, select the Editor function "Further Utilities->
Upload/Download->Download".
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
The exception must either be prevented, caught within the procedure
"/SAPAPO/OM_ORDER_CHANGE"
"(FUNCTION)", or declared in the procedure's RAISING clause.
To prevent the exception, note the following:
System environment
SAP Release.............. "640"
Application server....... "bebruap2"
Network address.......... "195.213.49.227"
Operating system......... "Windows NT"
Release.................. "5.2"
Hardware type............ "4x Intel 801586"
Character length......... 16 Bits
Pointer length........... 32 Bits
Work process number...... 1
Short dump setting....... "full"
Database server.......... "BEBRUAP2"
Database type............ "MSSQL"
Database name............ "APD"
Database owner........... "apd"
Character set............ "C"
SAP kernel............... "640"
Created on............... "Aug 23 2005 00:00:49"
Created in............... "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
Database version......... "SQL_Server_8.00 "
Patch level.............. "87"
Patch text............... " "
Supported environment....
Database................. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
SAP database version..... "640"
Operating system......... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
Memory usage.............
Roll..................... 8176
EM....................... 24040336
Heap..................... 0
Page..................... 1687552
MM Used.................. 1516920
MM Free.................. 572032
SAP Release.............. "640"
User and Transaction
Client.............. 000
User................ "CGRAULS"
Language key........ "E"
Transaction......... "/SAPAPO/OM03 "
Program............. "/SAPAPO/SAPLOM_PLANNING"
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where terminated
The termination occurred in the ABAP program "/SAPAPO/SAPLOM_PLANNING" in
"/SAPAPO/OM_ORDER_CHANGE".
The main program was "/SAPAPO/OM_TB_FLOW_QUANTITY ".
The termination occurred in line 91 of the source code of the (Include)
program "/SAPAPO/LOM_PLANNINGU08"
of the source code of program "/SAPAPO/LOM_PLANNINGU08" (when calling the
editor 910).
Processing was terminated because the exception "CX_SY_NATIVE_SQL_ERROR"
occurred in the
procedure "/SAPAPO/OM_ORDER_CHANGE" "(FUNCTION)" but was not handled locally,
not declared in the
RAISING clause of the procedure.
The procedure is in the program "/SAPAPO/SAPLOM_PLANNING ". Its source code
starts in line 5
of the (Include) program "/SAPAPO/LOM_PLANNING$08 ".
Source Code Extract
Line
SourceCde
61
is_gen_params-simversion
62
is_gen_params-dont_set_netchg_flag
63
space.
64
65
Kontrollstruktur IS_GET_CHANGED_OPTIONS anpassen.
66
IF NOT et_changed_orders IS REQUESTED.
67
is_get_changed_options-send_chg_top_order = gc_false.
68
ENDIF.
69
IF NOT et_changed_cap_reqs IS REQUESTED.
70
is_get_changed_options-send_chg_cap_req = gc_false.
71
ENDIF.
72
IF NOT et_changed_io_nodes IS REQUESTED.
73
is_get_changed_options-send_chg_ionode = gc_false.
74
ENDIF.
75
IF NOT et_changed_io_pp_nodes IS REQUESTED.
76
is_get_changed_options-send_chg_io_pp = gc_false.
77
ENDIF.
78
IF NOT et_changed_pegids IS REQUESTED.
79
is_get_changed_options-send_chg_pegid = gc_false.
80
ENDIF.
81
IF NOT et_deleted_fix_pegging IS REQUESTED.
82
is_get_changed_options-send_del_fix_peg = gc_false.
83
ENDIF.
84
start_function 'OM_ORDER_CHANGE'. "#EC *
85
Verbindung zum liveCache aufbauen
86
check_server.
87
connect_to_livecache.
88
COM-Routine zum Anlegen bzw. Überschreiben eines Zeitstrahls
89
90
EXEC sql.
>>>>>
execute procedure "APS_ORDER_CHANGE" (
92
in :ls_gen_com_params,
93
out :lv_rc,
94
in :et_rc,
95
in :it_order_method,
96
in :it_ordkeys,
97
in :it_ordmaps,
98
in :it_orders,
99
in :it_activities,
100
in :it_mode,
101
in :it_cap_reqs,
102
in :it_positions,
103
in :it_inputs,
104
in :it_outputs,
105
in :it_prodflow,
106
in :it_intern_constraints,
107
in :it_extern_constraints,
108
in :it_charact_val_acts,
109
in :it_charact_req_inpnode,
110
in :it_charact_val_outnode,
Contents of system fields
Name
Val.
SY-SUBRC
0
SY-INDEX
0
SY-TABIX
1
SY-DBCNT
1
SY-FDPOS
0
SY-LSIND
0
SY-PAGNO
0
SY-LINNO
1
SY-COLNO
1
SY-PFKEY
SY-UCOMM
SY-TITLE
Flow Quantity Test
SY-MSGTY
S
SY-MSGID
/SAPAPO/OM_TEST
SY-MSGNO
001
SY-MSGV1
Create transSim
SY-MSGV2
SY-MSGV3
SY-MSGV4
Active Calls/Events
No. Ty. Program Include Line
Name
3 FUNCTION /SAPAPO/SAPLOM_PLANNING /SAPAPO/LOM_PLANNINGU08 91
/SAPAPO/OM_ORDER_CHANGE
2 FORM /SAPAPO/OM_TB_FLOW_QUANTITY /SAPAPO/OM_TB_FLOW_QUANTITY 802
CHANGE_DATA
1 EVENT /SAPAPO/OM_TB_FLOW_QUANTITY /SAPAPO/OM_TB_FLOW_QUANTITY 11
START-OF-SELECTION
Chosen variables
Name
Val.
No. 3 Ty. FUNCTION
Name /SAPAPO/OM_ORDER_CHANGE
IS_ATP_INFO
01ATP0000001~CGRAULSXX##
334553333333744545455500
011400000001E37215C38800
000000000000000000000000
000000000000000000000000
IS_CONTROLPARAMETERS
霁က#ం̂⍱㔒鲔#####
2222222222222222222222001007190000022
0000000000000000000000100221240000100
0000000000000000000000910002390000000
0000000000000000000000700C335C000C000
IS_GEN_PARAMS
01PLV0000001~CGRAULS
3354533333337445454522222
010C60000001E37215C300000
0000000000000000000000000
0000000000000000000000000
IS_GET_CHANGED_OPTIONS
2222222
0000000
0000000
0000000
IT_ACTIVITIES
Table IT_274[1x256]
PROGRAM=/SAPAPO/OM_TB_FLOW_QUANTITYFORM=CHANGE_DATADATA=LT_ACTIVITIES
Table reference: 41
TABH+ 0(20) = 5087FFDF00000000000000002900000012010000
TABH+ 20(20) = 0100000000010000FFFFFFFF0487000000290000
TABH+ 40( 8) = 10000000C1308000
store = 0x5087FFDF
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 41 (0x29000000)
label = 274 (0x12010000)
fill = 1 (0x01000000)
leng = 256 (0x00010000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000205
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x180112E0
pghook = 0x00000000
idxPtr = 0x00000000
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x10000000)
lineAlloc = 16 (0x10000000)
store_id = 126 (0x7E000000)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_CAP_REQS
Table IT_276[1x112]
PROGRAM=/SAPAPO/OM_TB_FLOW_QUANTITYFORM=CHANGE_DATADATA=LT_CAP_REQS
Table reference: 39
TABH+ 0(20) = 48BB06E000000000000000002700000014010000
TABH+ 20(20) = 0100000070000000FFFFFFFF04870000C0290000
TABH+ 40( 8) = 10000000C1308000
store = 0x48BB06E0
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 39 (0x27000000)
label = 276 (0x14010000)
fill = 1 (0x01000000)
leng = 112 (0x70000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000209
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x188D04E0
pghook = 0x00000000
idxPtr = 0x00000000
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x10000000)
lineAlloc = 16 (0x10000000)
store_id = 124 (0x7C000000)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_CHARACT_REQ_INPNODE
Table IT_418[0x140]
FUNCTION=/SAPAPO/OM_ORDER_CHANGEDATA=IT_CHARACT_REQ_INPNODE
Table reference: 32
TABH+ 0(20) = 00000000000000000000000020000000A2010000
TABH+ 20(20) = 000000008C000000FFFFFFFF04870000301D0000
TABH+ 40( 8) = 10000000C1308000
store = 0x00000000
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 32 (0x20000000)
label = 418 (0xA2010000)
fill = 0 (0x00000000)
leng = 140 (0x8C000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000142
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = Not allocated
pghook = Not allocated
idxPtr = Not allocated
refCount = Not allocated
tstRefCount = Not allocated
lineAdmin = Not allocated
lineAlloc = Not allocated
store_id = Not allocated
shmIsReadOnly = Not allocated
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_CHARACT_VAL_ACTS
Table IT_417[0x156]
FUNCTION=/SAPAPO/OM_ORDER_CHANGEDATA=IT_CHARACT_VAL_ACTS
Table reference: 50
TABH+ 0(20) = 00000000000000000000000032000000A1010000
TABH+ 20(20) = 000000009C000000FFFFFFFF04870000901D0000
TABH+ 40( 8) = 10000000C1308000
store = 0x00000000
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 50 (0x32000000)
label = 417 (0xA1010000)
fill = 0 (0x00000000)
leng = 156 (0x9C000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000144
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = Not allocated
pghook = Not allocated
idxPtr = Not allocated
refCount = Not allocated
tstRefCount = Not allocated
lineAdmin = Not allocated
lineAlloc = Not allocated
store_id = Not allocated
shmIsReadOnly = Not allocated
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_CHARACT_VAL_OUTNODE
Table IT_419[0x156]
FUNCTION=/SAPAPO/OM_ORDER_CHANGEDATA=IT_CHARACT_VAL_OUTNODE
Table reference: 60
TABH+ 0(20) = 0000000000000000000000003C000000A3010000
TABH+ 20(20) = 000000009C000000FFFFFFFF04870000901D0000
TABH+ 40( 8) = 10000000C1308000
store = 0x00000000
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 60 (0x3C000000)
label = 419 (0xA3010000)
fill = 0 (0x00000000)
leng = 156 (0x9C000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000144
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = Not allocated
pghook = Not allocated
idxPtr = Not allocated
refCount = Not allocated
tstRefCount = Not allocated
lineAdmin = Not allocated
lineAlloc = Not allocated
store_id = Not allocated
shmIsReadOnly = Not allocated
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_EXTERN_CONSTRAINTS
Table IT_416[0x124]
FUNCTION=/SAPAPO/OM_ORDER_CHANGEDATA=IT_EXTERN_CONSTRAINTS
Table reference: 71
TABH+ 0(20) = 00000000000000000000000047000000A0010000
TABH+ 20(20) = 000000007C000000FFFFFFFF04870000E02A0000
TABH+ 40( 8) = 10000000C1308000
store = 0x00000000
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 71 (0x47000000)
label = 416 (0xA0010000)
fill = 0 (0x00000000)
leng = 124 (0x7C000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000215
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = Not allocated
pghook = Not allocated
idxPtr = Not allocated
refCount = Not allocated
tstRefCount = Not allocated
lineAdmin = Not allocated
lineAlloc = Not allocated
store_id = Not allocated
shmIsReadOnly = Not allocated
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_INPUTS
Table IT_278[1x420]
PROGRAM=/SAPAPO/OM_TB_FLOW_QUANTITYFORM=CHANGE_DATADATA=LT_INPUTS
Table reference: 63
TABH+ 0(20) = 087400E0C0E303E0000000003F00000016010000
TABH+ 20(20) = 01000000A4010000FFFFFFFF04870000202A0000
TABH+ 40( 8) = 10000000C1308000
store = 0x087400E0
ext1 = 0xC0E303E0
shmId = 0 (0x00000000)
id = 63 (0x3F000000)
label = 278 (0x16010000)
fill = 1 (0x01000000)
leng = 420 (0xA4010000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000211
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x78DC11E0
pghook = 0x00000000
idxPtr = 0x00000000
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x10000000)
lineAlloc = 16 (0x10000000)
store_id = 123 (0x7B000000)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = 0x2029FFDF
hsdir = 0x00000000
ext2 = 0x00000000
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_INTERN_CONSTRAINTS
Table IT_415[0x124]
FUNCTION=/SAPAPO/OM_ORDER_CHANGEDATA=IT_INTERN_CONSTRAINTS
Table reference: 49
TABH+ 0(20) = 000000000000000000000000310000009F010000
TABH+ 20(20) = 000000007C000000FFFFFFFF04870000E02A0000
TABH+ 40( 8) = 10000000C1308000
store = 0x00000000
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 49 (0x31000000)
label = 415 (0x9F010000)
fill = 0 (0x00000000)
leng = 124 (0x7C000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000215
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = Not allocated
pghook = Not allocated
idxPtr = Not allocated
refCount = Not allocated
tstRefCount = Not allocated
lineAdmin = Not allocated
lineAlloc = Not allocated
store_id = Not allocated
shmIsReadOnly = Not allocated
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_MODE
Table IT_275[1x164]
PROGRAM=/SAPAPO/OM_TB_FLOW_QUANTITYFORM=CHANGE_DATADATA=LT_MODES
Table reference: 52
TABH+ 0(20) = A03C00E000000000000000003400000013010000
TABH+ 20(20) = 01000000A4000000FFFFFFFF0487000060290000
TABH+ 40( 8) = 10000000C1308000
store = 0xA03C00E0
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 52 (0x34000000)
label = 275 (0x13010000)
fill = 1 (0x01000000)
leng = 164 (0xA4000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000207
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0xC8F611E0
pghook = 0x00000000
idxPtr = 0x00000000
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x10000000)
lineAlloc = 16 (0x10000000)
store_id = 125 (0x7D000000)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_ORDERS
Table IT_293[1x320]
PROGRAM=/SAPAPO/OM_TB_FLOW_QUANTITYFORM=CHANGE_DATADATA=LT_ORDERS1
Table reference: 47
TABH+ 0(20) = 20B403E000000000000000002F00000025010000
TABH+ 20(20) = 0100000040010000FFFFFFFF0400000030380000
TABH+ 40( 8) = 01000000C1308000
store = 0x20B403E0
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 47 (0x2F000000)
label = 293 (0x25010000)
fill = 1 (0x01000000)
leng = 320 (0x40010000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000286
occu = 1 (0x01000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x9080FFDF
pghook = 0x00000000
idxPtr = 0x00000000
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 1 (0x01000000)
lineAlloc = 1 (0x01000000)
store_id = 130 (0x82000000)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_ORDER_METHOD
Table IT_268[2x62]
PROGRAM=/SAPAPO/OM_TB_FLOW_QUANTITYFORM=CHANGE_DATADATA=LT_ORDER_METHOD
Table reference: 51
TABH+ 0(20) = 8882FFDF0000000000000000330000000C010000
TABH+ 20(20) = 020000003E000000FFFFFFFF04000000B0360000
TABH+ 40( 8) = 10000000C1248000
store = 0x8882FFDF
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 51 (0x33000000)
label = 268 (0x0C010000)
fill = 2 (0x02000000)
leng = 62 (0x3E000000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000278
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 2 (cmpSingleMcmpR)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0
isShmLockId = 0
gcKind = 0
isUsed = 1
>>>>> Shareable Table Header Data <<<<<
tabi = 0x0868FFDF
pghook = 0x00000000
idxPtr = 0x00000000
refCount = 0 (0x00000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 16 (0x10000000)
lineAlloc = 16 (0x10000000)
store_id = 122 (0x7A000000)
shmIsReadOnly = 0 (0x00000000)
>>>>> 1st level extension part <<<<<
regHook = Not allocated
hsdir = Not allocated
ext2 = Not allocated
>>>>> 2nd level extension part <<<<<
tabhBack = Not allocated
delta_head = Not allocated
pb_func = Not allocated
pb_handle = Not allocated
IT_ORDKEYS
Table IT_271[1x332]
PROGRAM=/SAPAPO/OM_TB_FLOW_QUANTITYFORM=CHANGE_DATADATA=LT_ORDKEYS
Table reference: 29
TABH+ 0(20) = 80E303E000000000000000001D0000000F010000
TABH+ 20(20) = 010000004C010000FFFFFFFF04870000E0270000
TABH+ 40( 8) = 10000000C1308000
store = 0x80E303E0
ext1 = 0x00000000
shmId = 0 (0x00000000)
id = 29 (0x1D000000)
label = 271 (0x0F010000)
fill = 1 (0x01000000)
leng = 332 (0x4C010000)
loop = -1 (0xFFFFFFFF)
xtyp = TYPE#000199
occu = 16 (0x10000000)
access = 1 (ItAccessStandard)
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniqueNon)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
collHash = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 0
sharedWithShmTab = 0Hi,
the error DbpError -28814 denotes that an object cannot be found.
Can you maybe tell me your exact liveCache version (incl. Build level) and LCA Build?
Additionally, please copy the relevant error information from the file (/sapdb/data/wrk/<SID>/)knldiag.err into this thread.
Which exact 'liveCache test program' are your referring to (which of the /SAPAPO/... transactions)?
Kind regards,
Roland -
dear all,
i have done a system copy from production server into quality server. quality was scrapped and freshly installed with SAP then used the DB flush method to carry out the system copy. i had to change the DBS_ORA_SCHEMA in environment variables to SAP<SOURCE SID> from SAPSR3. the sap version is ECC6.0,DB is ORACLE10.2 on WIN NT.
after MMC opened, i get "SQL error in the database when accessing a table" error is coming. in SM21, I am getting "Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000 )
Database error 8103 at SEL access to table TBTCO
Run-time error "DBIF_RSQL_SQL_ERROR" occurred
Database error 8103 at FET access to table TBTCP
Run-time error "DBIF_RSQL_SQL_ERROR" occurred
> Short dump "081018 130339 sibqty_Q TY_00 " generated
Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000
> Short dump "081018 130339 sibqty_Q TY_00 " generated
Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000
Delete session 001 after error 023
Database error 8103 at DEL access to table TMSALOGAR
Run-time error "DBIF_RSQL_SQL_ERROR" occurred
> Short dump "081018 130432 sibqty_Q TY_00 " generated
Database error 8103 at FET access to table SNAP
Run-time error "DBIF_RSQL_SQL_ERROR" occurred
> Short dump "081018 130432 sibqty_Q TY_00 " generated
Transaction Canceled SY 002 ( SQL error in the database when accessing a table. )
Database error 8103 at FET access to table TSP02"
please find the st22 DUMP:
ow to correct the error |
Database error text........: "ORA-08103: object no longer exists"
Internal call code.........: "[RSQL/READ/TBTCO ]"
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_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
"SAPMSSY2" or "SAPMSSY2"
"INITIATE_JOB_START"
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
"INITIATE_JOB_START" "(FORM)", or its possible occurrence must be declared in
the
RAISING clause of the procedure.
|
please do me this favor if you know to avoid this problem..
thanks a lot..Hello Anuj,
This is because the COUNT(*) is returning a value which is longer than the INT4 data type it is expecting. If you restrict the selection by introducing a WHERE clause, then you won't get the dump:
DATA: dyn_from TYPE string,
dyn_where TYPE string,
gx_sql_err TYPE REF TO cx_sy_open_sql_error,
gv_text TYPE string.
dyn_from = `DD01L INNER JOIN DD02L ON DD02L~AS4LOCAL = DD01L~AS4LOCAL AND DD02L~AS4VERS = DD01L~AS4VERS`.
dyn_where = `DOMNAME LIKE 'Z%'`.
TRY .
SELECT COUNT(*) FROM (dyn_from) WHERE (dyn_where).
WRITE: / sy-dbcnt NO-GROUPING.
CATCH: cx_sy_open_sql_db INTO gx_sql_err,
cx_sy_dynamic_osql_semantics INTO gx_sql_err,
cx_sy_dynamic_osql_syntax INTO gx_sql_err.
ENDTRY.
IF gx_sql_err IS BOUND.
gv_text = gx_sql_err->get_text( ).
WRITE: / gv_text.
ENDIF.
BR,
Suhas -
I used the wizard in Dreamweaver CS4 Developer Toolbox to have a form to upload an image and some data to a MySql dbase.
Here is the error I got:
Error:Internal error.
Developer Details:tNG_fields.getFakeRecordset:
SQL error: Error creating temporary table:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
SQL:
CREATE TEMPORARY TABLE KT_fakeRS_20100330 (fld_name TEXT, fld_location TEXT, fld_test TEXT, fld_image TEXT, key TEXT) (FIELDS_FAKE_RS_ERROR)
tNG Execution Trace - VIEW
tNG_insert.executeTransactionSTARTER.Trigger_Default_Starter
tNG_insert.getRecordset
tNG_insert.getLocalRecordset
tNG_insert.getFakeRecordset*
And here is the code that generated the error, again, all from developer toolbox:
<?php require_once('../../Connections/site.php'); ?>
<?php
// Load the common classes
require_once('../../includes/common/KT_common.php');
// Load the tNG classes
require_once('../../includes/tng/tNG.inc.php');
// Make a transaction dispatcher instance
$tNGs = new tNG_dispatcher("../../");
// Make unified connection variable
$conn_site = new KT_connection($site, $database_site);
// Start trigger
$formValidation = new tNG_FormValidation();
$formValidation->addField("fld_name", true, "text", "", "", "", "");
$formValidation->addField("fld_location", true, "text", "", "", "", "");
$formValidation->addField("fld_test", true, "text", "", "1", "256", "Please enter less than 256 Characters.");
$tNGs->prepareValidation($formValidation);
// End trigger
// Make an insert transaction instance
$ins_tbl_testimonials = new tNG_insert($conn_site);
$tNGs->addTransaction($ins_tbl_testimonials);
// Register triggers
$ins_tbl_testimonials->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1");
$ins_tbl_testimonials->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation);
$ins_tbl_testimonials->registerTrigger("END", "Trigger_Default_Redirect", 99, "/admin/testimonial/testimonial-control.php");
// Add columns
$ins_tbl_testimonials->setTable("tbl_testimonials");
$ins_tbl_testimonials->addColumn("fld_name", "STRING_TYPE", "POST", "fld_name");
$ins_tbl_testimonials->addColumn("fld_location", "STRING_TYPE", "POST", "fld_location");
$ins_tbl_testimonials->addColumn("fld_test", "STRING_TYPE", "POST", "fld_test");
$ins_tbl_testimonials->addColumn("fld_image", "FILE_TYPE", "FILES", "fld_image");
$ins_tbl_testimonials->setPrimaryKey("key", "NUMERIC_TYPE");
// Execute all the registered transactions
$tNGs->executeTransactions();
// Get the transaction recordset
$rstbl_testimonials = $tNGs->getRecordset("tbl_testimonials");
$row_rstbl_testimonials = mysql_fetch_assoc($rstbl_testimonials);
$totalRows_rstbl_testimonials = mysql_num_rows($rstbl_testimonials);
?>
<html>
<head>
<link href="../../includes/skins/mxkollection3.css" rel="stylesheet" type="text/css" media="all" />
<script src="../../includes/common/js/base.js" type="text/javascript"></script>
<script src="../../includes/common/js/utility.js" type="text/javascript"></script>
<script src="../../includes/skins/style.js" type="text/javascript"></script>
<?php echo $tNGs->displayValidationRules();?>
</head>
<body>
<?php
echo $tNGs->getErrorMsg();
?>
<form method="post" id="form1" action="<?php echo KT_escapeAttribute(KT_getFullUri()); ?>" enctype="multipart/form-data">
<table cellpadding="2" cellspacing="0" class="KT_tngtable">
<tr>
<td class="KT_th"><label for="fld_name">Fld_name:</label></td>
<td><input type="text" name="fld_name" id="fld_name" value="<?php echo KT_escapeAttribute($row_rstbl_testimonials['fld_name']); ?>" size="32" />
<?php echo $tNGs->displayFieldHint("fld_name");?> <?php echo $tNGs->displayFieldError("tbl_testimonials", "fld_name"); ?></td>
</tr>
<tr>
<td class="KT_th"><label for="fld_location">Fld_location:</label></td>
<td><input type="text" name="fld_location" id="fld_location" value="<?php echo KT_escapeAttribute($row_rstbl_testimonials['fld_location']); ?>" size="32" />
<?php echo $tNGs->displayFieldHint("fld_location");?> <?php echo $tNGs->displayFieldError("tbl_testimonials", "fld_location"); ?></td>
</tr>
<tr>
<td class="KT_th"><label for="fld_test">Fld_test:</label></td>
<td><textarea name="fld_test" id="fld_test" cols="50" rows="5"><?php echo KT_escapeAttribute($row_rstbl_testimonials['fld_test']); ?></textarea>
<?php echo $tNGs->displayFieldHint("fld_test");?> <?php echo $tNGs->displayFieldError("tbl_testimonials", "fld_test"); ?></td>
</tr>
<tr>
<td class="KT_th"><label for="fld_image">Fld_image:</label></td>
<td><input type="file" name="fld_image" id="fld_image" size="32" />
<?php echo $tNGs->displayFieldError("tbl_testimonials", "fld_image"); ?></td>
</tr>
<tr class="KT_buttons">
<td colspan="2"><input type="submit" name="KT_Insert1" id="KT_Insert1" value="Insert record" /></td>
</tr>
</table>
</form>
<p> </p>
</body>
</html>
What can be wrong? I understand its an SQL error, but not sure why ADDT caused an SQL Error or how to fix it myself.
Any help would be greatly appreciated.
ChrisProblem solved. While it is noted that on a DC you cannot run the database as a local service, it is not mentioned that it will not even install if loaded as ANY service. If given a full admin user and password to use as it's operating condition,
the install goes fine. Then change to what is desired. I am not impressed with the error reporting in this install, as even the event logs gave no indication as to the reason for this. Most of the install of the database service went OK (In
the event logs and the install logs.) and when doing the final config, the problem pops up, aborting everything else. You MUST then wipe ALL traces of the first install or different weird failures appear no matter what credentials are used.
Hi C Policki,
Sorry for my delay.
Glad to hear that you have solved this issue and thanks for sharing in the forum. Your time and efforts are highly appreciated.
I noticed that you install the SQL Server 2012 in a Windows Server 2012 R2 Essentials. Would you please let me confirm whether that Windows Server 2012 R2 Essentials was a Windows Server 2012
R2 Standard/Datacenter with Windows Server Essentials Experience role, then you deploy it in an Existing Active Directory Environment?
Deploying
Windows Server 2012 R2 Standard/Datacenter with Windows Server Essentials Experience role in an Existing Active Directory Environment
If it is just a Windows Server 2012 R2 Essentials, it should be a DC.That
will be not recommended to install SQL Server on a domain controller. There are specific security restrictions when running SQL Server in this configuration and given the resource demands of a domain controller, SQL Server performance may be degraded.
You may encounter problems when installing SQL Server on a domain controller
Best regards,
Justin Gu
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
REP -1401 Fatal PL/SQL error occurred.
Hi All,
In my rdf report i have a formula column with the following code in it..
function CF_PO_NumberFormula return Char is
cursor cur_pending_po
is
select distinct pll.po_header_id
from
PO_LINE_LOCATIONS_ALL pll,
po_lines_all pla
where 1=1
and pll.po_line_id=pla.po_line_id
and pll.org_id=pla.org_id
and pll.org_id=5050
and pla.item_id=:inventory_item_id
and (pll.quantity-pll.quantity_received)>0
AND EXISTS(SELECT 1 FROM PO_HEADERS_ALL PHA
WHERE PLL.PO_HEADER_ID=PHA.PO_HEADER_ID
AND PHA.APPROVED_FLAG='Y'
AND PHA.CLOSED_CODE IS NULL)
order by pll.po_header_id;
po_num varchar2(4000);
begin
po_num:=null;
for rec_cur_pending_po in cur_pending_po
loop
select segment1||','||po_num into po_num
from
po_headers_all
where 1=1
and po_header_id=rec_cur_pending_po.po_header_id;
end loop;
return rtrim(po_num,',');
exception
when others then
po_num :=null ;
return po_num;
end;
when i am running the report, it is getting errored out..following is the log file message...
Arguments
P_ORGANIZATION_ID='5100'
P_FROM_DATE='2009/08/31 13:30:00'
P_TO_DATE='2009/09/02 13:30:00'
APPLLCSP Environment Variable set to :
XML_REPORTS_XENVIRONMENT is :
/app/oapps/11.5.5/opm7ora2/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
XENVIRONMENT is set to: /app/oapps/11.5.5/opm7ora2/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
AMERICAN_AMERICA.UTF8
REP-1401: 'cf_po_numberformula': Fatal PL/SQL error occurred.
Report Builder: Release 6.0.8.27.0 - Production on Thu Sep 10 11:38:18 2009
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Enter Username:
Start of log messages from FND_FILE
End of log messages from FND_FILE
Program exited with status 1
Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 25343374.
Review your concurrent request log and/or report output file for more detailed information.
Can Anyone help me on this..I would suggest the best place to start is with some diagnostics - first of all in the exception handler. Try
SRW.MESSAGE(999,'PO number formula failed - '||sqlerrm);
This will give you more information as to the exact error which occurred.
Also, I hope you have tested the query separately before putting it in the report! - may be an obvious one, but it is possible that you may have a data size problem on the po_num variable. Do you know how many rows the cursor will return?
This should give you somewhere to start.
Edited by: mike_p on Sep 11, 2009 2:09 PM
Edited by: mike_p on Sep 11, 2009 2:10 PM -
Hi,
I am getting the following error :
SQL> select MinDistance(TT) from egg1;
select MinDistance(TT) from egg1
ERROR at line 1:
ORA-06521: PL/SQL: Error mapping function
ORA-06522: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/custagg.so:
undefined symbol: ODCIAggregateInitialize
I am compiling my C program with OCI using the following command :
g++ -Wall -c custagg.c -o custagg.o -I$ORACLE_HOME/rdbms/public -I/usr/lib
I am linking to get a shared library custagg.so file with following command :
ld -shared -o custagg.so custagg.o $ORACLE_HOME/lib/l*.so ../../usr/lib/libstdc++.s*
I am not getting any errors during these two phases.
And when i am calling the extproc custagg(Mindistance) which i implemented using ODCI(oracle data catridge interface) ...I am getting the error undefined symbol : ODCIAggregateInitialize
So can any one please let me know what shared libraries are required to access the ODCI services and also am I compiling and linking it the right way or am I missing any libraries.
I have the oci.h & odci.h and several other header files in my :
$ORACLE_HOME/rdbms/public
And while linking i am using : $ORACLE_HOME/lib/*.so files.
So I don't know whether my directory is missing some shared files related to ODCI : can any one please let me know which files or shared libraries I am missing :
Below are list of files in my : $ORACLE_HOME/lib :
custagg123.o libclntsh.so libdbcfg10.so libjox10.so libocci.so.10.1 liborasdkbase.so libskgxpd.so libunwind.so.5
custagg.so libclntsh.so.10.1 libemmas10.so libldapjclnt10.so libocijdbc10.so liborasdkbase.so.10.2 libskgxpu.so libxdb.so
facility.lis libclsra10.so libhasgen10.so libnjni10.so libocr10.so liborasdk.so libsqlplus.so shell.so
hsdb_odbc.so libcorejava.so libheteroxa10.so libnjssl10.so libocrb10.so liborasdk.so.10.2 libsqora.so.10.1 sysliblist
hsdb_ora.so libcoresh10.so libhsbase.so libnnz10.so libocrutl10.so libqsmashr.so libsrvm10.so
lclasses12.zip libcprts.so.5 libhsnav.so libnque10.so libodm10.so libskgxn2.so libsrvmhas10.so
libagtsh.so libcxa.so.3 libimf.so libntcpaio10.so libodmd10.so libskgxns.so libsrvmocr10.so
libagtsh.so.1.0 libcxa.so.5 libirc.a libocci.so libons.so libskgxp10.so libuini10.so
Please reply to my queries.
Please let me know if you want to have a look at the symbols of my object file
Thanks & Regards,
-NNIt's only a quick guess but have you checked your tnsnames.ora file to ensure you've opened the environment to find the libraries? If you set the EXTPROC_DLLS=ANY, you open the database to security issues but it should tell you if this cause because you can't access the library that contains the symbol.
SID_LIST_CALLOUT_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = <oracle_home_directory>)
(PROGRAM = extproc)
(ENV = "EXTPROC_DLLS=ONLY:
<oracle_home_directory>/customlib/writestr1.so
,LD_LIBRARY_PATH=<oracle_home_directory>/lib")
) -
We are currently facing a problem in which we are getting “SQL Error Code: 1461
java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column” . This issue is not happening always and only happens in the PROD environment. We tried to replicate this scenario in our QA and Local and where not able to reproduce it.
The scenario is we have a web application screen in which the user enters multiple data which includes textarea which supports upto 2000 characters and it is stored in database as varchar2 the other fields are stored as Number and clob datatype. Whenever we perform some changes in a textarea which is varchar2 (2000) in the database we are getting this ORA – 01461. However this scenario is only happening in PROD. In QA whenever the user enters more than 2000 characters the strut level validation handles it.
We are using Spring framework for DAO operations and the Spring Version is : 1.2.8 , oracle version 9i.
Oracle NLS setting
(SELECT * from NLS_SESSION_PARAMETERS)
PARAMETER,VALUE
NLS_LANGUAGE,AMERICAN
NLS_TERRITORY,AMERICA
NLS_CURRENCY,$
NLS_ISO_CURRENCY,AMERICA
NLS_NUMERIC_CHARACTERS,.,
NLS_CALENDAR,GREGORIAN
NLS_DATE_FORMAT,DD-MON-RR
NLS_DATE_LANGUAGE,AMERICAN
NLS_SORT,BINARY
NLS_TIME_FORMAT,HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT,DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT,HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT,DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY,$
NLS_COMP,BINARY
NLS_LENGTH_SEMANTICS,BYTE
NLS_NCHAR_CONV_EXCP,FALSE
Ojdbc.jar version Specification-Version: Oracle JDBC Driver version - "10.2.0.1.0"
Edited by: Sanu Sasidharan on Apr 6, 2010 11:20 PMWe further debugged this issue today and checked the ojdbc14.jar which is used in the QA and PROD environment.
The issues is happening with the jar, Specification-Version: Oracle JDBC Driver version - "10.2.0.1.0"
But in our QA we are using ojdbc14.jar Specification-Version: "Oracle JDBC Driver version - 9.0.2.0.0" in this version the issues is not happening. We replaced the 9.0 with 10.2 jar in our QA and we were able to reproduce this issue.
Hence we have localized the issue to be related to version. -
Problem executing a sql query in 10g environment
Hi,
I am having problem executing the following sql query in 10g environment. It works fine in 8i environment.
I tried to_number(to_char) and it did not work.
**A.APPL_ACTION_DT >= TO_CHAR("&v_strBeginStatusDate&", 'DD-MON-YYYY') AND A.APPL_ACTION_DT <= TO_CHAR("&v_strEndStatusDate&", 'DD-MON-YYYY')))**
Any suggestions..
--PavanI would be surprised if that worked in 8i as posted, although I no longer have 8i to test. You do not tell us the error message you are getting, but there are several things wrong with what you posted.
First, the substitution variable requires only the & at the beginning, you have one on each end of your string, the one at the end will remain in the string that is passed to the database.
Second, you cannot TO_CHAR a string with a date format as you are trying to do. The TO_CHAR function is overloaded and has two basic forms TO_CHAR(date, format_model) and TO_CHAR(number, format_model). Note that neither takes a string. It would appear that at least current versions of Oracle choose the second signature unless specifically passed a date datatype.
SQL> select to_char('&h', 'dd-mon-yyyy') from dual;
Enter value for h: 12
old 1: select to_char('&h', 'dd-mon-yyyy') from dual
new 1: select to_char('12', 'dd-mon-yyyy') from dual
select to_char('12', 'dd-mon-yyyy') from dual
ERROR at line 1:
ORA-01481: invalid number format modelalthough I suspect that the error you are getting with your posted code is more likely to be ORA-01722: invalid number.
Depending on the data type of appl_action_date, you are probably lokoing for TO_DATE instead of TO_CHAR.
John -
*** ERROR = CONNECT failed with SQL error '12154' after Oracle Upgrade
Hello Experts,
Recently I upgraded my oracle database from 11.2.0.3 to 11.2.0.4.The upgrade completed successfully but I am unable to start the instance.
R3trans -d failing with the error--
OCIServerAttach(OCI_DEFAULT) failed with -1=OCI_ERROR
OCIServerAttach(OCI_DEFAULT) failed with SQL error 12154:
ORA-12154: TNS:could not resolve the connect identifier specified
OCIServerAttach(con=0, svc=069C1630): Error 12154 attaching new srv=069C17D0
OCIHandleFree(con=0): Server handle srv=069C17D0 freed.
server_detach(con=0, svc=069C1630; srv=NULL, stale=2)
OCIHandleFree(con=0): Service svc=069C1630 freed (i=1).
*** ERROR => CONNECT failed with SQL error '12154'
-->oci_get_errmsg (con=0, rc=12154)
OCIErrorGet() -> SQL error code: 12154; buflen=66
OCIErrorGet(): error text ->
ORA-12154: TNS:could not resolve the connect identifier specified
ocica() -> SQL error code 12154,12154
DbSlConnect(con=0) -> orc=12154, rc=99=DBSL_ERR_DB
***LOG BY2=>sql error 12154 performing CON
***LOG BY0=>ORA-12154: TNS:could not resolve the connect identifier specified
I have checked listener is up and running properly.Entry is maintained in tnsnames.ora.
Also kernel is upgraded with latest path.Curent kernel version--742
Please suggest on the mentioned error.I am attaching the logs here.Thanks in advance.
Best Regards,
DebadityaHi Debadiya
Kindly check this SAP Notes
1204916 - Error: "ORA-12154" when connecting to Oracle from a Windows 64-bit platform
2153975 - Database connectivity fails with ORA-12154
556232 - Environment settings for R/3/Oracle on Windows
443867 - ORA-12154 Collective SAP note
BR
SS -
SQL error forced rollback.
Dear All,
We r using Oracle 9.0.1 and Developer 6i in a replicated environment. Our server is dedicated server. We have 6 branch i.e. 6 replicate site and 1 main server. We r facing a problem in a specific module in 3 branches. Problem is : when user trying to use that module then after using some times they get this error ---
FRM-40655: SQL error forced rollback: clear form and re-enter transaction. and totally log out from system.
When user get this error then in alert log we get this message ---
found dead shared server 'S002', pid = (17, 141).
My question is : if it's form design problem then why only in 3 branch??? Configuration is almost same. Another question is our server is dedicated server then why oracle found dead shared server??? Is it a refreshing problem to remote server??? Need help as an urgent basis. Plz reply me and give ur valuable advice.
MamunThanks...
I also think that it's a network problem. But my question is if network is the problem then why only in this module make this error? And if this module has some problem then why only in 3 branch create the deadlock? What's the solution to remove the dead shared server? Another issue is this rollback or deadlock error don't happen all time.
Plz give all of ur valuable suggestion... -
MS Sql error in production server: DBIF_REPO_SQL_ERROR
Hi experts,
I am getting this error in my production server.
Environment : OS - Windows 2008, Database: MSsql 2005 sp2, ECC6.0
when the job SAP_COLLECTOR_FOR_PERFMONITOR executes the dump occurs with the following error.
DBIF_REPO_SQL_ERROR, SQL error 0 occurred when accessing program "CX_SY_OPEN_SQL_DB=============CP "
and also i am not able to open db13 with ends up with abap dump.
In the sql server log i found this error too.
Database ID 5, Page (1:4804273) is marked RestorePending, which may indicate disk corruption. To recover from this state, perform a restore.
Please help me on this.
Regards
Shankar PVI raised the Message with SAP and they asked to do the H/W audit. My H/W vendor executed the diagnostic reports and given the report as "NO H/W ISSUE".
That we already get into know when i did the system refresh, (I Mean i moved the database to another machine there also i am getting those same error).
As per the DBCC checkdb log we found 1 consistency errors in database 'PRD', and we found that the table too 'DB6PMPROT'.
Since its the table for the the records of DB13, i can lose this table data. So I tried to delete the data from the table, tried to truncate the table
and also tried deleting using the commands
1. DELETE FROM [PRD].[prd].[DB6PMPROT]
2. TRUNCATE TABLE [PRD].[prd].[DB6PMPROT]
3. USE [PRD]
GO
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID
(N'[prd].[DB6PMPROT]') AND type in (N'U'))
DROP TABLE [prd].[DB6PMPROT]
4. DROP TABLE [PRD].[prd].[DB6PMPROT]
For all the above mentioned commands the result is below
Msg 829, Level 21, State 1, Line 3
Database ID 5, Page (1:4804273) is marked RestorePending, which may
indicate disk corruption. To recover from this state, perform a restore.
Since the data in this table is not necessary, we need to drop and
recreate the table. -
BR0301E SQL error -12705 at location db_connect-2
Im getting below error when trying to initiate backup with DB13.
BR0801I BRCONNECT 6.40 (26)
BR0805I Start of BRCONNECT processing: cduyqhtg.chk 2007-07-30 15.32.00
BR0280I BRCONNECT time stamp: 2007-07-30 15.32.00
BR0301E SQL error -12705 at location db_connect-2
ORA-12705: invalid or unknown NLS parameter value specified
BR0310E Connect to database instance BRP failed
BR0280I BRCONNECT time stamp: 2007-07-30 15.32.00
BR0301E SQL error -12705 at location db_connect-2
ORA-12705: invalid or unknown NLS parameter value specified
BR0310E Connect to database instance BRP failed
The NLS_LANG variable is set as NLS_LANG=AMERICAN_AMERICA.UTF8 with HP-UX .
I have verified the environment (nota 602843). The version Oracle is 9.2.0.6 and brconnect is 6.40 (15).
This problem occurs since we changed the hardware. Before, this system SAP shared with other 2 systems SAP, now the system that has east problem this in a new hardwareIs the new hardware IA64 or PA-RISC?
I suggest upgrading to the latest BR*TOOLS (patchlevel 44).
Markus -
CONNECT failed with sql error '1017'
Hello,
nus650pa:dv8adm 23% more trans.log
4 ETW000 R3trans version 6.05 (release 46D - 12.07.06 - 16:40:00).
4 ETW000 ===============================================
4 ETW000
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 date&time : 14.08.2014 - 16:58:18
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [developertra,00000] Thu Aug 14 16:58:19 2014 170924 0.170924
4 ETW000 [developertra,00000] db_con_init called 1225 0.172149
4 ETW000 [developertra,00000] create_con (con_name=R/3) 22426 0.194575
4 ETW000 [developertra,00000] Loading DB library '/usr/sap/DV8/SYS/exe/run/dboraslib.so' ...
4 ETW000 136 0.194711
4 ETW000 [developertra,00000] load shared library (/usr/sap/DV8/SYS/exe/run/dboraslib.so), hdl 0
4 ETW000 369207 0.563918
4 ETW000 [developertra,00000] Library '/usr/sap/DV8/SYS/exe/run/dboraslib.so' loaded
4 ETW000 174 0.564092
4 ETW000 [developertra,00000] function DbSlExpFuns loaded from library /usr/sap/DV8/SYS/exe/run/dboraslib.so
4 ETW000 694 0.564786
4 ETW000 [developertra,00000] Version of library '/usr/sap/DV8/SYS/exe/run/dboraslib.so' is "46D.00", patchlevel (0.2186)
4 ETW000 15725 0.580511
4 ETW000 [developertra,00000] function dsql_db_init loaded from library /usr/sap/DV8/SYS/exe/run/dboraslib.so
4 ETW000 60 0.580571
4 ETW000 [developertra,00000] function dbdd_exp_funs loaded from library /usr/sap/DV8/SYS/exe/run/dboraslib.so
4 ETW000 121 0.580692
4 ETW000 [developertra,00000] New connection 0 created 96 0.580788
4 ETW000 [developertra,00000] db_con_connect (con_name=R/3) 14511 0.595299
4 ETW000 [developertra,00000] find_con found the following connection for reuse:
4 ETW000 53 0.595352
4 ETW000 [developertra,00000] Got ORACLE_HOME=/oracle/DV8/920_64 from environment
4 ETW000 73038 0.668390
4 ETW000 [developertra,00000] -->oci_initialize 589 0.668979
4 ETW000 [developertra,00000] Got ORACLE_SID=DV8 from environment 56 0.669035
4 ETW000 [developertra,00000] Got NLS_LANG=AMERICAN_AMERICA.WE8DEC from environment
4 ETW000 52 0.669087
4 ETW000 [developertra,00000] Logon as OPS$-user to get SAPR3's password 33 0.669120
4 ETW000 [developertra,00000] Connecting as /@DV8 on connection 0 ... 91 0.669211
4 ETW000 [developertra,00000] -->oci_logon(con_hdl=0, user='', dbname='DV8') 999 0.670210
4 ETW000 [developertra,00000] Thu Aug 14 16:58:20 2014 245280 0.915490
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'olog' failed: rc = 1017 263 0.915753
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1017'
4 ETW000 858 0.916611
4 ETW000 [developertra,00000] Try to connect with default password 38 0.916649
4 ETW000 [developertra,00000] Connecting as SAPR3/<pwd>@DV8 on connection 0 ...
4 ETW000 53 0.916702
4 ETW000 [developertra,00000] -->oci_logon(con_hdl=0, user='SAPR3', dbname='DV8')
4 ETW000 46 0.916748
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'olog' failed: rc = 1017 118256 1.035004
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1017'
4 ETW000 86 1.035090
4 ETW000 [developertra,00000] Got ORACLE_SID=DV8 from environment 716 1.035806
4 ETW000 [developertra,00000] Got NLS_LANG=AMERICAN_AMERICA.WE8DEC from environment
4 ETW000 55 1.035861
4 ETW000 [developertra,00000] Logon as OPS$-user to get SAPR3's password 33 1.035894
4 ETW000 [developertra,00000] Connecting as /@DV8 on connection 0 ... 29 1.035923
4 ETW000 [developertra,00000] -->oci_logon(con_hdl=0, user='', dbname='DV8') 28 1.035951
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'olog' failed: rc = 1017 126719 1.162670
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1017'
4 ETW000 165 1.162835
4 ETW000 [developertra,00000] Try to connect with default password 36 1.162871
4 ETW000 [developertra,00000] Connecting as SAPR3/<pwd>@DV8 on connection 0 ...
4 ETW000 47 1.162918
4 ETW000 [developertra,00000] -->oci_logon(con_hdl=0, user='SAPR3', dbname='DV8')
4 ETW000 42 1.162960
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'olog' failed: rc = 1017 123784 1.286744
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1017'
4 ETW000 70 1.286814
4 ETW000 [dblink ,00627] ***LOG BY2=>sql error 1017 performing CON 1140 1.287954
4 ETW000 [dblink ,00627] ***LOG BY0=> 42 1.287996
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'DV8'"
Please help.
Thanks
Priyanshu SrivastavaHi
Could you check this SAP Notes Error message
"ORA-01017: invalid username/password; logon denied
BR310E Connect to database instance DV8 failed"
1576837 - ORA-01017: invalid username/password;
1860519 - SAP fails to connect to the database
BR
SS
Maybe you are looking for
-
Mass updating a multi-valued field- to append the new value
I have a question on multi-valued fields: I have store table with 5 multi-valued fields, say MLB, soccer, college FTBL, college Basketball, etc. A store can have 4 MLBs, 2 soccer teams, and so on. Say, there is a new MLB that came out called Mexico
-
Alert Proxy system or application through RUN TIME WORKBENCH of PI
Hi friends, I am using PI 7.0 and at one scenarios we are communicating PI to another SAP system through proxies. PI 7.0 ==> Proxies--> SAP SYSTEM. Now we setup the alert at PI system through alert category and run time workbench. Is it possibl
-
Error: "Function or method not supported." when using RF List Mode on NI 5673E
Hi, I am trying to use the RF List Mode in NI RFSG 5673E. I tried running the sample code "RFSG Configuration List Frequency and Power Sweep.vi" but an error would show up: "Error: niRFSGCreateConfigurationList.VI <ERR> The LO reported the following
-
Question about Mac Mini RAM Slots?
My dad is thinking about buying the 1.66 GHz Intel Core Duo Mac Mini (MA607LL/A), and I was going to upgrade the RAM for him with a stick of 512 RAM from Crucial. 1. I can't find out online if the factory default Mac Mini ships with 2 sticks of 256 a
-
User access based on positions
Hi, Can you throw me some hints on handling following requirement on CRM 2007, User A plays himself 2 roles say e.g. Marketing and Sales professional, assigned to 2 different position (different business roles, configured with 2 different PFCG roles)