Control not going to java
HI..
I am facing a problem. I am doing validation for fileuploader in java. I am able to do the validation in java. But the requirement is to do the validation in java (page code). When i am passing empty string and do a submit, its working fine i.e the contol is going fine to the page code. But when I give some blank string to the fileuploader field and do a submit. The control is not going to the page code.
Please help me in the regard. Its very urgent
Regards
Rishab
What is the difference between an empty string and a blank string? And what JSF component are you talking about? Tomahawk t:inputFileUpload? RISB risb:multiFileUpload? Custom component? Why do you need the control in the backing bean? If you want to validate it on being filled or not, generally just add required="true" to the component.
Similar Messages
-
Control nol going to java code
HI..
I am facing a problem. I am doing validation for fileuploader in java. I am able to do the validation in java. But the requirement is to do the validation in java (page code). When i am passing empty string and do a submit, its working fine i.e the contol is going fine to the page code. But when I give some blank string to the fileuploader field and do a submit. The control is not going to the page code.
Please help me in the regard. Its very urgent
Regards
RishabCan you elaborate with short examples. When you say "going to java code" I assume you mean either trigger a ValueChangeEvent or a Invoke Application event.
My assumption is that the blank is not triggering a ValueChangeEvent. If data does not change then Invoke Application will not be called either. -
Control not going from Adobe Interactive form to ABAP WD Event handler
Hi
I am facing an issue with adobe interactive forms and WD ABAP integration.
The buttons in adobe interactive form when clicked is going round and round and the control is not going to the ABAP code(WD ABAP event handler code whatsoever). I have also set the debugger but the control is not moving to the ABAP code from the adobe interactive form.
Can anyone help me what can be the issue here and how can I resolve the same?
Thanks.
SidHi Babi,
In the adobe form layout library Use the Submit(which internally means submit to SAP) button from the Webdynpro Native category.
Only this button action can connect adobe to web dynpro.
Whenever we click on this particular button the event will be trigger in the ONsubmit event of interactive form UI element in the webdynpro.There we can write our abap code.Hope this will help you.
Regards,
Simi A M
Edited by: amsimi on Mar 22, 2011 11:37 AM -
hi to all experts,
my requirement is to create assign an authorization object for a ztable. so what i have done in the screen of table maintenance generator i have created a module for a field which requires the authorization,But the control never goes in . what might be the problem.
PROCESS BEFORE OUTPUT.
MODULE LISTE_INITIALISIEREN.
LOOP AT EXTRACT WITH CONTROL
TCTRL_ZMPRU015 CURSOR NEXTLINE.
MODULE LISTE_SHOW_LISTE.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
MODULE LISTE_BEFORE_LOOP.
LOOP AT EXTRACT.
my added code
FIELD ZMPRU015-PLANT_GROUP.
MODULE CHECK_AUTHORIZATION.
MODULE LISTE_INIT_WORKAREA.
CHAIN.
FIELD ZMPRU015-PLANT_GROUP .
FIELD ZMPRU015-ZSEQ .
FIELD ZMPRU015-KOSTL_FROM .
FIELD ZMPRU015-KOSTL_TO .
FIELD ZMPRU015-GLFROM .
FIELD ZMPRU015-GLTO .
MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
ENDCHAIN.
FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
CHAIN.
FIELD ZMPRU015-PLANT_GROUP .
FIELD ZMPRU015-ZSEQ .
MODULE LISTE_UPDATE_LISTE.
ENDCHAIN.
ENDLOOP.
MODULE LISTE_AFTER_LOOP.Your code should b placed at the follwoing place.. Then only it will be triggered...
CHAIN.
Standard code
MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
Your Code
ENDCHAIN. -
m trying to open a java web site its not opening and server goes to java web sites ...........???
Java is not available for iOS devices, so the site you are trying to access won't work.
-
Stack file that is generated does not contain any java components
We are in process of upgrading our ecc6.0 system with ehp4. The enhancement is stuck up in configuration phase for JAVA. Though we have configured Java in solution manager the stack file that is generated does not contain any java components and so the installation is stuck up. Kindly request you to advice us on this issue .
Attached is the 'Trouble Ticket Report', PREPARE_JSPM_QUEUE_CSZ_01.LOG, and SMSDXML_EA4_20100623144541.375.txt
++++
Trouble Ticket Report
Installation of enhancement package 1 for SAP NetWeaver 7.0
SID................: EA4
Hostname...........: wipro
Install directory..: e:/usr/sap/EA4
Upgrade directory..: F:\EHPI\java
Database...........: Oracle
Operating System...: NT
JDK version........: 1.6.0_07 SAP AG
SAPJup version.....: 3.4.29
Source release.....: 700
Target release.....: 700
Start release SP...: $(/J2EE/StandardSystem/SPLevel)
Target release SP..: $(/J2EE/ShadowSystem/SPLevel)
Current usages.....:
ABAP stack present.: true
The execution of PREPARE/INIT/PREPARE_JSPM_QUEUE ended in error.
The stack E:\usr\sap\trans\EPS\SMSDXML_EA4_20100625054857.968.xml contains no components for this system.
More information can be found in the log file F:\EHPI\java\log\PREPARE_JSPM_QUEUE_CSZ_02.LOG.
Use the information provided to trouble-shoot the problem. There might be an OSS note providing a solution to this problem. Search for OSS notes with the following search terms:
com.sap.sdt.j2ee.phases.PhaseTypePrepareJSPMQueue
com.sap.sdt.ucp.phases.PhaseException
The stack E:\usr\sap\trans\EPS\SMSDXML_EA4_20100625054857.968.xml contains no components for this system.
PREPARE_JSPM_QUEUE
INIT
NetWeaver Enhancement Package Installation
SAPJup
Java Enhancement Package Installation
++++++
PREPARE_JSPM_QUEUE_CSZ_01.LOG>>
<!LOGHEADER[START]/>
<!HELP[Manual modification of the header may cause parsing problem!]/>
<!LOGGINGVERSION[2.0.7.1006]/>
<!NAME[F:\EHPI\java\log\PREPARE_JSPM_QUEUE_CSZ_01.LOG]/>
<!PATTERN[PREPARE_JSPM_QUEUE_CSZ_01.LOG]/>
<!FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%s]: %-100l [%t]: %m)]/>
<!ENCODING[UTF8]/>
<!LOGHEADER[END]/>
Jun 28, 2010 9:21:23 AM [Info]: com.sap.sdt.ucp.phases.AbstractPhaseType.initialize(AbstractPhaseType.java:754) [Thread[main,5,main]]: Phase PREPARE/INIT/PREPARE_JSPM_QUEUE has been started.
Jun 28, 2010 9:21:23 AM [Info]: com.sap.sdt.ucp.phases.AbstractPhaseType.initialize(AbstractPhaseType.java:755) [Thread[main,5,main]]: Phase type is com.sap.sdt.j2ee.phases.PhaseTypePrepareJSPMQueue.
Jun 28, 2010 9:21:23 AM [Info]: com.sap.sdt.ucp.phases.AbstractPhaseType.logParameters(AbstractPhaseType.java:409) [Thread[main,5,main]]: Parameter inputFile=EHPComponents.xml
Jun 28, 2010 9:21:23 AM [Info]: com.sap.sdt.j2ee.phases.jspm.JSPMQueuePreparatorFactory.createJSPMQueuePreparator(JSPMQueuePreparatorFactory.java:93) [Thread[main,5,main]]: Creating JSPM SP Stack queue preparator.
Jun 28, 2010 9:21:24 AM [Info]: com.sap.sdt.ucp.dialog.elim.DialogEliminatorContainer.canBeOmitted(DialogEliminatorContainer.java:96) [Thread[main,5,main]]: Dialog eliminator spStackDialogEliminator allows to omit dialog SPStackLocationDialog
Jun 28, 2010 9:21:24 AM [Info]: com.sap.sdt.util.validate.ValidationProcessor.validate(ValidationProcessor.java:97) [Thread[main,5,main]]: Validatable parameter SP/STACK/LOCATION has been validated by validator RequiredFields.
Jun 28, 2010 9:21:24 AM [Info]: com.sap.sdt.util.validate.ValidationProcessor.validate(ValidationProcessor.java:97) [Thread[main,5,main]]: Validatable parameter SP/STACK/LOCATION has been validated by validator SPStackLocationValidator.
Jun 28, 2010 9:21:24 AM [Info]: com.sap.sdt.j2ee.phases.jspm.JSPMSpStackQueuePreparator.createQueue(JSPMSpStackQueuePreparator.java:107) [Thread[main,5,main]]: Using SP Stack E:\usr\sap\trans\EPS\SMSDXML_EA4_20100625054857.968.xml.
Jun 28, 2010 9:21:24 AM [Info]: com.sap.sdt.j2ee.tools.spxmlparser.SPXmlParser.parseStackTag(SPXmlParser.java:488) [Thread[main,5,main]]: STACK-SHORT-NAME tag is missing. The CAPTION of the stack will be used as stack name.
Jun 28, 2010 9:21:24 AM [Info]: com.sap.sdt.j2ee.tools.spxmlparser.SPXmlParser.parseStackTag(SPXmlParser.java:582) [Thread[main,5,main]]: PRODUCT-PPMS-NAME tag is missing. The CAPTION of the product will be used as product PPMS name.
Jun 28, 2010 9:21:24 AM [Info]: com.sap.sdt.j2ee.tools.spxmlparser.SPXmlParser.parseSPXml(SPXmlParser.java:424) [Thread[main,5,main]]: Parsing of stack definition file E:\usr\sap\trans\EPS\SMSDXML_EA4_20100625054857.968.xml has finished.
Jun 28, 2010 9:21:24 AM [Error]: com.sap.sdt.ucp.phases.AbstractPhaseType.doExecute(AbstractPhaseType.java:863) [Thread[main,5,main]]: Exception has occurred during the execution of the phase.
Jun 28, 2010 9:21:24 AM [Error]: com.sap.sdt.j2ee.phases.jspm.JSPMSpStackQueuePreparator.createQueue(JSPMSpStackQueuePreparator.java:136) [Thread[main,5,main]]: The stack E:\usr\sap\trans\EPS\SMSDXML_EA4_20100625054857.968.xml contains no components for this system.
Jun 28, 2010 9:21:24 AM [Info]: com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:906) [Thread[main,5,main]]: Phase PREPARE/INIT/PREPARE_JSPM_QUEUE has been completed.
Jun 28, 2010 9:21:24 AM [Info]: com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:907) [Thread[main,5,main]]: Start time: 2010/06/28 09:21:23.
Jun 28, 2010 9:21:24 AM [Info]: com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:909) [Thread[main,5,main]]: End time: 2010/06/28 09:21:24.
Jun 28, 2010 9:21:24 AM [Info]: com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:910) [Thread[main,5,main]]: Duration: 0:00:00.781.
Jun 28, 2010 9:21:24 AM [Info]: com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:911) [Thread[main,5,main]]: Phase status is error.
++++++++++++++++++++++
[stack xml data: version=1.0]
[SPAM_CVERS]
ST-PI 2005_1_7000006
LSOFE 600 0015
SAP_AP 700 0015
SAP_BASIS 701 0003
SAP_ABA 701 0003
SAP_BW 701 0003
PI_BASIS 701 0003
PLMWUI 700 0002
SAP_APPL 604 0002
EA-APPL 604 0002
SAP_BS_FND 701 0002
EA-IPPE 404 0002
WEBCUIF 700 0002
INSURANCE 604 0002
FI-CA 604 0002
ERECRUIT 604 0002
ECC-DIMP 604 0002
EA-DFPS 604 0002
IS-UT 604 0002
IS-H 604 0003
EA-RETAIL 604 0002
EA-FINSERV 604 0002
IS-OIL 604 0002
IS-PRA 604 0002
IS-M 604 0002
SEM-BW 604 0002
FINBASIS 604 0002
FI-CAX 604 0002
EA-GLTRADE 604 0002
IS-CWM 604 0002
EA-PS 604 0002
IS-PS-CA 604 0002
EA-HR 604 0005
SAP_HR 604 0005
ECC-SE 604 0002
[PRDVERS]
01200314690900000432SAP ERP ENHANCE PACKAGE EHP2 FOR SAP ERP 6.0 sap.com EHP2 FOR SAP ERP 6.0 -00000000000000
01200314690900000463SAP ERP ENHANCE PACKAGE EHP4 FOR SAP ERP 6.0 sap.com EHP4 FOR SAP ERP 6.0 -00000000000000
01200615320900001296 sap.com +00000000000000
01200615320900001469SAP ERP ENHANCE PACKAGE EHP3 FOR SAP ERP 6.0 sap.com EHP3 FOR SAP ERP 6.0 -00000000000000
01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01 +00000000000000
[SWFEATURE]
1 01200615320900001296SAP ERP 2005 sap.com SAP ERP 6.0: SAP ECC Server
19 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Discrete Ind. & Mill Products
20 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Media
21 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Utilities/Waste&Recycl./Telco
23 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Leasing/Contract A/R & A/P
24 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Retail
25 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Global Trade
26 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Financial Supply Chain Mgmt
30 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Central Applications
31 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Strategic Enterprise Mgmt
33 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Human Capital Management
37 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Oil & Gas
38 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Catch Weight Management
42 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Public Sector Accounting
43 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Insurance
44 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Hospital
45 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: SAP ECC Server VPack successor
46 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: ERecruiting
47 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Defense & Public Security
48 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Financial Services
55 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Oil & Gas with Utilities
56 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: Defense
59 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: PLM Core
69 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: EAM config control
9 01200615320900003195EHP4 FOR SAP ERP 6.0_NW701 EHP4 FOR ERP 6.0_NW701 sap.com EHP4 FOR SAP ERP 6.0 / NW7.01: SAP ESA ECC-SE
++++++++++++++++Though we have configured Java in solution manager the stack file that is generated does not contain any java components
You will probably need to update Solution Manager first with a number of corrections so you can get a correctly generated stack file. Depending on your ST400 version in Solution Manager apply collective corrections from "Note 1461849 - MOpz: Collective corrections 24" or "Note 1452118 - MOpz: Collective Corrections 23". They generally deal with these kind of stack file issues.
Nelis -
JDBC control not work after upgrade application from workshop 8.1 to 9.2.3
Hi,
We upgraded application from workshop 8.1 to 9.2.3. After that, the JDBC control not work any more. We got the following exception:
java.sql.SQLException: The transaction is no longer active - status: 'Committed'. No further JDBC access is allowed within this transaction.
at weblogic.jdbc.wrapper.JTSConnection.checkIfRolledBack(JTSConnection.java:192)
at weblogic.jdbc.wrapper.JTSConnection.checkConnection(JTSConnection.java:202)
at weblogic.jdbc.wrapper.Connection.preInvocationHandler(Connection.java:87)
at weblogic.jdbc.wrapper.Connection.getMetaData(Connection.java:435)
at org.apache.beehive.controls.system.jdbc.parser.SqlStatement.createPreparedStatement(SqlStatement.java:128)
at org.apache.beehive.controls.system.jdbc.JdbcControlImpl.execPreparedStatement(JdbcControlImpl.java:272)
at com.bea.wlw.runtime.core.control.internal.JdbcControlImpl.invoke(JdbcControlImpl.java:136)
at controls.SecurityBean.getUpdateDocPermission(SecurityBean.java:598)
at security.SecurityManagerImpl.getUpdateDocPermission(SecurityManagerImpl.java:110)
at security.SecurityManagerBean.getUpdateDocPermission(SecurityManagerBean.java:509)
The control that throw the exception has "transactionattribute" annotation added automatically by upgrade wizard during upgrading. Related classed are as follows:
@ControlInterface()
public interface SecurityManager
@TransactionAttribute(TransactionAttributeType.REQUIRED)
boolean getUpdateDocPermission(java.lang.String userId);
@ControlImplementation()
public class SecurityManagerImpl implements SecurityManager, Serializable
* @common:control
@org.apache.beehive.controls.api.bean.Control()
private controls.Security security;
static final long serialVersionUID = 1L;
* @common:operation
public boolean getUpdateDocPermission(String userId)
if ( security.getUpdateDocPermission(userId) > 0) {
return true;
else
return false;
@ControlExtension()
@JdbcControl.ConnectionDataSource(jndiName = "EventDesk")
public interface Security extends JdbcControl
static final long serialVersionUID = 1L;
* @jc:sql statement="select r.updateDoc from document_user u ,document_role r where u.login={userId} and u.roleId=r.roleId;"
@JdbcControl.SQL(statement = "select r.updateDoc from document_user u ,document_role r where u.login={userId} and u.roleId=r.roleId;")
int getUpdateDocPermission(String userId);
Thanks for your helpHi. The issue is a level or two above JDBC. I suggest
opening an official support case. It's probably a
WLW issue.
Joe -
Computer not going to sleep when lid closed
My wife's new MacBook Air has a couple of problems we can't figure out. First sometimes the computer is not going to sleep when lid is closed and when we lift the lid everything is frozen.
Second, the user Library folder is not seeable in her user account. I know it's there because on the side bar there's a short cut to Preferences folder which we can open.
Strange behavior.
Thanks,
RonRon,
The user library folder (~/Library/) is hidden by default in Lion. I assume Apple doesn't want people mucking around with the sensitive files in there. So this is normal behavior.
As for the freezing issue, I would suggest you reset your power management and perform a safe boot to clear out caches. You should also see if the issue persists after disconnecting USB perhipherals.
Here's how:
Power Management:
Shut down the computer.
Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
Release all the keys and the power button at the same time.
Press the power button to turn on the computer.
Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.
Safe Boot:
Be sure your Mac is shut down.
Press the power button.
Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear). -
MacBook not going to sleep when connected to WiFi
Hi there,
my MacBook 3,1 is not going to sleep as long as it is connected to WiFi.
It starts the process of going to sleep as my VNC connection gets dropped but it stays awake. I can easily reconnect.
Everthing else is working fine. Any suggestions?Hello everyone,
I'm facing the same syptom. I tried many things and now havw to live with putting the MacBook to slee by hand. I had some other issues just before that:
1: The MB returned randomly from sleep while being closed. That was annoying. I think it was fixed after installing smart sleep and doing some cleanup in the preference files.
2: Then I was put "randomly" to sleep. I figured that came from overheating the processor (thus I'm gld it went to sleep). The fan speed control was set to constantly 2000 rpm. Installing fanControl helped.
3: Lid closing did not init the sleep mode and the backlight is not turning off. Niether does it wake up on opening when I put it io sleep manually (I have to press a key).
The sensor for closing the lid seems to work, if it is the same which controls the maximum brightnes of the sleep indicator light (pulsing). It is darker when the lid is closed.
I wonder if there is some settings tool.
Besides I think the issues started after the Software updates around 12th of dec. 2008, with MacOS10.5.6 and the EFI & SMC firmware updates.
I'm eager to get answers.
Kid regards, Ralf. -
Class is not appearing in "Java Batch Job Class Search" when trying to add.
Hi,
I have oracle CC&B 2.3.1, with SDK 2.2.0.12. I am trying to create new java batch job class by copying an existing one and modifying it to be used with new Batch Control .
Steps are as follows:
1-Created file by copying the exiting file
CreateLatePaymentChargesProcess.java ; and only changing the name of the class:
public class CmCreateLatePaymentChargesProcess
extends CmCreateLatePaymentChargesProcess_Gen
File location :
D:\spl\ccb231\applycm\ssgc_patch\java\source\cm\ CmCreateLatePaymentChargesProcess.java
D:\spl\ccb231\applycm\ssgc_patch\java\source\cm\ CmCreateLatePaymentChargesProcess_Gen.java
2-Run ApplyCm build successfully , which generated these files:
D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\ CmCreateLatePaymentChargesProcess.class
D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\ CmCreateLatePaymentChargesProcess_Gen$1.class
D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\CmCreateLatePaymentChargesProcess_Gen$CmCreateLatePaymentChargesProcessWorker_Gen$ThreadParameters.class
D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\CmCreateLatePaymentChargesProcess_Gen$CmCreateLatePaymentChargesProcessWorker_Gen$ToDoProperties.class
D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\CmCreateLatePaymentChargesProcess_Gen$CmCreateLatePaymentChargesProcessWorker_Gen.class
D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\CmCreateLatePaymentChargesProcess_Gen$JobParameters.class
D:\spl\ccb231\java\target\cm\com\splwg\ccb\domain\billing\batch\CmCreateLatePaymentChargesProcess_Gen.class
All the above classes are part of CM.jar file
ContextManagedObjects.xml ; contains these information
<com.splwg.shared.environ.ContextManagedObjectData>;
<domainPackages/>
<lookupFieldClasses class="tree-map">
<no-comparator/>
</lookupFieldClasses>
<cobolAlgorithmInterfaceExtensions class="tree-map">
<no-comparator/>
</cobolAlgorithmInterfaceExtensions>
</com.splwg.shared.environ.ContextManagedObjectData>;
packageMetaInfo.xml was not created
Still the class is not appearing in "Java Batch Job Class Search" when trying to add a new program name referencing this java class.
I tried restarting the Tomcat application server, still not appearing.
Where did I go wrong about it?
Thanks
Edited by: cc&amp;amp;b-user on Jul 29, 2011 12:39 AM
Edited by: ccb-user on Aug 2, 2011 9:28 PM
Edited by: ccb-user on Aug 7, 2011 11:36 PMHi,
Did you copying the base file CreateLatePaymentChargesProcess.java?
I also create a new batch job which copying the CreateLatePaymentChargesProcess batch code the only difference in getBills() method query and inner class CreateLatePaymentChargesProcessWorker extend CmCreateLatePaymentChargesProcessWorker_Gen, instead of CreateLatePaymentChargesProcessWorker_Gen.
The batch is working fine in my end.
Thanks,
Atul Singh. -
Sound control not working on my blue tooth keyboard
sound control not working with my bluetooth keyboard
UAVPilot,
Thank you for the information. I do show that the device and car are capable of this function. I do not show any reason you should not be hearing the notifications. One thing you will want to check is that the sound for both your notifications and media are turned up. Also you can look into going into Settings>Apps>S voice Drive Mode> Clear Cache. This should clear any possible bugs in the application. Please keep us updated on this and we can check on other options.
Thank you,
TonyG_VZW
Follow us on Twitter @VZWSupport -
Invalid record not going into E$ table
Hi,
I am using Oracle as source and target but source and target table is on different database.lets say
base table EMP_SRC table --> ABC database
fact table EMP_TRG table --> XYZ database
and some dimension table are also in XYZ Database. and all FK constraint are there in fact table.
I created one interface in which on source dataset i drag base table and dimension table for lookup and join the code columns with base table code and on target side i am populating keys and measures value correspondence the base table data which matched with dim table.
I am using KM
LKM SQL to SQL
IKM SQL incremental update
Option:
Flow control : true
CKM SQL
when i run the Interface it is getting successful with valid records but in base table there is some invalid record also which is not going into E$ table
why it is happening ? did I miss something ? Please help me
Thanks.I am doing little modification here
BASE_DATA:
RSN_CODE
QUANTITY
DATA_DIM:
ID_RSN (PK)
RSN_CODE
your join need to be BASE_DATA.RSN_CODE = DATA_DIM.RSN_CODE(+)
your target table will have as mapping
TGT_DIM:
ID_RSN (PK): DATA_DIM.ID_RSN
QUANTITY: BASE_DATA.QUANTITY
Now
Base_Data
RSN_CODE Quantity
1A 120
1B 260
1C 130
1E 300
DATA_DIM
ID_RSN RSN_CODE
1 1A
2 1B
3 1C
4 1D
------------------------------OK--------------------------
After execution
TGT_DIM
ID_RSN QUANTITY
1 120
2 260
3 130
and in E$ table
ODI_ROW_ID : F
ODI_ERR_MESS : ODI-15066: The column ID_RSN cannot be null.
ODI_CHECK_DATE : 24-JUL-13
RSN_CODE : (null)
Quantity : 300
---------------------OK----------------------------------
but I want in E$ table consist following result
ODI_ROW_ID : F
ODI_ERR_MESS : ODI-15066: The column ID_RSN cannot be null.
ODI_CHECK_DATE : 24-JUL-13
RSN_CODE : 1E
Quantity : 300
Thanks -
Error could not access a java object field called allowAppDataInServContext after Applying Security
After applying the security patch 12-26 I am getting the error "Could not access a java object field called allowAppDataInServContext". When I removed the update the error goes away. When I read the update it returns.
The error states it occurred in the following line: cfapplication name="somename" clientmanagement="No" sessionmanagement="Yes" setclientcookies="Yes"Is it a linux server? Look at the following, second comment.
http://blogs.coldfusion.com/post.cfm/coldfusion-security-update
^_^
EDIT: Also, http://www.shilpikhariwal.com/2012/12/security-hotfix-for-coldfusion-9-and.html -
LOV Control is going to next Input Field
Hi all,
when i clikc LOV icon on my form the control is going to next input field.second one should have partial trigger with LOV field .Due to partial trigger am facing this problem .I recreated the binidings also.But it is not working.
please help me in this .It is very urgent .
Ravi.Hi ,
Am giving all my code details .Please help me .
1.LOV INput Field with name PRMID:
<af:inputListOfValues id="prmIdId"
popupTitle="Search and Select: #{bindings.PrmId.hints.label}"
value="#{bindings.PrmId.inputValue}"
label="#{bindings.PrmId.hints.label}"
model="#{bindings.PrmId.listOfValuesModel}"
required="#{bindings.PrmId.hints.mandatory}"
columns="#{bindings.PrmId.hints.displayWidth}"
shortDesc="#{bindings.PrmId.hints.tooltip}"
autoSubmit="false" editMode="select"
binding="#{backingBeanScope.backing_rcsPartner.prmIdTxt}">
<f:validator binding="#{bindings.PrmId.validator}"/>
</af:inputListOfValues>
2.Input Field HQID having partial trigger to prmID
<af:inputText value="#{bindings.HqId.inputValue}"
label="#{bindings.HqId.hints.label}"
required="#{bindings.HqId.hints.mandatory}"
columns="#{bindings.HqId.hints.displayWidth}"
maximumLength="#{bindings.HqId.hints.precision}"
shortDesc="#{bindings.HqId.hints.tooltip}" id="it1"
binding="#{backingBeanScope.backing_rcsPartner.hqidTxt}"
partialTriggers="prmIdId">
<f:validator binding="#{bindings.HqId.validator}"/>
</af:inputText>
3. My Page Definition Page having both PRMID,HQID
<?xml version="1.0" encoding="UTF-8" ?>
<pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
version="11.1.1.56.60" id="RcsPartnerPageDef"
Package="fragments">
<parameters/>
<executables>
<variableIterator id="variables"/>
<iterator Binds="RcsPartnerSetupViewTbl" RangeSize="100"
DataControl="AdminHandlerAMDataControl"
id="RcsPartnerSetupViewTblIterator"/>
<searchRegion Criteria="__ImplicitViewCriteria__"
Customizer="oracle.jbo.uicli.binding.JUSearchBindingCustomizer"
Binds="RcsPartnerSetupViewTblIterator"
id="ImplicitViewCriteriaQuery"/>
</executables>
<bindings>
<attributeValues IterBinding="RcsPartnerSetupViewTblIterator"
id="LastUpdateUser">
<AttrNames>
<Item Value="LastUpdateUser"/>
</AttrNames>
</attributeValues>
<attributeValues IterBinding="RcsPartnerSetupViewTblIterator"
id="CreateDts">
<AttrNames>
<Item Value="CreateDts"/>
</AttrNames>
</attributeValues>
<attributeValues IterBinding="RcsPartnerSetupViewTblIterator"
id="LastUpdateDts">
<AttrNames>
<Item Value="LastUpdateDts"/>
</AttrNames>
</attributeValues>
<tree IterBinding="RcsPartnerSetupViewTblIterator"
id="RcsPartnerSetupViewTbl">
<nodeDefinition DefName="com.hp.rebates.grs.model.services.ui.queries.RcsPartnerSetupView"
Name="RcsPartnerSetupViewTbl0">
<AttrNames>
<Item Value="PrmId"/>
<Item Value="HqId"/>
<Item Value="LastUpdateUser"/>
<Item Value="CreateDts"/>
<Item Value="LastUpdateDts"/>
<Item Value="Name"/>
</AttrNames>
</nodeDefinition>
</tree>
<action IterBinding="RcsPartnerSetupViewTblIterator" id="Delete"
RequiresUpdateModel="false" Action="removeCurrentRow"/>
<action IterBinding="RcsPartnerSetupViewTblIterator" id="CreateInsert"
RequiresUpdateModel="true" Action="createInsertRow"/>
<action id="Commit" RequiresUpdateModel="true" Action="commitTransaction"
DataControl="AdminHandlerAMDataControl"/>
<action id="Rollback" RequiresUpdateModel="false"
Action="rollbackTransaction"
DataControl="AdminHandlerAMDataControl"/>
<listOfValues StaticList="false"
IterBinding="RcsPartnerSetupViewTblIterator" Uses="LOV_PrmId"
id="PrmId"/>
<attributeValues IterBinding="RcsPartnerSetupViewTblIterator" id="Name">
<AttrNames>
<Item Value="Name"/>
</AttrNames>
</attributeValues>
<attributeValues IterBinding="RcsPartnerSetupViewTblIterator" id="HqId">
<AttrNames>
<Item Value="HqId"/>
</AttrNames>
</attributeValues>
</bindings>
</pageDefinition> -
MIRO.......Quality doc not going into block
Hi,
When we are posting invoice through MIRO against materials in Quality its not going into payment block..
We maintaing everything from QM point of view, control keys and select block invoice options.
we are unable to trace/ fine the settting related from FICO.
Can any body guide me.
Regards,
Venkathi
In MM02,
Quality management view,
Activate "QM in Procurement is Active"
Enter QM control key - "0007" i.e. Del. release, invoice block
U have to also maintain QM Info Record, use QI01
Test 1 complete cycle PO > GR > LIV
It will start working
Regards
Maybe you are looking for
-
I would like to use my ipad mini 1st generation for multiple airplay. I cannot find this option (only can connect to one device at a time). Is there something I need to download? Cheers
-
Can I have separate Style Formatting for viewing and sending emails?
Hey All I was just wondering if it was possible to have separate style settings for viewing emails sent to you and sending emails to others. Basically I want to set up a kind of style template for all my outgoing emails but I don't necessarily want m
-
I am about to purchase a wonderful item that is made by Sony and is actually a hard drive that will connect to my large screen TV and allow my photos to play in slideshow format. But the snag is that the retailer can't tell me if it's Mac compatible
-
Okay, so I'm having iPod trouble. well, after waiting for twenty minutes on the phone, i get a guy to help me out. he gives me a website(depot.info.apple.com), an agreement number. problem is, when i went to the site, i didn't know where to put the a
-
LOGGING.Properties(Srikanth)
hi all i got two applications running on my tomcat webserver and getting logs mixed alternative among the application.i have implemented java.util.logging in de application and having a logging.properties file in my server .did any one can clear my p