Monitor not coming on at start up
hello, had loads of junk on pc, week off work decided to have a re-install. came down this morning and my monitor wouldn't turn on from it's sleep state no anything. i powered off the monitor and left pc on, turned monitor back on and it was fine. i just want to know could this be a driver problem? i installed the chipset drivers from my disk and grx drivers latest from msi site. this is the first time i loaded chipset drivers from disk i download to flash from site last time.
screen is recognised by windows and has loaded the driver (v1).
im just curious if this is a driver issue.
thanks
well... i was looking to upgrade! the next day wouldnt boot at all. motherboard, and graphics card sadly no more. i guess all the reboots of installing operating system killed something.
368 days old, just out of warrenty!
Similar Messages
-
Managed Server is Not coming UP from STARTING state
Managed Server is Not coming UP from STARTING state
Hi,
Please try the following options:
1) Apply -D_Offline_FileDataArchive=true
The WebLogic Diagnostics Framework creates the diagnostic store (DAT) file which is used for different purposes. The initial size of the store file is about 1M.
Here are the details of the parameter suggested: -D_Offline_FileDataArchive=true
The above parameter is a (undocumented and unsupported) system property that disables WLDF indexing on the log file.
Engineering has delivered an undocumented system property to disable the file archive indexing task (-D_Offline_FileDataArchive=true),
This property will disable incremental as well as full indexing of WLDF archiving, if property is not properly applied, you can see a File Indexer timer kicks in for every 30 seconds.
2) WLW page-flow event reporter may be creating several entries in the diagnostics store
apply -Dcom.bea.wlw.netui.disableInstrumentation=true
3) Disable JDBC profiling. (Under JDBC/datasource_name/diagnostics uncheck all the options there)
If JDBC profiling is turned on, it inserts profiling data into the diagnostic store, which can cause it to grow.
4) Disable Harvesting (change the value for Profile Harvest Frequency Seconds to zero)
5) try setting the "synchronous-write-policy" parameter in the server configuration to "Cache-Flush". This bypasses the "direct I/O" code in the file store.
Servers--->Configuration--->Services--->Default Store you can set the synchronous-write-policy to Cache-Flush
Synchronous Write Policy:
The disk write policy that determines how the file store writes data to disk.
This policy also affects the JMS file store's performance, scalability, and reliability. The valid policy options are:
* Direct-Write
File store writes are written directly to disk. This policy is supported on Solaris, HP-UX, and Windows. On Windows systems, this option generally performs faster than the Cache-Flush option writes.
* Disabled
Transactions are complete as soon as their writes are cached in memory, instead of waiting for the writes to successfully reach the disk. This policy is the fastest, but the least reliable (that is, transactionally safe). It can be more than 100 times faster than the other policies, but power outages or operating system failures can cause lost and/or duplicate messages.
* Cache-Flush
Transactions cannot complete until all of their writes have been flushed down to disk. This policy is reliable and scales well as the number of simultaneous users increases.
HTH
Regards
RC2
http://crkthoughts.blogspot.com -
Monitor not coming up on pressing the power on button
I recently purcahsed a pavilion g4-1117nr laptop (windows 7) 2 months ago and I have only used it less than 10 times.
An attempt to power on the laptop today did not work. The power on indicator comes on and the fan/blower can be heard running, but the monitor is totally blank (not coming on). I have tried a couple of times but no success.
Its a bit strange as i did not encounter any issue the last time I used it and it is brand new.
Please help!!!!!!!!!!!!!!!!!Try some of the tips on this page
http://h10025.www1.hp.com/ewfrf/wc/documentSubCategory?tmp_rule=45675&tmp_task=solveCategory&cc=us&d...
If you cannot get it working
This is a user to user forum, Contact HP directly, they will guide you on what to do next to get it repaired under warranty
USA
http://welcome.hp.com/country/us/en/contact_us.html
Everywhere else
http://welcome.hp.com/country/us/en/wwcontact_us.html -
Hi Gurus,
My sap instance going down & it is showing yellow color at SAP management console and some time times dispatcher not starting and its status color is brown color. I heard that at WORK directory we can find the solution... If so, how to find solution and how to bring the system up........?
Thanks in Advance...!!!!!!!!
Regads,
BBR.Yes you need to check the logs in the work directory.(/usr/sap/SID/DV*/work)
Please check the logs with starting DEV_.........
If you have java system then you can check the logs std_server.out,std_dispatcher.out. in the same work directory.
Did you do kernel upgrade or updated the profile parameters thet can be also the reason of system not comming up .Please ckeck the logs and you shall come to know.
thanks
Rishi Abrol -
Monitor not coming back after suspend
I have an i686 installation and I'm running enlightenment (e16) on it.
I have modified /etc/acpi/handler.sh to contain:
case "$1" in
button/power)
case "$2" in
PWRF) /usr/sbin/pm-suspend ;;
and used visudo to give my user permission to run pm-suspend.
It sleeps fine with either the hal method or the pm-suspend method.
When I hit the power button the computer wakes up but the monitor doesn't come back ever.
I created /etc/pm/sleep.d/02hal as discussed in
http://wiki.archlinux.org/index.php/Pm- … _on_resume
but that didn't help.
Does anyone know a fix? Thank you.
Last edited by kekules_dream (2010-09-06 21:00:07)I installed kernal26-lts and the monitor comes back on now after a suspend. I guess some how there was a regression in the kernel.
-
ERROR: Start SAP ERP on Sybase ASE, Sybase is Not coming UP
Hi ,
We installed EHP7 on ASE 15.0& Linux, After that we stopped the server and while starting it is not coming Up it is saying system crash, can you please suggest me.
we don't have backup, it is newly installed system.
Startdb.log:
------------------------------ Tue Jul 22 13:32:24 IST 2014
LOGFILE FOR STARTING SYBASE ASE
starting database XXX ...
------------------------------ Tue Jul 22 13:32:25 IST 2014
checking required environment variables
------------------------------ Tue Jul 22 13:32:25 IST 2014
check if Sybase ASE processes are running
ASE instance not available
*** ERROR:ASE instance possibly left running when system
went down(system crash?).
Notify Database Administrator.
------------------------------ Tue Jul 22 13:32:25 IST 2014
check if Sybase Backupserver is running
Backupserver instance not available
Database not available
parse level 0: identified message 'Database 'master' is now online.'
parse level 1: identified message 'Database 'tempdb' is now online.'
parse level 2: identified message 'Database 'sybsystemprocs' is now online.'
------------------------------ Tue Jul 22 13:48:32 IST 2014
/usr/sap/XXX/SYS/exe/run/startdb was killed or interrupted. Terminating.
regards,
RajshekarHi Raj,
Please check solution in SCN thread NW CE 7.3 doesn't start
Similar issue is discussed here
Regards,
Deepak Kori -
Hi,
My java engine is not coming up for some strange reason. Here is a partial log of dev_server0:
trc file: "/usr/sap/GSQ/DVEBMGS02/work/dev_server0", trc level: 1, release: "700"
node name : ID26770150
pid : 1314818
system name : GSQ
system nr. : 02
started at : Sun Sep 13 05:02:27 2009
arguments :
arg[00] : /usr/sap/GSQ/DVEBMGS02/exe/jlaunch
arg[01] : pf=/usr/sap/GSQ/SYS/profile/GSQ_DVEBMGS02_GILSAPEQ
arg[02] : -DSAPINFO=GSQ_02_server
arg[03] : pf=/usr/sap/GSQ/SYS/profile/GSQ_DVEBMGS02_GILSAPEQ
arg[04] : -DSAPSTART=1
arg[05] : -DCONNECT_PORT=64998
arg[06] : -DSAPSYSTEM=02
arg[07] : -DSAPSYSTEMNAME=GSQ
arg[08] : -DSAPMYNAME=GILSAPEQ_GSQ_02
arg[09] : -DSAPPROFILE=/usr/sap/GSQ/SYS/profile/GSQ_DVEBMGS02_GILSAPEQ
arg[10] : -DFRFC_FALLBACK=ON
arg[11] : -DFRFC_FALLBACK_HOST=localhost
[Thr 1] Sun Sep 13 05:02:27 2009
[Thr 1] *** WARNING => INFO: Unknown property [instance.box.number=GSQDVEBMGS02gilsapeq] [jstartxx_mt. 841]
[Thr 1] *** WARNING => INFO: Unknown property [instance.en.host=GILSAPEQ] [jstartxx_mt. 841]
[Thr 1] *** WARNING => INFO: Unknown property [instance.en.port=3203] [jstartxx_mt. 841]
[Thr 1] *** WARNING => INFO: Unknown property [instance.system.id=2] [jstartxx_mt. 841]
JStartupReadInstanceProperties: read instance properties [/usr/sap/GSQ/DVEBMGS02/j2ee/cluster/instance.properties]
-> ms host : GILSAPEQ
-> ms port : 3903
-> OS libs : /usr/sap/GSQ/DVEBMGS02/j2ee/os_libs
-> Admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
Used property files
-> files [00] : /usr/sap/GSQ/DVEBMGS02/j2ee/cluster/instance.properties
Instance properties
-> ms host : GILSAPEQ
-> ms port : 3903
-> os libs : /usr/sap/GSQ/DVEBMGS02/j2ee/os_libs
-> admin URL :
-> run mode : NORMAL
-> run action : NONE
-> enabled : yes
Bootstrap nodes
-> [00] bootstrap : /usr/sap/GSQ/DVEBMGS02/j2ee/cluster/instance.properties
-> [01] bootstrap_ID26770100 : /usr/sap/GSQ/DVEBMGS02/j2ee/cluster/instance.properties
-> [02] bootstrap_ID26770150 : /usr/sap/GSQ/DVEBMGS02/j2ee/cluster/instance.properties
Worker nodes
-> [00] ID26770100 : /usr/sap/GSQ/DVEBMGS02/j2ee/cluster/instance.properties
-> [01] ID26770150 : /usr/sap/GSQ/DVEBMGS02/j2ee/cluster/instance.properties
[Thr 1] JLaunchRequestQueueInit: create named pipe for ipc
[Thr 1] JLaunchRequestQueueInit: create pipe listener thread
[Thr 258] JLaunchRequestFunc: Thread 258 started as listener thread for np messages.
[Thr 515] WaitSyncSemThread: Thread 515 started as semaphore monitor thread.
[Thr 1] SigISetDefaultAction : default handling for signal 20
[Thr 1] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)
[Thr 1] CPIC (version=700.2009.02.11)
[Thr 1] [Node: server0] java home is set by profile parameter
Java Home: /usr/java14_64
[Thr 1] JStartupICheckFrameworkPackage: can't find framework package /usr/sap/GSQ/DVEBMGS02/exe/jvmx.jar
JStartupIReadSection: read node properties [ID26770150]
-> node name : server0
-> node type : server
-> node execute : yes
-> jlaunch parameters :
-> java path : /usr/java14_64
-> java parameters : -Xj9 -Xmn400m -Xgcpolicy:gencon -verbose:gc -Djco.jarm=1 -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy -Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jts.ots.PortableInterceptor.JTSInitializer
-> java vm version : J2RE 1.4.2 IBM J9 2.3 AIX ppc64-64 j9ap64142-20080510 (JIT enabled)
-> java vm vendor : IBM J9 VM (IBM Corporation)
-> java vm type : server
-> java vm cpu : ppc64
-> heap size : 2048M
-> init heap size : 2048M
-> root path : /usr/sap/GSQ/DVEBMGS02/j2ee/cluster/server0
-> class path : ./bin/boot/boot.jar:./bin/boot/jaas.jar:./bin/system/bytecode.jar:.
-> OS libs path : /usr/sap/GSQ/DVEBMGS02/j2ee/os_libs
-> main class : com.sap.engine.boot.Start
-> framework class : com.sap.bc.proj.jstartup.JStartupFramework
-> registr. class : com.sap.bc.proj.jstartup.JStartupNatives
-> framework path : /usr/sap/GSQ/DVEBMGS02/exe/jstartup.jar:/usr/sap/GSQ/DVEBMGS02/exe/jvmx.jar
-> shutdown class : com.sap.engine.boot.Start
-> parameters :
-> debuggable : no
-> debug mode : no
-> debug port : 50221
-> shutdown timeout : 120000
[Thr 1] JLaunchISetDebugMode: set debug mode [no]
[Thr 772] JLaunchIStartFunc: Thread 772 started as Java VM thread.
JHVM_LoadJavaVM: VM Arguments of node [server0]
-> stack : 1048576 Bytes
-> arg[ 0]: exit
-> arg[ 1]: abort
-> arg[ 2]: vfprintf
-> arg[ 3]: -Xj9
-> arg[ 4]: -Xmn400m
-> arg[ 5]: -Xgcpolicy:gencon
-> arg[ 6]: -verbose:gc
-> arg[ 7]: -Djco.jarm=1
-> arg[ 8]: -Djava.security.policy=./java.policy
-> arg[ 9]: -Djava.security.egd=file:/dev/urandom
-> arg[ 10]: -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
-> arg[ 11]: -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
-> arg[ 12]: -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
-> arg[ 13]: -Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jts.ots.PortableInterceptor.JTSInitializer
-> arg[ 14]: -Dsys.global.dir=/usr/sap/GSQ/SYS/global
-> arg[ 15]: -Dapplication.home=/usr/sap/GSQ/DVEBMGS02/exe
-> arg[ 16]: -Djava.class.path=/usr/sap/GSQ/DVEBMGS02/exe/jstartup.jar:/usr/sap/GSQ/DVEBMGS02/exe/jvmx.jar:./bin/boot/boot.jar:./bin/boot/jaas.jar:./bin/system/bytecode.jar:.
-> arg[ 17]: -Djava.library.path=/usr/java14_64/jre/bin:/usr/java14_64/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/usr/sap/GSQ/DVEBMGS02/exe:/usr/sap/GSQ/DVEBMGS02/exe:/usr/sap/GSQ/DVEBMGS02/exe:/tmp/sapinst_exe.856178.1252452114:/usr/sap/GSQ/SYS/exe/run:/oracle/client/10x_64/instantclient:/usr/java14_64/jre/bin/j9vm:/usr/sap/GSQ/DVEBMGS02/exe::/usr/lib:/usr/sap/GSQ/DVEBMGS02/j2ee/os_libs:/usr/sap/GSQ/DVEBMGS02/exe:/usr/sap/GSQ/DVEBMGS02/exe:/usr/sap/GSQ/DVEBMGS02/exe:/usr/java14_64/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/usr/sap/GSQ/SYS/exe/run:/oracle/client/10x_64/instantclient:/usr/java14_64/jre/bin/j9vm
-> arg[ 18]: -Dmemory.manager=2048M
-> arg[ 19]: -Xmx2048M
-> arg[ 20]: -Xms2048M
-> arg[ 21]: -DLoadBalanceRestricted=no
-> arg[ 22]: -Djstartup.mode=JCONTROL
-> arg[ 23]: -Djstartup.ownProcessId=1314818
-> arg[ 24]: -Djstartup.ownHardwareId=O0427428665
-> arg[ 25]: -Djstartup.whoami=server
-> arg[ 26]: -Djstartup.debuggable=no
-> arg[ 27]: -DSAPINFO=GSQ_02_server
-> arg[ 28]: -DSAPSTART=1
-> arg[ 29]: -DCONNECT_PORT=64998
-> arg[ 30]: -DSAPSYSTEM=02
-> arg[ 31]: -DSAPSYSTEMNAME=GSQ
-> arg[ 32]: -DSAPMYNAME=GILSAPEQ_GSQ_02
-> arg[ 33]: -DSAPPROFILE=/usr/sap/GSQ/SYS/profile/GSQ_DVEBMGS02_GILSAPEQ
-> arg[ 34]: -DFRFC_FALLBACK=ON
-> arg[ 35]: -DFRFC_FALLBACK_HOST=localhost
-> arg[ 36]: -DSAPSTARTUP=1
-> arg[ 37]: -DSAPSYSTEM=02
-> arg[ 38]: -DSAPSYSTEMNAME=GSQ
-> arg[ 39]: -DSAPMYNAME=GILSAPEQ_GSQ_02
-> arg[ 40]: -DSAPDBHOST=GILSAPEQ
-> arg[ 41]: -Dj2ee.dbhost=GILSAPEQ
Pls advise.
Thx.
Abdul
[Thr 772] Sun Sep 13 05:02:28 2009
[Thr 772] JHVM_LoadJavaVM: Java VM created OK.
JHVM_BuildArgumentList: main method arguments of node [server0]
[Thr 3600] Sun Sep 13 05:02:36 2009
[Thr 3600] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
[Thr 3600] Sun Sep 13 05:02:37 2009
[Thr 3600] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
[Thr 3600] JLaunchISetClusterId: set cluster id 26770150
[Thr 3600] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
[Thr 3600] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
[Thr 35212] Sun Sep 13 05:03:27 2009
[Thr 35212] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.driver.CpicDriver
[Thr 35212] Sun Sep 13 05:03:28 2009
[Thr 35212] JHVM_RegisterNatives: registering methods in com.sap.i18n.cp.ConverterJNI
[Thr 35212] JLaunchIExitJava: exit hook is called (rc = -11113)
[Thr 35212] **********************************************************************
ERROR => The Java VM terminated with a non-zero exit code.
Please see SAP Note 943602 , section 'J2EE Engine exit codes'
for additional information and trouble shooting.
[Thr 35212] SigISetIgnoreAction : SIG_IGN for signal 20
[Thr 35212] JLaunchCloseProgram: good bye (exitcode = -11113)Hello,
The error message:
[Thr 35212] JLaunchIExitJava: exit hook is called (rc = -11113)
Indicates that one of the core services did not start. The Service Managers controls the life cycle of all services. The services that provide core functionality must always be running. If one of the core services fails to start, the Service Manager exits with an exit code -11113.
To find the name of the core service that failed to start please see the end of the std_server0.out file.
Furthermore the reason why the service failed to start will be evident in the defaultTrace.X.trc file in the server0/log directory.
Regards,
Ventsi Tsachev
Technology Development Support (J2EE Engine)
SAP Labs, Palo Alto, Ca (USA) -
Hi all,
One of the apps in the production system is not coming up after the windows patching, there are 2 servers in the same box the other one came up fine with no issues.
Even the Work process log is also not generated.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
trc file: "dev_disp", trc level: 1, release: "46D"
Tue Jun 21 15:11:31 2011
relno 4640
patchlevel 0
patchno 2513
intno 0
pid 13548
***LOG Q00=> DpSapEnvInit, DPStart (71 13548) [dpxxdisp.c 921]
Tue Jun 21 15:11:35 2011
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust your DNS settings [dpxxtool2.c 3171]
MtxInit: -2 0 0
DpIPCInit: start server >xxxx_71 <
ERROR => DpShMCreate: ShmCreate SHM_DP_ADM_KEY [dpxxtool2.c 1335]
ERROR => DpIPCInit: DpShMCreate [dpxxtool2.c 409]
DP_FATAL_ERROR => DpSapEnvInit: DpIPCInit
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
call semaphore clean-up function ...
***LOG Q0E=> DpSigGenHandler, Exception (c0000005) [dpnttool.c 390]
C-STACK -
SAP (R) - R/3(TM) Callstack, Version 1.0
Copyright (C) SAP AG. All rights reserved.
Application exception occurred:
Exception : c0000005 (Access Violation)
App : disp+work.exe (pid=13548)
When : 6/21/2011 15:11:35.782
Threads : 2
Computer Name xxxxxx
User Name : SAPServicexxx
Number of Processors: 32
Processor Type: EM64T Family 6 Model 46 Stepping 6
Windows Version : 5.2 Current Build: 3790
Stack Dump for Thread Id 3ca8
eax=00000000 ebx=00000003 ecx=016ea020 edx=0319f68c esi=00000000 edi=00000000
eip=00427bcb esp=0319fdf8 ebp=00000000 iopl=0 nv up ei pl nz na po nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010206
function : <nosymbols>
00427bb0 ff742404 push dword ptr [esp+0x4] ss:0633e6a3=????????
00427bb4 ffd0 call eax
00427bb6 59 pop ecx
00427bb7 c3 ret
00427bb8 a1bcf06c01 mov eax,[016cf0bc] ds:016cf0bc=00000000
00427bbd 56 push esi
00427bbe 57 push edi
00427bbf 8b7c240c mov edi,[esp+0xc] ss:0633e6a3=????????
00427bc3 8bf7 mov esi,edi
00427bc5 69f698020000 imul esi,esi,0x298
FAULT-> 00427bcb 837c064800 cmp dword ptr [esieax0x48],0x0 ds:0319e8ab=467f0048
00427bd0 7f46 jg 00427c18
00427bd2 833db89f6e0101 cmp dword ptr [016e9fb8],0x1 ds:016e9fb8=00000003
00427bd9 0f8c45030000 jl 00427f24
00427bdf e8ad910a00 call 004d0d91
00427be4 68310a0000 push 0xa31
00427be9 689060d400 push 0xd46090
00427bee e8e6d0ffff call 00424cd9
00427bf3 59 pop ecx
00427bf4 50 push eax
00427bf5 689c60d400 push 0xd4609c
00427bfa 68bc9f6e01 push 0x16e9fbc
--> Stack Back Trace <--
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
00000000 00000000 00000000 00000000 00000000 00000000 disp+work!<nosymbols>
Stack Dump for Thread Id 2f70
eax=00000000 ebx=0036f190 ecx=00000000 edx=00000000 esi=77bd0888 edi=00000000
eip=7d61cd3e esp=0769fc78 ebp=0769fcb8 iopl=0 nv up ei pl nz na pe nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000202
function : NtFsControlFile
7d61cd29 b836000000 mov eax,0x36
7d61cd2e b91b000000 mov ecx,0x1b
7d61cd33 8d542404 lea edx,[esp+0x4] ss:0a83e523=????????
7d61cd37 64ff15c0000000 call dword ptr fs:[000000c0] fs:000000c0=????????
7d61cd3e c22800 ret 0x28
--> Stack Back Trace <--
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
0769fcb8 00c38ed8 000004f4 00000000 00000000 0036f0f8 ntdll!NtFsControlFile
0769ff84 77bcb530 00000000 00000000 00000000 0036f190 disp+work!<nosymbols>
0769ffb8 7d4dfe37 0036f190 00000000 00000000 0036f190 MSVCRT!endthreadex
0769ffec 00000000 77bcb4bc 0036f190 00000000 00000000 kernel32!FlsSetValue
call clean-up function ...
SigICallExitRoutine: call exithandler (DpHalt)
DpHalt: shutdown server >mudpap01_UDP_71 <
Switch off Shared memory profiling
not attached to the message server
***LOG Q05=> DpHalt, DPStop ( 13548) [dpxxdisp.c 7267]
removing Event-Managment
ERROR => EvtRmMgt: Evt Mgt Table not init'd [evtnt.c 360]
(didn't work)
ShmCleanup SHM_SYS_ADM_KEY
ShmCleanup SHM_DP_ADM_KEY
ERROR => ShmDelete: Inv. Key=2 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 2 [shmnt.c 747]
ShmCleanup SHM_DP_CA_KEY
ERROR => ShmDelete: Inv. Key=3 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 3 [shmnt.c 747]
ShmCleanup SHM_PF_KEY
ERROR => ShmDelete: Inv. Key=4 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 4 [shmnt.c 747]
ShmCleanup SHM_PRES_BUF
ERROR => ShmDelete: Inv. Key=14 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 14 [shmnt.c 747]
ShmCleanup SHM_CALI_BUFFER
ERROR => ShmDelete: Inv. Key=11 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 11 [shmnt.c 747]
ShmCleanup SHM_DB_TBUFF
ERROR => ShmDelete: Inv. Key=19 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 19 [shmnt.c 747]
ShmCleanup SHM_DB_TBUFF_P
ERROR => ShmDelete: Inv. Key=33 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 33 [shmnt.c 747]
ShmCleanup SHM_DB_STBUFF
ERROR => ShmDelete: Inv. Key=41 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 41 [shmnt.c 747]
ShmCleanup SHM_DB_TTBUFF
ERROR => ShmDelete: Inv. Key=42 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 42 [shmnt.c 747]
ShmCleanup SHM_DB_FTBUFF
ERROR => ShmDelete: Inv. Key=43 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 43 [shmnt.c 747]
ShmCleanup SHM_DB_SNTBUFF
ERROR => ShmDelete: Inv. Key=45 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 45 [shmnt.c 747]
ShmCleanup SHM_DB_IRBUFF
ERROR => ShmDelete: Inv. Key=44 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 44 [shmnt.c 747]
ShmCleanup SHM_DB_OBJ_BUFFER
ERROR => ShmDelete: Inv. Key=54 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 54 [shmnt.c 747]
ShmCleanup SHM_ROLL_AREA_KEY
ERROR => ShmDelete: Inv. Key=9 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 9 [shmnt.c 747]
ShmCleanup SHM_PAGING_AREA_KEY
ERROR => ShmDelete: Inv. Key=8 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 8 [shmnt.c 747]
ShmCleanup SHM_ROLL_ADM_KEY
ERROR => ShmDelete: Inv. Key=17 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 17 [shmnt.c 747]
ShmCleanup SHM_PAGING_ADM_KEY
ERROR => ShmDelete: Inv. Key=18 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 18 [shmnt.c 747]
ShmCleanup SHM_PXA_KEY
ERROR => ShmDelete: Inv. Key=6 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 6 [shmnt.c 747]
ShmCleanup SHM_ENQ_TABLE_KEY
ERROR => ShmDelete: Inv. Key=34 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 34 [shmnt.c 747]
ShmCleanup SHM_ENQID_KEY
ERROR => ShmDelete: Inv. Key=58 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 58 [shmnt.c 747]
ShmCleanup SHM_VB_ADM_KEY
ERROR => ShmDelete: Inv. Key=7 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 7 [shmnt.c 747]
ShmCleanup SHM_DB_POOL
ERROR => ShmDelete: Inv. Key=40 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 40 [shmnt.c 747]
ShmCleanup SHM_EM_ADM
ERROR => ShmDelete: Inv. Key=51 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 51 [shmnt.c 747]
ShmCleanup SHM_MSBUF
ERROR => ShmDelete: Inv. Key=52 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 52 [shmnt.c 747]
ShmCleanup SHM_THRUN_ADM_KEY(th run adm)
ERROR => ShmDelete: Inv. Key=30 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 30 [shmnt.c 747]
ShmCleanup SHM_PF_AS_KEY(Appl.Statistics)
ERROR => ShmDelete: Inv. Key=56 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 56 [shmnt.c 747]
ShmCleanup SHM_POOL_0
ERROR => ShmDelete: Inv. Key=10 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 10 [shmnt.c 747]
ShmCleanup SHM_PROFILE
removing Semaphore-Management
removing Request Queue
ERROR => ShmDelete: Inv. Key=31 [shmnt.c 676]
ERROR => ShmCleanup: ShmDelete failed for Key: 31 [shmnt.c 747]
ERROR => DpRqIQRemove: ShmDelete [dpxxqueu.c 558]
closing connect handles (dgm + tcp)
***LOG Q05=> DpHalt, DPStop ( 13548) [dpxxdisp.c 7454]
return from clean-up function ...
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Changed the extendend memory and other parameters still not able to bring it up...
Please suggest...
Thanks,
Subhash.GHi,
sappfpar result , no errors and warnings reported.
+++++++++++++++++++++++++++++++++++++++++++++++
Shared memory disposition overview
================================================================
Key: 1 Size: 2000 ( 0.0 MB) System administration
Key: 2 Size: 18828644 ( 18.0 MB) Disp. administration tables
Key: 3 Size: 178144000 ( 169.9 MB) Disp. communication areas
Key: 4 Size: 541048 ( 0.5 MB) statistic area
Key: 5 Size: 4096 ( 0.0 MB) SCSA area
Key: 6 Size: 851968000 ( 812.5 MB) ABAP program buffer
Key: 7 Size: 14838 ( 0.0 MB) Update task administration
Key: 8 Size: 134217828 ( 128.0 MB) Paging buffer
Key: 9 Size: 134217828 ( 128.0 MB) Roll buffer
Key: 11 Size: 500000 ( 0.5 MB) Factory calender buffer
Key: 12 Size: 3000000 ( 2.9 MB) TemSe Char-Code convert Buf.
Key: 13 Size: 10500000 ( 10.0 MB) Alert Area
Key: 14 Size: 58500096 ( 55.8 MB) Presentation buffer
Key: 16 Size: 22400 ( 0.0 MB) Semaphore activity monitoring
Key: 17 Size: 753764 ( 0.7 MB) Roll administration
Key: 18 Size: 458852 ( 0.4 MB) Paging adminitration
Key: 19 Size: 460000256 ( 438.7 MB) Table-buffer
Key: 30 Size: 91500 ( 0.1 MB) Taskhandler Runtime Admin
Key: 31 Size: 4206000 ( 4.0 MB) Dispatcher request queue
Key: 33 Size: 61440000 ( 58.6 MB) Table buffer, part.buffering
Key: 41 Size: 9010000 ( 8.6 MB) DB statistics buffer
Key: 42 Size: 52900592 ( 50.4 MB) DB TTAB buffer
Key: 43 Size: 87894392 ( 83.8 MB) DB FTAB buffer
Key: 44 Size: 46934392 ( 44.8 MB) DB IREC buffer
Key: 45 Size: 29526392 ( 28.2 MB) DB short nametab buffer
Key: 46 Size: 20480 ( 0.0 MB) DB sync table
Key: 47 Size: 71681024 ( 68.4 MB) DB CUA buffer
Key: 48 Size: 300000 ( 0.3 MB) Number range buffer
Key: 49 Size: 2769392 ( 2.6 MB) Spool admin (SpoolWP+DiaWP)
Key: 51 Size: 3200000 ( 3.1 MB) Extended memory admin.
Key: 52 Size: 40000 ( 0.0 MB) Message Server buffer
Key: 54 Size: 262152192 ( 250.0 MB) Export/Import buffer
Key: 55 Size: 8192 ( 0.0 MB) Spool local printer+joblist
Key: 57 Size: 1048576 ( 1.0 MB) Profil in shared Memory
Key: 58 Size: 4096 ( 0.0 MB) EnqId
Key: 1002 Size: 400000 ( 0.4 MB) Performance monitoring V01.0
Nr of operating system shared memory segments: 36
Shared memory resource requirements estimated
================================================================
Total Nr of shared segments required.....: 36
Shared memory segment size required min..: 851968000 ( 812.5 MB)
Swap space requirements estimated
================================================
Shared memory....................: 2370.2 MB
Processes........................: 468.3 MB
Extended Memory .................: 10260.0 MB
Total, minimum requirement.......: 13098.4 MB
Process local heaps, worst case..: 1908.0 MB
Total, worst case requirement....: 15006.4 MB
Errors detected..................: 0
Warnings detected................: 0
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
We are windows 2003 with sqlserver 2005, is there any equal command as cleanipc in UNIX for windows to clean the share memory .
Thanks,
Subhash.G -
OC4J_BI_Forms is not coming up in discoverer
Hi All,
Dicoverer OC4J_BI_Forms is not running.
I stopped and started again also it is not coming
I checked in ipm.log file.
11/08/30 18:00:02 [4] Request 2 Started. Command: start
11/08/30 18:00:02 [4] Starting Process: WebCache~WebCache~WebCache~1 (622986842:0)
11/08/30 18:00:02 [4] Starting Process: WebCache~WebCacheAdmin~WebCacheAdmin~1 (622986843:0)
11/08/30 18:00:02 [4] Starting Process: OC4J~home~default_island~1 (622986844:0)
11/08/30 18:00:02 [4] Starting Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (622986845:0)
11/08/30 18:00:02 [4] Starting Process: Discoverer~ServicesStatus~ServicesStatus~1 (622986846:0)
11/08/30 18:00:02 [4] Starting Process: Discoverer~PreferenceServer~PreferenceServer~1 (622986847:0)
11/08/30 18:00:03 [4] Process Alive: WebCache~WebCacheAdmin~WebCacheAdmin~1 (622986843:27703)
11/08/30 18:00:03 [4] Process Alive: WebCache~WebCache~WebCache~1 (622986842:27719)
11/08/30 18:00:04 [4] Process Alive: HTTP_Server~HTTP_Server~HTTP_Server~1 (622986845:27706)
11/08/30 18:00:04 [4] Process Alive: OC4J~home~default_island~1 (622986844:27704)
11/08/30 18:00:07 [4] Process Alive: Discoverer~ServicesStatus~ServicesStatus~1 (622986846:27711)
11/08/30 18:00:07 [4] Process Alive: Discoverer~PreferenceServer~PreferenceServer~1 (622986847:27713)
11/08/30 18:00:07 [4] Request 2 Completed. Command: start
11/08/30 18:02:03 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:04:03 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:04:03 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:06:03 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:06:03 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:08:03 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:08:03 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:08:05 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:08:05 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:10:07 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:10:07 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:12:09 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:12:09 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:14:11 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:14:11 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:16:13 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:16:13 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:18:15 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:18:15 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:20:17 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:20:17 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:22:19 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:22:19 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:24:21 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:24:21 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:26:23 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:26:23 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:28:25 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:28:25 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:30:27 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:30:27 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:32:29 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:32:29 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:34:31 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:34:31 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:36:33 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:36:33 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:38:35 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:38:35 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:40:37 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:40:37 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:40:59 [4] Request 245 Started. Command: stop
11/08/30 18:40:59 [4] Stopping Process: WebCache~WebCache~WebCache~1 (622986842:27719)
11/08/30 18:40:59 [4] Stopping Process: WebCache~WebCacheAdmin~WebCacheAdmin~1 (622986843:27703)
11/08/30 18:40:59 [4] Stopping Process: OC4J~home~default_island~1 (622986844:27704)
11/08/30 18:40:59 [4] Stopping Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (622986845:27706)
11/08/30 18:40:59 [4] Stopping Process: Discoverer~ServicesStatus~ServicesStatus~1 (622986846:27711)
11/08/30 18:40:59 [4] Stopping Process: Discoverer~PreferenceServer~PreferenceServer~1 (622986847:27713)
11/08/30 18:41:00 [4] Process Stopped: WebCache~WebCache~WebCache~1 (622986842:27719)
11/08/30 18:41:00 [4] Process Stopped: WebCache~WebCacheAdmin~WebCacheAdmin~1 (622986843:27703)
11/08/30 18:41:00 [4] Process Stopped: OC4J~home~default_island~1 (622986844:27704)
11/08/30 18:41:00 [4] Process Stopped: HTTP_Server~HTTP_Server~HTTP_Server~1 (622986845:27706)
11/08/30 18:41:00 [4] Process Stopped: Discoverer~ServicesStatus~ServicesStatus~1 (622986846:27711)
11/08/30 18:41:00 [4] Process Stopped: Discoverer~PreferenceServer~PreferenceServer~1 (622986847:27713)
11/08/30 18:41:00 [4] Request 245 Completed. Command: stop
11/08/30 18:41:00 [4] OPMN server stopped. Request handling disabled.
11/08/30 18:41:00 [4] Request 246 Started. Command: shutdown
11/08/30 18:41:38 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:41:38 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:42:40 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:42:40 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:43:42 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:43:42 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:44:44 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:44:44 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:45:46 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:45:46 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:46:00 [3] Sched SyncExit: monitor timed out
11/08/30 18:46:00 [4] Logging disabled
11/08/30 18:50:00 [4] PM state directory exists: /u01/app/p2pdb33/OAS/opmn/logs/states
11/08/30 18:50:00 [4] OPMN server ready. Request handling enabled.
11/08/30 18:50:00 [4] Request 2 Started. Command: start
11/08/30 18:50:00 [4] Starting Process: WebCache~WebCache~WebCache~1 (819463776:0)
11/08/30 18:50:00 [4] Starting Process: WebCache~WebCacheAdmin~WebCacheAdmin~1 (819463777:0)
11/08/30 18:50:00 [4] Starting Process: OC4J~home~default_island~1 (819463778:0)
11/08/30 18:50:00 [4] Starting Process: HTTP_Server~HTTP_Server~HTTP_Server~1 (819463779:0)
11/08/30 18:50:00 [4] Starting Process: Discoverer~ServicesStatus~ServicesStatus~1 (819463780:0)
11/08/30 18:50:00 [4] Starting Process: Discoverer~PreferenceServer~PreferenceServer~1 (819463781:0)
11/08/30 18:50:01 [4] Process Alive: WebCache~WebCacheAdmin~WebCacheAdmin~1 (819463777:26108)
11/08/30 18:50:01 [4] Process Alive: WebCache~WebCache~WebCache~1 (819463776:26130)
11/08/30 18:50:02 [4] Process Alive: HTTP_Server~HTTP_Server~HTTP_Server~1 (819463779:26111)
11/08/30 18:50:02 [4] Process Alive: OC4J~home~default_island~1 (819463778:26110)
11/08/30 18:50:05 [4] Process Alive: Discoverer~ServicesStatus~ServicesStatus~1 (819463780:26114)
11/08/30 18:50:05 [4] Process Alive: Discoverer~PreferenceServer~PreferenceServer~1 (819463781:26118)
11/08/30 18:50:05 [4] Request 2 Completed. Command: start
11/08/30 18:52:01 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:54:01 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:54:01 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:56:01 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:56:01 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:58:01 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:58:01 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:58:03 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 18:58:03 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 19:00:05 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 19:00:05 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 19:02:07 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 19:02:07 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 19:04:09 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 19:04:09 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 19:06:11 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 19:06:11 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 19:08:13 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 19:08:13 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 19:08:29 [4] Request 6 Started. Command: start
11/08/30 19:08:49 [4] Request 8 Started. Command: start
11/08/30 19:09:15 [4] Request 11 Started. Command: stop
11/08/30 19:09:32 [4] Request 13 Started. Command: start
11/08/30 19:10:15 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 19:10:15 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 19:10:21 [4] Request 16 Started. Command: start
11/08/30 19:10:46 [4] Request 19 Started. Command: start
11/08/30 19:11:02 [4] Request 21 Started. Command: start
11/08/30 19:12:17 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 19:12:17 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 19:14:19 [4] Stopping Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
11/08/30 19:14:19 [4] [libopmnoc4j] Forcefully Terminating Process: OC4J~OC4J_BI_Forms~default_island~1 (1153369682:5589)
and also i checked OC4J~OC4J_BI_Forms~default_island~1
11/08/30 18:02:04 Stop process
Error: Could not connect to the remote server. Please check if the server is down or the client is using invalid host, ORMI port or password to connect: Connection refused
11/08/30 18:52:02 Stop process
Error: Could not connect to the remote server. Please check if the server is down or the client is using invalid host, ORMI port or password to connect: Connection refused
please help me to resolve this.
Thanks in advance
Regards
KumarPlease post the details of the application server version, database version and OS.
Was this working before? If yes, any changes have been done recently?
What kind of OracleAS installation you have? I see that this is an OracleAS issue, so any reason you are posting this issue in Oracle E-Business Suite forum?
Please review these docs and see if it helps.
OMS Startup Fails: 'opmnctl status' Shows OC4J_EM Component in 'Stop' Status [ID 444031.1]
OC4J Instance Configuration Assistant Fails when Applying the 10.1.2.2 or 10.1.2.3 Patchset on a NFS-Mounted Storage AS Infrastructure Installation: ERROR: Caught exception while binding web app 'ui' [ID 470396.1]
Thanks,
Hussein -
ICM 7.5
CVP 7.0
The call server is not coming up.
here is the log from voice browser.
13:15:08 Initializing Event Management System (EMS) Library.
13:15:08 Trace: EMS Server pipe Customer\Voice Browser\VBEMSPipe enabled for Customer\Voice Browser\VB
13:15:08 Trace: Release 7.0.1, Build 1190
13:15:08 Trace: INFO: Registry base = CVP\Customer\Voice Browser
13:15:08 Trace: INFO: Process Name = VB
13:15:08 Trace: INFO: ICRRoot = C:\Cisco\CVP\bin
13:15:08 Initializing Node Manager Library.
13:15:08 Trace: INFO: Voice Browser Reading Registry...
13:15:08 Trace: Monitor Server pipe Customer\Voice Browser\VBCmdPipe enabled for Customer\Voice Browser\VB
13:15:08 Trace: Monitor Server pipe Customer\Voice Browser\VBReadOnlyCmdPipe enabled for Customer\Voice Browser\VBReadOnly
13:15:08 Trace: INFO: Voice Browser initializing globals...
13:15:08 Trace: INFO: VBRegistry::SetRegNotify Setting Registry trace
13:15:08 Trace: INFO: Voice Browser starting threads...
13:15:10 Trace: INFO: Resolving IP address for ICMGRPCVP1
13:15:12 Trace: INFO: IP address for ICMGRPCVP1 is 10.20.20.60
13:15:12 Trace: INFO: Gatekeeper configured is 10.20.61.92;SIDEA;1719. Registration attempts will start with first GK in this list until a successful registration occurs
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: maxCalls(defined in radvision config as Q931.maxCalls) = 1400
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: maxIVRPorts = 130
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: maxTotalCalls = 555
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: takebackPercentage = 0
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: startingRtpPort = 16384
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: radConfigPath = C:\Cisco\CVP\VoiceBrowser\Config.val
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: pktInterval = 20
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: adminMode = 1
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: RaiMaxThreshold = 90
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: RaiMinThreshold = 80
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: Codec = g711Ulaw64k
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: CpuMaxThreshold = 99
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: CpuMinThreshold = 94
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: CpuHealthCheck = 0
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: CpuSustainedTime = 15
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: CpuOverloadReject = 0
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: PerfmonIntervalTimer = 5000
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: MemMaxThreshold = 80
13:15:12 Trace: INFO: H323CallMgr::getRegistrySettings: MemMinThreshold = 60
13:15:12 Trace: INFO: Voice Browser Main Thread Active...
13:15:12 Trace: INFO: H.225 Call signalling address of Voice Browser is 10.20.20.60:1720
13:15:12 Trace: INFO: Voice Browser Trace Mask is 0x101083
13:15:12 Trace: INFO: Initial registration with gatekeeper
13:15:12 Voice Browser communication to the Gatekeeper successful, alarm cleared.
13:15:12 Trace: SYSLOG: Server: STATUS=2, Port: =H323,NAME=H.323Ser?+wSTATUS=2
13:15:12 Trace: INFO: H323CallMgr::sendRAI: Successfully sent RAI for resource unavailability
13:15:12 Trace: INFO: LongPoll Failed -- Got OUT_OF_SERVICE from Call Server
13:15:13 Trace: INFO: Starting HEALTH long poller to Call server localhost:8000/cvp/VBServlet
13:15:13 Voice Browser to Call Server localhost:8000 connection unsuccessful.
13:15:13 Voice Browser cannot access any Call Servers and is no longer accepting calls.
13:15:13 Voice Browser ICMGRPCVP1 is out of service.
13:15:13 Trace: INFO: H323CallMgr::sendRAI: Successfully sent RAI for resource unavailabilityDear Geoff;
I am facing the same thing, but in the OAMP is shown to be down and not able to get any statistics on this CVP Call Server.
Actually the PG01, PG02 and PG03 are enabled in the router registry (while PG01 for CUCM PG, PG02 for CVP Call Server PG and PG03 for the Media Routing PG).
It was working before and I was receiving calls on it, but suddenly this happened.
Actually, an upgrade happened from version 7 to version 8 and we imported new licenses for the VXML Server but did not import new licenses for the CVP Call Server. Could be a license issue because we have to import the new license to change from version 7 to version 8?
Thanks in advance for the help.
Regards
Bilal -
Header is not coming in alv list display- urgent
hi all,
i am sending my code below....
my requirement is in selection screen i have 4 radio buttons . if i click 1 radio button it will duiisplay data and and its header. report is working fine. my requirement id when i click r_mssng radio button(missing radio button) it is showing data correctsly. here i want to show header as 'Missing details report'.
this is not coming in my report. anybody can suggest me.
i am sending my code below....
report zvra0001ftb13 message-id zv.
Confidential and Proprietary
* Celestica Corporation
* All Rights Reserved
*ABAP Name: ZVRA0001FTB13
*Created by: Srinivasa Chakravarthi
*Created on: 26/03/2003
*SAP Version: 4.6 C
*Description: This report displays details of foreign trades
and EHS based on the deliveries made to the outside
countries.
*Input: Selection Screen Criteria includes country of
origin,Company code, Sales Organisation,
Ship-to-party, Sold-to-paarty, Goods movement date,
Invoice number, Invoice type, Material , Material
Type, Exporter ID, Province of origin.
*Output: ALV output that contains Mode of Transport, Export
HS number, Commodity Description, Quantity, UOM,
Value, Country of Destination, Goods Origin
*Dependency: Nil
*Modification Log:
*CR# Date Coded Transport Description
*====== ======== ========= ============= ===============================
*5147 26/03/2003 Srinivas ED1K922286 New Development
*8700 02/11/2004 H.Arular ED1K938380 To check if entries of Comm
Code(HS code)is less than 8
digits and give a warning
message.
*18684 25/07/2007 MAHEEDHAR Merge the logic from report
ZVRA0001FTB13_ERROR into
report ZVRA0001FTB13 and
added two radio buttons
called missing data and non
missing data, addedc logic
accoriding to the radio
buttons.
*Declaring Tables.
tables: likp, "Delivery document Header
lips, "Delivery Document Item
vbfa, "Sales document Flow
bkpf, "Accounting Document Header
eikp, "Foreign Trade:Export/Import Data
eipo, "Foreign Trade:Export/ Import
"Header data
t618t, "Forein Trade:Mode of Transport
"Description
t604t, "Foreign Trade: Commodity Code/
"Import Code number Description.
mara, "Material master data.
t005, "Countries
t001, "Company Codes
tvko, "Sales Organisations
kna1, "Customer Master
t003, "Document types
t134, "Material types
tvfk,
konv,
vbrk.
constants : c_rep like vbrk-fkart value 'YGFB',
c_for(10) value 'Foreign'.
*Decalre Type pool for ALV
type-pools: slis.
*Type declaration for LIKP.
types: begin of t_data1,
vbeln like likp-vbeln, "Delivery
kunnr like likp-kunnr,
end of t_data1.
*Type declaration for LIPS,VBFA.
types: begin of t_data2,
vbeln like lips-vbeln, "Delivery
posnr like lips-posnr, "Delivery Item
vbelv like vbfa-vbelv, "Preceding SD document
posnv like vbfa-posnv, "Preceding item of SD document
matnr like lips-matnr, "Material Number
meins like lips-meins, "Base unit of measure
lfimg like lips-lfimg, "Actual Quantity Delivered
mtart like mara-mtart,
end of t_data2.
**Type declaration for BKPF.
*types: begin of t_data3,
belnr like bkpf-belnr, "Accounting Documnet number
bukrs like bkpf-bukrs, "Company Code
end of t_data3.
*Type declaration for BKPF.
types: begin of t_data3,
vbeln like vbrk-belnr, " Billing Doc
fkart like vbrk-fkart,
land1 like vbrk-land1,
end of t_data3.
*Type declaration for EIPO.
types: begin of t_data4,
vbeln like lips-vbeln, "Delivery
posnr like lips-posnr, "Delivery Item
matnr like vbrp-matnr,
fkimg like vbrp-fkimg,
meins like vbrp-meins,
verld like eipo-verld, "Country of dispatch for Foreign
"trade
herkl like eipo-herkl, "Country of origin of material
grwrt like eipo-grwrt, "Statistical value for Foreign
" trade
stawn like eipo-stawn, "Commodity code for foreign trade
expvz like eikp-expvz, "Mode of transport for foreign
"trade
end of t_data4.
*Type declaration for T618T.
types: begin of t_data5,
land1 like t618t-land1, "Country key
expvz like t618t-expvz, "Mode of Transport
bezei like t618t-bezei, "Description
end of t_data5.
*Type declaration for T604T.
types: begin of t_data6,
land1 like t604t-land1, "Country key
stawn like t604t-stawn, "Commodity Code
text1 like t604t-text1, "Description
end of t_data6.
*Type declaration for T604T.
types: begin of t_mara,
matnr like mara-matnr,
end of t_mara.
types : begin of rep_val,
vbelv like vbfa-vbelv,
posnv like vbfa-posnv,
vbeln like vbfa-vbeln,
posnn like vbfa-posnn,
uepos like vbap-uepos,
posnr like vbap-posnr,
netwr like vbap-netwr,
end of rep_val.
types : begin of t_price,
vbeln like vbak-vbeln,
posnr like vbap-posnr,
knumv like konv-knumv,
kposn like konv-kposn,
kbetr like konv-kbetr,
kpein like konv-kpein,
end of t_price.
data : t_sord type rep_val occurs 0 with header line.
data : t_dord type rep_val occurs 0 with header line.
data : t_rord type rep_val occurs 0 with header line.
data : t_hord type rep_val occurs 0 with header line.
data : t_ford type rep_val occurs 0 with header line.
data : i_price type t_price occurs 0 with header line.
data : i_price1 type t_price occurs 0 with header line.
data : i_mara type t_mara occurs 0 with header line.
data : i_sort type slis_t_sortinfo_alv.
DATA: t_layout TYPE slis_layout_alv.
*Declaring Selection screen.
selection-screen begin of block b1 with frame title text-101.
select-options:
s_verld for eipo-verld, "Country of Dest.
s_bukrs for bkpf-bukrs, "Company code
s_vkorg for likp-vkorg, "Sales Organisation
s_kunnr for likp-kunnr, "Ship-to-Party
s_kunag for likp-kunag, "Sold-to-party
s_wadat for likp-wadat_ist, "Goods Movement date
s_belnr for vbrk-vbeln, "Invoice number
s_blart for vbrk-fkart. "Invoice type.
selection-screen end of block b1.
selection-screen begin of block b2 with frame title text-101.
select-options:
s_matnr for mara-matnr, "Material
s_mtart for mara-mtart. "Material Type
selection-screen end of block b2.
selection-screen begin of block b3 with frame title text-101.
parameters:
p_export(30) type c default '1366770724RM' obligatory , "Exporter ID
p_provi(30) type c default 'ONTARIO' obligatory ,
p_sumid(30) type c default 'SUM0704'.
"Province of Origin
selection-screen end of block b3.
selection-screen begin of block b4 with frame title text-104.
parameters:
r_summ radiobutton group zsum,
r_dets radiobutton group zsum,
r_mssng radiobutton group zsum, " maheedhar
R_NMSNG RADIOBUTTON GROUP ZSUM. " MAHEEDHAR
selection-screen skip.
parameter : p_sum as checkbox .
selection-screen end of block b4.
selection-screen begin of block b5 with frame title text-105.
select-options : s_i_kun for likp-kunnr.
selection-screen end of block b5.
*Data Declaration
data: i_fieldcat type slis_t_fieldcat_alv.
data: l_fieldcat type slis_fieldcat_alv .
data: v_lin type i.
data: v_lfstk type c value 'C'.
data: v_vbtyp type c value 'U'.
data: i_data1 type t_data1 occurs 0 with header line.
data : begin of t_T005t occurs 0.
include structure t005t.
data : end of t_t005t.
data: i_data2 type t_data2 occurs 0 with header line.
data: t_delv type t_data2 occurs 0 with header line.
data: t_bild type t_data2 occurs 0 with header line.
data: i_data3 type t_data3 occurs 0 with header line.
data: i_data4 type t_data4 occurs 0 with header line.
data: i_data5 type t_data5 occurs 0 with header line.
data: i_data6 type t_data6 occurs 0 with header line.
*Declare Internal table for ALV output.
data: begin of i_output occurs 0,
belnr like vbrk-vbeln,
posnr like vbrp-posnr,
bezei like t618t-bezei,
stawn like eipo-stawn,
text1 like t604t-text1,
quantity type p decimals 2,
meins like lips-meins,
value type p decimals 2,
verld like t_t005t-landx,
herkl like t_t005t-landx,
strlen, "ED1K938380
end of i_output.
maheedhar-start.
data : i_output1 like i_output occurs 0 with header line,
i_output2 like i_output occurs 0 with header line.
maheedhar-end
data : buff_out like i_output occurs 0 with header line.
data: begin of t_outsum occurs 0,
bezei like t618t-bezei,
stawn like eipo-stawn,
text1 like t604t-text1,
quantity type p decimals 2,
meins like lips-meins,
value type p decimals 2,
verld like t_t005t-landx,
herkl like t_t005t-landx,
end of t_outsum.
data : v_ans.
data : variante LIKE disvariant.
data : v_repid LIKE sy-repid.
data : wa_listheader TYPE slis_listheader.
data : t_listheader TYPE slis_t_listheader.
data : b_text(250).
data: evntS type slis_t_event with header line. " MAHEEDHAR
EVENT AT SELECTION-SCREEN
at selection-screen.
*For Autorisation check
perform authorisation_check.
Validation of Selection screen
perform check_entry.
EVENT START-OF-SELECTION
start-of-selection.
*Get data
perform select_data.
**For calling ALV function modules
MAHEEDHAR - START
if r_mssng eq 'X'.
DELETE I_OUTPUT WHERE BEZEI NE SPACE AND
STAWN NE SPACE AND
HERKL NE SPACE AND
VERLD NE SPACE.
DESCRIBE TABLE I_OUTPUT LINES V_LIN.
IF V_LIN > 0.
PERFORM DISPLAY_OUTPUT.
ELSE.
MESSAGE E000 WITH TEXT-130.
ENDIF.
elseif R_SUMM eq 'X' OR R_DETS EQ 'X'. "ENDIF. " MAHEEDHAR
MAHEEDHAR-END
describe table i_output lines v_lin.
if v_lin > 0.
buff_out[] = i_output[].
Begin of ED1K938380
delete buff_out where stawn ne space or "ED1K938380
verld eq space or
herkl eq space.
delete buff_out where strlen ne 'X' or
verld eq space or
herkl eq space.
End of ED1K938380
describe table buff_out lines v_lin.
Lines with no commodity code exists.
if v_lin gt 0.
concatenate text-902 text-903 into b_text.
concatenate text-906 text-907 into b_text. "ED1K938380
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = Text-901
TEXT_QUESTION = b_text
TEXT_BUTTON_1 = 'Yes'
TEXT_BUTTON_2 = 'No'
DEFAULT_BUTTON = '2'
IMPORTING
ANSWER = v_ans.
if v_ans eq '1'.
perform display_output.
endif.
else.
perform display_output.
endif.
else. " MAHEEDHAR
message e000 with text-130.
endif.
MAHEEDHAR-START
*"-- If non missing details radiobutton is selected
elseif r_nmsng = 'X'.
*"-- move data from i_output to i_output1.
i_output1[] = i_output[].
sort i_output by belnr.
sort i_output1 by belnr.
*"-- to get missing data
delete i_output1 where bezei ne space and
stawn ne space and
herkl ne space and
verld ne space.
loop at i_output.
*"-- compare two int tables with respective document number
read table i_output1 with key belnr = i_output-belnr.
if sy-subrc ne 0.
move-corresponding i_output to i_output2.
append i_output2.
clear i_output2.
endif.
endloop.
describe table i_output2 lines v_lin.
if v_lin gt 0.
perform display_output.
else.
message e000 with text-130.
endif.
MAHEEDHAR-END.
ENDIF. " MAHEEDHAR
FORM SELECT_DATA *
form select_data.
Data:l_strlen type i. "ED1K938380
*Get details from LIKP.
if s_i_kun[] is initial.
select likpvbeln likpkunnr
into corresponding fields of table i_data1
from likp
inner join vbuk on likpvbeln = vbukvbeln
where
likp~vkorg in s_vkorg and
likp~kunnr in s_kunnr and
likp~kunag in s_kunag and
likp~wadat_ist in s_wadat and
vbuk~wbstk = 'C' .
else.
select likpvbeln likpkunnr
into corresponding fields of table i_data1
from likp
inner join vbuk on likpvbeln = vbukvbeln
where
( ( likp~vkorg in s_vkorg and
likp~kunnr in s_kunnr and
likp~kunag in s_kunag and
likp~wadat_ist in s_wadat and
vbuk~wbstk = 'C' )
or
likp~kunnr in s_i_kun and
likp~wadat_ist in s_wadat and
vbuk~wbstk = 'C' ) .
endif.
if sy-subrc ne 0.
message e000 with text-200.
endif.
*Get details from table LIPS
select lips~vbeln
lips~posnr
vbfa~vbeln
vbfa~posnn
lips~matnr
lips~meins
lips~lfimg
mara~mtart
from lips
inner join vbfa on vbfavbelv = lipsvbeln
and vbfaposnv = lipsposnr
inner join mara on maramatnr = lipsmatnr
into table i_data2
for all entries in i_data1
where
lips~vbeln = i_data1-vbeln and
lips~matnr in s_matnr and
vbfa~vbeln in s_belnr and
mara~mtart in s_mtart and
vbfa~vbtyp_n = 'U'.
if sy-subrc ne 0.
message e000 with text-201.
endif.
t_delv[] = i_data2[].
t_bild[] = i_data2[].
sort t_delv by vbeln.
delete adjacent duplicates from t_delv comparing vbeln.
sort t_bild by vbeln ascending vbelv descending.
delete adjacent duplicates from t_bild comparing vbeln.
*Get details of Accounting document number
select vbeln fkart land1 from vbrk
into table i_data3
for all entries in t_bild
where vbeln = t_bild-vbelv and
bukrs in s_bukrs and
fkart in s_blart and
vkorg in s_vkorg and " MAHEEDHAR
land1 in s_verld. " MAHEEDHAR
sort i_data3.
*Get details from EIPO.
select vbrp~vbeln
vbrp~posnr
vbrp~matnr
vbrp~fkimg
vbrp~meins
eipo~verld
eipo~herkl
eipo~grwrt
eipo~stawn
eikp~expvz
from eikp
inner join vbrp on vbrp~vbeln = eikp~refnr
inner join eipo on eikp~exnum = eipo~exnum
and eipo~expos = vbrp~posnr
into table i_data4 for all entries in i_data3
where vbrp~vbeln = i_data3-vbeln.
eipo~verld in s_verld.
if sy-subrc ne 0.
message e000 with text-201.
endif.
IF R_MSSNG NE 'X' or r_nmsng = 'X'. " MAHEEDHAR
perform get_price.
ENDIF. " MAHEEDHAR
Get details from T618T.
select land1
expvz
bezei
from t618t
into table i_data5
for all entries in i_data4
where
land1 = 'CA' and " Getting for Canada only
expvz = i_data4-expvz and
spras = sy-langu.
select matnr from mara into table i_mara where matnr in s_matnr
and mtart in s_mtart.
Get details from T604T.
select land1
stawn
text1
from t604t
into table i_data6
for all entries in i_data4
where
land1 = i_data4-VERLD and
stawn = i_data4-stawn and
spras = sy-langu.
select * from T005t into table t_T005t where spras = sy-langu.
loop at i_data3.
loop at i_data4 where vbeln eq i_data3-vbeln.
clear : i_data1, i_data2.
read table i_data2 with key vbelv = i_data4-vbeln
posnv = i_data4-posnr.
read table i_data1 with key vbeln = i_data2-vbeln.
if not s_i_kun[] is initial.
check ( ( i_data1-kunnr in s_i_kun ) or
( i_data3-land1 in s_verld ) ).
else.
check i_data3-land1 in s_verld .
endif.
read table i_mara with key matnr = i_data4-matnr.
if sy-subrc eq 0.
read table i_data5 with key expvz = i_data4-expvz .
land1 = i_data3-land1.
read table i_data6 with key stawn = i_data4-stawn
land1 = i_data4-VERLD.
move i_data4-vbeln to i_output-belnr.
move i_data4-posnr to i_output-posnr.
move i_data5-bezei to i_output-bezei.
move i_data6-text1 to i_output-text1.
Begin of ED1K938380.
l_strlen = strlen( i_data4-stawn ).
if l_strlen < 8.
move 'X' to i_output-strlen.
endif.
End of ED1K938380.
move i_data4-stawn to i_output-stawn.
move i_data4-meins to i_output-meins.
read table t_T005t with key land1 = i_data3-land1.
move t_t005t-landx to i_output-verld.
if p_sum eq space.
if i_data4-herkl ne 'CA'.
i_output-herkl = c_for.
else.
read table t_T005t with key land1 = i_data4-herkl.
move t_t005t-landx to i_output-herkl.
endif.
else.
read table t_T005t with key land1 = i_data4-herkl.
move t_t005t-landx to i_output-herkl.
endif.
move i_data4-fkimg to i_output-quantity.
if i_data3-fkart eq c_rep.
read table t_dord with key vbeln = i_data4-vbeln
posnn = i_data4-posnr.
if sy-subrc eq 0.
read table t_sord with key vbeln = t_dord-vbelv
posnn = t_dord-posnv.
if sy-subrc eq 0.
read table t_hord with key vbeln = t_sord-vbelv
posnr = t_sord-posnv.
if sy-subrc eq 0.
read table t_ford with key vbeln = t_hord-vbeln
posnr = t_hord-uepos.
if sy-subrc eq 0.
read table i_price with key vbeln = t_ford-vbeln
posnr = t_ford-posnr.
if sy-subrc eq 0.
read table i_price1 with key knumv = i_price-knumv
kposn = t_ford-posnr.
if sy-subrc eq 0.
if i_price1-kpein ne 0.
i_output-value =
( i_price1-kbetr / i_price1-kpein ) *
i_data4-fkimg.
endif.
endif.
endif.
endif.
endif.
endif.
endif.
else.
move i_data4-grwrt to i_output-value.
endif.
append i_output.
clear i_output.
clear : i_data5, i_data6.
endif.
endloop.
endloop.
sort i_output by verld herkl bezei stawn.
endform.
FORM DISPLAY_OUTPUT *
This form is to create the ALV output
form display_output.
data: xevents type slis_t_event,
ls_event type slis_alv_event,
slis_ev_top_of_page type slis_formname value 'TOP_OF_PAGE',
slis_ev_end_of_list type slis_formname value 'END_OF_LIST'.
*Call Function 'REUSE_ALV_EVENTS' for top of page
call function 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = xevents
EXCEPTIONS
list_type_wrong = 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.
read table xevents with key name = slis_ev_top_of_page
into ls_event.
if sy-subrc = 0.
move slis_ev_top_of_page to ls_event-form.
append ls_event to xevents.
endif.
read table xevents with key name = slis_ev_end_of_list
into ls_event.
if sy-subrc = 0.
move slis_ev_end_of_list to ls_event-form.
append ls_event to xevents.
endif.
if r_dets ne space.
*Call Function 'REUSE_ALV_FIELD_CATALOG_MERGE' for position fixing in
*the output.
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
exporting
i_program_name = 'ZVRA0001FTB13'
i_internal_tabname = 'I_OUTPUT'
i_inclname = 'ZVRA0001FTB13'
I_STRUCTURE_NAME =
I_CLIENT_NEVER_DISPLAY = 'X'
I_INCLNAME =
i_bypassing_buffer = 'X'
i_buffer_active = ' '
changing
ct_fieldcat = i_fieldcat
exceptions
inconsistent_interface = 1
program_error = 2
others = 3.
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 i_fieldcat into l_fieldcat.
l_fieldcat-key = ' '.
case l_fieldcat-fieldname.
when 'BELNR'.
l_fieldcat-seltext_m = text-912.
l_fieldcat-seltext_l = text-912.
l_fieldcat-reptext_ddic = text-912.
l_fieldcat-col_pos = '1'.
l_fieldcat-just = 'C'.
l_fieldcat-outputlen = '12'..
when 'POSNR'.
l_fieldcat-seltext_m = text-913.
l_fieldcat-seltext_l = text-913.
l_fieldcat-reptext_ddic = text-913.
l_fieldcat-col_pos = '2'.
l_fieldcat-just = 'C'.
l_fieldcat-outputlen = '6'.
when 'BEZEI'.
l_fieldcat-seltext_m = text-911.
l_fieldcat-seltext_l = text-911.
l_fieldcat-reptext_ddic = text-911.
l_fieldcat-col_pos = '3'.
l_fieldcat-just = 'C'.
l_fieldcat-outputlen = '15'..
when 'STAWN'.
l_fieldcat-seltext_m = text-111.
l_fieldcat-seltext_l = text-111.
l_fieldcat-reptext_ddic = text-111.
l_fieldcat-col_pos = '4'.
l_fieldcat-just = 'C'.
l_fieldcat-outputlen = '30'.
when 'TEXT1'.
l_fieldcat-seltext_m = text-112.
l_fieldcat-seltext_l = text-112.
l_fieldcat-outputlen = '40'.
l_fieldcat-col_pos = '5'.
l_fieldcat-just = 'C'.
l_fieldcat-reptext_ddic = text-112.
when 'QUANTITY'.
l_fieldcat-outputlen = '18'.
l_fieldcat-reptext_ddic = text-113.
l_fieldcat-seltext_m = text-113.
l_fieldcat-col_pos = '6'.
l_fieldcat-just = 'C'.
l_fieldcat-seltext_l = text-113.
when 'MEINS'.
l_fieldcat-outputlen = '8'.
l_fieldcat-reptext_ddic = text-114.
l_fieldcat-seltext_m = text-114.
l_fieldcat-col_pos = '7'.
l_fieldcat-just = 'C'.
l_fieldcat-seltext_l = text-114.
when 'VALUE'.
l_fieldcat-outputlen = '20'.
l_fieldcat-seltext_m = text-115.
l_fieldcat-seltext_l = text-115.
l_fieldcat-just = 'C'.
l_fieldcat-reptext_ddic = text-115.
when 'VERLD'.
l_fieldcat-outputlen = '20'.
l_fieldcat-seltext_m = text-116.
l_fieldcat-seltext_l = text-116.
l_fieldcat-just = 'C'.
l_fieldcat-reptext_ddic = text-116.
when 'HERKL'.
l_fieldcat-seltext_m = text-117.
l_fieldcat-seltext_l = text-117.
l_fieldcat-outputlen = '30'.
l_fieldcat-just = 'C'.
l_fieldcat-reptext_ddic = text-117.
when others.
l_fieldcat-no_out = 'X'.
endcase.
modify i_fieldcat from l_fieldcat.
endloop.
Call Function 'REUSE_ALV_LIST_DISPLAY' for dispaly of data in ALV.
call function 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = 'ZVRA0001FTB13'
it_fieldcat = i_fieldcat
it_events = xevents
is_layout = t_layout
i_save = 'A'
i_bypassing_buffer = 'X'
i_buffer_active = ' '
TABLES
t_outtab = i_output
EXCEPTIONS
program_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.
else. " MAHEEDHAR
ELSEIF R_SUMM EQ 'X'. " MAHEEDHAR
sort i_output by verld herkl stawn bezei.
loop at i_output.
move-corresponding i_output to t_outsum.
collect t_outsum.
endloop.
*Call Function 'REUSE_ALV_FIELD_CATALOG_MERGE' for position fixing in
*the output.
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = 'ZVRA0001FTB13'
i_internal_tabname = 'T_OUTSUM'
i_inclname = 'ZVRA0001FTB13'
i_bypassing_buffer = 'X'
i_buffer_active = ' '
CHANGING
ct_fieldcat = i_fieldcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
others = 3.
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 i_fieldcat into l_fieldcat.
l_fieldcat-key = ' '.
case l_fieldcat-fieldname.
when 'BEZEI'.
l_fieldcat-seltext_m = text-911.
l_fieldcat-seltext_l = text-911.
l_fieldcat-reptext_ddic = text-911.
l_fieldcat-col_pos = '1'.
l_fieldcat-just = 'C'.
l_fieldcat-outputlen = '15'..
when 'STAWN'.
l_fieldcat-seltext_m = text-111.
l_fieldcat-seltext_l = text-111.
l_fieldcat-reptext_ddic = text-111.
l_fieldcat-col_pos = '2'.
l_fieldcat-just = 'C'.
l_fieldcat-outputlen = '30'.
when 'TEXT1'.
l_fieldcat-seltext_m = text-112.
l_fieldcat-seltext_l = text-112.
l_fieldcat-outputlen = '40'.
l_fieldcat-col_pos = '3'.
l_fieldcat-just = 'C'.
l_fieldcat-reptext_ddic = text-112.
when 'QUANTITY'.
l_fieldcat-outputlen = '18'.
l_fieldcat-reptext_ddic = text-113.
l_fieldcat-seltext_m = text-113.
l_fieldcat-col_pos = '4'.
l_fieldcat-just = 'C'.
l_fieldcat-seltext_l = text-113.
when 'MEINS'.
l_fieldcat-outputlen = '8'.
l_fieldcat-reptext_ddic = text-114.
l_fieldcat-seltext_m = text-114.
l_fieldcat-col_pos = '5'.
l_fieldcat-just = 'C'.
l_fieldcat-seltext_l = text-114.
when 'VALUE'.
l_fieldcat-outputlen = '20'.
l_fieldcat-seltext_m = text-115.
l_fieldcat-seltext_l = text-115.
l_fieldcat-col_pos = '6'.
l_fieldcat-just = 'C'.
l_fieldcat-reptext_ddic = text-115.
when 'VERLD'.
l_fieldcat-outputlen = '20'.
l_fieldcat-seltext_m = text-116.
l_fieldcat-seltext_l = text-116.
l_fieldcat-col_pos = '7'.
l_fieldcat-just = 'C'.
l_fieldcat-reptext_ddic = text-116.
when 'HERKL'.
l_fieldcat-seltext_m = text-117.
l_fieldcat-seltext_l = text-117.
l_fieldcat-outputlen = '30'.
l_fieldcat-col_pos = '8'.
l_fieldcat-just = 'C'.
l_fieldcat-reptext_ddic = text-117.
when others.
l_fieldcat-no_out = 'X'.
endcase.
modify i_fieldcat from l_fieldcat.
endloop.
Call Function 'REUSE_ALV_LIST_DISPLAY' for dispaly of data in ALV.
call function 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = 'ZVRA0001FTB13'
it_fieldcat = i_fieldcat
it_events = xevents
i_save = 'A'
is_layout = t_layout
i_default = 'X'
is_variant = variante
i_bypassing_buffer = 'X'
i_buffer_active = ' '
TABLES
t_outtab = t_outsum
EXCEPTIONS
program_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.
MAHEEDHAR-START.
*"-- if detail summary checkbox is selected
elseIF R_MSSNG = 'X'.
PERFORM PREPARE_HEADER.
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
exporting
i_program_name = 'ZVRA0001FTB13'
i_internal_tabname = 'I_OUTPUT'
i_inclname = 'ZVRA0001FTB13'
I_STRUCTURE_NAME =
I_CLIENT_NEVER_DISPLAY = 'X'
I_INCLNAME =
i_bypassing_buffer = 'X'
i_buffer_active = ' '
changing
ct_fieldcat = i_fieldcat
exceptions
inconsistent_interface = 1
program_error = 2
hi,
*& Report ZALV_FIELD_GRID1
REPORT ZALV_FIELD_GRID1
NO STANDARD PAGE HEADING.
TABLES MARA.
type-pools :slis.
TYPES : BEGIN OF TMARA ,
MATNR LIKE MARA-MATNR,
MEINS LIKE MARA-MEINS,
ERSDA LIKE MARA-ERSDA,
color(4) type c,
SEL type c,
LIGHT TYPE C,
END OF TMARA.
TYPES: BEGIN OF TMAKT,
MATNR LIKE MAKT-MATNR,
MAKTX LIKE MAKT-MAKTX,
MAKTG LIKE MAKT-MAKTG,
SEL TYPE C,
COLOR(4),
END OF TMAKT.
DATA: ITAB TYPE TMARA OCCURS 0 WITH HEADER LINE,
ITAB1 TYPE TMAKT OCCURS 0 WITH HEADER LINE,
wa_fieldcat type slis_fieldcat_alv,
fieldcat type slis_fieldcat_alv occurs 0,
i_layout type slis_layout_alv,
WA_LISTHEADER TYPE SLIS_LISTHEADER ,
i_LISTHEADER TYPE SLIS_LISTHEADER OCCURS 0,
V_EVENTS TYPE SLIS_T_EVENT ,
WA_EVENT TYPE SLIS_ALV_EVENT,
I_TITLE_MARA TYPE LVC_TITLE VALUE 'FIRST LIST DISPLAYED',
I_TITLE_MAKT TYPE LVC_TITLE VALUE 'SECONDRY LIST DISPLAYED',
SORT TYPE slis_t_sortinfo_alv WITH HEADER LINE,
PRINT_CONT type slis_print_alv.
SELECTION SCREE
selection-screen begin of block screen1 with frame title TEXT-001.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN COMMENT /32(35) COMM1.
SELECTION-SCREEN ULINE /27(35).
SELECTION-SCREEN SKIP.
SELECT-OPTIONS MATNR FOR MARA-MATNR.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN ULINE.
SELECTION-SCREEN COMMENT /30(50) COMM2.
SELECTION-SCREEN ULINE /27(40).
SELECTION-SCREEN SKIP.
SELECT-OPTIONS ERSDA FOR MARA-ERSDA.
SELECTION-SCREEN SKIP.
selection-screen end of block screen1.
INITIALIZATION
INITIALIZATION.
MATNR-low = '23'.
MATNR-high = '1000'.
MATNR-option = 'BT'.
MATNR-sign = 'I'.
APPEND MATNR.
ERSDA-low = '20030124'.
ERSDA-high = '20050302' .
APPEND ERSDA.
PERFORM FILLFIELD.
PERFORM FILLLAYOUT.
PERFORM build_print_params.
PERFORM FILL_SORT.
PERFORM EVENT_CALL.
PERFORM POPULATE_EVENT.
SELECTION-SCREEN OUTPUT
AT SELECTION-SCREEN OUTPUT.
comm1 ='SELECT MATERIAL NUMBER RANGE'.
comm2 ='SELECT MATERIAL CREATION DATE'.
START-OF-SELECTION
START-OF-SELECTION.
PERFORM READDATA.
PERFORM POPDATA.
*& Form READDATA
text
FORM READDATA .
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = MATNR-LOW
IMPORTING
OUTPUT = MATNR-LOW.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = MATNR-HIGH
IMPORTING
OUTPUT = MATNR-HIGH.
SELECT MATNR
ERSDA
MEINS
FROM MARA
INTO CORRESPONDING FIELDS OF
TABLE ITAB
WHERE MATNR IN MATNR AND ERSDA IN ERSDA.
LOOP AT ITAB.
data id_color type i VALUE 1.
data id_colors(2) type c.
IF ITAB-MATNR < '000000000000000100'.
ITAB-LIGHT = '1'.
ELSEIF ITAB-MATNR < '000000000000000150' AND ITAB-MATNR >
'000000000000000100' .
ITAB-LIGHT = '2'.
ELSE.
ITAB-LIGHT = '3'.
ENDIF.
id_color = id_color + 1.
if id_color > 7.
id_color = 1.
endif.
id_colors = id_color.
concatenate 'C' id_colors '10' into itab-color.
modify itab.
CLEAR ITAB.
endloop.
ENDFORM. " READDATA
Form FILLFIELD
FORM FILLFIELD .
WA_FIELDCAT-FIELDNAME = 'MATNR'.
WA_FIELDCAT-KEY = 'X'.
WA_FIELDCAT-COL_POS = '1'.
WA_FIELDCAT-outputlen = 20.
WA_FIELDCAT-HOTSPOT = 'X'.
wa_fieldcat-seltext_m = 'MATERIAL NUMBER'.
*WA_FIELDCAT-EMPHASIZE = 'C210'.
APPEND WA_FIELDCAT TO FIELDCAT.
clear wa_fieldcat.
WA_FIELDCAT-FIELDNAME = 'MEINS'.
WA_FIELDCAT-COL_POS = '2'.
*WA_FIELDCAT-EMPHASIZE = 'C510'.
WA_FIELDCAT-outputlen = 10.
wa_fieldcat-seltext_m = 'UNIT'.
APPEND WA_FIELDCAT TO FIELDCAT.
clear wa_fieldcat.
WA_FIELDCAT-FIELDNAME = 'ERSDA'.
WA_FIELDCAT-COL_POS = '3'.
WA_FIELDCAT-outputlen = 15.
*WA_FIELDCAT-EDIT_MASK = 'DD.MM.YYYY'.
*WA_FIELDCAT-EMPHASIZE = 'C710'.
wa_fieldcat-seltext_m = 'CREAT DATE'.
APPEND WA_FIELDCAT TO FIELDCAT.
clear wa_fieldcat.
ENDFORM. "FILLFIELD
Setup print parameters
form build_print_params.
PRINT_CONT-reserve_lines = '3'. "Lines reserved for footer
PRINT_CONT-no_coverpage = 'X'.
endform. " BUILD_PRINT_PARAMS
Form POPDATA
FORM POPDATA .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = sy-repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'USER-COMMAND'
I_CALLBACK_TOP_OF_PAGE = 'TOPPAGE'
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE = I_TITLE_MARA
I_GRID_SETTINGS =
IS_LAYOUT = I_LAYOUT
IT_FIELDCAT = fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT = SORT[]
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS = V_EVENTS
IT_EVENT_EXIT =
IS_PRINT = PRINT_CONT
TABLES
T_OUTTAB = ITAB
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
ENDFORM. " POPDATA
Form TOPPAGE
FORM TOPPAGE.
REFRESH I_LISTHEADER.
DATA: ld_lines type i,
ld_linesc(10) type c,
I_DATE(10) TYPE C,
I_INFO LIKE WA_LISTHEADER-INFO.
WA_LISTHEADER-TYP = 'H'.
WA_LISTHEADER-INFO = 'MATERIAL DETAIL'.
APPEND WA_LISTHEADER TO I_LISTHEADER.
CLEAR WA_LISTHEADER.
WA_LISTHEADER-TYP = 'S'.
WA_LISTHEADER-KEY = 'DATE :'.
CONCATENATE SY-DATUM+6(2) '.'
SY-DATUM+4(2) '.'
SY-DATUM(4) INTO I_DATE.
WA_LISTHEADER-INFO = I_datE.
APPEND WA_LISTHEADER TO I_LISTHEADER.
CLEAR WA_LISTHEADER.
describe table ITAB lines ld_lines.
ld_linesc = ld_lines.
concatenate 'TOTAL NUMBER OF RECORD SELECTED: ' ld_linesc
into I_INFO separated by space.
WA_LISTHEADER-TYP = 'A'.
WA_LISTHEADER-INFO = I_INFO.
append WA_LISTHEADER to I_LISTHEADER.
clear: WA_LISTHEADER , I_INFO.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = I_LISTHEADER
I_LOGO = 'ENJOYSAP_LOGO'.
ENDFORM. "TOPPAGE
Form FILLLAYOUT
FORM FILLLAYOUT .
i_layout-zebra = 'X'.
i_layout-info_fieldname = 'COLOR'.
i_layout-box_fieldname = 'SEL'.
I_LAYOUT-lights_fieldname = 'LIGHT'.
I_LAYOUT-EDIT ='X'.
I_LAYOUT-colwidth_optimize = 'X'.
I_LAYOUT-window_titlebar = 'EXAMPLE FOR ALV GRID'.
I_LAYOUT-no_totalline = 'X'.
ENDFORM. "FILLLAYOUT
Form FILL_SORT
FORM FILL_SORT .
SORT-DOWN = 'X'.
SORT-SPOS = 1.
SORT-FIELDNAME = 'MATNR'.
SORT-tabname = 'MARA'.
APPEND SORT.
ENDFORM. " FILL_SORT
Form EVENT_CALL
FORM EVENT_CALL .
DATA: I_EVENT LIKE V_EVENTS.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = V_EVENTS.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " EVENT_CALL
Form POPULATE_EVENT
FORM POPULATE_EVENT .
READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'USER_COMMAND'.
IF SY-SUBRC EQ 0.
WA_EVENT-FORM = 'USER_COMMAND'.
MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
WA_EVENT-NAME.
READ TABLE V_EVENTS WITH KEY NAME = SLIS_EV_END_OF_PAGE
INTO WA_EVENT.
IF SY-SUBRC = 0.
move 'END_OF_PAGE' to WA_EVENT-FORM.
MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =
WA_EVENT-NAME.
endif.
ENDIF.
ENDFORM. "POPULATE_EVENT
FORM END_OF_PAGE.
write: sy-uline(50).
skip.
write:/40 'Page:', sy-pagno .
ENDFORM.
*& Form USER_COMMAND
FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
CASE R_UCOMM.
WHEN '&IC1'.
CASE RS_SELFIELD-FIELDNAME.
when 'MATNR'.
read table itab with key matnr = RS_SELFIELD-VALUE.
if sy-subrc = 0.
PERFORM DATA_RETRIEVAL_MAKT USING RS_SELFIELD-VALUE.
PERFORM BUILD_FIELDCATLOG_MAKT.
PERFORM FILLLAYOUT_MAKT.
PERFORM DISPLAY_ALV_MAKT.
CLEAR RS_SELFIELD.
ENDIF.
ENDCASE.
ENDCASE.
ENDFORM. "user_command
Form DATA_RETRIEVAL_MAKT
FORM DATA_RETRIEVAL_MAKT USING TMATNR .
SELECT MATNR
MAKTX
MAKTG
UP TO 100 ROWS
FROM MAKT
INTO TABLE ITAB1
WHERE SPRAS = 'EN' AND MATNR = TMATNR.
LOOP AT ITAB1.
data id_color type i VALUE 1.
data id_colors(2) type c.
id_color = id_color + 1.
if id_color > 7.
id_color = 1.
endif.
id_colors = id_color.
concatenate 'C' id_colors '10' into itab1-color.
modify itab1.
CLEAR ITAB1.
ENDLOOP.
ENDFORM. "DATA_RETRIEVAL_MAKT
Form FILLLAYOUT_MAKT
FORM FILLLAYOUT_MAKT .
CLEAR I_LAYOUT.
i_layout-zebra = 'X'.
i_layout-info_fieldname = 'COLOR'.
i_layout-box_fieldname = 'SEL'.
I_LAYOUT-EDIT ='X'.
I_LAYOUT-colwidth_optimize = 'X'.
I_LAYOUT-window_titlebar = 'EXAMPLE FOR ALV GRID'.
ENDFORM. " LAYOUT_MAKT
Form BUILD_FIELDCATLOG_MAKT
FORM BUILD_FIELDCATLOG_MAKT .
REFRESH FIELDCAT.
WA_FIELDCAT-FIELDNAME = 'MATNR'.
WA_FIELDCAT-KEY = 'X'.
WA_FIELDCAT-COL_POS = '1'.
*WA_FIELDCAT-EDIT_MASK = 'DD.MM.YYYY'.
WA_FIELDCAT-EMPHASIZE = 'C510'.
wa_fieldcat-seltext_m = 'MATERIAL NUMBER'.
APPEND WA_FIELDCAT TO FIELDCAT.
clear wa_fieldcat.
WA_FIELDCAT-FIELDNAME = 'MAKTX'.
WA_FIELDCAT-COL_POS = '2'.
WA_FIELDCAT-EMPHASIZE = 'C710'.
wa_fieldcat-seltext_m = 'MATERIAL DESCRIPTION'.
APPEND WA_FIELDCAT TO FIELDCAT.
clear wa_fieldcat.
WA_FIELDCAT-FIELDNAME = 'MAKTG'.
WA_FIELDCAT-COL_POS = '3'.
WA_FIELDCAT-EMPHASIZE = 'C210'.
wa_fieldcat-seltext_m = 'MATERIAL DESCRIPTION'.
APPEND WA_FIELDCAT TO FIELDCAT.
clear wa_fieldcat.
ENDFORM. " BUILD_FIELDCATLOG_MAKT
Form DISPLAY_ALV_MAKT
FORM TOP-OF-PAGE.
REFRESH I_LISTHEADER.
DATA: ld_lines type i,
ld_linesc(10) type c,
I_DATE(10) TYPE C,
I_INFO LIKE WA_LISTHEADER-INFO.
WA_LISTHEADER-TYP = 'H'.
WA_LISTHEADER-INFO = 'MATERIAL DESCRIPTION FOR SELECTED NUMBER'.
APPEND WA_LISTHEADER TO I_LISTHEADER.
CLEAR WA_LISTHEADER.
WA_LISTHEADER-TYP = 'S'.
WA_LISTHEADER-KEY = 'DATE :'.
CONCATENATE SY-DATUM+6(2) '.'
SY-DATUM+4(2) '.'
SY-DATUM(4) INTO I_DATE.
WA_LISTHEADER-INFO = I_datE.
APPEND WA_LISTHEADER TO I_LISTHEADER.
CLEAR WA_LISTHEADER.
describe table ITAB1 lines ld_lines.
ld_linesc = ld_lines.
concatenate 'TOTAL NUMBER OF RECORD SELECTED: ' ld_linesc
into I_INFO separated by space.
WA_LISTHEADER-TYP = 'A'.
WA_LISTHEADER-INFO = I_INFO.
append WA_LISTHEADER to I_LISTHEADER.
clear: WA_LISTHEADER , I_INFO.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = I_LISTHEADER
I_LOGO = 'ENJOYSAP_LOGO'.
I_END_OF_LIST_GRID =
I_ALV_FORM =
ENDFORM. "TOP-OF-PAGE
*& Form DISPLAY_ALV_MAKT
text
FORM DISPLAY_ALV_MAKT .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_TOP_OF_PAGE = 'TOP-OF-PAGE'
I_GRID_TITLE = I_TITLE_MAKT
IS_LAYOUT = I_LAYOUT
IT_FIELDCAT = fieldcat
TABLES
T_OUTTAB = ITAB1
EXCEPTIONS
PROGRAM_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.
ENDFORM. " DISPLAY_ALV_MAKT
Regards
Ashok kumar -
Data is not coming in internal table
Hello Abapers,
Data is not coming in my internal table.
Plz tell me where I m wrong
SELECTION-SCREEN BEGIN OF BLOCK blk.
PARAMETERS: compcode LIKE vbrk-bukrs OBLIGATORY.
PARAMETERS: billtype LIKE vbrk-fkart OBLIGATORY.
SELECT-OPTIONS: billdate FOR vbrk-fkdat OBLIGATORY.
PARAMETERS : acgrpc LIKE vbrk-ktgrd OBLIGATORY.
PARAMETERS: acgrpm LIKE vbrp-ktgrm OBLIGATORY.
PARAMETERS: taxcode LIKE konv-mwsk1 OBLIGATORY.
SELECT-OPTIONS: plant FOR vbrp-werks .
SELECT-OPTIONS: bussarea FOR vbrp-gsber .
SELECTION-SCREEN END OF BLOCK blk.
START-OF-SELECTION.
SELECT avbeln afkart aknumv afkdat abelnr aktgrd abukrs axblnr
amwsbk bgsber bwerks bktgrm
FROM ( vbrk AS a INNER JOIN vbrp AS b ON
avbeln EQ bvbeln )
INTO CORRESPONDING FIELDS OF TABLE vbrk_vbrp
WHERE ( a~fkart EQ billtype ) AND
( a~fkdat IN billdate ) AND
( a~ktgrd EQ acgrpc ) AND
( a~bukrs EQ compcode ) AND
( b~gsber EQ bussarea ) and
( b~werks EQ plant ) AND
( b~ktgrm EQ acgrpm ) .
RaviHi,
write ur query this way :
SELECT avbeln afkart aknumv afkdat abelnr aktgrd abukrs axblnr amwsbk bgsber bwerks bktgrm
FROM ( vbrk AS a INNER JOIN vbrp AS b ON
avbeln EQ bvbeln )
INTO CORRESPONDING FIELDS OF TABLE vbrk_vbrp
WHERE ( a~fkart EQ billtype ) AND
( a~fkdat IN billdate ) AND
( a~ktgrd EQ acgrpc ) AND
( a~bukrs EQ compcode ) AND
( b~gsber IN bussarea ) and
( b~werks IN plant ) AND
( b~ktgrm EQ acgrpm ) .
even plz check then internal table ' vbrk_vbrp ' if they have all the fields of select query and even the order is same as select , since you are using ' into corresponding fields of table ' clause in select statement.
hope this helps.
thanx,
dhanashri.
Edited by: Dhanashri Pawar on Aug 26, 2008 6:14 AM -
Resp Person Tab is not coming in CJ20N for a particular project type
Hi All,
I am unaware of the standard SAP screen in CJ20N but we have a screen in CJ20n wherein we can assign a person / link a person this particular tab is not coming at all for a particular project type (Resp Person) rather a different tab (cust enhancement) is coming but our problem is we have a mass program which works on BDC and hence if the required screens are not there it fails.
Can someone please tell me if there is come config i can check/ maintain for this resp person tab so that it starts coming for all project types.
Regards
Anmol PareekHey Sarang,
Thanks a lot, it was helpful, one more thing though, In Resp Persons tab there is something called Link Employees and my problem is that i have a mass linking program (using BDC) which cannot work if i dont see that screen in my BDC (without changing BDC). The way you have told is in OPUK/ OPUJ check for proj type and see if person responsible is hidden or not. I dont think that is what i am asking because no matter what this person responsible is hidden, but for certain project types Resp Person tab itself is not coming and that is the problem.
Regards
anmol -
Data Not coming From DSO to Cube
Hi All,
I have data in DSO. When i run the DTP , request status is green.
Now when i go to cube and see the data the request has came but data has not transferred .....
The Request Status is green in cube but data is not cuming....
No transferred data.
How can bring data in cube..??
Regards,
RohitHi,
When you loaded the DSO......after that are you loading the cube for the first time?If so .....and still data is not coming..then check if the last loaded request somehow got deleted from the DSO....
If after loading the DSO....you have already loaded the cube...and this is the second time you are loading the cube.........then obviously it will pick 0 records...........since delta DTP always picks the fresh new request..........if there is no new request in the source .......then it will pick 0 records.......
Also both the cased are not working.........then check the End routine or Start routine.if any.......
Thanks and Regards,
Debjani....... -
In excel sheet tab name is not coming-urgent
hi all,
one small rewquirement. if u run this test program it opens a excel sheet which contains signle tab. here tab name is not coming. i dont no hot to display tabname here.anybody can make the changes and send me the code.
i am sending my code below.
thanks,
maheedhar.t
REPORT ytestvij MESSAGE-ID zv.
TABLES sscrfields.
TYPE-POOLS: icon.
TYPES : BEGIN OF zfnames_ds,
reptext TYPE reptext,
END OF zfnames_ds.
TYPE-POOLS ole2 .
DATA: wa_fntxt TYPE smp_dyntxt.
DATA : wa_t75_booking TYPE zvt75_booking_h,
t_t75_booking TYPE STANDARD TABLE OF zvt75_booking_h.
DATA : wa_fields TYPE dfies,
t_fields TYPE STANDARD TABLE OF dfies.
DATA : wa_fnames TYPE zfnames_ds,
t_fnames TYPE STANDARD TABLE OF zfnames_ds.
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
DATA h TYPE i.
DATA : lin TYPE i.
data: excel type ole2_object,
application type ole2_object,
books type ole2_object,
book type ole2_object,
sheet type ole2_object,
cell type ole2_object,
column type ole2_object.
PARAMETERS : p_input TYPE localfile.
Add button to application toolbar
SELECTION-SCREEN FUNCTION KEY 1. "Will have a function code of 'FC01'
INITIALIZATION.
Add displayed text string to buttons
wa_fntxt-icon_id = icon_xls.
wa_fntxt-icon_text = 'Input File template'.
wa_fntxt-quickinfo = 'T75 Header Data'.
sscrfields-functxt_01 = wa_fntxt.
AT SELECTION-SCREEN.
IF sscrfields-ucomm = 'FC01'.
do nothing
PERFORM open_excel.
ENDIF.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_input.
PERFORM get_filename USING p_input.
START-OF-SELECTION.
*set pf-status 'ONE'.
END-OF-SELECTION.
WRITE : lin.
*& Form GET_FILENAME
text
--> p1 text
<-- p2 text
FORM get_filename USING p_file TYPE rlgrap-filename . "localfile.
DATA : w_rc TYPE i.
DATA : wa_file_table TYPE file_table ,
t_file_table TYPE STANDARD TABLE OF file_table.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
WINDOW_TITLE =
DEFAULT_EXTENSION =
DEFAULT_FILENAME =
FILE_FILTER =
INITIAL_DIRECTORY =
MULTISELECTION =
CHANGING
file_table = t_file_table[]
rc = w_rc
USER_ACTION =
EXCEPTIONS
file_open_dialog_failed = 1
cntl_error = 2
error_no_gui = 3
OTHERS = 4
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 t_file_table INTO wa_file_table.
p_file = wa_file_table-filename.
ENDLOOP.
ENDFORM. " GET_FILENAME
*& Form open_excel
text
--> p1 text
<-- p2 text
FORM open_excel.
SELECT * FROM ZVT75_BOOKING_H
INTO TABLE t_t75_booking
UP TO 10 ROWS.
start Excel
CREATE OBJECT h_excel 'EXCEL.APPLICATION'.
PERFORM err_hdl.
SET PROPERTY OF h_excel 'Visible' = 1.
PERFORM err_hdl.
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.
output column headings to active Excel sheet
PERFORM fill_cell USING 1 1 1 'Financial year'.
PERFORM fill_cell USING 1 2 1 'Financial quarter'.
PERFORM fill_cell USING 1 3 1 'Customer number'.
PERFORM fill_cell USING 1 4 1 'Booking Year'.
PERFORM fill_cell USING 1 5 1 'Financial quarter'.
PERFORM fill_cell USING 1 6 1 'Contract type'.
PERFORM fill_cell USING 1 7 1 'Sub Contract type'.
PERFORM fill_cell USING 1 8 1 'Customer purchase order number'.
PERFORM fill_cell USING 1 9 1 'Booking Amount'.
PERFORM fill_cell USING 1 10 1 'Currency Key'.
LOOP AT t_t75_booking into wa_t75_booking.
copy items to active EXCEL sheet
H = SY-TABIX + 1.
PERFORM FILL_CELL USING H 1 0 wa_t75_booking-BOOKYEAR.
PERFORM FILL_CELL USING H 2 0 wa_t75_booking-BOOKQTR.
PERFORM FILL_CELL USING H 3 0 wa_t75_booking-.
PERFORM FILL_CELL USING H 4 0 wa_t75_booking-BOOKYEAR.
PERFORM FILL_CELL USING H 5 0 wa_t75_booking-BOOKQTR.
ENDLOOP.
disconnect from Excel
FREE OBJECT h_excel.
PERFORM err_hdl.
ENDFORM. " open_excel
*& Form ERR_HDL
outputs OLE error if any *
--> p1 text
<-- p2 text
FORM err_hdl.
data test type sy-subrc.
test = sy-subrc.
IF test <> 0.
Message e000(ZV) with 'Error in OLE-Automation:'.
STOP.
ENDIF.
ENDFORM. " ERR_HDL
FORM FILL_CELL *
sets cell at coordinates i,j to value val boldtype bold *
FORM fill_cell USING i j bold val.
CALL METHOD OF h_excel 'Cells' = h_zl EXPORTING #1 = i #2 = j.
set property of sheet 'Name' = 'T75'.
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.
ENDFORM.Hi,
Look at the below thread, i posted complete code in this one, just copy that Program and past in your SAP and run the Program, it will create 3 sheets with the names also, then look at the Sheet name in the code, you will understand where to add the code
Re: format an excel
Regards
Sudheer
Maybe you are looking for
-
HelloWeb application fails to start
I built the "HelloWeb" demo and the Deployment Progress Monitor started, but after a while (it displayed about 80% done) the message "Failed to start server Server J2EESDK Instance Deployer..." got displayed.
-
LIS Not showing correct values
Dear All We are having a peculiar situation in MCSI report which is customized. where order quantity is "0" after changing it from original quantities where as the gross order value(field name - KZWI1) is having same value despite change in the orde
-
Newbie to Droid 2 need some help
Hey Just got my Droid 2 today!! love it so far.... I had BB for a few years so everything is so new to me right now. I was wondering how do I put my friends and family picture for there contact number?
-
Photosmart 6515 prints in any color but black
I replaced all the ink cartridges and I don't get any black ink. I have tried removing and reinstalling the black cartridge, installing another black replacement and running the clean heads process. Is it likely that the problem will be solved by rep
-
1.5 sometimes freezes when running statements with F9
I had noticed occasional freezes when hitting F9 with 1.5.0 production (ie three or four times last week), but after upgrading to 1.5.1 today (fresh install, migrated preferences) I have had four or five freezes when hitting F9. The UI completely fre