Error in Code?-PlZ Check This
Hai,
We are getting an error in this code.We are beginners in Flex.
Can anyone help us?
This is our code....
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
<mx:Script>
<![CDATA[
import flash.media.Camera;
import flash.media.Microphone;
private function init():void
cam.dataProvider=Camera.names;
mic.dataProvider=Microphone.names;
private function send():void
//var camera:Camera=Camera.getCamera();
var micro:Microphone=Microphone.getMicrophone();
micro.addEventListener(StatusEvent.STATUS, this.onMicStatus);
private function onMicstatus(event:StatusEvent):void
if(event.code == "Microphone.Unmuted")
trace("Microphone access allowed");
else if(event.code == "Microphone.Muted")
trace("Microphone access denied");
]]>
</mx:Script>
<mx:Panel x="265" y="50" width="294" height="200" layout="absolute">
<mx:VideoDisplay x="0" y="0" width="274" height="160"/>
</mx:Panel>
<mx:Button x="381.5" y="314" label="Start" click="send()"/>
<mx:Text x="281" y="24" text="Username" id="uname"/>
<mx:TextArea x="351" y="24" height="18" width="150"/>
<mx:Text x="281" y="260" text="Camera" width="62"/>
<mx:ComboBox x="351" y="258" width="191" id="cam"></mx:ComboBox>
<mx:Label x="273" y="286" text="microphone"/>
<mx:ComboBox x="351" y="284" width="191" id="mic"></mx:ComboBox>
</mx:Application>
ERROR:-
1013: The private attribute may be used only on class property definitions. videovoice/src videovoice.mxml line 23 1267425378537 662
First of all, check Permit Debugging in publish settings so you can at least reference a line number. It's not very realistic to post 150 lines of code, and say guys can you check this.
Anyway from a cursory glance it looks like you only create 27 bricks:
for (var i=0; i<9; i++)
for (var j=0; j<3; j++)
bricks = new brick(i,j);
Brick_Array.push(bricks);
And then later you do this:
for (var k=0; k<100; k++)
if (Ball.hitTestObject(Brick_Array[k]))
You don't have 100 bricks in Brick_Array.
Also - as a matter of convention variables names should not have the first letter capitalized - that is for class naming.
Similar Messages
-
2 records updated plz check this
my requirement is update the database table zfmkstel with nrart = 'h' and proz1 = '100'. i m writting below logic two records udate like this
123455(tenum) h 100
123455(telnum) - -
my logic is
when 'SAVE'.
IF f1_rec ne 1 .
if sy-subrc = 0.
update zfm_handy from fs_temp_zfm_handy.
insert zfm_handy from fs_temp_zfm_handy.
MODIFY zfm_handy from fs_temp_zfm_handy.
if sy-subrc = 0.
insert zfmkstel from fs_temp_zfmkstel.
if sy-subrc = 0.
fs_temp_zfmkstel-telnum = fs_temp_zfm_handy-telnum.
fs_temp_zfmkstel-nrart = fs_temp_zfm_handy-nrart.
fs_temp_zfmkstel-proz1 = fs_temp_zfm_handy-proz1.
fs_temp_zfmkstel-nrart = 'H'.
fs_temp_zfmkstel-proz1 = '100'.
INSERT ZFMKSTEL FROM FS_TEMP_ZFMKSTEL.
fs_temp_zfmkstel-nrart = 'H'.
fs_temp_zfmkstel-proz1 = '100'.
insert into zfmkstel values fs_temp_zfmkstel.
commit work.
if sy-subrc = 0.
message s000(0) with 'record havebeen inserted sucessfully'.
MODIFY ZFMKSTEL FROM FS_TEMP_ZFMKSTEL.
else.
delete zfm_handy from fs_temp_zfm_handy.
endif.
endif.
else.
update zfm_handy from fs_temp_zfm_handy.
if sy-subrc eq 0.
fs_temp_zfmkstel-telnum = fs_temp_zfm_handy-telnum.
update zfmkstel from fs_temp_zfmkstel.
if sy-subrc eq 0.
message s000(0) with 'update sucessfully'.
endif.
endif.
endif.
endif.hi
do u have a problem with updating the records, i mean do u want update 2 records into the DB table with the same fields
check if the records have the same primary fields, if they have same primary fields then it will not update in the Z Table
check this code
READ TABLE IT_VBRK WITH KEY VBELN = T_VBRK_VBRP-VBELN.
IF SY-SUBRC = 0.
T_VBRK_VBRP-FKDAT = IT_VBRK-FKDAT.
MODIFY T_VBRK_VBRP TRANSPORTING FKDAT
WHERE VBELN = IT_VBRK-VBELN.
ENDIF.
this will simulatenously update all the records which have same VBELN
award points if found helpful -
Plz check this...
plz go through this code ...in this i am not getting values in internal table t_get_documents though few values of vbeln in itab and jfrp are matching...can u tell what is wrong with this code...
TABLES: JFRP,jkap.
DATA: BEGIN OF T_GET_DOCUMENTS OCCURS 0,
ISPFAKVON LIKE JFRP-ISPFAKVON,
ISPDRERZ LIKE JFRP-ISPDRERZ,
ISPVBELN LIKE JFRP-ISPVBELN,
ISPFKPER LIKE JFRP-ISPFKPER,
NETWR LIKE JFRP-NETWR,
END OF T_GET_DOCUMENTS.
data: begin of itab occurs 0,
vbeln like jkap-vbeln,
end of itab.
SELECT-OPTIONS: s_date for jkap-ERFDATE.
select vbeln
into table itab
from jkap
where ERFDATE in s_date.
loop at itab.
select ispfakvon ispdrerz ispvbeln ispfkper netwr
into corresponding fields of table t_get_documents
from jfrp
where ispvbeln eq itab-vbeln.
endloop.Hi
TABLES: JFRP,jkap.
DATA: BEGIN OF T_GET_DOCUMENTS OCCURS 0,
ISPFAKVON LIKE JFRP-ISPFAKVON,
ISPDRERZ LIKE JFRP-ISPDRERZ,
ISPVBELN LIKE JFRP-ISPVBELN,
ISPFKPER LIKE JFRP-ISPFKPER,
NETWR LIKE JFRP-NETWR,
END OF T_GET_DOCUMENTS.
data: begin of itab occurs 0,
vbeln like jkap-vbeln,
end of itab.
SELECT-OPTIONS: s_date for jkap-ERFDATE.
select vbeln into table itab from jkap
where ERFDATE in s_date.
if not itab[] is initial.
select ispfakvon
ispdrerz
ispvbeln
ispfkper
netwr from jfrp into corresponding fields of table t_get_documents
for all entries of in itab
where ispvbeln eq itab-vbeln.
endif.
loop at itab.
endloop.
Thanks
mahi -
Mr. Frank Could u plz check this ...
Hi,
Could u please guide me wat is the reason of this error...Is this error occuring due to some configuration Problem. I tried to run the backup application, which was running smoothly previous days.
The error-----
C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\bin\startWebLogic.cmd
[http://waiting for the server to complete its initialization...]
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=256m
WLS Start Mode=Development
CLASSPATH=;C:\ORACLE\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\ORACLE\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\ORACLE\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\ORACLE\MIDDLE~1\JDK160~1\lib\tools.jar;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\ORACLE\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\ORACLE\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;C:\ORACLE\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;C:\ORACLE\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
PATH=C:\ORACLE\MIDDLE~1\patch_wls1030\profiles\default\native;C:\ORACLE\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\ORACLE\MIDDLE~1\patch_cie660\profiles\default\native;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\bin;C:\ORACLE\MIDDLE~1\modules\ORGAPA~1.5\bin;C:\ORACLE\MIDDLE~1\JDK160~1\jre\bin;C:\ORACLE\MIDDLE~1\JDK160~1\bin;D:\9iDS\bin;D:\9iDS\jdk\jre\bin;D:\9iDS\jdk\jre\bin\classic;D:\9iDS\jdk\jre\bin\classic;D:\9iDS\jlib;D:\9iDS\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
Starting WLS with line:
C:\ORACLE\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=256m -Djbo.34010=false -Xverify:none -da -Dplatform.home=C:\ORACLE\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\ORACLE\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\ORACLE\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=C:\ORACLE\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\ORACLE\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\ORACLE\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\ORACLE\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;C:\ORACLE\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
<Feb 12, 2009 10:16:03 AM IST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
C:\Oracle\Middleware\patch_wls1030\profiles\default\sysext_manifest_classpath\weblogic_ext_patch.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
<Feb 12, 2009 10:16:03 AM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
<Feb 12, 2009 10:16:04 AM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR380042 Thu Sep 11 13:33:40 PDT 2008
WebLogic Server Temporary Patch for 7372756 Fri Sep 12 17:05:44 EDT 2008
WebLogic Server Temporary Patch for CR381265 Wed Oct 08 10:15:58 PDT 2008
WebLogic Server Temporary Patch for CR380913 Wed Oct 15 13:24:22 PDT 2008
WebLogic Server Temporary Patch for CR381739 Tue Oct 21 14:06:14 IST 2008
WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 >
<Feb 12, 2009 10:16:05 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Feb 12, 2009 10:16:05 AM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Feb 12, 2009 10:16:05 AM IST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
<Feb 12, 2009 10:16:10 AM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Feb 12, 2009 10:16:14 AM IST> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158|http://forums.oracle.com/forums/]No application files exist at 'C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
<Feb 12, 2009 10:16:14 AM IST> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158|http://forums.oracle.com/forums/]No application files exist at 'C:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
<Feb 12, 2009 10:16:16 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Feb 12, 2009 10:16:16 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Feb 12, 2009 10:16:17 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application Application1 is not versioned.>
Feb 12, 2009 10:16:17 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
Feb 12, 2009 10:16:18 AM oracle.as.jmx.framework.PortableMBeanFactory setJMXFrameworkProviderClass
INFO: JMX Portable Framework initialized with platform SPI "class oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl"
<Feb 12, 2009 10:16:39 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application DashBoard is not versioned.>
Feb 12, 2009 10:16:39 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
<Feb 12, 2009 10:16:52 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application Dashboard is not versioned.>
Feb 12, 2009 10:16:52 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
<Feb 12, 2009 10:16:52 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application TestApplication is not versioned.>
Feb 12, 2009 10:16:52 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
<Feb 12, 2009 10:17:04 AM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application TestJith is not versioned.>
Feb 12, 2009 10:17:04 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
Feb 12, 2009 10:17:18 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Application1/z60kl9/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:18 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Application1/z60kl9/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:18 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Application1/z60kl9/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:21 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/DashBoard/lg29wz/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:21 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/DashBoard/lg29wz/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:21 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/DashBoard/lg29wz/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
<Feb 12, 2009 10:17:22 AM IST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'Dashboard'.
weblogic.application.ModuleException: Context path '/Dashboard-ViewController-context-root' is already in use by the module: Dashboard-ViewController-context-root application: DashBoard
at weblogic.servlet.internal.WebAppModule.initAndValidateContextPath(WebAppModule.java:1076)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:908)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:364)
at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:423)
at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:182)
Truncated. see log file for complete stacktrace
>
Feb 12, 2009 10:17:22 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
INFO: Cleaning up application state
Feb 12, 2009 10:17:23 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestApplication/91la5j/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:23 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestApplication/91la5j/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:23 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestApplication/91la5j/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:26 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestJith/lea4zh/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:26 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestJith/lea4zh/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
Feb 12, 2009 10:17:26 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TestJith/lea4zh/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
<Feb 12, 2009 10:17:27 AM IST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Feb 12, 2009 10:17:27 AM IST> <Warning> <Server> <BEA-002611> <Hostname "Conti1", maps to multiple IP addresses: 192.168.1.12, 127.0.0.1>
<Feb 12, 2009 10:17:27 AM IST> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 192.168.1.12, 127.0.0.1>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.1.12:7101 for protocols iiop, t3, ldap, snmp, http.>
<Feb 12, 2009 10:17:27 AM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
<Feb 12, 2009 10:17:28 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Feb 12, 2009 10:17:28 AM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
DefaultServer startup time: 88062 ms.
DefaultServer started.
[http://Running application Dashboard on Server Instance DefaultServer...]
---- Deployment started. ---- Feb 12, 2009 10:17:30 AM
Target platform is (Weblogic 10.3).
Running dependency analysis...
2009-02-12 10:17:30.859: Writing WAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Dashboard\Dashboard-ViewController-webapp
2009-02-12 10:17:30.906: Wrote WAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Dashboard\Dashboard-ViewController-webapp
WARNING: Connection G5PS has no password. G5PS-jdbc.xml file not generated for connection G5PS.
2009-02-12 10:17:31.078: Writing EAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Dashboard
2009-02-12 10:17:31.093: Wrote EAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Dashboard
Redeploying Application...
<Feb 12, 2009 10:17:32 AM IST> <Warning> <Deployer> <BEA-149124> <Failures were detected while initiating deploy task for application 'Dashboard'. Error is: '[Deployer:149164|http://forums.oracle.com/forums/]The domain edit lock is owned by another session in exclusive mode - hence this deployment operation cannot proceed.'>
weblogic.management.ManagementException: [Deployer:149164|http://forums.oracle.com/forums/]The domain edit lock is owned by another session in exclusive mode - hence this deployment operation cannot proceed.
#### Deployment incomplete. #### Feb 12, 2009 10:17:32 AM
oracle.jdeveloper.deploy.DeployException
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:247)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:157)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
at oracle.jdevimpl.runner.adrs.AdrsStarter$5$1.run(AdrsStarter.java:1365)
Caused by: oracle.jdeveloper.deploy.DeployException
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:561)
at oracle.jdevimpl.deploy.weblogic.common.Jsr88WeblogicDeploymentHelper.redeployApplications(Jsr88WeblogicDeploymentHelper.java:259)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:222)
... 11 more
Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:542)
... 13 more
#### Cannot run application Dashboard due to error deploying to DefaultServer.
[Application Dashboard stopped and undeployed from Server Instance DefaultServer|http://forums.oracle.com/forums/]
Kindly help me to sort this issue.
Thanks in Advance
JitheshHi all,
I got the solution for this issue. Try to do the following steps...
open the admin console (http://127.0.0.1:7101/console) log in (user:weblogic pwd:weblogic). After successful login look in the upper left corner. There you see a button where you can activate pending changes (or revoke them).
If u hv any doubt then open the following URL
The domain edit lock is owned by another session in exclusive mode
Thank you very much to Timo....His tread helped me to solve this problem
Regards,
Jithesh -
Hi plz check this requirement..
hello,
i dont know whether it is possible..or not..
function getPropValues()
var docclassname = search.docclass.options.value;
alert(docclassname);
this my java script function..iam using in a jsp page..
this method is for onChange() function jsp page.. for a select box..if user selects any value in select box then this method fires..
List proplist = (List) interactionBean.getDocClassIndices(docclassname);
now what i want is..i want to call this method in above function..and pass that variable(doclassname)..in java script function..is it possible to do like this..
and return values i iterrate and put in in string array..i will use in the jsp page for adding them to select box..yeah keep the hidden field in the same form as you are submitting.
in the javascript function
do sthinglike search.yourhiddenfield.value = doclassname
(assuming search is the name of your form)
and submit(probably to the same jsp, not sure waht you want to do ). You can get the hidden field value through request.getParameter.
All the best. -
I'm trying to record a new track in an existing project, and every time a hit the record button I get an I/O Error Result Code -36. This is only happening in this particular project. If I open a new project I can record just fine. What does this mean? Any help would be greatly appreciated!
wmclow wrote:
I'm trying to record a new track in an existing project, and every time a hit the record button I get an I/O Error Result Code -36. This is only happening in this particular project. If I open a new project I can record just fine. What does this mean? Any help would be greatly appreciated!
And what audio interface and hard drive are you using?
Details... it's all in the details... -
hi guys i have a problem related updating icloud desktop.while updating it shows (error code :A12E5).I have macbook air mid 2011..plz sort this out
olliemilne wrote:
- I've tried holding a bunch of different keys when starting up (cmd+R etc.) but again, nothing.
You could try booting the MBP using the OPTION+COMMAND+R keys and see if it will connect to the Apple servers. This would allow you to install the original OSX . I have my doubts though.
- I've tried something crazy suggested in another thread; leaving the Macbook partially opening and shaking it, which supposedly does something to the "sudden motion sensor".
The Sudden Motion Sensor is applicable for conventional Hard Drives, not the SSD that is in a MBA. Doing that will serve no useful purpose.
You have exhausted all reasonable options and will just have to have the MBA evaluated at the genius bar.
Ciao. -
I had one error plz solve this
hi when i am useing this code i am getting one error like
like : when ur using addition of for all entries
the objid must be it_hrp1000-objid have same length and type
plz solve this what can i do
TYPES :BEGIN OF ST_OUTPUT,
COUNT TYPE STRING,
OTYPE TYPE HRP1000-OTYPE,
OBJID TYPE HRP1001-SOBID,
STEXT TYPE HRP1000-STEXT,
BDATE TYPE HRP1000-BEGDA,
EDATE TYPE HRP1000-ENDDA,
CANCRT TYPE T77CRT-CANCRT,
AEDTM TYPE HRP1026-AEDTM,
NCONT TYPE HRP1026-NCONT,
LOCTX TYPE HRVPVA-LOCTX,
UNAME TYPE HRP1026-UNAME,
END OF ST_OUTPUT.
TYPES: BEGIN OF ST_HRP1000,
OTYPE TYPE HRP1000-OTYPE,
BEGDA TYPE HRP1000-BEGDA,
ENDDA TYPE HRP1000-ENDDA,
OBJID TYPE HRP1001-SOBID,
END OF ST_HRP1000.
TYPES : BEGIN OF ST_HRP1001,
OTYPE TYPE HRP1000-OTYPE,
OBJID TYPE HRP1001-SOBID,
SCLAS TYPE HRP1001-SCLAS,
SOBID TYPE HRP1001-SOBID,
BDATE TYPE HRP1000-BEGDA,
EDATE TYPE HRP1000-ENDDA,
END OF ST_HRP1001.
TYPES : BEGIN OF ST_HRP1026,
AEDTM TYPE HRP1026-AEDTM,
UNAME TYPE HRP1026-UNAME,
REASN TYPE HRP1026-REASN,
DELET TYPE HRP1026-DELET,
NCONT TYPE HRP1026-NCONT,
END OF ST_HRP1026.
TYPES : BEGIN OF ST_REASON,
CANCR TYPE HRP1026-CANCR,
CANCRT TYPE T77CRT-CANCRT,
END OF ST_REASON.
DATA : IT_REASON TYPE STANDARD TABLE OF ST_REASON.
DATA : WA_RESON TYPE ST_REASON.
DATA : IT_OUTPUT TYPE STANDARD TABLE OF ST_OUTPUT. "OUTPUT FEILDS OF REPORT.
DATA : WA_OUTPUT TYPE ST_OUTPUT.
DATA : IT_HRP1000 TYPE STANDARD TABLE OF ST_HRP1000. "DATA FROM HRP1000 TABLE
DATA : WA_HRP1000 TYPE ST_HRP1000.
DATA : IT_HRP1001 TYPE STANDARD TABLE OF ST_HRP1001. "DATA FROM HRP1001 TABLE
DATA : WA_HRP1001 TYPE ST_HRP1001.
DATA : IT_HRP1026 TYPE STANDARD TABLE OF ST_HRP1026. "DATA FROM HRP1026 TABLE
DATA : WA_HRP1026 TYPE ST_HRP1026.
DATA: WS_FCAT TYPE SLIS_FIELDCAT_ALV . " FEILDCATALOG FOR ALV REPORT
DATA: IN_FCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA: W_LAYOUT TYPE SLIS_LAYOUT_ALV.
DATA : LV_COUNT TYPE I. "FEILD FOR SERIAL NUMBER
DATA : JOBJID LIKE HRP1000-OBJID,
JSOBID LIKE HRP1001-SOBID.
***************************END OF DATA DECLARATION******************************************
***********SELECTION SCREEN DESIGN***********************
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS : OTYPE LIKE HRP1000-OTYPE.
SELECT-OPTIONS: DATE FOR SY-DATUM.
SELECTION-SCREEN END OF BLOCK B1.
**********END OF SELECTION SCREEN DESIGN*****************
****INITIALIZATION VENT TO ASIGN DEFAULT VALUES TO OTYPE
INITIALIZATION.
OTYPE = 'D'.
*************END OF EVENT INITIALIZATION*****************
START-OF-SELECTION.
SELECT OTYPE OBJID BEGDA ENDDA
FROM HRP1000
INTO TABLE IT_HRP1000
WHERE OTYPE = 'D'.
AND BEGDA GT BEGDAT AND ENDA LT ENDDA.
SELECT SCLAS SOBID
FROM HRP1001
INTO TABLE IT_HRP1001
FOR ALL ENTRIES IN IT_HRP1000
WHERE OBJID = IT_HRP1000-OBJID
AND OTYPE = 'D' AND ( SCLAS = 'E' OR SCLAS = 'ET' ).
SELECT AEDAT UNAME
FROM HRP1026
INTO TABLE IT_HRP1026
FOR ALL ENTRIES IN IT_HRP1001
WHERE OBJID = IT_HRP1001-SOBID
AND ( OTYPE = 'E' OR OTYPE = 'ET' )
AND DELET = 'X'.Hi naresh,
1. minor mistake
2.
TYPES: BEGIN OF ST_HRP1000,
OTYPE TYPE HRP1000-OTYPE,
BEGDA TYPE HRP1000-BEGDA,
ENDDA TYPE HRP1000-ENDDA,
<b>OBJID TYPE HRP1001-OBJID</b>,
END OF ST_HRP1000.
3. OBJID and SOBID are different in length, hence the error.
4. Just correct the BOLD LINE, and check again.
(also check if there is any impact on other sql statements or data)
regards,
amit m. -
OraRRP Error with "Unable to copy data file;Error code 2, check disk space"
Hi,
Some users get this message -"Unable to copy data file;Error code 2, check disk space" when run report with orarrp, but most users do not get it.
I check free space at both server and client side, they are very sufficient.
I also checked directory exists for REPORTXX_TMP variable.
My user call reports via URL (rwservlet) and it occur for all reports.
How I can solve this problem?
Thanks in advance.
Tawatchai R.Hi,
have the same problem now. One user has temporarily problems to download .rrpa files via URL (rwservlet) request. Error code: -"Unable to copy data file;Error code 2, check disk space". Did you get a solution??
Thanks in advance. Axel -
hi all,
plz correct this revert back whan i executing every time it will show internal table itab is no long enough.
plz rectify the errirs and send back it.
ABLES: zfm_kfz.
type-pools: slis. "ALV Declarations
*Data Declaration
*TYPES: BEGIN OF t_ekko,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
statu TYPE ekpo-statu,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
menge TYPE ekpo-menge,
meins TYPE ekpo-meins,
netpr TYPE ekpo-netpr,
peinh TYPE ekpo-peinh,
END OF t_ekko.
*DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_ekko TYPE t_ekko.
DATA : BEGIN OF ITAB OCCURS 0,
KFZNR LIKE ZFM_KFZ-KFZNR,
GERAET LIKE ZFM_KFZ-KFZNR,
KOSTENTRAEGER(10) TYPE C,
BEZEICHNUNG(10) TYPE C,
TUVDATUMMMYYYY(6) TYPE C,
ASUDATUMMMYYYY(6) TYPE C,
KMSTAND(6) TYPE C,
HISTO(1) TYPE C,
REIFEN(1) TYPE C,
USERNAME(12) TYPE C,
END OF ITAB.
DATA: BEGIN OF ITAB1 OCCURS 0.
INCLUDE STRUCTURE ITAB.
DATA: END OF ITAB1.
DATA: BEGIN OF ITAB_FIELDCAT OCCURS 0.
INCLUDE STRUCTURE ITAB.
DATA: END OF ITAB_FIELDCAT.
DATA: T_KFZ LIKE TABLE OF ZFM_KFZ.
*ALV data declarations
data: fieldcatalog type slis_t_fieldcat_alv with header line,
gd_tab_group type slis_t_sp_group_alv,
gd_layout type slis_layout_alv,
gd_repid like sy-repid,
gt_events type slis_t_event,
gd_prntparams type slis_print_alv.
*Start-of-selection.
START-OF-SELECTION.
perform data_retrieval.
perform build_fieldcatalog.
perform build_layout.
perform build_events.
perform build_print_params.
perform display_alv_report.
*& Form BUILD_FIELDCATALOG
Build Fieldcatalog for ALV Report
form build_fieldcatalog.
There are a number of ways to create a fieldcat.
For the purpose of this example i will build the fieldcatalog manualy
by populating the internal table fields individually and then
appending the rows. This method can be the most time consuming but can
also allow you more control of the final product.
Beware though, you need to ensure that all fields required are
populated. When using some of functionality available via ALV, such as
total. You may need to provide more information than if you were
simply displaying the result
I.e. Field type may be required in-order for
the 'TOTAL' function to work.
fieldcatalog-fieldname = 'kfznr'.
fieldcatalog-seltext_m = 'kfznr'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 11.
fieldcatalog-emphasize = 'X'.
fieldcatalog-key = 'X'.
fieldcatalog-do_sum = 'X'.
fieldcatalog-no_zero = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'geraet'.
fieldcatalog-seltext_m = 'geraet'.
fieldcatalog-col_pos = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'kostentraeger'.
fieldcatalog-seltext_m = 'kostentraeger'.
fieldcatalog-col_pos = 2.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'bezeichnung'.
fieldcatalog-seltext_m = 'bezeichnung'.
fieldcatalog-col_pos = 3.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'tuvdatummmyyyy'.
fieldcatalog-seltext_m = 'tuvdatummmyyyy'.
fieldcatalog-col_pos = 4.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'asudatummmyyyy'.
fieldcatalog-seltext_m = 'asudatummmyyyy'.
fieldcatalog-col_pos = 5.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'kmstand'.
fieldcatalog-seltext_m = 'kmstand'.
fieldcatalog-col_pos = 6.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'histo'.
fieldcatalog-seltext_m = 'histo'.
fieldcatalog-col_pos = 7.
fieldcatalog-outputlen = 1.
fieldcatalog-datatype = 'CURR'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'reifen'.
fieldcatalog-seltext_m = 'reifen'.
fieldcatalog-col_pos = 8.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'username'.
fieldcatalog-seltext_m = 'username'.
fieldcatalog-col_pos = 9.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
endform. " BUILD_FIELDCATALOG
*& Form BUILD_LAYOUT
Build layout for ALV grid report
form build_layout.
gd_layout-no_input = 'X'.
gd_layout-colwidth_optimize = 'X'.
gd_layout-totals_text = 'Totals'(201).
gd_layout-totals_only = 'X'.
gd_layout-f2code = 'DISP'. "Sets fcode for when double
"click(press f2)
gd_layout-zebra = 'X'.
gd_layout-group_change_edit = 'X'.
gd_layout-header_text = 'helllllo'.
endform. " BUILD_LAYOUT
*& Form DISPLAY_ALV_REPORT
Display report using ALV grid
form display_alv_report.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
i_callback_user_command = 'USER_COMMAND'
i_grid_title = outtext
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
it_special_groups = gd_tabgroup
it_events = gt_events
is_print = gd_prntparams
i_save = 'X'
is_variant = z_template
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_REPORT
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
form data_retrieval.
select * from zfm_kfz
into table itab where kfznr = itab-kfznr.
endform. " DATA_RETRIEVAL
Form TOP-OF-PAGE *
ALV Report Header *
Form top-of-page.
*ALV Header declarations
data: t_header type slis_t_listheader,
wa_header type slis_listheader,
t_line like wa_header-info,
ld_lines type i,
ld_linesc(10) type c.
Title
wa_header-typ = 'H'.
wa_header-info = 'EKKO Table Report'.
append wa_header to t_header.
clear wa_header.
Date
wa_header-typ = 'S'.
wa_header-key = 'Date: '.
CONCATENATE sy-datum+6(2) '.'
sy-datum+4(2) '.'
sy-datum(4) INTO wa_header-info. "todays date
append wa_header to t_header.
clear: wa_header.
Total No. of Records Selected
describe table itab lines ld_lines.
ld_linesc = ld_lines.
concatenate 'Total No. of Records Selected: ' ld_linesc
into t_line separated by space.
wa_header-typ = 'A'.
wa_header-info = t_line.
append wa_header to t_header.
clear: wa_header, t_line.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = t_header.
i_logo = 'Z_LOGO'.
endform.
FORM USER_COMMAND *
--> R_UCOMM *
--> RS_SELFIELD *
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
Check function code
CASE r_ucomm.
WHEN '&IC1'.
Check field clicked on within ALVgrid report
IF rs_selfield-fieldname = 'EBELN'.
Read data table, using index of row user clicked on
READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
Set parameter ID for transaction screen field
SET PARAMETER ID 'BES' FIELD wa_ekko-ebeln.
Sxecute transaction ME23N, and skip initial data entry screen
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDFORM.
*& Form BUILD_EVENTS
Build events table
form build_events.
data: ls_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = gt_events[].
read table gt_events with key name = slis_ev_end_of_page
into ls_event.
if sy-subrc = 0.
move 'END_OF_PAGE' to ls_event-form.
append ls_event to gt_events.
endif.
read table gt_events with key name = slis_ev_end_of_list
into ls_event.
if sy-subrc = 0.
move 'END_OF_LIST' to ls_event-form.
append ls_event to gt_events.
endif.
endform. " BUILD_EVENTS
*& Form BUILD_PRINT_PARAMS
Setup print parameters
form build_print_params.
gd_prntparams-reserve_lines = '3'. "Lines reserved for footer
gd_prntparams-no_coverpage = 'X'.
endform. " BUILD_PRINT_PARAMS
*& Form END_OF_PAGE
form END_OF_PAGE.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
write: sy-uline(50).
skip.
write:/40 'Page:', sy-pagno .
endform.
*& Form END_OF_LIST
form END_OF_LIST.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
skip.
write:/40 'Page:', sy-pagno .
endform.Hi,
Change this..
DATA : BEGIN OF ITAB ,
KFZNR LIKE ZFM_KFZ-KFZNR,
GERAET LIKE ZFM_KFZ-KFZNR,
KOSTENTRAEGER(10) TYPE C,
BEZEICHNUNG(10) TYPE C,
TUVDATUMMMYYYY(6) TYPE C,
ASUDATUMMMYYYY(6) TYPE C,
KMSTAND(6) TYPE C,
HISTO(1) TYPE C,
REIFEN(1) TYPE C,
USERNAME(12) TYPE C,
END OF ITAB.
DATA: BEGIN OF ITAB1 OCCURS 0.
INCLUDE STRUCTURE ITAB.
DATA: END OF ITAB1.
DATA: ITAB_FIELDCAT type SLIS_T_FIELDCAT_ALV .
and also use CAPS for field names.
fieldcatalog-fieldname = '<b>KFZNR</b>'.
fieldcatalog-seltext_m = 'kfznr'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 11.
fieldcatalog-emphasize = 'X'.
fieldcatalog-key = 'X'.
fieldcatalog-do_sum = 'X'.
fieldcatalog-no_zero = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
Regards
vijay -
Select query gives error in Code inspector and extended program check
Hi,
I have a query .
SELECT pernr
FROM pa9100
INTO TABLE t_nca_tab
WHERE endda EQ c_date AND
z_nca_required EQ c_yes.
This query gives me an error in Code inspector like :
Large table pa0001: No first field of table index in WHERE condition
I have one more query that gives error in extended program check
SELECT SINGLE stell ename
INTO (g_stell, g_name)
FROM pa0001
WHERE pernr EQ wa_nca_tab-pernr AND
endda EQ c_date.
The warning says:
*In "SELECT SINGLE ...", the WHERE condition for the key field "SEQNR" does not
test for equality. Therefore, the single record in question may not be unique.*
Its too urgent.
Please reply.
Regards,
Binay.The first field is PERNR .. so if UR not giving pernr it will fetch
all the data from the said table and between the given dates ..
Check if this is your requirement ...
write the select as ...
where r_pernr is a range ...
SELECT pernr
FROM pa9100
INTO TABLE t_nca_tab
WHERE pernr in r_pernr <----
endda EQ c_date AND
z_nca_required EQ c_yes.
As UR using select single it's expecting to use all the key
fields in the where condition ...
U can ignore this warning message -
Please Help me. I am having problems with my MATSHITA UJ-857E DVD-R burner/writer. I burned 4 cd's and then it stopped working.
I can select my songs, and then it asks for a blank disc. It starts preparing to write the disc,then it says,"
The drive reported an error: Sense Key= HARDWARE ERROR Sense Code= 0x09,0x01 TRACKING SERVO FAILURE.
Can anyone give me some advice on how to fix it or what this means because I have no idea what it is talking about or how to begin to fix the problem?tanyafrombakersfield wrote:
It starts preparing to write the disc,then it says,"
The drive reported an error: Sense Key= HARDWARE ERROR Sense Code= 0x09,0x01 TRACKING SERVO FAILURE.
This is an error reported by the optical drive's firmware. The tracking servo is the servomechanism which guides the laser pickup along the track on the optical disc. The error means that the servo couldn't do its job within the programmed parameters. What it doesn't say is why.
You have to be very precise as to when this error occurs. If it occurs as you wrote, while it "starts preparing to write the disc", and not when it has actually began to burn, then it's likely that the drive has gone bad and needs to be replaced.
There are other possibilities, so you should check them, but they would be more likely if the error occurred after the drive began to write. OrangeMarlin has suggested two options -- try a different brand of CD or DVD, and try cleaning the lens. -
Plz Solve this Error in " Client Side Address Validation in Struts "
Hi,
i have created struts project and foll code is written as foll :
plz find out error in code :
struts-config.xml code
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<data-sources />
<form-beans >
<form-bean name="AddressForm" type="com.projectvalidator.form.AddressForm" />
</form-beans>
<global-exceptions />
<global-forwards />
<action-mappings >
<action
input="/validateaddress.jsp"
name="AddressForm"
path="/address"
scope="request"
validate="true"
type="com.projectvalidator.action.AddressAction">
<forward name="success" path="/success.jsp"/>
<forward name="failure" path="/validateaddress.jsp"/>
</action>
</action-mappings>
<message-resources parameter="MessageResources" />
<!-- Validator plugin -->
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
</plug-in>
</struts-config>
MessageResources.properties file code
AddressForm.name=Name
AddressForm.address=Address
AddressForm.email=EmailAddress
validation.xml
<?xml version="1.0" encoding="UTF-8"?>
<form-validation>
<formset>
<!-- Address form Validation-->
<form name="AddressForm">
<field property="name"
depends="required" >
<arg key="AddressForm.name"/>
</field>
<field property="address"
depends="required" >
<arg key="AddressForm.address"/>
</field>
<field property="email"
depends="required" >
<arg key="AddressForm.email"/>
</field>
</form>
</formset>
</form-validation>
validationaddress.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-template" prefix="template" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html locale="true">
<head>
<html:base />
<title>validateaddress.jsp</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
</head>
<body bgcolor=#fdffca>
<html:form action="/address" method="post" onsubmit="return validateAddressForm(this);">
<p>
<html:errors/><p>
name : <html:text property="name" size="30" maxlength="30" />
address : <html:text property="address" size="30" maxlength="30" />
emailaddress : <html:text property="email" size="30" maxlength="30" />
<html:submit>Submit</html:submit>
<html:cancel>Cancel</html:cancel>
<!-- Begin Validator Javascript Function-->
<html:javascript formName="AddressForm"/>
<!-- End of Validator Javascript Function-->
</html:form>
</body>
</html:html>
AddressForm.java
//Created by MyEclipse Struts
// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_3.9.210/xslt/JavaClass.xsl
package com.projectvalidator.form;
import org.apache.struts.validator.ValidatorForm;
* MyEclipse Struts
* Creation date: 02-23-2006
* XDoclet definition:
* @struts:form name="AddressForm"
public class AddressForm extends ValidatorForm {
// --------------------------------------------------------- Instance Variables
/** address property */
private String address;
/** emailaddress property */
private String email;
/** name property */
private String name;
// --------------------------------------------------------- Methods
* Returns the address.
* @return String
public String getAddress() {
return address;
* Set the address.
* @param address The address to set
public void setAddress(String address) {
this.address = address;
* Returns the emailaddress.
* @return String
public String getEmail() {
return email;
* Set the emailaddress.
* @param emailaddress The emailaddress to set
public void setEmail(String email) {
this.email = email;
* Returns the name.
* @return String
public String getName() {
return name;
* Set the name.
* @param name The name to set
public void setName(String name) {
this.name = name;
AddressAction.java
//Created by MyEclipse Struts
// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_3.9.210/xslt/JavaClass.xsl
package com.projectvalidator.action;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import com.projectvalidator.form.AddressForm;
* MyEclipse Struts
* Creation date: 02-23-2006
* XDoclet definition:
* @struts:action path="/address" name="AddressForm" input="/validateaddress.jsp" scope="request" validate="true"
* @struts:action-forward name="success" path="success.jsp" redirect="true"
* @struts:action-forward name="failure" path="validateaddress.jsp" redirect="true"
public class AddressAction extends Action {
// --------------------------------------------------------- Instance Variables
// --------------------------------------------------------- Methods
* Method execute
* @param mapping
* @param form
* @param request
* @param response
* @return ActionForward
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response) {
AddressForm AddressForm = (AddressForm) form;
// TODO Auto-generated method stub
//String forward="";
//if (AddressForm.getName().equalsIgnoreCase("admin"));
//return mapping.findForward(forward);
return null;
==========================================
PLZ REPLY ME ANYONE , I AM NOT GETTING OUTPUT , i am using jboss application server, i am getting a pop-up window as below:
null is required
null is required
null is required
i hope any one replies meHi,
i have created struts project and foll code is written as foll :
plz find out error in code :
struts-config.xml code
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<data-sources />
<form-beans >
<form-bean name="AddressForm" type="com.projectvalidator.form.AddressForm" />
</form-beans>
<global-exceptions />
<global-forwards />
<action-mappings >
<action
input="/validateaddress.jsp"
name="AddressForm"
path="/address"
scope="request"
validate="true"
type="com.projectvalidator.action.AddressAction">
<forward name="success" path="/success.jsp"/>
<forward name="failure" path="/validateaddress.jsp"/>
</action>
</action-mappings>
<message-resources parameter="MessageResources" />
<!-- Validator plugin -->
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
</plug-in>
</struts-config>
MessageResources.properties file code
AddressForm.name=Name
AddressForm.address=Address
AddressForm.email=EmailAddress
validation.xml
<?xml version="1.0" encoding="UTF-8"?>
<form-validation>
<formset>
<!-- Address form Validation-->
<form name="AddressForm">
<field property="name"
depends="required" >
<arg key="AddressForm.name"/>
</field>
<field property="address"
depends="required" >
<arg key="AddressForm.address"/>
</field>
<field property="email"
depends="required" >
<arg key="AddressForm.email"/>
</field>
</form>
</formset>
</form-validation>
validationaddress.jsp
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-template" prefix="template" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html locale="true">
<head>
<html:base />
<title>validateaddress.jsp</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
</head>
<body bgcolor=#fdffca>
<html:form action="/address" method="post" onsubmit="return validateAddressForm(this);">
<p>
<html:errors/><p>
name : <html:text property="name" size="30" maxlength="30" />
address : <html:text property="address" size="30" maxlength="30" />
emailaddress : <html:text property="email" size="30" maxlength="30" />
<html:submit>Submit</html:submit>
<html:cancel>Cancel</html:cancel>
<!-- Begin Validator Javascript Function-->
<html:javascript formName="AddressForm"/>
<!-- End of Validator Javascript Function-->
</html:form>
</body>
</html:html>
AddressForm.java
//Created by MyEclipse Struts
// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_3.9.210/xslt/JavaClass.xsl
package com.projectvalidator.form;
import org.apache.struts.validator.ValidatorForm;
* MyEclipse Struts
* Creation date: 02-23-2006
* XDoclet definition:
* @struts:form name="AddressForm"
public class AddressForm extends ValidatorForm {
// --------------------------------------------------------- Instance Variables
/** address property */
private String address;
/** emailaddress property */
private String email;
/** name property */
private String name;
// --------------------------------------------------------- Methods
* Returns the address.
* @return String
public String getAddress() {
return address;
* Set the address.
* @param address The address to set
public void setAddress(String address) {
this.address = address;
* Returns the emailaddress.
* @return String
public String getEmail() {
return email;
* Set the emailaddress.
* @param emailaddress The emailaddress to set
public void setEmail(String email) {
this.email = email;
* Returns the name.
* @return String
public String getName() {
return name;
* Set the name.
* @param name The name to set
public void setName(String name) {
this.name = name;
AddressAction.java
//Created by MyEclipse Struts
// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_3.9.210/xslt/JavaClass.xsl
package com.projectvalidator.action;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import com.projectvalidator.form.AddressForm;
* MyEclipse Struts
* Creation date: 02-23-2006
* XDoclet definition:
* @struts:action path="/address" name="AddressForm" input="/validateaddress.jsp" scope="request" validate="true"
* @struts:action-forward name="success" path="success.jsp" redirect="true"
* @struts:action-forward name="failure" path="validateaddress.jsp" redirect="true"
public class AddressAction extends Action {
// --------------------------------------------------------- Instance Variables
// --------------------------------------------------------- Methods
* Method execute
* @param mapping
* @param form
* @param request
* @param response
* @return ActionForward
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response) {
AddressForm AddressForm = (AddressForm) form;
// TODO Auto-generated method stub
//String forward="";
//if (AddressForm.getName().equalsIgnoreCase("admin"));
//return mapping.findForward(forward);
return null;
==========================================
PLZ REPLY ME ANYONE , I AM NOT GETTING OUTPUT , i am using jboss application server, i am getting a pop-up window as below:
null is required
null is required
null is required
i hope any one replies me -
Error in Code Inspector-while checking syntax in TR
Hi,
I am getting a error in code inspector:
Table 'Table_name' sub-object type TABL sub-object name 'table_name'
Buffering type is initial but delivery class is "C".
How to avoid this?
Thanks.Please check the" technical setting" of the table mentioned using SE11 and make it "fully buffered"
a® -
I downloaded the latest version and I get this error when I open it. Problem signature: Problem Event Name:
InPageError Error Status Code:
c0000185 Faulting Media Type:
00000003 OS Version:
6.1.7601.2.1.0.768.3. Any clue why or how to fix?InPageError
That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
XP instructions in the following document: How to perform disk error checking in Windows XP
Vista instructions in the following document: Check your hard disk for errors
Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
Does the chkdsk find/repair any damage? If so, can you get itunes to launch properly afterwards?
Maybe you are looking for
-
Display stock on posting date for a consignment stock
Dear guru. I want to display the stock on posting date for a consignment stock (special stock indicator = "W" ) to display this stock and the linked movements for a specific customer. MB5B donu2019t have the field customer in the selection view. Wha
-
Metadata with Multichannel Audio doesn't work...
I've been attempting to create metadata entries for some movie files and have found that the data will display properly only if the file has 2-channel audio. Other files with multichannel audio will not display the info correctly from within iTunes.
-
User input; how to account for unlimited names typed in
So, I finally figured out how to write a program that, given the input of three names, can replace any one of the given names with anything the user wants. My problem is that it only works for three names, and apparently, my professor wants the progr
-
Won't let me buy tray of 132 donuts on tapped out?
everytime I goto buy the donuts on the game an error pops up and tells me to come here for support from iTunes and idk why. I've been buying prepaid cards to make purches on the game and now it won't let me. Please help!
-
Navigation with inLineFrame component
i used inLineFrame component in one page. i am able to navigate from one page to another with in the frame. But i want to come out after some navigation and display the full page in a new window. Thanks in advance prapansol Message was edited by: Pra