Programmatically write to the sap-wd-clienttrace trace?
is there a way to write to the trace window from customer code (the window we get if we set sap-wd-clienttrace?)
It would be a nice alternative to the IWDMessageManager for tracing....
Hi Douglas,
Check it out
http://help.sap.com/erp2005_ehp_03/helpdata/EN/f4/651741f163f023e10000000a155106/frameset.htm
Thanks
Similar Messages
-
Obtaining the SAP NetWeaver version programmatically
Hello,
Can anyone tell me if (and how) I can obtain the version of the SAP NetWeaver application server from a Java program?
I have an application running on several platforms, one of which is SAP NetWeaver. The application has a system information page in which we show system information like OS, RDBMS, etc. I would also like to add the name and version of the application server the application is running on.
Any help is greatly appreciated.
Thanks!Thank you for your response, but that's not exactly what I'm after.
What I would like to know is how to obtain the version through a Java program.
On e.g. JBoss this is easily done by using an MBean, retrieving the version:
MBeanServerConnection server = (MBeanServerConnection)new InitialContext().lookup("jmx/rmi/RMIAdaptor");
ObjectName on = new ObjectName("jboss.system:type=Server");
Object version = server.getAttribute(on, "VersionNumber");
I would like to use something similar for running on the SAP NetWeaver server.
Edited by: lfeijtel on Feb 10, 2011 11:22 AM -
Error while creating request list Unable to detect the SAP system directory
We are upgrading SAP BW (NW 7.0 EHP1) to SAP BW (NW 7.3)
source OS: Windows 2008 R2, source DB: MSSQL server 2008 R2 SP1 CU3
I had started the upgrade by running: STARTUP.BAT
I had started the DSUGui on the server (CI / DB on the same server) from: D:\usr\sap\BP1\upg\sdt\exe\DSUGui.bat
I ran both programs (run as administrators).
Once SAP Gui connects and was able to create userid/ password and when ready to start the initialization phase (click next)
gives me the error
Error while creating request list - see preceeding messages. Unable to detect the SAP system directory on the local host
I had tried STARTUP.BAT "jce_policy_zip=Z:\export-import\downloads\jce_policy-6' and still the same error.
I had started DSUGui.bat with trace and the trace file contents are
<!LOGHEADER[START]/>
<!HELP[Manual modification of the header may cause parsing problem!]/>
<!LOGGINGVERSION[2.0.7.1006]/>
<!NAME[D:
usr
sap
bp1
upg
sdt
trc
server.trc]/>
<!PATTERN[server.trc]/>
<!FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%s]: %-100l [%t]: %m)]/>
<!ENCODING[UTF8]/>
<!LOGHEADER[END]/>
Jan 11, 2012 10:14:58 AM [Error]: com.sap.sdt.engine.core.communication.AbstractCmd.log(AbstractCmd.java:102) [Thread[ExecuteWorker,5,main]]: Execution of command com.sap.sdt.engine.core.communication.CmdActionEvent@376433e4 failed: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
Jan 11, 2012 10:14:58 AM [Error]: com.sap.sdt.engine.core.communication.AbstractCmd.log(AbstractCmd.java:103) [Thread[ExecuteWorker,5,main]]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
Jan 11, 2012 10:14:58 AM [Error]: com.sap.sdt.engine.core.communication.AbstractCmd.log(AbstractCmd.java:103) [Thread[ExecuteWorker,5,main]]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
Jan 11, 2012 10:14:58 AM [Error]: com.sap.sdt.engine.core.communication.CmdActionEvent [Thread[ExecuteWorker,5,main]]: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of an object returned from com.sap.sdt.dsu.service.req.DSURequestListBuilder.getSystemDir()
at com.sap.sdt.dsu.service.req.DSURequestListBuilder.persistSystemInfo(DSURequestListBuilder.java:277)
at com.sap.sdt.dsu.service.DSUService.createRequestList(DSUService.java:338)
at com.sap.sdt.dsu.service.controls.DSUListener.actionNext(DSUListener.java:144)
at com.sap.sdt.dsu.service.controls.DSUListener.actionPerformed(DSUListener.java:67)
at com.sap.sdt.server.core.controls.SDTActionListener$Listener.actionPerformed(SDTActionListener.java:46)
at com.sap.sdt.engine.core.communication.CmdActionEvent.actOnEvent(CmdActionEvent.java:43)
at com.sap.sdt.engine.core.communication.CmdEvent.execute(CmdEvent.java:69)
at com.sap.sdt.engine.core.communication.ExecWorker.handleCmd(ExecWorker.java:36)
at com.sap.sdt.engine.core.communication.AbstractWorker.run(AbstractWorker.java:93)
I could not get Upgrade started. Any help is appreciated
Thanks
PrathapDid you get this solved?
I have the same problem -
Unable to Logon to the SAP System after Installing SAPNW2004sSneakPreviewAB
Hi
I Installed SAPNW2004sSneakPreviewABAP.
If i am trying to run the NSP Server it first Starting (Showing Blue Color ) and after few seconds it is becoming Yellow in Color. When i cross checked in Process list it is showing one of the process in yellow color i.e.
disp+work.EXE whose description is Dispatcher
and Status is showing as "Running but Dialog Queue standstill"
May be because of this i am unable to log on the SAP System.
One more thing i got a licence key from SAP but when i am trying to intall licence key using saplicence -install this is also not working it is showing following error message.
SAPLICENSE (Release 700) ERROR ***
ERROR: Can not set DbSl trace function
DETAILS: DbSlControl(DBSL_CMD_IMP_FUNS_SET) failed with return code 20
RC-INFO: error loading dynamic db-library - check environment for:
dbms_type = <db-type> (e.g. ora)
DIR_LIBRARY = <path to db-dll> (e.g. /usr/sap/SID/SYS/exe/run)
Could you please help in thisPlease refer to this post as this is a duplicate.
Problem after installing SAPNW2004sSneakPreviewABAP
Please close this post. Thanks.
Regards,
Rich Heilman -
The SAP Instance JC00 fails to start on aIX box
Hi,
I am installing SAP Netweaver on AIX box.
The instalaltion process fails at the phase 33 of 34
the SAP Instance JC00 fails to start
if i chek the error fiel
Trace of system startup/check of SAP System DON on Tue Dec 26 16:00:51 CST 2006
Called command: /usr/sap/DON/SYS/exe/run/startsap
Starting SAP Instance JC00
SAP-R/3-Startup Program Rel 640 V1.8 (2003/04/24)
Starting at 2006/12/26 16:00:51
Startup Profile: "/usr/sap/DON/SYS/profile/START_JC00_pun-lpar-idm03"
(655470) SETENV LD_LIBRARY_PATH=/usr/sap/DON/JC00/j2ee/os_libs:
Setup Environment Variables
(655470) SETENV SHLIB_PATH=/usr/sap/DON/JC00/j2ee/os_libs:
(655470) SETENV LIBPATH=/usr/sap/DON/JC00/j2ee/os_libs:/usr/lib:/lib:/usr/sap/DON/SYS/exe/run:/oracle///instantclient
Execute Pre-Startup Commands
(655470) Local: rm -f jc.sapDON_JC00
(655470) Local: ln -s -f /usr/sap/DON/JC00/j2ee/os_libs/jcontrol jc.sapDON_JC00
Starting Programs
(651450) Starting: local jc.sapDON_JC00 pf=/usr/sap/DON/SYS/profile/DON_JC00_pun-lpar-idm03
(655470) Waiting for Child Processes to terminate.
(655470) **** 2006/12/26 16:00:56 Child 651450 terminated with Status 255 . ****
(655470) **** No more Child Processes to wait for.
(655470) Parent Shutdown at 2006/12/26 16:00:56
Execute Post-Shutdown Commands
(655470) Exiting with Return-Code 3. (No more child processes)
Startup of Instance failed
What can be the problem here
Regards
ManojHi Siddesh,
Thanks for the response
The trace is form the file dev_jcontrol located in "/usr/sap/DON/JC00/work" directory
"dev_jcontrol" 111 lines, 5297 characters
trc file: "/usr/sap/DON/JC00/work/dev_jcontrol", trc level: 1, release: "640"
node name : jcontrol
pid : 610394
system name : DON
system nr. : 00
started at : Tue Dec 26 19:12:38 2006
arguments :
arg[00] : jc.sapDON_JC00
arg[01] : pf=/usr/sap/DON/SYS/profile/DON_JC00_pun-lpar-idm03
JStartupReadInstanceProperties: read instance properties [/usr/sap/DON/JC00/j2ee/cluster/instance.properties:/usr/sap/DON/JC00/SDM/p
rogram/config/sdm_jstartup.properties]
-> ms host : pun-lpar-idm03
-> ms port : 3601
-> OS libs : /usr/sap/DON/JC00/j2ee/os_libs
-> Admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
Used property files
-> files [00] : /usr/sap/DON/JC00/j2ee/cluster/instance.properties
-> files [01] : /usr/sap/DON/JC00/SDM/program/config/sdm_jstartup.properties
Instance properties
-> ms host : pun-lpar-idm03
-> ms port : 3601
-> os libs : /usr/sap/DON/JC00/j2ee/os_libs
-> admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
:$
trc file: "/usr/sap/DON/JC00/work/dev_jcontrol", trc level: 1, release: "640"
node name : jcontrol
pid : 610394
system name : DON
system nr. : 00
started at : Tue Dec 26 19:12:38 2006
arguments :
arg[00] : jc.sapDON_JC00
arg[01] : pf=/usr/sap/DON/SYS/profile/DON_JC00_pun-lpar-idm03
JStartupReadInstanceProperties: read instance properties [/usr/sap/DON/JC00/j2ee/cluster/instance.properties:/usr/sap/DON/JC00/SDM/p
rogram/config/sdm_jstartup.properties]
-> ms host : pun-lpar-idm03
-> ms port : 3601
-> OS libs : /usr/sap/DON/JC00/j2ee/os_libs
-> Admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
Used property files
-> files [00] : /usr/sap/DON/JC00/j2ee/cluster/instance.properties
-> files [01] : /usr/sap/DON/JC00/SDM/program/config/sdm_jstartup.properties
Instance properties
-> ms host : pun-lpar-idm03
-> ms port : 3601
-> os libs : /usr/sap/DON/JC00/j2ee/os_libs
-> admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
Bootstrap nodes
-> [00] bootstrap : /usr/sap/DON/JC00/j2ee/cluster/instance.properties
Worker nodes
-> [00] sdm : /usr/sap/DON/JC00/SDM/program/config/sdm_jstartup.properties
[Thr 1] Tue Dec 26 19:12:38 2006
[Thr 1] SigISetDefaultAction : default handling for signal 20
[Thr 1] JControlExecuteBootstrap: execute bootstrap process [bootstrap]
[Thr 1] [Node: bootstrap] java home is set by profile parameter
Java Home: /usr/java14_64
JStartupIReadSection: read node properties [bootstrap]
-> node name : bootstrap
-> node type : bootstrap
-> java path : /usr/java14_64
-> java parameters : -Djco.jarm=1 -Djco.jarm=1
-> java vm version : J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142ifx-20060209 (SR4-1) (JIT enabled: jitc)
-> java vm vendor : Classic VM (IBM Corporation)
-> java vm type : <default>
-> java vm cpu : ppc64
-> heap size : 128M
-> root path : /usr/sap/DON/JC00/j2ee/cluster
-> class path : ./bootstrap/launcher.jar
-> OS libs path : /usr/sap/DON/JC00/j2ee/os_libs
-> main class : com.sap.engine.offline.OfflineToolStart
-> framework class : com.sap.bc.proj.jstartup.JStartupFramework
-> registr. class : com.sap.bc.proj.jstartup.JStartupNatives
-> framework path : /usr/sap/DON/JC00/j2ee/os_libs/jstartup.jar
-> parameters : com.sap.engine.bootstrap.Bootstrap ./bootstrap ID0035316
-> debuggable : yes
-> debug mode : no
-> debug port : 60000
-> shutdown timeout: 120000
JStartupStartJLaunch: program = /usr/sap/DON/JC00/j2ee/os_libs/jlaunch
-> arg[00] = /usr/sap/DON/JC00/j2ee/os_libs/jlaunch
-> arg[01] = pf=/usr/sap/DON/SYS/profile/DON_JC00_pun-lpar-idm03
-> arg[02] = -DSAPINFO=DON_00_bootstrap
-> arg[03] = -file=/usr/sap/DON/JC00/j2ee/cluster/instance.properties
-> arg[04] = -nodeName=bootstrap
-> arg[05] = -nodeId=-1
-> arg[06] = -syncSem=9437188
-> arg[07] = -jvmOutFile=/usr/sap/DON/JC00/work/jvm_bootstrap.out
-> arg[08] = -stdOutFile=/usr/sap/DON/JC00/work/std_bootstrap.out
-> arg[09] = -locOutFile=/usr/sap/DON/JC00/work/dev_bootstrap
-> arg[10] = -mode=BOOTSTRAP
-> arg[11] = pf=/usr/sap/DON/SYS/profile/DON_JC00_pun-lpar-idm03
-> lib path = LIBPATH=/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/usr/sap/DON/JC00/j2ee/os_libs:/u
sr/sap/DON/SYS/exe/run:/usr/sap/DON/SYS/exe/run:/usr/sap/DON/SYS/exe/run:/tmp/sapinst_exe.360486.1167110312:/usr/lib:/usr/sap/DON/JC
00/j2ee/os_libs:/usr/sap/DON/JC00/j2ee/os_libs:/usr/lib:/lib:/usr/sap/DON/SYS/exe/run:/oracle///instantclient
-> exe path = PATH=/usr/java14_64/bin:/usr/sap/DON/JC00/j2ee/os_libs:/oracle/DON/102_64/bin:/usr/java14_64/bin:/home/donadm:/usr/sap
/DON/SYS/exe/run:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/donadm/bin:/usr/bin/X11:/sbin:.
[Thr 1] JStartupICreateProcess: fork process (pid 274544)
[Thr 1] Tue Dec 26 19:12:55 2006
[Thr 1] *** ERROR => invalid return code of process [bootstrap] (exitcode=-1) [jstartxx_mt. 1433]
[Thr 1] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc=-1)
[Thr 1] JControlCloseProgram: started (exitcode = -1)
[Thr 1] JControlCloseProgram: good bye... (exitcode=-1)
:q
pun-lpar-idm03:donadm 68> ls -lt
total 128
-rw-rr 1 donadm sapsys 329 Dec 26 19:12 INSTSTAT
-rw-rr 1 donadm sapsys 1323 Dec 26 19:12 sapstart.log
-rw-rr 1 donadm sapsys 5297 Dec 26 19:12 dev_jcontrol
-rw-rr 1 donadm sapsys 7556 Dec 26 19:12 dev_bootstrap
-rw-rr 1 donadm sapsys 615 Dec 26 19:12 std_bootstrap.out
-rw-rr 1 donadm sapsys 158 Dec 26 19:12 sapstart0.trc
-rw-rr 1 donadm sapsys 158 Dec 26 19:12 stderr0
-rw-rr 1 donadm sapsys 0 Dec 26 19:12 stdout0
-rw-rr 1 donadm sapsys 240 Dec 26 19:12 dev_sapstart
-rw-rr 1 donadm sapsys 0 Dec 26 19:12 dev_tp
lrwxrwxrwx 1 donadm sapsys 39 Dec 26 19:12 jc.sapDON_JC00 -> /usr/sap/DON/JC00/j2ee/os_libs/jcontrol
-rw-rr 1 donadm sapsys 0 Dec 26 19:11 dev_tp.old
-rw-rr 1 donadm sapsys 5519 Dec 26 17:32 dev_jcontrol.old
-rw-rr 1 donadm sapsys 7568 Dec 26 17:32 dev_bootstrap.old
-rw-rr 1 donadm sapsys 1045 Dec 26 17:32 dev_jcmon
-rw-rr 1 donadm sapsys 1045 Dec 26 17:32 dev_jcmon.old
pun-lpar-idm03:donadm 69> vi dev_bootstrap
"dev_bootstrap" 176 lines, 7556 characters
trc file: "/usr/sap/DON/JC00/work/dev_bootstrap", trc level: 1, release: "640"
node name : bootstrap
pid : 274544
system name : DON
system nr. : 00
started at : Tue Dec 26 19:12:38 2006
arguments :
arg[00] : /usr/sap/DON/JC00/j2ee/os_libs/jlaunch
arg[01] : pf=/usr/sap/DON/SYS/profile/DON_JC00_pun-lpar-idm03
arg[02] : -DSAPINFO=DON_00_bootstrap
arg[03] : pf=/usr/sap/DON/SYS/profile/DON_JC00_pun-lpar-idm03
JStartupReadInstanceProperties: read instance properties [/usr/sap/DON/JC00/j2ee/cluster/instance.properties]
-> ms host : pun-lpar-idm03
-> ms port : 3601
-> OS libs : /usr/sap/DON/JC00/j2ee/os_libs
-> Admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
Used property files
-> files [00] : /usr/sap/DON/JC00/j2ee/cluster/instance.properties
Instance properties
-> ms host : pun-lpar-idm03
-> ms port : 3601
-> os libs : /usr/sap/DON/JC00/j2ee/os_libs
-> admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
:$
-> debug mode : no
-> debug port : 60000
-> shutdown timeout: 120000
[Thr 772] JLaunchIStartFunc: Thread 772 started as Java VM thread.
JHVM_LoadJavaVM: VM Arguments of node [bootstrap]
-> stack : 1048576 Bytes
-> arg[ 0]: exit
-> arg[ 1]: abort
-> arg[ 2]: -Djco.jarm=1
-> arg[ 3]: -Djco.jarm=1
-> arg[ 4]: -Dsys.global.dir=/sapmnt/DON/global
-> arg[ 5]: -Dapplication.home=/usr/sap/DON/JC00/j2ee/os_libs
-> arg[ 6]: -Djava.class.path=/usr/sap/DON/JC00/j2ee/os_libs/jstartup.jar:./bootstrap/launcher.jar
-> arg[ 7]: -Djava.library.path=/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/usr/sap/DON/JC00/j2ee
/os_libs:/usr/sap/DON/SYS/exe/run:/usr/sap/DON/SYS/exe/run:/usr/sap/DON/SYS/exe/run:/tmp/sapinst_exe.360486.1167110312:/usr/lib:/usr
/sap/DON/JC00/j2ee/os_libs:/usr/sap/DON/JC00/j2ee/os_libs:/usr/lib:/lib:/usr/sap/DON/SYS/exe/run:/oracle///instantclient
-> arg[ 8]: -Dmemory.manager=128M
-> arg[ 9]: -Xmx128M
-> arg[ 10]: -DLoadBalanceRestricted=no
-> arg[ 11]: -Djstartup.mode=BOOTSTRAP
-> arg[ 12]: -Djstartup.ownProcessId=274544
-> arg[ 13]: -Djstartup.ownHardwareId=F0052428966
-> arg[ 14]: -Djstartup.whoami=bootstrap
-> arg[ 15]: -Djstartup.debuggable=yes
-> arg[ 16]: -DSAPINFO=DON_00_bootstrap
-> arg[ 17]: -DSAPSTARTUP=1
-> arg[ 18]: -DSAPSYSTEM=00
-> arg[ 19]: -DSAPSYSTEMNAME=DON
-> arg[ 20]: -DSAPMYNAME=pun-lpar-idm03_DON_00
-> arg[ 21]: -DSAPDBHOST=
-> arg[ 22]: -Dj2ee.dbhost=pun-lpar-idm03
Signal 6 encountered.
=> 64 bit R/3 Kernel
=> 64 bit AIX Kernel
=> Heap limit = unlimited
=> Stack limit = unlimited
=> Core limit = unlimited
=> File size limit = unlimited
=> Heap address = 0x0x111179f20
=> Stack address = 0x111151b00
=> Stack low = 0x11114f200
=> Stack high = 0xffffffffffff470
=> Stack Trace:
pthread_kill() at 0x90000000040d2b4
praise() at 0x90000000040ccec
raise() at 0x900000000049c50
abort() at 0x900000000073eb0
GetPropertiesMD() at 0x900000004267774
ciCreateJVM() at 0x9000000042ff824
JNI_CreateJavaVM() at 0x90000000429329c
JHVM_LoadJavaVM() at 0x1000918d4
JLaunchIStartFunc() at 0x10008bb14
pthreadbody() at 0x9000000003f92d8
!!! Invalid stack address encountered: 0x0
!!! Stack corrupted.
=> CPU Registers:
msr = 0xa00000000000d032 iar = 0x090000000040d2b4
ctr = 0xffffffff00418400 lr = 0xffffffffffffffff
xer = 0x00000000ffffffff cr = 0x0000000000000000
r00 = 0xffffffffffffffff r01 = 0x0000000111151b00
r02 = 0xffffffffffffffff r03 = 0x0000000000000000
r04 = 0xffffffffffffffff r05 = 0xffffffffffffffff
r06 = 0xffffffffffffffff r07 = 0xffffffffffffffff
r08 = 0xffffffffffffffff r09 = 0xffffffffffffffff
r10 = 0xffffffffffffffff r11 = 0xffffffffffffffff
r12 = 0xffffffffffffffff r13 = 0x0000000111153994
r14 = 0x0000000000000000 r15 = 0x0000000000000000
r16 = 0x0000000000000000 r17 = 0x0000000000000000
r18 = 0x0000000000000000 r19 = 0x0000000000000000
r20 = 0x0000000000000000 r21 = 0x0000000000000000
r22 = 0x0000000000000000 r23 = 0x0000000000000000
r24 = 0x0000000000000000 r25 = 0x0000000000000000
r26 = 0x0000000000000000 r27 = 0x09001000a1c9ea40
r28 = 0x0000000111153994 r29 = 0x0000000000000006
r30 = 0x0000000000000304 r31 = 0x0000000000000006
[Thr 772] ***LOG Q0E=> SigIGenAction, signal ( 6) [sigux_mt.c 836]
:q
pun-lpar-idm03:donadm 70> /usr/sbin/lsattr -E -l sys0 -a realmem
realmem 1048576 Amount of usable physical memory in Kbytes False
pun-lpar-idm03:donadm 71>
pun-lpar-idm03:donadm 71>
pun-lpar-idm03:donadm 71> pwd
/usr/sap/DON/JC00/work
pun-lpar-idm03:donadm 72> ls
INSTSTAT dev_jcmon dev_jcontrol.old dev_tp.old sapstart0.trc stdout0
dev_bootstrap dev_jcmon.old dev_sapstart jc.sapDON_JC00 std_bootstrap.out
dev_bootstrap.old dev_jcontrol dev_tp sapstart.log stderr0
pun-lpar-idm03:donadm 73> vi dev_jcontrol
"dev_jcontrol" 111 lines, 5297 characters
trc file: "/usr/sap/DON/JC00/work/dev_jcontrol", trc level: 1, release: "640"
node name : jcontrol
pid : 610394
system name : DON
system nr. : 00
started at : Tue Dec 26 19:12:38 2006
arguments :
arg[00] : jc.sapDON_JC00
arg[01] : pf=/usr/sap/DON/SYS/profile/DON_JC00_pun-lpar-idm03
JStartupReadInstanceProperties: read instance properties [/usr/sap/DON/JC00/j2ee/cluster/instance.properties:/usr/sap/DON/JC00/SDM/p
rogram/config/sdm_jstartup.properties]
-> ms host : pun-lpar-idm03
-> ms port : 3601
-> OS libs : /usr/sap/DON/JC00/j2ee/os_libs
-> Admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
Used property files
-> files [00] : /usr/sap/DON/JC00/j2ee/cluster/instance.properties
-> files [01] : /usr/sap/DON/JC00/SDM/program/config/sdm_jstartup.properties
Instance properties
-> ms host : pun-lpar-idm03
-> ms port : 3601
-> os libs : /usr/sap/DON/JC00/j2ee/os_libs
-> admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
:$
-> arg[04] = -nodeName=bootstrap
-> arg[05] = -nodeId=-1
-> arg[06] = -syncSem=9437188
-> arg[07] = -jvmOutFile=/usr/sap/DON/JC00/work/jvm_bootstrap.out
-> arg[08] = -stdOutFile=/usr/sap/DON/JC00/work/std_bootstrap.out
-> arg[09] = -locOutFile=/usr/sap/DON/JC00/work/dev_bootstrap
-> arg[10] = -mode=BOOTSTRAP
-> arg[11] = pf=/usr/sap/DON/SYS/profile/DON_JC00_pun-lpar-idm03
-> lib path = LIBPATH=/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/usr/sap/DON/JC00/j2ee/os_libs:/u
sr/sap/DON/SYS/exe/run:/usr/sap/DON/SYS/exe/run:/usr/sap/DON/SYS/exe/run:/tmp/sapinst_exe.360486.1167110312:/usr/lib:/usr/sap/DON/JC
00/j2ee/os_libs:/usr/sap/DON/JC00/j2ee/os_libs:/usr/lib:/lib:/usr/sap/DON/SYS/exe/run:/oracle///instantclient
-> exe path = PATH=/usr/java14_64/bin:/usr/sap/DON/JC00/j2ee/os_libs:/oracle/DON/102_64/bin:/usr/java14_64/bin:/home/donadm:/usr/sap
/DON/SYS/exe/run:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/donadm/bin:/usr/bin/X11:/sbin:.
[Thr 1] JStartupICreateProcess: fork process (pid 274544)
[Thr 1] Tue Dec 26 19:12:55 2006
[Thr 1] *** ERROR => invalid return code of process [bootstrap] (exitcode=-1) [jstartxx_mt. 1433]
[Thr 1] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc=-1)
[Thr 1] JControlCloseProgram: started (exitcode = -1)
[Thr 1] JControlCloseProgram: good bye... (exitcode=-1) -
Central instance can not startup when i install the SAP /DB2 9 env
Hi,
could anybody help me? I just installed the SAP /db2 V9.1 on HACMP cluster envrioment . By now , the SCS, ASCS, DB instance installation have been OK, Unfortunately , an
error occurs when I installed the CI.
the error message is that "ABAP Database db must be started on remote server " i check the trans.log , the error message is "DbSlConnect to 'AE1' as 'sapae1' failed" the detail informatioin ,please check the the following trans.log. but i can startup and activate the database, i can connect to db with sapae1 and sapae1 user with password.
first i install the DB2 software and db2 instance with the virtual hostname dbae1. i found the hostname in the db2cfg.log is not virtual hostname but physical name. i don't know what happens. In order to keep the hostname the same, i installed the CI on sapaix01, the error message is the same as before. i have upgrade the sap kernel and reinstall the CI again, the error is the same as before too Could you give me some suggestion.
First let me describe our cluster enviroment
For CI, and DI are not a Single point of failure , so the DI and CI
are out of cluster. The cluster enviroment just includes the
SCSASCS and DB instance. SCSASCS is installed on sapaix02, DB instance is installed on sapaix01
1. Host name
sapaix01 : DB instance and DI (visual hostname dbae1)
sapaix02: SCS,ASCS, CI (visual hostname scsae1)
2. file systems (sapaix01 DB instance )
Sapaix01
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 6291456 4792544 24% 2808 1% /
/dev/hd2 13107200 6175040 53% 73295 10% /usr
/dev/hd9var 13107200 12816904 3% 1336 1% /var
/dev/hd3 61603840 35610304 43% 3844 1% /tmp
/dev/fwdump 786432 785656 1% 4 1%
/var/adm/ras/platform
/dev/hd1 1048576 1016152 4% 213 1% /home
/proc - - - - - /proc
/dev/hd10opt 4194304 2512624 41% 6241 3% /opt
/dev/lvusrsapae1d10 41943040 41935984 1% 4 1%
/usr/sap/AE1/D10 (Local file system)
/dev/lvdb2ae1 20971520 20927640 1% 38 1% /db2/AE1
/dev/lvdb2logs 20971520 18346424 13% 25 1%
/db2/AE1/log_dir
/dev/lvdb2archive 41943040 41935984 1% 4 1%
/db2/AE1/log_archive
/dev/lvae1sapdata1 104857600 18817168 83% 47 1%
/db2/AE1/sapdata1
/dev/lvae1sapdata2 104857600 18817400 83% 48 1%
/db2/AE1/sapdata2
/dev/lvae1sapdata3 104857600 18817184 83% 48 1%
/db2/AE1/sapdata3
/dev/lvae1sapdata4 104857600 18817168 83% 48 1%
/db2/AE1/sapdata4
/dev/lvdb2db2ae1 20971520 19874760 6% 3931 1% /db2/db2ae1
/dev/lvae1saptemp 20971520 20967584 1% 12 1%
/db2/AE1/saptemp1
/dev/lvdb2db2as 10485760 10483504 1% 4 1% /db2/db2as
/dev/lvae1db2dump 10485760 10470600 1% 8 1%
/db2/AE1/db2dump
scsae1:/export/usr/sap/trans 20971520 20967592 1% 16 1%
/usr/sap/trans
scsae1:/export/sapmnt/AE1 12582912 9886168 22% 1529 1%
/sapmnt/AE1
10.241.13.54:/software2 1755152384 1154051696 35% 62702 1%
/software2
For the database version is 9.1 , so I installed the db2 software in
/db2/db2ae1/v9 , and db2 client software in /opt/IBM/db2/V9.1 (for DI)
on sapaix01, db2 client software in /opt/IBM/db2/V9.1 (I installed the
db software with virtual hostname dbae1 not sapaix01 )
sapaix02
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 6291456 4915592 22% 2790 1% /
/dev/hd2 13107200 6177120 53% 73643 10% /usr
/dev/hd9var 13107200 12857456 2% 1311 1% /var
/dev/hd3 21495808 16955192 22% 3283 1% /tmp
/dev/fwdump 786432 785656 1% 4 1%
/var/adm/ras/platform
/dev/hd1 1048576 1046848 1% 105 1% /home
/proc - - - - - /proc
/dev/hd10opt 4194304 2197776 48% 9002 4% /opt
/dev/lvusrsapae1 20971520 20966872 1% 47 1% /usr/sap/AE1
/dev/lvae1ascs01 10485760 10243360 3% 86 1%
/usr/sap/AE1/ASCS01
/dev/lvae1scs00 20971520 20706584 2% 97 1%
/usr/sap/AE1/SCS00
/dev/lvsapmntae1 12582912 9886168 22% 1529 1%
/export/sapmnt/AE1
/dev/lvusrsaptrans 20971520 20967592 1% 16 1%
/export/usr/sap/trans
scsae1:/export/sapmnt/AE1 12582912 9886168 22% 1529 1%
/sapmnt/AE1
scsae1:/export/usr/sap/trans 20971520 20967592 1% 16 1%
/usr/sap/trans
10.241.13.54:/software2 1755152384 1154051696 35% 62702 1%
/software2
3. hosts file the file is the same on sapaix01 and sapaix02
10.241.13.121 dbae1
10.241.13.125 scsae1
10.10.11.1 sapaix01_boot1
10.10.11.2 sapaix02_boot1
10.10.10.1 sapaix01_boot2
10.10.10.2 sapaix02_boot2
10.241.13.71 sapaix01 sapaix01_per
10.241.13.72 sapaix02 sapaix02_per
4. the installation guide and error message please check the attachment
<<installation_and errorlog.zip>>
5. I run db2ilist command nothing disppear
I have another questions
* whether does DB2 9.1 support installation on the diffirence
directory (default is /opt/IBM/db2/V9.1 my installation is
/db2/db2ae1/V9)?
* Whether does DB2 9 installation has some relationship with
hostname ?
* Why db2ilist command result is nothing after I finished the
DB instance installation ?
trans.log
"trans.log" 143 lines, 14041 characters
4 ETW000 R3trans version 6.14 (release 700 - 15.06.07 - 15:50:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 10.03.2008 - 20:25:40
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Mon Mar 10 20:25:40 2008 70 0.000070
4 ETW000 [dev trc ,00000] db_con_init called 25 0.000095
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 42 0.000137
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/AE1/SYS/exe/run/dbdb6slib.o' ...
4 ETW000 60 0.000197
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/AE1/SYS/exe/run/dbdb6slib.o), hdl 0
4 ETW000 1018 0.001215
4 ETW000 [dev trc ,00000] Library '/usr/sap/AE1/SYS/exe/run/dbdb6slib.o' loaded
4 ETW000 39 0.001254
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sap/AE1/SYS/exe/run/dbdb6slib.o
4 ETW000 43 0.001297
4 ETW000 [dev trc ,00000] Version of '/usr/sap/AE1/SYS/exe/run/dbdb6slib.o' is "700.08", patchlevel (0.133)
4 ETW000 282 0.001579
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/sap/AE1/SYS/exe/run/dbdb6slib.o
4 ETW000 42 0.001621
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/sap/AE1/SYS/exe/run/dbdb6slib.o
4 ETW000 43 0.001664
4 ETW000 [dev trc ,00000] New connection 0 created 29 0.001693
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 00
0, con_max = 255, con_opt = 255, occ = NO
4 ETW000 50 0.001743
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 41 0.001784
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 40 0.001824
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000
, con_max = 255, con_opt = 255, occ = NO
4 ETW000 47 0.001871
4 ETW000 [dev trc ,00000] DB2 library successfully loaded DB2 library '/db2/db2ae1/sqllib/lib64/libdb2.a(shr_64.o)' suc
cessfully loaded
4 ETW000 9175 0.011046
4 ETW000 [dev trc ,00000] DB6 (DB2 UDB) UNICODE database interface 700.08 [opt]
4 ETW000 42 0.011088
4 ETW000 [dev trc ,00000] DB6 shared library (dbdb6slib) patchlevels 24 0.011112
4 ETW000 [dev trc ,00000] (0.8) DB6: V8.2.2 optguidelines in OPEN SQL (note 150037)
4 ETW000 42 0.011154
4 ETW000 [dev trc ,00000] (0.8) Support of SDBUPDEXCL (note 847616) 25 0.011179
4 ETW000 [dev trc ,00000] (0.9) DB6: use export file for dbdb6slib (note 835135)
4 ETW000 40 0.011219
4 ETW000 [dev trc ,00000] (0.9) DB6: Core in getAndBindSQLDA (note 833183)
4 ETW000 39 0.011258
4 ETW000 [dev trc ,00000] (0.10) DB6: link dbdb6slib.dll on windows with libdb6.obj (note 761159)
4 ETW000 51 0.011309
4 ETW000 [dev trc ,00000] (0.10) DB6: DUPLICATE_KEY on MERGE -> repeat (note 851474)
4 ETW000 40 0.011349
4 ETW000 [dev trc ,00000] (0.15) DB6: wrong CAST for short string ABAP type (note 861905)
4 ETW000 40 0.011389
4 ETW000 [dev trc ,00000] (0.17) DB6: special characters in sidadm passwd (note 865839)
4 ETW000 40 0.011429
4 ETW000 [dev trc ,00000] (0.21) DB6: no SAP_INFO comments (note 873889)
4 ETW000 39 0.011468
4 ETW000 [dev trc ,00000] (0.22) DB6: hints: get correlation names from view texts (note 868888)
4 ETW000 41 0.011509
4 ETW000 [dev trc ,00000] (0.23) DB6: hints: get correlation names from view texts (note 868888)
4 ETW000 41 0.011550
4 ETW000 [dev trc ,00000] (0.26) DB6: DB6_DBSL_CLP_COMMAND STRING_BAD_REF (note 883402)
4 ETW000 40 0.011590
4 ETW000 [dev trc ,00000] (0.27) DB6: activate value compression (note 886231)
4 ETW000 40 0.011630
4 ETW000 [dev trc ,00000] (0.28) DB6: optimization guidelines on views part 2 (note 868888)
4 ETW000 40 0.011670
4 ETW000 [dev trc ,00000] (0.30) DB6: no SQL trace for SQLCancel (note 892111)
4 ETW000 40 0.011710
4 ETW000 [dev trc ,00000] (0.33) DB6: append SAP_TA comment (note 873889)
4 ETW000 39 0.011749
4 ETW000 [dev trc ,00000] (0.34) DB6: activate value compression with quoted names (note 886231)
4 ETW000 41 0.011790
4 ETW000 [dev trc ,00000] (0.36) DB6: Repeat isolated DDL statements after SQL0911 (note 901338)
4 ETW000 41 0.011831
4 ETW000 [dev trc ,00000] (0.41) DB6: add V9 to list of supported DB2 releases (note 912386)
4 ETW000 41 0.011872
4 ETW000 [dev trc ,00000] (0.50) DB6: reread passwords for secondary connections (note 931742)
4 ETW000 41 0.011913
4 ETW000 [dev trc ,00000] (0.52) DB6: double quote table names in optguidelines (note 868888)
4 ETW000 41 0.011954
4 ETW000 [dev trc ,00000] (0.54) DB6: error handling in DBSL CLP (note 940260)
4 ETW000 39 0.011993
4 ETW000 [dev trc ,00000] (0.69) DB6: technical support of DB2 CLI driver (note 962892)
4 ETW000 40 0.012033
4 ETW000 [dev trc ,00000] (0.73) DB6: log table name on TRUNCATE failure (note 970743)
4 ETW000 40 0.012073
4 ETW000 [dev trc ,00000] (0.79) DB6: column type XML in index size calculation (note 982993)
4 ETW000 41 0.012114
4 ETW000 [dev trc ,00000] (0.82) DB6: CAST for SSTRING data types (note 989568)
4 ETW000 47 0.012161
4 ETW000 [dev trc ,00000] (0.86) DB6: long runtimes for R3szchk (note 1000847)
4 ETW000 39 0.012200
4 ETW000 [dev trc ,00000] (0.88) DB6: patch collection Dec 06 (note 1005574)
4 ETW000 40 0.012240
4 ETW000 [dev trc ,00000] (0.96) DB6: patch collection Jan 07 (note 1017852)
4 ETW000 39 0.012279
4 ETW000 [dev trc ,00000] (0.97) DB6: CLP commands with DB2 CLI Driver (note 1024102)
4 ETW000 41 0.012320
4 ETW000 [dev trc ,00000] (0.99) DB6: SUBSTITUTE VALUES with FAE statements (note 1028779)
4 ETW000 41 0.012361
4 ETW000 [dev trc ,00000] (0.107) DB6: patch collection Apr 07 (note 1047194)
4 ETW000 39 0.012400
4 ETW000 [dev trc ,00000] (0.110) DB6: SAP user names ending with non-ASCII char (note 1054555)
4 ETW000 41 0.012441
4 ETW000 [dev trc ,00000] (0.113) DB6: work process type in application snapshot (note 1059905)
4 ETW000 41 0.012482
4 ETW000 [dev trc ,00000] (0.114) DB6: connect using SAPDBHOST and DB2DB6_SVCENAME (note 1062049)
4 ETW000 41 0.012523
4 ETW000 [dev trc ,00000] (0.117) DB6: patch for execution of long DDL statements (note 1069658)
4 ETW000 41 0.012564
4 ETW000 [dev trc ,00000] (0.122) DB6: SNAPSHOT_TBS_CFG table function is deprecated (note 1077963)
4 ETW000 41 0.012605
4 ETW000 [dev trc ,00000] (0.123) DB6: CLP commands on Windows with V9.1 (note 1080149)
4 ETW000 40 0.012645
4 ETW000 [dev trc ,00000] (0.124) DB6: Set DB2CODEPAGE=819 for non-Unicode (note 1084400)
4 ETW000 40 0.012685
4 ETW000 [dev trc ,00000] (0.126) DB6: reuse optguidelines on FAE statements (note 1087375)
4 ETW000 41 0.012726
4 ETW000 [dev trc ,00000] (0.126) DB6: Enforce DB2CODEPAGE=819 for non-Unicode environments (note 1084400)
4 ETW000 42 0.012768
4 ETW000 [dev trc ,00000] (0.128) DB6: db6_free on invalid memory area (note 1092030)
4 ETW000 40 0.012808
4 ETW000 [dev trc ,00000] (0.133) DB6: statement cache enhancements (note 1101031)
4 ETW000 40 0.012848
4 ETW000 [dev trc ,00000] Supported features: 24 0.012872
4 ETW000 [dev trc ,00000] ..retrieving configuration parameters 24 0.012896
4 ETW000 [dev trc ,00000] ..done 126 0.013022
4 ETW000 [dev trc ,00000] Running with UTF-8 Unicode 25 0.013047
4 ETW000 [dev trc ,00000] *** ERROR in DB6Connect[dbdb6.c, 1640] CON = 0 (BEGIN)
4 ETW000 67222 0.080269
4 ETW000 [dev trc ,00000] &+ DbSlConnectDB6( SQLConnect ): [IBM][CLI Driver] SQL30082N Security processing failed
with reason "24" ("USERNAME
4 ETW000 48 0.080317
4 ETW000 [dev trc ,00000] &+ AND/OR PASSWORD INVALID"). SQLSTATE=08001
4 ETW000 45 0.080362
4 ETW000 [dev trc ,00000] &+
4 ETW000 45 0.080407
4 ETW000 [dev trc ,00000] &+
4 ETW000 46 0.080453
4 ETW000 [dev trc ,00000] &+
4 ETW000 45 0.080498
4 ETW000 [dev trc ,00000] *** ERROR in DB6Connect[dbdb6.c, 1640] (END) 26 0.080524
4 ETW000 [dbdb6.c ,00000] *** ERROR => DbSlConnect to 'AE1' as 'sapae1' failed
4 ETW000 71 0.080595
2EETW169 no connect possible: "DBMS = DB6 --- DB2DBDFT = 'AE1'"Hi,
have you tried to connect on the command line (instead of using R3trans) ?
db2 connect to AE1 user sapae1 using .....
If this works and you have verified that the DB2DB6EKEY is set properly, use dscdb6up to update the password in the password file dscbd6.conf.
Then try again to use R3trans to connect.
Best regards,
Jens -
While starting the SAP, Disp+Work.exe is getting stopped
Hi All,
SAP Discovery System has been installed. While starting the SAP, Disp+Work.exe is getting stopped. But I checked MaxDB and it is working fine.
Kindly look into the below log dev_disp and advice me the solution.
trc file: "dev_disp", trc level: 1, release: "700"
sysno 10
sid ERP
systemid 560 (PC with Windows NT)
relno 7000
patchlevel 0
patchno 119
intno 20050900
make: multithreaded, Unicode, optimized
pid 2420
Mon Sep 15 20:16:06 2008
kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
length of sys_adm_ext is 576 bytes
SWITCH TRC-HIDE on ***
***LOG Q00=> DpSapEnvInit, DPStart (10 2420) [dpxxdisp.c 1239]
shared lib "dw_xml.dll" version 119 successfully loaded
shared lib "dw_xtc.dll" version 119 successfully loaded
shared lib "dw_stl.dll" version 119 successfully loaded
shared lib "dw_gui.dll" version 119 successfully loaded
shared lib "dw_mdm.dll" version 119 successfully loaded
rdisp/softcancel_sequence : -> 0,5,-1
use internal message server connection to port 3910
Mon Sep 15 20:16:11 2008
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 5371]
MtxInit: 30000 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
DpIPCInit2: start server >ORX-SAPDEMO_ERP_10 <
DpShMCreate: sizeof(wp_adm) 17232 (1436)
DpShMCreate: sizeof(tm_adm) 4270848 (21248)
DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
DpShMCreate: sizeof(comm_adm) 528064 (1048)
DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
DpShMCreate: sizeof(slock_adm) 0 (96)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm) 0 (72)
DpShMCreate: sizeof(vmc_adm) 0 (1544)
DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
DpShMCreate: sizeof(gw_adm) 48
DpShMCreate: SHM_DP_ADM_KEY (addr: 06E70040, size: 4929464)
DpShMCreate: allocated sys_adm at 06E70040
DpShMCreate: allocated wp_adm at 06E72090
DpShMCreate: allocated tm_adm_list at 06E763E0
DpShMCreate: allocated tm_adm at 06E76410
DpShMCreate: allocated wp_ca_adm at 07288F10
DpShMCreate: allocated appc_ca_adm at 0728ECD0
DpShMCreate: allocated comm_adm at 07290C10
DpShMCreate: system runs without slock table
DpShMCreate: system runs without file table
DpShMCreate: allocated vmc_adm_list at 07311AD0
DpShMCreate: allocated gw_adm at 07311B10
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 07311B40
DpShMCreate: allocated wall_adm at 07311B48
MBUF state OFF
DpCommInitTable: init table for 500 entries
EmInit: MmSetImplementation( 2 ).
MM global diagnostic options set: 0
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 1024 kByte.
Using implementation view
<EsNT> Using memory model view.
<EsNT> Memory Reset disabled as NT default
<ES> 2047 blocks reserved for free list.
ES initialized.
J2EE server info
start = TRUE
state = STARTED
pid = 2672
argv[0] = D:\usr\sap\ERP\DVEBMGS10\exe\jcontrol.EXE
argv[1] = D:\usr\sap\ERP\DVEBMGS10\exe\jcontrol.EXE
argv[2] = pf=
iwdfvm2160\sapmnt\ERP\SYS\profile\ERP_DVEBMGS10_iwdfvm2160
argv[3] = -DSAPSTART=1
argv[4] = -DCONNECT_PORT=3500
argv[5] = -DSAPSYSTEM=10
argv[6] = -DSAPSYSTEMNAME=ERP
argv[7] = -DSAPMYNAME=ORX-SAPDEMO_ERP_10
argv[8] = -DSAPPROFILE=
iwdfvm2160\sapmnt\ERP\SYS\profile\ERP_DVEBMGS10_iwdfvm2160
argv[9] = -DFRFC_FALLBACK=ON
argv[10] = -DFRFC_FALLBACK_HOST=localhost
start_lazy = 0
start_control = SAP J2EE startup framework
DpJ2eeStart: j2ee state = STARTED
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c 1629]
***LOG Q0K=> DpMsAttach, mscon ( iwdfvm2160) [dpxxdisp.c 11799]
DpStartStopMsg: send start message (myname is >ORX-SAPDEMO_ERP_10 <)
DpStartStopMsg: start msg sent
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
Mon Sep 15 20:16:12 2008
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 7000, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1050]
DpMsgAdmin: Set patchno for this platform to 119
Release check o.K.
DpJ2eeLogin: j2ee state = CONNECTED
Mon Sep 15 20:16:15 2008
***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4248]
ERROR => NiIRead: SiRecv failed for hdl 4 / sock 1428
(SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:3504) [nixxi.cpp 4248]
DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=2672)
ERROR => DpProcKill: kill failed [dpntdisp.c 371]
DpIJ2eeShutdown: j2ee state = SHUTDOWN
Mon Sep 15 20:16:51 2008
ERROR => DpHdlDeadWp: W0 (pid 4952) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W1 (pid 4852) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W2 (pid 5976) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W3 (pid 5000) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W4 (pid 4984) died [dpxxdisp.c 14507]
my types changed after wp death/restart 0xbf --> 0xbe
ERROR => DpHdlDeadWp: W5 (pid 1272) died [dpxxdisp.c 14507]
my types changed after wp death/restart 0xbe --> 0xbc
ERROR => DpHdlDeadWp: W6 (pid 528) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W7 (pid 5720) died [dpxxdisp.c 14507]
my types changed after wp death/restart 0xbc --> 0xb8
ERROR => DpHdlDeadWp: W8 (pid 2648) died [dpxxdisp.c 14507]
ERROR => DpHdlDeadWp: W9 (pid 5444) died [dpxxdisp.c 14507]
my types changed after wp death/restart 0xb8 --> 0xb0
ERROR => DpHdlDeadWp: W10 (pid 5032) died [dpxxdisp.c 14507]
my types changed after wp death/restart 0xb0 --> 0xa0
ERROR => DpHdlDeadWp: W11 (pid 5620) died [dpxxdisp.c 14507]
my types changed after wp death/restart 0xa0 --> 0x80
DP_FATAL_ERROR => DpWPCheck: no more work processes
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
NiWait: sleep (10000ms) ...
NiISelect: timeout 10000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:01 2008
NiISelect: TIMEOUT occured (10000ms)
dump system status
Workprocess Table (long) Tue Sep 16 03:17:01 2008
========================
No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table
0 DIA 4952 Ended no 1 0 0
1 DIA 4852 Ended no 1 0 0
2 DIA 5976 Ended no 1 0 0
3 DIA 5000 Ended no 1 0 0
4 DIA 4984 Ended no 1 0 0
5 UPD 1272 Ended no 1 0 0
6 ENQ 528 Ended no 1 0 0
7 ENQ 5720 Ended no 1 0 0
8 BTC 2648 Ended no 1 0 0
9 BTC 5444 Ended no 1 0 0
10 SPO 5032 Ended no 1 0 0
11 UP2 5620 Ended no 1 0 0
Dispatcher Queue Statistics Tue Sep 16 03:17:01 2008
===========================
--------++++--
+
Typ
now
high
max
writes
reads
--------++++--
+
NOWP
0
2
2000
6
6
--------++++--
+
DIA
5
5
2000
5
0
--------++++--
+
UPD
0
0
2000
0
0
--------++++--
+
ENQ
0
0
2000
0
0
--------++++--
+
BTC
0
0
2000
0
0
--------++++--
+
SPO
0
0
2000
0
0
--------++++--
+
UP2
0
0
2000
0
0
--------++++--
+
max_rq_id 12
wake_evt_udp_now 0
wake events total 8, udp 7 ( 87%), shm 1 ( 12%)
since last update total 8, udp 7 ( 87%), shm 1 ( 12%)
Dump of tm_adm structure: Tue Sep 16 03:17:01 2008
=========================
Term uid man user term lastop mod wp ta a/i (modes)
Workprocess Comm. Area Blocks Tue Sep 16 03:17:01 2008
=============================
Slots: 300, Used: 1, Max: 0
--------++--
+
id
owner
pid
eyecatcher
--------++--
+
0
DISPATCHER
-1
WPCAAD000
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:06 2008
NiISelect: TIMEOUT occured (5000ms)
DpHalt: shutdown server >ORX-SAPDEMO_ERP_10 < (normal)
DpJ2eeDisableRestart
DpModState: buffer in state MBUF_PREPARED
NiBufSend starting
NiIWrite: hdl 3 sent data (wrt=110,pac=1,MESG_IO)
MsINiWrite: sent 110 bytes
MsIModState: change state to SHUTDOWN
DpModState: change server state from STARTING to SHUTDOWN
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
DpWakeUpWps: wake up all wp's
Stop work processes
Stop gateway
killing process (1516) (SOFT_KILL)
Stop icman
killing process (1256) (SOFT_KILL)
Terminate gui connections
wait for end of work processes
wait for end of gateway
[DpProcDied] Process lives (PID:1516 HANDLE:1520)
waiting for termination of gateway ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:07 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process died (PID:1516 HANDLE:1520)
wait for end of icman
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:08 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:09 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:10 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:11 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:12 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:13 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:14 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:15 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:16 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:17 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:1256 HANDLE:1528)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1549
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Mon Sep 15 20:17:18 2008
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process died (PID:1256 HANDLE:1528)
[DpProcDied] Process died (PID:2672 HANDLE:1504)
DpStartStopMsg: send stop message (myname is >ORX-SAPDEMO_ERP_10 <)
NiIMyHostName: hostname = 'ORX-SAPDEMO'
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
DpConvertRequest: net size = 189 bytes
NiBufSend starting
NiIWrite: hdl 3 sent data (wrt=562,pac=1,MESG_IO)
MsINiWrite: sent 562 bytes
send msg (len 110+452) to name -, type 4, key -
DpStartStopMsg: stop msg sent
NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 3 received data (rcd=274,pac=1,MESG_IO)
NiBufIIn: NIBUF len=274
NiBufIIn: packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 274 bytes
MSG received, len 110+164, flag 1, from MSG_SERVER , typ 0, key -
DpHalt: received 164 bytes from message server
NiIRead: hdl 3 recv would block (errno=EAGAIN)
NiIRead: read for hdl 3 timed out (0ms)
DpHalt: no more messages from the message server
DpHalt: send keepalive to synchronize with the message server
NiBufSend starting
NiIWrite: hdl 3 sent data (wrt=114,pac=1,MESG_IO)
MsINiWrite: sent 114 bytes
send msg (len 110+4) to name MSG_SERVER, type 0, key -
MsSndName: MS_NOOP ok
Send 4 bytes to MSG_SERVER
NiIRead: hdl 3 recv would block (errno=EAGAIN)
NiIPeek: peek successful for hdl 3 (r)
NiIRead: hdl 3 received data (rcd=114,pac=1,MESG_IO)
NiBufIIn: NIBUF len=114
NiBufIIn: packet complete for hdl 3
NiBufReceive starting
MsINiRead: received 114 bytes
MSG received, len 110+4, flag 3, from MSG_SERVER , typ 0, key -
Received 4 bytes from MSG_SERVER
Received opcode MS_NOOP from msg_server, reply MSOP_OK
MsOpReceive: ok
MsSendKeepalive : keepalive sent to message server
NiIRead: hdl 3 recv would block (errno=EAGAIN)
Mon Sep 15 20:17:19 2008
NiIPeek: peek for hdl 3 timed out (r; 1000ms)
NiIRead: read for hdl 3 timed out (1000ms)
DpHalt: no more messages from the message server
DpHalt: sync with message server o.k.
detach from message server
***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c 12145]
NiBufSend starting
NiIWrite: hdl 3 sent data (wrt=110,pac=1,MESG_IO)
MsINiWrite: sent 110 bytes
MsIDetach: send logout to msg_server
MsIDetach: call exit function
DpMsShutdownHook called
NiBufISelUpdate: new MODE -- (r-) for hdl 3 in set0
SiSelNSet: set events of sock 1508 to: ---
NiBufISelRemove: remove hdl 3 from set0
SiSelNRemove: removed sock 1508 (pos=3)
SiSelNRemove: removed sock 1508
NiSelIRemove: removed hdl 3
MBUF state OFF
AdGetSelfIdentRecord: > <
AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/12
LOCK WP ca_blk 1
make DISP owner of wp_ca_blk 1
DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 15)
MBUF component DOWN
NiICloseHandle: shutdown and close hdl 3 / sock 1508
NiBufIClose: clear extension for hdl 3
MsIDetach: detach MS-system
cleanup EM
EsCleanup ....
EmCleanup() -> 0
Es2Cleanup: Cleanup ES2
***LOG Q05=> DpHalt, DPStop ( 2420) [dpxxdisp.c 10417]
Good Bye .....
Thanks in advance.
Regards,
SuneethaHi,
Just check out your filesystem/ directory have sufficient space.
Do paste us dev_rd as the error above " NiIRead: SiRecv failed for "
pasted looks like system uanble to access SAP gateway.
Rgds
Radhakrishna D S -
Sending ALV output to the SAP Inbox.
Hi
I'm using SAP report <b>sendlist_bcs</b> for sending report output to the SAP inbox but attachment is not getting delivered.
Can anybody help to resolve the issue...
My report is:
*& Report ZTTEST_SAGAR
REPORT ZTTEST_SAGAR.
*& Report SENDLIST_BCS
*& Sample report from note 190669 for sending lists via SAPconnect
*& using the BCS interface
*& Note:
*& 1. Set a commit work statement after the sending
*& 2. Give binary data of type x not type c to send module, i.e.
*& use structure solix instead of soli and give it to tables
*& parameter contents_hex instead of contents_bin
*& Do this by filling contents_hex directly from the module
*& table_compress. In case of reading the data from spool, convert
*& to solix using so_solitab_to_solixtab
*& 3. Don't calculate document size. It is done internally
*report sendlist_bcs no standard page heading message-id so.
selection-screen begin of block mode with frame title text-001.
parameters: submit radiobutton group mode default 'X'.
parameters: write radiobutton group mode .
parameters: spool radiobutton group mode.
selection-screen end of block mode.
global data
data g_list_content type solix_tab.
data g_text_content type soli_tab.
data sysid(10) TYPE C.
*---- start-of-selection -
start-of-selection.
perform create_text_content changing g_text_content.
perform create_list_content changing g_list_content.
perform send using g_text_content
g_list_content.
a commit work has to be set somewhere after the sending!
commit work.
Form routines *
*& Form create_list_content
form create_list_content changing list_content type solix_tab.
1st possibility - use "submit <report> exporting list to memory"
if submit = 'X'.
perform use_submit changing list_content.
endif.
2nd possibility - create a new list within this report.
if write = 'X'.
perform write_a_list changing list_content.
endif.
3rd possibility - get list from spool
if spool = 'X'.
perform get_list_from_spool changing list_content.
endif.
endform. "create_list_content
*& Form create_text_content
form create_text_content changing text_content type soli_tab.
append 'This is the first line' to text_content. "#EC NOTEXT
append 'This is the second line' to text_content. "#EC NOTEXT
convert the content from RAW to TXT
call function 'SO_RAW_TO_RTF'
tables
objcont_old = text_content
objcont_new = text_content
exceptions
others = 0.
endform. "create_text_content
*& Form SEND
form send using text_content type soli_tab
list_content type solix_tab.
data send_request type ref to cl_bcs.
data text type bcsy_text.
data document type ref to cl_document_bcs.
data recipient type ref to if_recipient_bcs.
data bcs_exception type ref to cx_bcs.
data sent_to_all type os_boolean.
try.
create the send request
send_request = cl_bcs=>create_persistent( ).
create the document with attachments
main document
append 'Hi,' to text.
append 'attached you will find the list.' to text.
document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = text
i_subject = 'ABAPlist' ).
add text attachment to document
document->add_attachment( i_attachment_type = 'TXT'
i_attachment_subject = text-002
i_att_content_text = text_content ).
add list attachment to document
document->add_attachment( i_attachment_type = 'ALI'
i_attachment_subject = text-003
i_att_content_hex = list_content ).
add document to send request
send_request->set_document( document ).
sysid = sy-sysid.
data : uname type ad_uname.
uname = 'USTZZSKAZI'.
create recipient and add to send request
recipient = cl_cam_address_bcs=>CREATE_RML_ADDRESS( i_syst = sysid
i_client = sy-mandt
i_username = uname ).
send_request->add_recipient( i_recipient = recipient ).
send
sent_to_all = send_request->send( i_with_error_screen = 'X' ).
if sent_to_all = 'X'.
message s022.
endif.
catch cx_bcs into bcs_exception.
message e865 with bcs_exception->error_type.
endtry.
endform. "send
*& Form USE_SUBMIT
form use_submit changing contents_hex type solix_tab.
data listobject type table of abaplist.
get the list object by calling the list in another report
F1 on submit gives more information
submit balvsd03 exporting list to memory and return.
import the list from memory and store it in table listobject
call function 'LIST_FROM_MEMORY'
tables
listobject = listobject
exceptions
not_found = 1
others = 2.
if sy-subrc <> 0.
message e105 with 'LIST_FROM_MEMORY'.
endif.
free memory
call function 'LIST_FREE_MEMORY'
tables
listobject = listobject
exceptions
others = 1.
if sy-subrc <> 0.
message e105 with 'LIST_FREE_MEMORY'.
endif.
it's always necessary to compress the table.
SAPconnect will decompress it
call function 'TABLE_COMPRESS' "#EC *
tables
in = listobject
out = contents_hex
exceptions
compress_error = 1
others = 2.
if sy-subrc <> 0.
message e105 with 'TABLE_COMPRESS'.
endif.
endform. " USE_SUBMIT
*& Form WRITE_A_LIST
form write_a_list changing contents_hex type solix_tab.
data listobject type table of abaplist.
perform write_list.
Save the list and store table listobject
call function 'SAVE_LIST'
exporting
list_index = sy-lsind
tables
listobject = listobject
exceptions
list_index_invalid = 1.
if sy-subrc = 1.
message e105 with 'SAVE_LIST'.
endif.
It's always necessary to compress the table
SAPconnect will decompress it
call function 'TABLE_COMPRESS' "#EC *
tables
in = listobject
out = contents_hex
exceptions
compress_error = 1
others = 2.
if sy-subrc <> 0.
message e105 with 'TABLE_COMPRESS'.
endif.
endform. " WRITE_A_LIST
*& Form GET_LIST_FROM_SPOOL
form get_list_from_spool changing contents_hex type solix_tab.
data spool_number type rspoid.
data contents_bin type soli_tab.
data print_parameters type pri_params.
data valid type c.
write a list into spool
call function 'GET_PRINT_PARAMETERS'
importing
out_parameters = print_parameters
valid = valid
exceptions
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
others = 4.
if sy-subrc <> 0.
message e105 with 'GET_PRINT_PARAMETERS'.
elseif valid is initial.
return.
endif.
new-page print on parameters print_parameters no dialog.
perform write_list.
new-page print off.
spool_number = sy-spono.
you can also send OTF documents from spool with this function
module. The importing parameter real_type gives you the doc type
that you have to give to the send interface. The parameter is not
used here
call function 'RSPO_RETURN_SPOOLJOB'
exporting
rqident = spool_number
tables
buffer = contents_bin
exceptions
no_such_job = 1
job_contains_no_data = 2
selection_empty = 3
no_permission = 4
can_not_access = 5
read_error = 6
type_no_match = 7
others = 8.
if sy-subrc <> 0.
message e105 with 'RSPO_RETURN_SPOOLJOB'.
endif.
convert to hex table
call function 'SO_SOLITAB_TO_SOLIXTAB'
exporting
ip_solitab = contents_bin
importing
ep_solixtab = contents_hex.
endform. " GET_LIST_FROM_SPOOL
*& Form WRITE_LIST
form write_list.
data lt_scarr type table of scarr.
data carr type scarr.
select * from scarr into table lt_scarr.
format color = 1.
uline at /1(46).
write: / sy-vline,
'CARRID', 10 sy-vline,
'CARRNAME', 35 sy-vline,
'CURRCODE', 46 sy-vline.
format color = 2.
uline at /1(46).
loop at lt_scarr into carr.
write: / sy-vline,
carr-carrid, 10 sy-vline,
carr-carrname, 35 sy-vline,
carr-currcode, 46 sy-vline.
endloop.
uline at /1(46).
new-line.
endform. " WRITE_LIST
Thanks,
sagarhi Sagar
'SO_NEW_DOCUMENT_ATT_SEND_API1' function module for that.
Example::::
Data Declaration
data pdf like tline occurs 0.
data : objbin like solisti1 occurs 0 with header line.
Data: docdata like sodocchgi1,
objpack like sopcklsti1 occurs 1 with header line,
objhead like solisti1 occurs 1 with header line,
objtxt like solisti1 occurs 10 with header line,
objbin like solisti1 occurs 10 with header line,
objhex like solix occurs 10 with header line,
reclist type table of SOMLRECI1 with header line.
Data: listobject like abaplist occurs 1 with header line.
data : objhex2 like objhex occurs 0 with header line.
Data: tab_lines type i,
doc_size type i,
att_type like SOODK-OBJTP.
data: ls_drao like drao occurs 0,
i_data like drao-orblk occurs 0,
ls_doc_file like dms_doc_file,
ls_draw like draw.
data: begin of i_data occurs 0,
orbkl like drao-orbkl,
orblk like drao-orblk,
end of i_data.
data: w_data like i_data,
w_data2 type drao-orbkl,
wa_drao type drao.
DATA: t_error(1) type c.
DATA: t_return like BAPIRET2.
*ls_draw-mandt = '200'.
ls_draw-dokar = 'GPO'.
ls_draw-doknr = 'Z10'.
ls_draw-dokvr = '00'.
ls_draw-doktl = '000'.
ls_draw-dttrg = 'SAP-SYSTEM'.
ls_draw-dAPPL = 'DOC'.
ls_doc_file-fileno = '1'.
ls_doc_file-dttrg = 'SAP-SYSTEM'.
*Debug the cv03n transaction to see how the FMs are used
CALL FUNCTION 'CV120_DOC_CHECKOUT_TO_TABLE'
EXPORTING
PS_COUT_DEF =
ps_doc_file = ls_doc_file
ps_draw = LS_DRAW
tables
PT_DRAZ =
ptx_content = ls_drao
PTX_DRAOZ =
EXCEPTIONS
ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop at ls_drao into wa_drao.
move: wa_drao-orblk to w_data-orblk.
append w_data to i_data.
endloop.
OBJPACK-HEAD_START = 1.
DESCRIBE TABLE i_data LINES TAB_LINES.
CALL FUNCTION 'ZOUTPUT_X_TABLESIZE_CHG'
EXPORTING
IV_APPEND = ' '
IV_BYTE_MODE = 'X'
IV_STRING =
IV_XSTRING =
IMPORTING
EV_SIZE =
EV_LINES =
EV_STRING =
EV_XSTRING =
TABLES
IT_DATA = i_data
ET_DATA = objhex
EXCEPTIONS
NOENTRIES = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop at objhex.
move-corresponding objhex to objhex2.
append objhex2.
endloop.
docdata-obj_name = 'TEST_ALI'.
docdata-obj_descr = 'Test including ALI/HTML Attachment'.
Main Text
objtxt = 'Test Document.'.
append objtxt.
objtxt = 'You will find an ALI/HTML attachment '.
append objtxt.
objtxt = 'Have a nice day.'.
append objtxt.
Write Packing List (Main)
describe table objtxt lines tab_lines.
read table objtxt index tab_lines.
docdata-doc_size = ( tab_lines - 1 ) * 255 + strlen( objtxt ).
clear objpack-transf_bin.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'TXT'.
append objpack.
Create Message Attachment
Write Packing List (Attachment)
att_type = 'PDF'.
describe table objhex lines tab_lines.
read table objhex index tab_lines.
objpack-doc_size = ( tab_lines ) * 255 ."+ strlen( i_data ).
objpack-transf_bin = 'X'.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = att_type.
objpack-obj_name = 'ATTACHMENT1'.
objpack-obj_descr = 'Attached Document1'.
append objpack.
Second attachment
loop at objhex.
move-corresponding objhex to objhex2.
append objhex2.
endloop.
*att_type = 'DOC'.
*describe table objhex lines tab_lines.
*read table objhex index tab_lines.
*objpack-doc_size = ( tab_lines ) * 255 ."+ strlen( i_data ).
*objpack-transf_bin = 'X'.
*objpack-head_start = 1.
*objpack-head_num = 0.
*objpack-body_start = 1.
*objpack-body_num = tab_lines.
*objpack-doc_type = att_type.
*objpack-obj_name = 'ATTACHMENT2'.
*objpack-obj_descr = 'Attached Document2'.
*append objpack.
Third attachment
*loop at objhex.
move-corresponding objhex to objhex2.
append objhex2.
*endloop.
*att_type = 'PDF'.
*describe table objhex lines tab_lines.
*read table objhex index tab_lines.
*objpack-doc_size = ( tab_lines ) * 255 ."+ strlen( i_data ).
*objpack-transf_bin = 'X'.
*objpack-head_start = 1.
*objpack-head_num = 0.
*objpack-body_start = 1.
*objpack-body_num = tab_lines.
*objpack-doc_type = att_type.
*objpack-obj_name = 'ATTACHMENT3'.
*objpack-obj_descr = 'Attached Document3'.
*append objpack.
Create receiver list
data: reclist1 type sadrfd .
reclist1-rec_fax = '650-467-2890'.
reclist1-REC_STATE = 'US'.
append reclist1.
*read table reclist1 index 1.
move reclist1(30) to reclist-receiver(30).
move reclist1346(3) to reclist-receiver346(3).
*reclist-receiver = reclist1."'US16503457900'.
*move reclist1-rec_fax to reclist-receiver.
*reclist-receiver = 'US16502796630'. "'+1 (16502796999)'.
reclist-REC_type = 'F'.
*reclist-country = 'US'.
*reclist-COM_TYPE = 'TELFAX'.
*reclist-fax = 'US1650-279-6630'.
append reclist.
*reclist-receiver = sy-uname. "<-- change internal user
*reclist-rec_type = 'B'.
*append reclist.
Send Message
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = docdata
PUT_IN_OUTBOX = 'X'
COMMIT_WORK = 'X' "used from rel.6.10
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
tables
packing_list = objpack
OBJECT_HEADER = objhead
CONTENTS_BIN = objbin
CONTENTS_TXT = objtxt
CONTENTS_HEX = objhex
OBJECT_PARA =
OBJECT_PARB =
receivers = reclist
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8
IF sy-subrc <> 0.
message ID 'SO' TYPE 'S' NUMBER '023'
with docdata-obj_name.
ENDIF.
**Please reward suitable points***
With Regards
Navin Khedikar -
How to insert Adobe Form Data in the SAP backend?
Hi there,
I am very new to Adobe Forms. I am supposed to come up with a working scenario of inserting few form fields into the SAP backend. Is this done through a BAPI call? Or is there any other way for this to achieve?
I have downloaded trial version of Adobe LifeCycle Designer. But I don't know how to integrate this with the SAP system. Is there anything else that I need to install in my system?
Is there a document on how to configure all the installations for both local machine and the server (if any)?
Please help.....
[I went through the forum for this, but I did not get anything]
Warm regards,
Deepakhi,
in the livecycle designer under libary tab u have webdynpro tab--->choose submit to sap button and place it in the adobe form ur designing. u can use this button to trigger the code that u have written in webdynpro java.
for eg if u have
a value node details
and under that two value attr fname,lname
import the model (Insertdata---it has two import param fname and lname)u need for updating the data to r3 system.
in the ctrller have a method submit.Here write the code to insert fname and lname into the db.
IPrivateMyForm.IDetailsElement elem = wdContext.nodeDetails().currentDetailsElement();
Insertdata_Input input = new Insertdata_Input();
wdContext.nodeInsertdata_Input().bind(input);
input.setFname(elem.getFname());
input.setLname(elem.getLname());
try
wdContext.currentInsertdata_InputElement().modelObject().execute();
wdContext.nodeOutput().invalidate();
catch (Exception ex)
{ ex.printStackTrace();}
ul bind details to the datasource.
when u edit ur interactive ui element these attr(fname and lname) vl be visible under dataview tab u can drag and drop them to the form
now add submit to sap button in ur form.
this button correspond to the onactionSubmit dat u have written in the ctrller.
so wen u click this the data vl be inserted
Regards
Jay -
The SAP SSO authentication will fail because the current user doesn't...
Hi Experts!
I am facing an issue and I have tried to do all the tips on answers of topics under same subject.
Once I enter on my report and refresh, it prompts me a message that I don't have acess on one or more data providers, asking me if I want to proceed ( ID : WIS_30286) then I click yes and run the refresh and it prompts me another message: The SAP SSP authentication will fail because the current user doesn't have an alias that matches system BIDCLNT100..
I checked the connection and tested, but the server not answers (SBO0001), on details I see the same message above.
This on PRD, because on DEV it works fine.
Thanks in advance!Hi,
for the first part where you don't access I would suggest you do an authorization trace to ensure that the user has all the necessary authorizations.
and on the second part - yes the user needs to have credentials for the system that you trying to access
Ingo -
How to fix the excel cell length in the sap
hi
i want to fix the excel cell length in the sap. how to fix
perform fill_cell1 using l_row l_col 1 wa_cat-seltext_l.
i want to fix the fill_cell1 how to do.
Regards,
sivakumarhi
good
go through this
The following thread has the code which will put data into multiple sheets
Download to multiple sheets in Excel
FOR COLOR LOGIC JUST REFER THIS PROGRAM
*& Report ZNEGI17 *
REPORT ZNEGI17 NO STANDARD PAGE HEADING.
this report demonstrates how to send some ABAP data to an
EXCEL sheet using OLE automation.
INCLUDE OLE2INCL.
handles for OLE objects
DATA: H_EXCEL TYPE OLE2_OBJECT, " Excel object
H_MAPL TYPE OLE2_OBJECT, " list of workbooks
H_MAP TYPE OLE2_OBJECT, " workbook
H_ZL TYPE OLE2_OBJECT, " cell
H_F TYPE OLE2_OBJECT. " font
TABLES: SPFLI.
DATA H TYPE I.
table of flights
DATA: IT_SPFLI LIKE SPFLI OCCURS 10 WITH HEADER LINE.
*& Event START-OF-SELECTION
START-OF-SELECTION.
read flights
SELECT * FROM SPFLI INTO TABLE IT_SPFLI UP TO 10 ROWS.
display header
ULINE (61).
WRITE: / SY-VLINE NO-GAP,
(3) 'Flg'(001) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(4) 'Nr'(002) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(20) 'Von'(003) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(20) 'Nach'(004) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(8) 'Zeit'(005) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP.
ULINE /(61).
display flights
LOOP AT IT_SPFLI.
WRITE: / SY-VLINE NO-GAP,
IT_SPFLI-CARRID COLOR COL_KEY NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-CONNID COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-CITYFROM COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-CITYTO COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-DEPTIME COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP.
ENDLOOP.
ULINE /(61).
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-007
EXCEPTIONS
OTHERS = 1.
start Excel
CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'.
PERFORM ERR_HDL.
SET PROPERTY OF H_EXCEL 'Visible' = 1.
CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'c:\kis_excel.xls'
PERFORM ERR_HDL.
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-008
EXCEPTIONS
OTHERS = 1.
get list of workbooks, initially empty
CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
PERFORM ERR_HDL.
add a new workbook
CALL METHOD OF H_MAPL 'Add' = H_MAP.
PERFORM ERR_HDL.
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-009
EXCEPTIONS
OTHERS = 1.
output column headings to active Excel sheet
PERFORM FILL_CELL1 USING 1 1 1 'Flug'(001).
PERFORM FILL_CELL1 USING 1 2 0 'Nr'(002).
PERFORM FILL_CELL1 USING 1 3 1 'Von'(003).
PERFORM FILL_CELL1 USING 1 4 1 'Nach'(004).
PERFORM FILL_CELL1 USING 1 5 1 'Zeit'(005).
LOOP AT IT_SPFLI.
copy flights to active EXCEL sheet
H = SY-TABIX + 1.
PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
ENDLOOP.
changes by Kishore - start
CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
CALL METHOD OF H_EXCEL 'Worksheets' = H_MAPL." EXPORTING #1 = 2.
PERFORM ERR_HDL.
add a new workbook
CALL METHOD OF H_MAPL 'Add' = H_MAP EXPORTING #1 = 2.
PERFORM ERR_HDL.
tell user what is going on
SET PROPERTY OF H_MAP 'NAME' = 'COPY'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-009
EXCEPTIONS
OTHERS = 1.
output column headings to active Excel sheet
PERFORM FILL_CELL1 USING 1 1 1 'Flug'(001).
PERFORM FILL_CELL1 USING 1 2 0 'Nr'(002).
PERFORM FILL_CELL1 USING 1 3 1 'Von'(003).
PERFORM FILL_CELL1 USING 1 4 1 'Nach'(004).
PERFORM FILL_CELL1 USING 1 5 1 'Zeit'(005).
LOOP AT IT_SPFLI.
copy flights to active EXCEL sheet
H = SY-TABIX + 1.
PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
ENDLOOP.
changes by Kishore - end
disconnect from Excel
CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'C:\SKV.XLS'.
FREE OBJECT H_EXCEL.
PERFORM ERR_HDL.
FORM FILL_CELL *
sets cell at coordinates i,j to value val boldtype bold *
FORM FILL_CELL1 USING I J BOLD VAL.
data : color(5) type x value 'H80000008'.
CALL METHOD OF H_EXCEL 'Cells' = H_ZL EXPORTING #1 = I #2 = J.
PERFORM ERR_HDL.
SET PROPERTY OF H_ZL 'Value' = VAL .
PERFORM ERR_HDL.
GET PROPERTY OF H_ZL 'Font' = H_F.
PERFORM ERR_HDL.
SET PROPERTY OF H_F 'Bold' = BOLD .
PERFORM ERR_HDL.
SET PROPERTY OF H_F 'ColorIndex' = 3 .
PERFORM ERR_HDL.
ENDFORM.
*& Form ERR_HDL
outputs OLE error if any *
--> p1 text
<-- p2 text
FORM ERR_HDL.
IF SY-SUBRC <> 0.
WRITE: / 'Fehler bei OLE-Automation:'(010), SY-SUBRC.
STOP.
ENDIF.
ENDFORM. " ERR_HDL
*& Form FILL_CELL1
text
-->P_H text
-->P_1 text
-->P_0 text
-->P_IT_SPFLI_CARRID text
form FILL_CELL using I J BOLD VAL.
CALL METHOD OF H_EXCEL 'Cells' = H_ZL EXPORTING #1 = I #2 = J.
PERFORM ERR_HDL.
SET PROPERTY OF H_ZL 'Value' = VAL .
PERFORM ERR_HDL.
GET PROPERTY OF H_ZL 'Font' = H_F.
PERFORM ERR_HDL.
endform. " FILL_CELL1
thanks
mrutyun^ -
How can I avoid the writting of the field TRDAT (table usr02) when I logon?
Hi guys!
The first days of the month we have a high number or RFC processes with a generic user wich access to system at the same time from a remote aplication. This causes a lot of performance problems because of the update of the field TRDAT in table usr02, where the systen registers the last time that the user log on.
Can we avoid the writting of the field TRDAT in table usr02 for a specific user?
Thank you very much in advanced.
Edorta.Hello Edorta,
I agree with Juan that this is not a very good idea. Moreover this is not just some code based changed but is related to SAP kernel.
I would rather look at other system profile paramters like:
rdisp/rfc_max_login
rdisp/rfc_min_wait_dia_wp
rdisp/rfc_max_wait_time
rdisp/rfc_use_quotas
to control the performance.
Regards.
Ruchit. -
Read/write operation on SAP IDOC file
Hi All,
We are developing an application, which will be used for registering and processing of travel data for a client.One of itu2019s functionality is to get the data from external system in different format(like CSV, Excel, Fixed Flat file, XML, main frame file, DBF and SAP IDOC) and import it into Oracle databases.
One of the design considerations for it, is to read these files and convert it into predefined XML format
and then import these data from XML to oracle database.
Currently we are analyzing the requirement and trying to find out all the Open Source JAVA API which can convert these different format files to predefined XML format, using some mapping file.
We have found out Open Source JAVA API for all the file format, except SAP IDOC files.
Any Java API to read/write the SAP IDOC file, Please advise
Regards,
Madhu
Edited by: Madhu Sudhan on Feb 17, 2009 12:06 PMHi All,
We are developing an application, which will be used for registering and processing of travel data for a client.One of itu2019s functionality is to get the data from external system in different format(like CSV, Excel, Fixed Flat file, XML, main frame file, DBF and SAP IDOC) and import it into Oracle databases.
One of the design considerations for it, is to read these files and convert it into predefined XML format
and then import these data from XML to oracle database.
Currently we are analyzing the requirement and trying to find out all the Open Source JAVA API which can convert these different format files to predefined XML format, using some mapping file.
We have found out Open Source JAVA API for all the file format, except SAP IDOC files.
Any Java API to read/write the SAP IDOC file, Please advise
Regards,
Madhu
Edited by: Madhu Sudhan on Feb 17, 2009 12:06 PM -
Dispatcher status showing stopped when we start the sap.
Hi,
when i am starting the sap dispacher is getting stopped after 5 to 10 seconds.kindly see the log below and advise what might have gone wrong.
trc file: "dev_w1", trc level: 1, release: "640"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, M
B
B Fri Oct 17 17:44:02 2008
B create_con (con_name=R/3)
B Loading DB library 'E:\usr\sap\INP\SYS\exe\run\dbmssslib.dll' ...
B Library 'E:\usr\sap\INP\SYS\exe\run\dbmssslib.dll' loaded
B Version of 'E:\usr\sap\INP\SYS\exe\run\dbmssslib.dll' is "640.00", patchlevel (0.152)
B New connection 0 created
M sysno 00
M sid INP
M systemid 560 (PC with Windows NT)
M relno 6400
M patchlevel 0
M patchno 175
M intno 20020600
M make: multithreaded, Unicode
M pid 4584
M
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 1 4584) [dpxxdisp.c 1162]
I MtxInit: -2 0 0
M DpSysAdmExtCreate: ABAP is active
M DpShMCreate: sizeof(wp_adm) 30272 (1316)
M DpShMCreate: sizeof(tm_adm) 2969176 (14772)
M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
M DpShMCreate: sizeof(comm_adm) 290000 (580)
M DpShMCreate: sizeof(vmc_adm) 0 (424)
M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
M DpShMCreate: SHM_DP_ADM_KEY (addr: 08060040, size: 3401424)
M DpShMCreate: allocated sys_adm at 08060040
M DpShMCreate: allocated wp_adm at 08061B88
M DpShMCreate: allocated tm_adm_list at 080691C8
M DpShMCreate: allocated tm_adm at 080691F0
M DpShMCreate: allocated wp_ca_adm at 0833E048
M DpShMCreate: allocated appc_ca_adm at 08343E08
M DpShMCreate: allocated comm_adm_list at 08345D48
M DpShMCreate: allocated comm_adm at 08345D60
M DpShMCreate: allocated vmc_adm_list at 0838CA30
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated ca_info at 0838CA58
M DpShMCreate: allocated wall_adm at 0838CA60
X EmInit: MmSetImplementation( 2 ).
X <ES> client 1 initializing ....
X Using implementation flat
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
M
M Fri Oct 17 17:44:03 2008
M calling db_connect ...
C Thread ID:4876
C Thank You for using the SLOLEDB-interface
C Using dynamic link library 'E:\usr\sap\INP\SYS\exe\run\dbmssslib.dll'
C dbmssslib.dll patch info
C patchlevel 0
C patchno 152
C patchcomment Connection check on (0,0) (988711)
C np:(local) connection used on TERHSAPDR01
C CopyLocalParameters: dbuser is 'inp'
C Using Provider SQLNCLI
C OpenOledbConnection: MARS property was set successfully.
C OpenOledbConnection: line 22822. hr: 0x8000ffff Login failed for user 'NT AUTHORITY\SYSTEM'.
C sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 18456, sev 0), Login failed for user 'NT AUTHORITY\SYSTEM'.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 4060, sev 0), Cannot open database "INP" requested by the login. The login failed.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C Using Provider SQLNCLI
C OpenOledbConnection: MARS property was set successfully.
C OpenOledbConnection: line 22822. hr: 0x8000ffff Login failed for user 'NT AUTHORITY\SYSTEM'.
C sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 18456, sev 0), Login failed for user 'NT AUTHORITY\SYSTEM'.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 4060, sev 0), Cannot open database "INP" requested by the login. The login failed.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C Using Provider SQLNCLI
C OpenOledbConnection: MARS property was set successfully.
C OpenOledbConnection: line 22822. hr: 0x8000ffff Login failed for user 'NT AUTHORITY\SYSTEM'.
C sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 18456, sev 0), Login failed for user 'NT AUTHORITY\SYSTEM'.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 4060, sev 0), Cannot open database "INP" requested by the login. The login failed.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C failed to establish conn to np:(local).
C Retrying without protocol specifier: (local)
C Using Provider SQLNCLI
C OpenOledbConnection: MARS property was set successfully.
C OpenOledbConnection: line 22822. hr: 0x8000ffff Login failed for user 'NT AUTHORITY\SYSTEM'.
C sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 18456, sev 0), Login failed for user 'NT AUTHORITY\SYSTEM'.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 4060, sev 0), Cannot open database "INP" requested by the login. The login failed.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C Using Provider SQLNCLI
C OpenOledbConnection: MARS property was set successfully.
C OpenOledbConnection: line 22822. hr: 0x8000ffff Login failed for user 'NT AUTHORITY\SYSTEM'.
C sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 18456, sev 0), Login failed for user 'NT AUTHORITY\SYSTEM'.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 4060, sev 0), Cannot open database "INP" requested by the login. The login failed.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C Using Provider SQLNCLI
C OpenOledbConnection: MARS property was set successfully.
C OpenOledbConnection: line 22822. hr: 0x8000ffff Login failed for user 'NT AUTHORITY\SYSTEM'.
C sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 18456, sev 0), Login failed for user 'NT AUTHORITY\SYSTEM'.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 4060, sev 0), Cannot open database "INP" requested by the login. The login failed.
C Procname: [OpenOledbConnection - no proc]
C sloledb.cpp [OpenOledbConnection,line 22822]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C Procname: [OpenOledbConnection - no proc]
C failed to establish conn. 0
B ***LOG BY2=> sql error 0 performing CON [dbsh#3 @ 1204] [dbsh 1204 ]
B ***LOG BY0=> <message text not available> [dbsh#3 @ 1204] [dbsh 1204 ]
B ***LOG BY2=> sql error 0 performing CON [dblink#3 @ 428] [dblink 0428 ]
B ***LOG BY0=> <message text not available> [dblink#3 @ 428] [dblink 0428 ]
M ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c 1281]
M in_ThErrHandle: 1
M *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 9595]
M
M Info for wp 1
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 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
M *****************************************************************************
M *
M * LOCATION SAP-Server terhsapdr01_INP_00 on host terhsapdr01 (wp 1)
M * ERROR tskh_init: db_connect
M *
M * TIME Fri Oct 17 17:44:03 2008
M * RELEASE 640
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 9780
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 730]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 254]
M Entering ThSetStatError
M Entering ThReadDetachMode
M call ThrShutDown (1)...
B dbtbxbuf: Buffer TBX_SINGLE not available
M ***LOG Q02=> wp_halt, WPStop (Workproc 1 4584) [dpnttool.c 357]
regards
anilHi,
This is related to user permission or password is wrong.
Pls check the user name and permission.
Regards,
Anil -
Error adding entitlment system entry in the sap authentication
Hi people,
I could not add entry in the sap authentication. Every time I try to add entry nothing happens. I press button "New", page is reloaded and in the end I do not see anything in the list "Logical system name".
There are several strings in the CMS trace log:
2010/06/04 10:10:19.562|>>| | | 7940|6572|{|||||||||||||||IInfoStore_Impl::queryEx3
2010/06/04 10:10:19.562|>=| | | 7940|6572|{|||||||||||||||CInfoStoreSubsystem::Query
2010/06/04 10:10:19.562|>=| | | 7940|6572| |||||||||||||||CInfoStoreSubsystem::Query:[UID=12;USID=33837] : (proc=false,chk=true,srv=false)
.\InfoStore.cpp:2942: TraceLog message 30613
2010/06/04 10:10:19.562|>=|E|X| 7940|6572|}|||||||||||||||CInfoStoreSubsystem::Query: 0
.\osca_i_impl.cpp:612: TraceLog message 30614
But I can connect to the same R/3 server via Crystal Reports.
It seems that BOBJ can not add records into the Oracle database.
My installation: Win 2k3 x64, Oracle 10.2.0.1, BOBJ ENT XI 3.1 SP3, Integration Kit SAP SP3, sapjco-ntintel-2.1.9.zipThank you, John Mrozek.
Thank you, Ingo Hilgefort.
It seems very strange to press "Update" button for adding new entry.
The problem has been resolved
Maybe you are looking for
-
Error occured while importing xsd.file(Name contains invalid characters: -
Hello, i muss import xsd.file. while importing this error occured: İFMEXTDEF CCTS_CCT_SchemaModule-2.0 | http://example.org/XXX/XXX/OUT/NOZ (SC_NOZ V001 of example.org): Name contains invalid characters: - . Only a(A)-z(Z), 0-9, and "_" are permitte
-
L7780 scan bar goes all the way across, but the light is only on for the first 1/2 inch
If one does a scan/copy with the thing open, one can see a bar run from one side to the other, lit in one direction. On my L7780, that light is no longer lit for the entire trip across, resulting in a mostly black scan/copy. What do I do? Repair?
-
Printing from email attachment
Despite my printer being in excellent working order (HP photosmart) when I try to print email attachments the print quality is very pale. I have tried to save the attachment as a PDF file but the problem remains. Please could you let me know what
-
Hi. We have a process extracting data from an Oracle database via JDBC connection. In general, the process takes more than 4 hours to extract 7-8 millions rows of data into a flat file. At the first 2-3 hours, the entire process is totally idle, and
-
SD DVD progressive???
I have converted an uncompressed animation to progressive scan m2v file using compressor and I have verified the setting is progressive. When I output my DVD out of DVD Studio Pro the dvd is interlaced... Any help would be greatly appreciated. Cheers