TP return code 0249 / No connect due to DbSl Load Lib Failure
Hi,
When I try to release a Transport in Transaction - SE01, we are
encountering the following error and the task gets released but the
Transport doesn't get released. Please find the error message below:
Test call of transport control program (tp) ended with return code 0249
Message no. TK094
Diagnosis
Your transport request could not be exported, since all requirements were not fulfilled.
Calling the transport control program tp
"tp EXPCHK RDDK123345 pf=C:\usr\sap\trans\bin\TP_DOMAIN_R3D.PFL
-Dtransdir=C:\usr\sa"
which checks the export requirements, returned the following
information:
Return code from tp: 0249
Error text from tp: ERROR: No connect due to DbSl Load Lib Failure
System response
Further processing is terminated.
Procedure
Check the following points:
o Feasibility of the transport control program tp
o Parameter settings in the transport profile
o Availability of the transport directory and the subdirectories
(cofiles, data, log, sapnames, bin)
o Write authorization for the subdirectories
o Write authorization for the files of the subdirectories cofiles,
data, log, sapnames
Release the request again when the error has been removed
Appreciate any help to resolve this error.
Thanks,
Rajesh
Hi!
I have the same issue, but the windows enviroment variable has been set or should the parameter be set in the instance profile?
Thanks!
rollo
//solved
It was an issue with the RFC's and some mising services in the service file
Edited by: rollo on Jan 12, 2009 2:40 PM
Similar Messages
-
No connect due to DbSl Load Lib Failure - During upgrade
Hi,
I am in the middle of performing PREPARE on a ECC 5.0 system to upgrade to ECC 6.0. During the phase PR_DBPAR the following error is coming:
SAPup> Starting subprocess 15413368 at 20080525190758
ENV <0x1105f2e90>: ORACLE_PSRV=DR5
ENV <0x1105f2ed0>: PATH=/oracle/DR5/102_64/bin:.:/home/dr5adm:/usr/sap/DR5/SYS/e
xe/runU:/usr/sap/DR5/SYS/exe/run:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/
sbin:/usr/java14_64/jre/bin:/usr/java14_64/bin
ENV <0x1105f3070>: NLS_LANG=AMERICAN_AMERICA.UTF8
ENV <0x1105f30d0>: ORACLE_BASE=/oracle
ENV <0x1105f3290>: dbs_ora_tnsname=DR5
ENV <0x1105f32d0>: ORACLE_SID=DR5
ENV <0x1105f34b0>: DIR_LIBRARY=/usr/sap/put/exe
ENV <0x1105f3670>: dbs_ora_schema=SAPDR2
ENV <0x1105f3830>: ORA_NLS33=/oracle/client/9208/ocommon/nls/admin/data
ENV <0x1105f3990>: ORACLE_HOME=/oracle/DR5/102_64
ENV <0x1105f3a70>: dbms_type=ORA
ENV <0x1105f3c30>: LIBPATH=/usr/sap/put/exe:/usr/sap/DR5/SYS/exe/run
ENV <0x1105f3d50>: auth_shadow_upgrade=0
EXECUTING /usr/sap/put/exe/tp (tp) pf=/usr/sap/put/bin/DEFAULT.TPP execdbscript
DR5 -x SQLDBSCRIPT.TQL
This is /usr/sap/put/exe/tp version 372.04.08 (release 700, unicode enabled)
ERROR: No connect due to DbSl Load Lib Failure
ERROR: The values set for DIR_LIBRARY ('/usr/sap/put/exe') or dbms_type ('ORA')
ERROR: Connect to DR5 failed (20080525190759).
Warning: Parameter INTERRUPT is no longer used.
Warning: Parameter DAYLIGHT_SHUTDOWN is no longer used.
Warning: Parameter WITH_TACOB is no longer used.
Warning: Parameter IMPDP_BY_EVENT is no longer used.
Warning: Parameter INTERRUPT is no longer used.
Warning: Parameter DAYLIGHT_SHUTDOWN is no longer used.
Warning: Parameter WITH_TACOB is no longer used.
Warning: Parameter IMPDP_BY_EVENT is no longer used.
Warning: Parameter DBCONFPATH is no longer used.
Warning: Parameter STARTDB is no longer used.
Warning: Parameter STOPDB is no longer used.
TRACE-INFO: 1: [dev trc ,00000] Sun May 25 19:07:59 2008
4777 0.004777
TRACE-INFO: 2: [dlux.c ,00000] *** ERROR => DlLoadLib: dlopen()=
0509-130 Symbol resolution failed for /usr/sap/put/exe/dboraslib.o because:
TRACE-INFO: 3: 0509-136 Symbol OCIClientVersion (numb
er 130) is not exported from
TRACE-INFO: 4: dependent module /usr/sap/DR5
/SYS/exe/run/libclntsh.a[shr.o].
TRACE-INFO: 5: 0509-022 Cannot load module /usr/sap/put
/exe/dboraslib.o.
TRACE-INFO: 6: 0509-026 System error: Cannot run a file
that does not have a valid format.
TRACE-INFO: 7: 0509-192 Examine .loader section symbols
with the 58 0.004835
TRACE-INFO: 8: 'dump -Tv' command. -> DLENOACC
ESS (8,Exec format error)
tp returncode summary:
TOOLS: Highest return code of single steps was: 0
ERRORS: Highest tp internal error was: 0249
tp finished with return code: 249
meaning:
connect failed due to DbSL load lib failure
Process with ID 15413368 terminated with status 249
We are having oracle 10g on AIX 5.3.
I tried options like setting LIBPATH with /oracle/client/10x_64/instantclient (instead of the default /oracle/client/9208/lib) along with /usr/sap/DR5/SYS/exe/run and having LIBPATH only with /usr/sap/DR5/SYS/exe/run and having env variable DBS_LIBPATH_EXT=/oracle/client/10x_64/instantclient (as per note 836517)
but if i try to restart PREPARE again, it is picking up the changes happening in LIBPATH (but same error) and also it not picking up DBS_LIBPATH_EXT env variable at all (may be if i try to make it permanent using .sh file it will pick up but i dont want that)
With all the above said, anyone has any perfect idea to have this issue fixed and continue the prepare process ?
Thanks,
Murali.Hi Markus,
Thanks for your reply. The issue is as follows:
If i keep the current default value of the env variable LIBPATH which is
LIBPATH=/usr/lib:/lib:/usr/sap/DR5/SYS/exe/run:/usr/sap/DR5/SYS/exe/runU:/oracle
/client/9208/lib
and being in /usr/sap/SID/SYS/exe/run (which is 6.40 kernel ECC 5.0) if i execute
ldd dboraslib.o the following is the output:
dboraslib.o needs:
/usr/sap/DR5/SYS/exe/run/libsapu16.so
/usr/sap/DR5/SYS/exe/run/libclntsh.a(shr.o)
/oracle/client/9208/lib/libwtc9.so
/usr/lib/libc.a(shr_64.o)
/usr/lib/libpthreads.a(shr_xpg5_64.o)
/usr/lib/libdl.a(shr_64.o)
/usr/lib/libodm.a(shr_64.o)
/usr/lib/libc.a(aio_64.o)
/unix
/usr/lib/libcrypt.a(shr_64.o)
being in /usr/sap/put/exe (which is in the middle of PREPARE step for ECC 6.0 upgrade, so it put kernel 7.0 files), the following is the output:
dboraslib.o needs:
/usr/lib/libc.a(shr_64.o)
/usr/sap/DR5/SYS/exe/run/libclntsh.a(shr.o)
/unix
/usr/lib/libcrypt.a(shr_64.o)
/usr/lib/libpthreads.a(shr_xpg5_64.o)
/usr/lib/libdl.a(shr_64.o)
/usr/lib/libodm.a(shr_64.o)
/usr/lib/libc.a(aio_64.o)
But if i change the environment variable for LIBPATH as follows:
LIBPATH=/oracle/client/10x_64/instantclient:/usr/lib:/lib:/usr/sap/DR5/SYS/exe/run:
/usr/sap/DR5/SYS/exe/runU (since we have already installed oracle 10g which is up and running and so we have already installed instant client also during that process)
the following is what the output for both the path as mentioned earlier:
#[/usr/sap/put/exe]
#dr5adm@sapdr5-3d[DR5]> ldd dboraslib.o
dboraslib.o needs:
/usr/lib/libc.a(shr_64.o)
/oracle/client/10x_64/instantclient/libclntsh.a(shr.o)
/unix
/usr/lib/libcrypt.a(shr_64.o)
/usr/lib/libpthreads.a(shr_xpg5_64.o)
/usr/lib/libdl.a(shr_64.o)
/usr/lib/libodm.a(shr_64.o)
/usr/lib/libperfstat.a(shr_64.o)
/usr/lib/libcfg.a(shr_64.o)
/usr/lib/liblvm.a(shr_64.o)
#[/usr/sap/DR5/SYS/exe/run]
#dr5adm@sapdr5-3d[DR5]> ldd dboraslib.o
dboraslib.o needs:
/usr/sap/DR5/SYS/exe/run/libsapu16.so
/oracle/client/10x_64/instantclient/libclntsh.a(shr.o)
/oracle/client/92x_64/lib/libwtc9.so
/usr/lib/libc.a(shr_64.o)
/usr/lib/libpthreads.a(shr_xpg5_64.o)
/usr/lib/libdl.a(shr_64.o)
/usr/lib/libodm.a(shr_64.o)
/usr/lib/libperfstat.a(shr_64.o)
/usr/lib/libc.a(aio_64.o)
/unix
/usr/lib/libcrypt.a(shr_64.o)
/usr/lib/libcfg.a(shr_64.o)
/usr/lib/liblvm.a(shr_64.o)
DIR_LIBRARY on both the cases and by default also is /usr/sap/SID/SYS/exe/run (pointing to running 6.40 kernel)
But if i try the PREPARE with or without this changes, the issue what i reported is what happening. Let me know your ideas on this.
Thanks,
Murali. -
ERROR: No connect due to DbSl Load Lib Failure
Hi Everyone,
I am working on EHP 7 upgrade and currently at Extraction phase of SUM tool. There are numerous issues i have faced and resolved one by one. now i got stuck in this error
Severe error(s) occurred in phase PREP_INPUT/CONFCHK_IMP!
Last error code set: Calling 'D:\usr\sap\<SID>\DVEBMGS01\exe/tp' failed
with return code 249, check D:\usr\sap\<SID>\SUM\abap\log\TOOLOUT.LOG for
details
Toolout:
iles\Microsoft SQL Server\110\Tools\Binn\;D:\usr\sap\<SID>\SYS\exe\uc\NTAMD64
ENV: SAPSYSTEMNAME=<SID>
ENV: dbs_mss_schema=<sid>
ENV: rsdb_ssfs_connect=0
EXECUTING D:\usr\sap\RES\DVEBMGS01\exe\tp.EXE "pf=D:\usr\sap\<SID>\SUM\abap\var\DEFAULT.TPP" getdbinfo SID
TRACE-INFO: 1: [ dev trc,00000] Mon Aug 11 20:14:06 2014 104676 0.104676
TRACE-INFO: 2: [ dev trc,00000] DlLoadLib success: LoadLibrary("dbmssslib.dll"), hdl 0, count 1, addr 00007FFABDAD0000
TRACE-INFO: 3: 7 0.104683
TRACE-INFO: 4: [ dev trc,00000] using "D:\usr\sap\<sid>\DVEBMGS01\exe\dbmssslib.dll" 7 0.104690
ERROR: No connect due to DbSl Load Lib Failure
ERROR: Possible reasons are:
ERROR: - The value set for dbms_type ('mss') is invalid.
ERROR: - Cannot find the DLL dbmssslib.dll in path
ERROR: - problems when loading DB-dependent DLLs
ERROR: Connect to <SID>failed (20140811201406).
SAPup> Process with PID 3224 terminated with status 249 at 20140811201406!
R3trans -d returns following error (note: everything is normal at MMC and i am able to login SAP asusuall)
This is r3trans version 6.24 (release 741 - 10.06.14 - 20:14:07).
unicode enabled version
2EETW169 no connect possible: "connect failed with DBLI_RC_LOAD_LIB_FAILED."
r3trans finished (0012).
i have checked/ tried the following things but did not help
1. dbms_type is correct and check other parametrs aswell
2. downloaded latest dbmssslib.dll and tried replacing but did not help
3.replaced r3trans and TP with new patch level
4.checked scn for similar posts
please help me resolve this issue
thanks,
Shivgetting following error now
Checks after phase PREP_IMPORT/TOOLIMP_TOOLDEL_PRE were negative!
Last error code set: Detected 1 aborted activities in 'PHASES.ELG'<br/> Calling 'D:\usr\sap\<sid>\DVEBMGS01\exe/tp' failed with return code 12, check D:\usr\sap\<sid>\SUM\abap\log\SAPup.ECO for details
ERROR: Detected the following errors:
# D:\usr\sap\<sid>\SUM\abap\log\LM1I000099.<sid>: 4 ETW000 > parallel 3 4 ETW000 > 4 ETW000 > excluding 'R3TRDDDD','R3TRDOMA','R3TRDTEL','R3TRENQU','R3TRMACO','R3TRMCID','R3TRMCOB','R3TRSHLP','R3TRSQLT','R3TRTABL','R3TRTTYP','R3TRUENO','R3TRVIEW' 4 ETW000 R3trans was called as follows: D:\usr\sap\<sid>\DVEBMGS01\exe\R3trans.exe -u 26 -w D:\usr\sap\<sid>\SUM\abap\tmp\LM1I000099.<sid> D:\usr\sap\<sid>\SUM\abap\tmp\LM1KK000099.<sid> 4 ETW000 active unconditional modes: 26 2EETW169 no connect possible: "connect failed with DBLI_RC_LOAD_LIB_FAILED."
thanks,
Shhiv -
TP error: connect failed due to DbSL load lib failure
Hi All,
I have prepared Quality system from Production system as System copy.I have upgarded Kernel from 620 to 640 in Quality system.
After Kernel upgrade , Server details are as below
Operating System : windows 2003 IA 64
Database : SQL server 2000 IA 64
Kernel :640 and compiled for 64 bit non unicode system ,
patch number is 43.
SAP : SAP R/3 4.7
Before kernel upgrade , server details are as below
Operating System : windows 2000 server
Database : SQL server 2000
Kernel :620 and compiled for Non unicode system ,patch number
is 1363
SAP : SAP R/3 4.7
I am able to transport request from Development to Quality . But when I try to import request from Quality I am getting error message "Connect failed due to DBSL Load lib failure"
Error message is " connect failed due to DBSL load lib failure
cannot find the DLL dbmssslib.dll in path( K:\usr\sap\NBQ\SYS\exe\run)
problem when loading DB-dependent DLLs."
I have set Environmnet variable ( DBMS_TYPE value as mss) for nbqadm user.
I have seen that dbmssslib.dll file is exist in exe/run path.
Does anyone having an Idea , how to resolve this issue.Pls help me
Thanks in advance
Regards
VenuHi ,
Thanks for all
Issue is resolved by myself.
Instead of update Kernel to 640 , I have downloaded latest 620 kernel patch on IA 64 .
Since my production server is running on x86 and 620 kernel , i have downloaded 620 kernel for IA 64 .
That resolved my issue.
Regards
Sai -
Erro: connect failed due to DbSL load lib failure
Error when trying to transport request
Error Attach.
My database is SQL 2008
Version of the kernel source: 201
Version of the kernel target: 225
Can you help me?
Tks,
RenatoHi,
I include the environment variables that were gone and rebooted the server, the error changed:
Erro: connect failed
Error code 0232
Tks,
Renato -
Import of a request failing : ERROR: connect failed due to DbSL load lib fa
Hi,
I am using ecc6, on hp-unix and oracle as database.
When i try to import a request from stms, i get this error.
DURING IMPORT ERROR:
Transport control program tp ended with error code 0249
Errors: connect failed due to DbSL load lib failure
TP ERROR:
Transport control program tp ended with error code 0249
Message no. XT200
Diagnosis
An error occurred when executing a tp command.
Command: IMPORT E07K901512 DEV client100 U01 pf=/usr/sap/tr
Return code: 0249
Error text: connect failed due to DbSL load lib failure
Request: E08K901525
System Response
The function terminates.
Procedure
Correct the error and execute the command again if necessary.
THEN I TRIED TO IMPORT USING TP COMMAND:
WITH OUT DIR_LIBRARY
% ./tp connect DEV
This is ./tp version 370.00.09 (release 700, unicode enabled)
E-TPSETTINGS could not be opened.
EXIT
ERROR: System : Parameter SAPEVTPATH not set. Batch jobs cannot be started.
Error in TPSETTINGS: transdir not set.
tp returncode summary:
TOOLS: Highest return code of single steps was: 0
ERRORS: Highest tp internal error was: 0208
tp finished with return code: 208
meaning:
error in transportprofil (param missing, unknown,...)
% ./R3trans -d
This is ./R3trans version 6.14 (release 700 - 18.09.06 - 09:35:00).
unicode enabled version
2EETW169 no connect possible: "environment variable DIR_LIBRARY is not set."
./R3trans finished (0012).
% # export DIR_LIBRARY=/usr/sap/DEV/SYS/exe/run
% ./R3trans -d
This is ./R3trans version 6.14 (release 700 - 18.09.06 - 09:35:00).
unicode enabled version
2EETW169 no connect possible: "DBMS = ORACLE --- ORACLE_SID =
'DEV'"
./R3trans finished (0012).
% ./tp connect DEV
This is ./tp version 370.00.09 (release 700, unicode enabled)
E-TPSETTINGS could not be opened.
EXIT
ERROR: System : Parameter SAPEVTPATH not set. Batch jobs cannot be started.
Error in TPSETTINGS: transdir not set.
tp returncode summary:
TOOLS: Highest return code of single steps was: 0
ERRORS: Highest tp internal error was: 0208
tp finished with return code: 208
meaning:
error in transportprofil (param missing, unknown,...)
COULD SOMEONE GIVE ME A SOLUTION TO OVERCOME THIS.
YOUR SOLUTION AND GREATELY APPRITIATED.
REGARDS,
DHANANJAYHi Dhanajay,
Firstly check if R3trans -d is working fine.
If so, please chek if the following parameters are set properly.
DIR_LIBRARY=/usr/sap/<SID>/SYS/exe/run
TRANSDIR = ....\trans
<SID>/DBHOST = <HOSTNAME>
<SID>/DBNAME = <SID>
<SID>/DBTYPE = ora
Execute the below command and check the transport profile:
tp check all pf=/usr/sap/trans/bin/TP_DOMAIN_<SID>.PFL
Please confirm the permission of the /oracle/ directory
The permission of the /oracle should be 755.
Also check if the import queue is not locked.
Also please ensure the Kernel is of latest version, if not, please update the DBSL shared library.Please look at the note 19466.
Finally you can try once distributing and activating the transport routes once.
When you executed command R3trans -d logfile trans.log will be created.
Please check this file for exact error information.
Paste the log file here.
Let us know the outcome.
Regards,
Sujit. -
Test call of transport control program (tp) ended with return code 0249
Hi,
When i release a TR i get the following error
Pls let me know of what can be the reason for the same
I did a kernel upgrade 2 days back
Test call of transport control program (tp) ended with return code 0249
Message no. TK094
Diagnosis
Your transport request could not be exported, since all requirements were not fulfilled.
Calling the transport control program tp
"tp EXPCHK BWDK900308 pf=
WDBSSAPBWD01\sapmnt\trans\bin\TP_DOMAIN_BWD.PFL -Dtransdi"
which checks the export requirements, returned the following information:
Return code from tp: 0249
Error text from tp: ERROR: No connect due to DbSl Load Lib Failure
System Response
Further processing is terminated.
Procedure
Check the following points:
u2022 Feasibility of the transport control program tp
u2022 Parameter settings in the transport profile
u2022 Availability of the transport directory and the subdirectories (cofiles, data, log, sapnames, bin)
u2022 Write authorization for the subdirectories
u2022 Write authorization for the files of the subdirectories cofiles, data, log, sapnames
Release the request again when the error has been removedHi Balaji,
End of your question contains the areas to be varified.
Your SAP seems to be installed in windows environment
Check transport profile paramater and file permissions.
Try to browse the directory
WDBSSAPBWD01\sapmnt\trans\bin\ from start->run
Check with tp connecting to DB with tp connect <SID>
chceck file permission to datafile and cofiles (in case of OS UNIX)
Regards,
Ganesh -
TREX: Return Code 8010 - Creating Connection Failed
Hi there,
I have uploaded a file in the repository and when I checked the queue it returned TREX: Preparation Failed. Checking on the TREX queue, it returned the code 8010 - Creating Connection Failed.
Any idea how to fix this issue?
Thanks!Please make sure that the Crawler/Crawler task is setup properly.
-
Transport control program tp ended with error code 0249
Hello guys,
I am facing an when importing transport. After I click import to the transport in STMS, before it runs, a message window is displayed immediately. This was working find until last week, any kind of transport is followed by the same error.
Transport control program tp ended with error code 0249
Message no. XT200
Diagnosis
An error occurred when executing a tp command.
Command: IMPORT BWDK903312 BIW client200 U0 pf=
sapbiw1a\s
Return code: 0249
Error text: connect failed due to DbSL load lib failure
Has anyone faced this error while trying to import a transport? I have not found the same error in sdn (0249)
help will be appreciated.
thanks
DGFYour are right, but which is the Basis forum?
Business Process Expert
Database & OS Platforms ABAP Development
Enterprise SOA Portal
Emerging Technologies
SAP Solutions
Business Intelligence
Scripting Languages
SAP Business One Industries
Community Discussions
SAP NetWeaver Application Server Integration and Certification Center (ICC) -
Hi gurus,
We are upgrading the test server.we face a problem.the error message is "connect failed due to dbsl load lib failure".
"cannot find the dll dboraslib.dll in path"
But dboraslib.dll in the Dir_executable path.
Please provide the solution.
regards
gunamoorthy dyou must check the system path or user path, not dir_executable.
try this:
start -> Run
CMD
set
you will see a list of parameters, check the values for PATH. you must have an entry equivalent to your dir_executable. if not, do this:
right click on MY COMPUTER
choose PROPERTIES
click on ADVANCED tab
click on button ENVIRONMENT VARIABLE
change PATH to add the needed path.
once this is completed, you will need to restart SAP services and close down all command prompts... then try again. -
Program ended with error or warning, return code: F
Friends, During client export i am facing below mention error, Pl suggest asap
Client export from 06.04.2011 18:00:44
System ID............................ PPT
R/3 Release.......................... 700
Basis Support Package...............SAPKB70018
Host................................. pptest
Start in background............. .....X
User................................. SUPER
Parameter
Source client........................ 500
Source client user masters............500
Copier profile:.......................SAP_ALL
Table selection
Command file......................... PPTKT00008
Customizing data .....................X
With application data................ X
Initialize and recreate......... X
Change documents are not copied
Transport control program tp ended with error code 0012
Error exporting request PPTKT00008 23:40:31
Program ended with error or warning, return code: F
Runtime (seconds) : 20,390
End of processing: 23:40:33There could be three things possibly causing this error:
1. There is some database issues, that is the connection to the database maybe is lost that's why TP ends.
2. The TP return Code can also arise due to issues at the OS level, where SAP is installed.
3. Due to permission issues also this can creep in. By permission issues I mean there are not enough permissions, please use trace ST01 and run the process again.
Also please paste the Imort Log, as it can help in further analysis and with that please give your database and OS informations. -
Virtual bus not load: warning setupDiEnumDeviceinterlaced() return code 259
When I boot my machine, I am starting to get the following error messages.
setupDiEnumDeviceinterlaced() return code 259
followed by
Virtual bus not loaded.
Does anyone know what this error is please and how I can get rid of it?
Thanks
LeeTo be honest this is the first time that I see such warning
Si goggled a little bit and found this MS article about the error message: Virtual bus not load
http://support.microsoft.com/kb/921440
It looks like the network adapter (LAN or Wlan card) could use a virtual bus driver which cannot be loaded
However, this story sounds really strange first of all MS article is speaking about Win XP and Windows Server 2003 OS
I assume your notebook has been equipped with the Vista
My recommendation is simply; take the Toshiba recovery disk and try to set the notebook back to factory settings. Then test if the error will appear again -
Document control failed due to error in [DOCMGR-CANCEL] with a return code
i am getting this error while calceling the purchase order "Document control failed due to error in [DOCMGR-CANCEL] with a return code of [OTHER]. "
I am doing the calcel like this
Nav: buyer work centre --> order
searche the po and then
select order --> cancel then click GO button
i gave the Reason as Cancel
communication method: email
Cancel Requisition: Yes
Please help on this, its urgent.
Thanks,
Vijay.Hi Vijay,
Check this MOS note.
Cancelling A Standard Purchase Order In Buyer Work Center Results In Error [Docmgr-Cancel] With A Return Code [ID 1338826.1]
Thanks
-Arif. -
Hi,
When i tried using the cancel PO API, it resulted in the following error.
Document control failed due to error in [DOCMGR-CANCEL], return code = [OTHER]
I searched the metalink and found out that it was a bug as p_doc_num variable was a number and in PO_HEADERS_ALL segment1 is VARCHAR2. But now the bug is fixed.
I tried both ways, with and without quotes but it is still giving this error. Please suggest.
I used the API in the following way.
DECLARE
l_return_status VARCHAR2(1);
BEGIN
fnd_global.apps_initialize(4480,20707,201);
--call the Cancel API
PO_Document_Control_PUB.control_document (
p_api_version=>1.0, -- p_api_version
p_init_msg_list=>FND_API.G_TRUE, -- p_init_msg_list
p_commit=>FND_API.G_TRUE, -- p_commit
x_return_status=>l_return_status,-- x_return_status
p_doc_type=>'PO', -- p_doc_type
p_doc_subtype=>'STANDARD', -- p_doc_subtype
p_doc_id=>34, -- p_doc_id
p_doc_num=>null, -- p_doc_num
p_release_id=>null, -- p_release_id
p_release_num=>null, -- p_release_num
p_doc_line_id=>null, -- p_doc_line_id
p_doc_line_num=>null, -- p_doc_line_num
p_doc_line_loc_id=>null, -- p_doc_line_loc_id
p_doc_shipment_num=>null, -- p_doc_shipment_num
p_action=>'CANCEL', -- p_action
p_action_date=>SYSDATE, -- p_action_date
p_cancel_reason=>null, -- p_cancel_reason
p_cancel_reqs_flag=>'N', -- p_cancel_reqs_flag
p_print_flag=>null, -- p_print_flag
p_note_to_vendor=>null ); -- p_note_to_vendor
commit;
-- Get any messages returned by the Cancel API
FOR i IN 1..FND_MSG_PUB.count_msg
LOOP
DBMS_OUTPUT.put_line(FND_MSG_PUB.Get(p_msg_index => i,
p_encoded => 'F'));
END LOOP;
END;
/first you have to assign org_id to the program,like fnd_client_info.set_org_context('167');
you also have to initialize,like this
fnd_global.initialize(session_id => l_session_id
,user_id => 2613
,resp_id => 50459
,resp_appl_id => 201
,security_group_id => 0
,site_id => -1
,login_id => 1102144
, --can't be -1,or else will be wrong
conc_login_id => 1102144
,prog_appl_id => -1
,conc_program_id => -1
,conc_request_id => -1
,conc_priority_request => NULL); -
DB connect failed return code 000256 --- disp_work ended
Hi Friends,
I have installed ides ECC 6 on oracle 10g on windows 2003 server.Now I am unable to start SAP console. While starting the disp+work getting ended. I found form the log that the DB connect failed return code 000256 in dev_disp.
snapshot is given below for the reference. Please advice with the resolution.Appreciate for an early response.
trc file: "dev_w0", trc level: 1, release: "700"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, MJ
B
B Mon May 18 17:14:23 2009
B create_con (con_name=R/3)
B Loading DB library 'D:\usr\sap\ECC\DVEBMGS04\exe\dboraslib.dll' ...
B Library 'D:\usr\sap\ECC\DVEBMGS04\exe\dboraslib.dll' loaded
B Version of 'D:\usr\sap\ECC\DVEBMGS04\exe\dboraslib.dll' is "700.08", patchlevel (0.46)
B New connection 0 created
M sysno 04
M sid ECC
M systemid 560 (PC with Windows NT)
M relno 7000
M patchlevel 0
M patchno 52
M intno 20050900
M make: multithreaded, Unicode, optimized
M pid 3096
M
M kernel runs with dp version 210000(ext=109000) (@(#) DPLIB-INT-VERSION-210000-UC)
M length of sys_adm_ext is 572 bytes
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3096) [dpxxdisp.c 1293]
I MtxInit: 30000 0 0
M
M Mon May 18 17:14:24 2009
M DpSysAdmExtCreate: ABAP is active
M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
M DpShMCreate: sizeof(wp_adm) 18304 (1408)
M DpShMCreate: sizeof(tm_adm) 3954072 (19672)
M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
M DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
M DpShMCreate: sizeof(comm_adm) 528064 (1048)
M DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
M DpShMCreate: sizeof(file_adm) 0 (72)
M DpShMCreate: sizeof(vmc_adm) 0 (1452)
M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
M DpShMCreate: sizeof(gw_adm) 48
M DpShMCreate: SHM_DP_ADM_KEY (addr: 06510040, size: 4613144)
M DpShMCreate: allocated sys_adm at 06510040
M DpShMCreate: allocated wp_adm at 06511E28
M DpShMCreate: allocated tm_adm_list at 065165A8
M DpShMCreate: allocated tm_adm at 065165D8
M DpShMCreate: allocated wp_ca_adm at 068DBB70
M DpShMCreate: allocated appc_ca_adm at 068E1930
M DpShMCreate: allocated comm_adm at 068E3870
M DpShMCreate: system runs without file table
M DpShMCreate: allocated vmc_adm_list at 06964730
M DpShMCreate: allocated gw_adm at 06964770
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated ca_info at 069647A0
M DpShMCreate: allocated wall_adm at 069647A8
X EmInit: MmSetImplementation( 2 ).
X MM diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation flat
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
M ThInit: running on host ecc6
M
M Mon May 18 17:14:26 2009
M calling db_connect ...
C Prepending D:\usr\sap\ECC\DVEBMGS04\exe to Path.
C Client NLS settings: AMERICAN_AMERICA.UTF8
C Logon as OPS$-user to get SAPSR3's password
C Connecting as /@C11 on connection 0 (nls_hdl 0) ... (dbsl 700 240106)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 UTF8 1 06B2C998 0597F194 0597EA1C
C Attaching to DB Server C11 (con_hdl=0,svchp=0597E968,svrhp=06B41714)
C Starting user session (con_hdl=0,svchp=0597E968,srvhp=06B41714,usrhp=06B8CD88)
C Now '/@C11' is connected (con_hdl 0, nls_hdl 0).
C Got SAPSR3's password from OPS$-user
C Disconnecting from connection 0 ...
C Closing user session (con_hdl=0,svchp=0597E968,usrhp=06B8CD88)
C Now I'm disconnected from ORACLE
C Connecting as SAPSR3/<pwd>@C11 on connection 0 (nls_hdl 0) ... (dbsl 700 240106)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 UTF8 1 06B2C998 0597F194 0597EA1C
C Starting user session (con_hdl=0,svchp=0597E968,srvhp=06B41714,usrhp=06B8CD88)
C *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 28000
[dboci.c 4345]
C Detaching from DB Server (con_hdl=0,svchp=0597E968,srvhp=06B41714)
C *** ERROR => CONNECT failed with sql error '28000'
[dbsloci.c 10704]
B ***LOG BY2=> sql error 28000 performing CON [dbsh#2 @ 1204] [dbsh 1204 ]
B ***LOG BY0=> ORA-28000: the account is locked [dbsh#2 @ 1204] [dbsh 1204 ]
B ***LOG BY2=> sql error 28000 performing CON [dblink#3 @ 431] [dblink 0431 ]
B ***LOG BY0=> ORA-28000: the account is locked [dblink#3 @ 431] [dblink 0431 ]
M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1403]
M in_ThErrHandle: 1
M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 10019]
M
M Info for wp 0
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source = 255
M last_tid = 0
M last_mode = 0
M semaphore = 0
M act_cs_count = 0
M control_flag = 0
M int_checked_resource(RFC) = 0
M ext_checked_resource(RFC) = 0
M int_checked_resource(HTTP) = 0
M ext_checked_resource(HTTP) = 0
M report = > <
M action = 0
M tab_name = > <
M vm = V-1
M
M *****************************************************************************
M *
M * LOCATION SAP-Server ecc6_ECC_04 on host ecc6 (wp 0)
M * ERROR ThInit: db_connect
M *
M * TIME Mon May 18 17:14:26 2009
M * RELEASE 700
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 10204
M * COUNTER 1
M *
M *****************************************************************************
M
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 720]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 260]
M Entering ThSetStatError
M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 3096) [dpnttool.c 327]
Regard's
Shashi> C *** ERROR => CONNECT failed with sql error '28000'
> [dbsloci.c 10704]
> B ***LOG BY2=> sql error 28000 performing CON [dbsh#2 @ 1204] [dbsh 1204 ]
> B ***LOG BY0=> ORA-28000: the account is locked [dbsh#2 @ 1204] [dbsh 1204 ]
> B ***LOG BY2=> sql error 28000 performing CON [dblink#3 @ 431] [dblink 0431 ]
> B ***LOG BY0=> ORA-28000: the account is locked [dblink#3 @ 431] [dblink 0431 ]
> M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1403]
Read Note 951167 ORA-28000: the account is locked
Markus
Maybe you are looking for
-
Hi Experts, I have a problem with a component usage when trying to change the OverviewSet Configuration for the Service Contract. The whole component BT112H_SC is complete standard and no enhancements have been made yet. When trying to change the con
-
Hello, I have a custom tree structure PDFnode: class PDFnode { private PDFnode parent; private ArrayList kids; Methods needed for working with the structure I want to create a JTree using my objects. How should I do that create this tree? Should I ex
-
New Nikon Workflow with Lightroom
Just thought I would share my new workflow with everyone, in case anyone is not happy with the raw conversion provided by Lightroom and would rather use Capture NX to do the raw conversion on their files, but still use Lightroom for cataloging and ra
-
Validating xhtml made by coldfusion
Hello there, I have problems validating the my Cold Fusion pages with the xhtml. Cold Fusion is inserting the javascript code (see below) ahead of the page header, as results the xhtml validation cannot find the DOCTYPE. The javascript is coming from
-
Je travaille sur un PC en Windows 8.1. Lors du processus d'autorisation pour la lecture d'un document PDF, Adobe ne reconnait pas mon ID et mon mot de passe. Merci de m'aider