Process not writing to JMS queue with non-xa data source
I have a process reading from a JMS-AQ with non XA, but it does not seem to be performing a commit and writing to the queue. If I use XA all the way ut works, but I don't get the desired error handling which I have built. Anything obvious I am missing? 11.1.1.5 SOA
Hi,
Under Weblogic JDBC Datasources select the datasource and then select Transaction tab there you can find Use XA datasource interface.
and In DB adapter ... go to Configuration Tab ---Outbound Connection Pool--- Unhide the pool group -Select JNDI name ( e.g eis/DB/local ) ---enter the JDBC datasource created earlier in weblogic JDBC datasource against xADataSourceName..
Now Click on Transaction tab & select Transaction Support: as XA Transaction .
Regards,
Abhinav Gupta
Similar Messages
-
Non transactional data source and ejb transaction
Inside an ejb method with trans-attribute = Required,
Do a bunch of things using a transactional data source and a bunch of things using
a non trasnactional data source.
Looks like the time spent doing the non-transactional data source related work
does not count for the transaction timeout defined for the ejb.
So, what happens here, the ejb transaction is suspended ( when I start using the
non transactional ds ) ?Hi,
"siddiqut" <[email protected]> wrote in message news:3fa7c79d$[email protected]..
Inside an ejb method with trans-attribute = Required,
Do a bunch of things using a transactional data source and a bunch of things using
a non trasnactional data source.
Looks like the time spent doing the non-transactional data source related work
does not count for the transaction timeout defined for the ejb.
So, what happens here, the ejb transaction is suspended ( when I start using the
non transactional ds ) ?The transaction is not suspended when you call something
which is not non-transactional.
Regards,
Slava Imeshev -
Mapping deploy for Non-Oracle Data Source hangs
Hi All,
I am trying to deploy mapping for Non-Oracle Data Source and it hangs.
Oracle version is 10.2.0.3 and OWB version is 10.2.0.1.3.1
It would be really appreciated if you can help.
Thanks!
PS.That helpes quite a bit. I still can't get the app to retrieve data, but I am getting a more useful message in the log:
[Error in allocating a connection. Cause: Connection could not be allocated because: ORA-01017: invalid username/password; logon denied]
As you suggested, I removed the <default-resource-principal> stuff from sun-web.xml and modified it to match your example. Additionally, I changed the <res-ref-name> in web.xml from "jdbc/jdbc-simple" to "jdbc/oracle-dev".
The Connection Pool "Ping" from the Admin Console is successful with the user and password I have set in the parameters. (it fails if I change them, so I am pretty sure that is set up correctly) Is there another place I should check for user/pass information? Do I need to do anything to the samples/database.properties file?
By the way, this is the 4th quarter 2004 release of app server. Would it be beneficial to move to the Q1 2005 beta?
Many thanks for your help so far... -
Emulated or non emulated data source ?
Hi All,
We are in the process of moving our application code from JDBC to Toplink. As we are in this process , the application code is a mixture of Toplink and JDBC calls (some individual method also mixture ). We are using External Transaction Controller for Toplink. Now I am just wondering if Emulated data source is good enough or should I go for Non-emulated data source for this situation.Can some one guide me on this. We have some connection pooling issues like connections reached max and Time Out exception..etc
Giri.More to add to the above issue:
I have a method which executes some JDBC and toplink calls in a loop . Toplink calls are releasing connections to the pools but JDBC call are not releasing connections to the pool.Both connections use the same data source.
Giri. -
Using report parameter in data set filter expression with an SSAS data source
I have an SSRS report with an SSAS data source.
Report parameters:
Param1 - text, single select
Param2 - text, multi-select
Dataset:
In Query Designer, I want to include Param1 as a filter expression so I can have "Dimension1 Begins with @Param2". I'm not sure the exact syntax to make param2 work in this.
The point is to filter my data set on param1. If A is selected for param1, I want the data set to have the filter saying "Dimension1 begins with A"
Anyone know how to use a report parameter in the dataset filter expression for an ssas data source?hi,
try this maybe the dates you are comparing are not in the same format.
I test data template in EBS but not with dates.
to_date(date,'dd/mm/YY') between to_date(:p_from_date ,'dd/mm/YY') and to_date(:p_to_date ,'dd/mm/YY')
if dont works try to put values insted of your parameter like :
to_date(date,'dd/mm/YY') between to_date(:p_from_date ,'10/01/07') and to_date(:p_to_date ,'01/12/07') ... put dates where u can have some values in report...
if dont work then try to print the values of the 2 parameters and the date of the select somwhere in ur report to see what you have in it..
hope it helps..
Regards Joe. -
What are the Non SAP data sources supported for Analysis workbooks?
AO 1.4 SP6
BO 4.1 SP2
What are the Non SAP data sources supported for Analysis workbooks?
Thanks.HANA is a data source (which could contain non-SAP data)
For other Excel front-ends that may connect to "non-SAP" data look at Live Office or Power BI by Microsoft - see Excel and Power BI connectivity to SAP BusinessObjects Universes | Power BI -
ESB 10.1.3.1 Not Connecting to AQ QUEUE with error
We are having problems getting the ESB service to connect to an AQ queue to dequeue messages;
Platform: SOLARIS 10 SPARC 64
Version: 10.1.3.1 ESB
Database: 10.2.0.2
Scenario: BPEL process enqueues message successfully. ESB process not able to connect to dequeue.
Reproduceable steps:
1) Create QUEUE table, queue and start queue for a user with Roles AQ_Administrator_ROLE, AQ_USER_ROLE, DBA;
2) Enqueue message. Message payload type is RAW;
3) ESB service defines an inbound adapter service to above and succesfully deploys project to esb container;
4) Logs report the following errors:
ERROR1) >JCA: MessageReader_ReadMessage: Could not create XML document carrying AQ Head
ers: [Ljava.lang.StackTraceElement;@d7f3e3</MSG_TEXT>
ERROR2) <SUPPL_DETAIL><![CDATA[java.lang.NullPointerException
at oracle.AQ.AQOracleQueue.dequeue(AQOracleQueue.java:1715)
at oracle.AQ.AQOracleQueue.dequeue(AQOracleQueue.java:1290)
at oracle.tip.adapter.aq.database.MessageReader.readMessage(MessageReader.java:400)
at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.run(AQActivationSpecDequeu
er.java:189)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:81
9)
at java.lang.Thread.run(Thread.java:595)
]]></SUPPL_DETAIL>
VERIFICATION: First of all, the BPEL process is successfully submitting messages to AQ QUEUE so AQ is configured properly at the database level. We verified queue table has a message in it via sql plus;
RELATED ISSUES:
1) JDEV designer is not finding queues with payload types such as JMS_TEXT_MESSAGE. We were forced to use RAW. There is probably a bug in JDEV IDE regards its inability to view valid queues in the database simply based on payload. This is easily reproducible.
2) log.xml is very unhelpful way to view a log. This should be discarded in OAS in future releases as it is not practical.Yes, WebLogic 10.1.3.6 can interoperate with 9.2. SAF agents are "Store and Forward" agents, so they'd need to run in the source cluster. If you need to get messages from a remote destinations into a local SAF "imported destinations", or just a plain-old destination, then perhaps the best option would be to deploy a simple MDB on the 10.3.6 cluster (some layered products can setup such an MDB for you).
I'm not familiar with ESB, but assume that it already provides tooling for pulling messages from remote destinations (I assume a product like ESB is designed to try and more-or-less hide JMS details from the user by providing layered tooling...). You might be able to get help from an ESB newsgroup. If this doesn't help, you may also want to see the JMS interop FAQ:
http://docs.oracle.com/cd/E21764_01/web.1111/e13727/interop.htm#JMSPG553
BTW, It's not clear to me why you need SAF Agents in this use case.
Tom -
Synchronization of JMS queue with backup instance
Hello,
I have the following problem: there are two machines in active - passive
configuration. Both those machines serve as JMS servers in two environments.
What I want to do is to keep a backup of JMS queue from the productive
environment in the backup one, so in case of a disaster in the productive
environment the backup one will stand up and will start processing the waiting
messages. In order to do this I need to keep an up-to-date (or almous up to
date, I will propably have to accept that some of the messages will be lost)
copy of JMS queue.
Have you ever worked on such a problem? Maybe you can suggest some solution?
Best regards,
Dawid DudaHi,
Thanks for informations, but it is not exactly what I need.
In my case I need to keep a backup of the queue in a separate location, to be
able to start processing the data in case if the first one was i.e. burned.
Therefore I was thinking about something like duplicating the database store
under the queue (using database tools) in on-line mode to be able to start
another instance in case of problems with the first one. Do you think such
aproach would work?
Best regards,
dave
Tom Barnes wrote:
> Hi,
>
> Search the newsgroup and docs for keyword "migration". Automated "whole server" migration is available in 9.0, and automated "service" level migration is slated to be available in 9.5. (8.1 provides manual/scriptable service-level migration.) Also, depending on your use case, it might be that distributed destinations, bridges, server-side-store-and-forward (9.0+), or client side store-and-forward (9.2+) would fit your needs.
>
> http://edocs.bea.com/wls/docs81/jms/intro.html#jms_features
>
> http://edocs.bea.com/wls/docs92/jms_admin/intro.html#jms_features
>
> http://dev2dev.bea.com/pub/a/2004/05/ClusteredJMS.html (service-level migration paper)
>
> Tom -
Writing to JMS-queue of another container
Hi,
is it possible to enqueue/dequeue messages to a jms-queue in another OC4J on the same application server?
I can specify the connection factory of OC4J-1 in a java bean, which lives in OC4J-2 but, the bean does not recognize this connection factory. If i specify a connection factory of OC4J-2 everything is fine...
Are there some flags to specify the container?You can add host/port attributes to the connection factory definition in OC4J-2 -- make them point to the JMS server in OC4J-1.
Note that the queue will need to be declared (with exactly the same name attribute value) on both OC4J-1 and OC4J-2.
-Jeff -
Background process not writing to file
Hi,
i am encountering a problem when a process is started under root in background.The application is not writing the Information to the file.
But when i start the same application from a telnet session it works fine
Any solution to the problem
regds
subbuyour friend was obviously wrong.
for (int a = 0;a = bytes.length - 1;a++){ // that does nothing
of.write(bytes[a]);
System.out.print(" " + bytes[a] + " : " + bytes.length);
}the above "for" loop says :
1:initialize a with 0;
2:do loop while a=bytes.length(<-that's completely wrong. it should be
a boolean expression);
3:for each loop increment "a" by one.
try this:for (int a = 0;a < bytes.length;a++){
of.write(bytes[a]);
System.out.print(" " + bytes[a] + " : " + bytes.length); -
Hello,
I just started using WLST, and I've written a rather long script that creates
a JMS server and some queues, among other things.
I based my code on the JMS server creation example, and it works perfectly as
long as the JMS server doesn't already exist. If it does, I get output like this:
JMS Server already exists.
[Caching Stub]Proxy for mydomain:Name=myjs,Type=JMSServer
*** JMSQueue with name 'myAuditQ' has been created successfully.
JMS destination is already parented
Setting Type
Setting JNDIName
Traceback (innermost last):
File "<input>", line 1, in ?
File "loaddm.py", line 16, in doit
File "setupServer.py", line 274, in ?
File "<iostream>", line 145, in set
WLSTException: 'Error occured while performing set : Unknown Error. Use dumpStack()
to view the error stack trace'
The line I put the *** by is interesting because the queue that was just created
already exists, yet the create() does not throw any exceptions.
Once this happens, I can do something like the following to add to the confusion:
wls:/mydomain/config> cd('JMSQueue/myAuditQ')
wls:/mydomain/config/JMSQueue/myAuditQ> ls()
Traceback (innermost last):
File "<input>", line 1, in ?
File "<iostream>", line 176, in ls
WLSTException: 'Error occured while performing ls : Could not find an MBean
instance while doing getAttribute. Use dumpStack() to view the error stack trace'
wls:/mydomain/config/JMSQueue/myAuditQ> dumpStack()
javax.management.InstanceNotFoundException: mydomain:Name=myAuditQ,Type=JMSQueue
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.j
ava:108)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:138)
at weblogic.management.internal.RemoteMBeanServerImpl_812_WLStub.getMBea
nInfo(Unknown Source)
at weblogic.management.scripting.InformationHandler.getAllAttributes(Inf
ormationHandler.java:754)
at weblogic.management.scripting.InformationHandler.la(InformationHandle
r.java:538)
at weblogic.management.scripting.InformationHandler.ls(InformationHandle
r.java:146)
at weblogic.management.scripting.WLScriptContext.ls(WLScriptContext.java
:387)
The code that generates this error is like this:
try:
r=create(cNode+'js','JMSServer')
except Exception:
print "JMS Server already exists."
r=getTarget('JMSServer/'+cNode+'js')
if clustered:
target=getTarget('Server/'+cNode)
try:
r.addTarget(target)
except Exception:
print "JMS server is already targeted."
print r
for dest,attr in jms.items():
try:
q=create(dest+suffix,'JMS'+attr['Type'])
except Exception:
print "JMS Destination already exists."
q=
getTarget('JMS'+attr['Type']+'/'+dest+suffix)
try:
q.setParent(r)
except Exception:
print "JMS destination is already parented"
cd('JMS'+attr['Type']+'/'+dest+suffix)
for att, val in attr.items():
print "Setting "+att
if att != 'Type':
set(att,val)
cd('/')This seems to be a larger problem that I initially thought. Ideally
weblogic server will not allow you to create an MBean with same name
since it will collide with the unique object name for that MBean in the
MBeanServer. From your posting I did not understand if you were able to
create an MBean with the same name and did not get a
InstanceAlreadyExists Exception. If you did get it then seems like there
is a problem in the way the server is persisting the config.xml. There
shouldn't be duplicate entries. Please file a support case [email protected].
Thanks,
-satya
Justin Dossey wrote:
(top replying because of the long post)
It looks like this was caused by Weblogic 8 allowing WLST to create invalid domain
configuration (config.xml). I opened config.xml up in an editor and found that
even though I had been using Try: create(foo)/ except Exception: (getTarget(foo)),
there were (many) duplicate entries for MBeans in config.xml. For instance, one
Server was in there four times. Almost every Server had four or more SSL entries
in config.xml. There were many unparented JMS Queues defined, as well-- this
is what I believe caused my problem.
So why does the try create actually create duplicate when an instance already
exists?
"Justin Dossey" <[email protected]> wrote:
Hello,
I just started using WLST, and I've written a rather long script that
creates
a JMS server and some queues, among other things.
I based my code on the JMS server creation example, and it works perfectly
as
long as the JMS server doesn't already exist. If it does, I get output
like this:
JMS Server already exists.
[Caching Stub]Proxy for mydomain:Name=myjs,Type=JMSServer
*** JMSQueue with name 'myAuditQ' has been created successfully.
JMS destination is already parented
Setting Type
Setting JNDIName
Traceback (innermost last):
File "<input>", line 1, in ?
File "loaddm.py", line 16, in doit
File "setupServer.py", line 274, in ?
File "<iostream>", line 145, in set
WLSTException: 'Error occured while performing set : Unknown Error. Use
dumpStack()
to view the error stack trace'
The line I put the *** by is interesting because the queue that was just
created
already exists, yet the create() does not throw any exceptions.
Once this happens, I can do something like the following to add to the
confusion:
wls:/mydomain/config> cd('JMSQueue/myAuditQ')
wls:/mydomain/config/JMSQueue/myAuditQ> ls()
Traceback (innermost last):
File "<input>", line 1, in ?
File "<iostream>", line 176, in ls
WLSTException: 'Error occured while performing ls : Could not find
an MBean
instance while doing getAttribute. Use dumpStack() to view the error
stack trace'
wls:/mydomain/config/JMSQueue/myAuditQ> dumpStack()
javax.management.InstanceNotFoundException: mydomain:Name=myAuditQ,Type=JMSQueue
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.j
ava:108)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:138)
at weblogic.management.internal.RemoteMBeanServerImpl_812_WLStub.getMBea
nInfo(Unknown Source)
at weblogic.management.scripting.InformationHandler.getAllAttributes(Inf
ormationHandler.java:754)
at weblogic.management.scripting.InformationHandler.la(InformationHandle
r.java:538)
at weblogic.management.scripting.InformationHandler.ls(InformationHandle
r.java:146)
at weblogic.management.scripting.WLScriptContext.ls(WLScriptContext.java
:387)
The code that generates this error is like this:
try:
r=create(cNode+'js','JMSServer')
except Exception:
print "JMS Server already exists."
r=getTarget('JMSServer/'+cNode+'js')
if clustered:
target=getTarget('Server/'+cNode)
try:
r.addTarget(target)
except Exception:
print "JMS server is already targeted."
print r
for dest,attr in jms.items():
try:
q=create(dest+suffix,'JMS'+attr['Type'])
except Exception:
print "JMS Destination already exists."
q=
getTarget('JMS'+attr['Type']+'/'+dest+suffix)
try:
q.setParent(r)
except Exception:
print "JMS destination is already parented"
cd('JMS'+attr['Type']+'/'+dest+suffix)
for att, val in attr.items():
print "Setting "+att
if att != 'Type':
set(att,val)
cd('/') -
Problem Connecting to JMS queue with C sharp client
Hi there,
I am trying to connect to a JMS queue using a C# client but i have a problem trying to connect. The problem comes in when i run the C# script a dialog box appears requesting a T3TransportFactory.cs which i do not have on the client. and when i close it i get an exception on
IContext context = ContextFactory.CreateContext(paramMap);
Exception - Failed to connect using URL <t3://10.103.130.18:7001>
StackTrace - at WebLogic.Messaging.Physical.T3TransportFactory.CreateT3Transport(IDictionary`2 paramMap) in c:\weblogic\dev\src1032\modules\weblogic-jms-dotnetclient\jmsimpl\src\WebLogic\Messaging\Physical\T3TransportFactory.cs:line 226
at WebLogic.Messaging.Physical.ContextPhysical.CreateContext(IDictionary`2 paramMap) in c:\weblogic\dev\src1032\modules\weblogic-jms-dotnetclient\jmsimpl\src\WebLogic\Messaging\Physical\ContextPhysical.cs:line 83
at WebLogic.Messaging.Context.CreateContext(IDictionary`2 paramMap) in c:\weblogic\dev\src1032\modules\weblogic-jms-dotnetclient\jmsimpl\src\WebLogic\Messaging\Context.cs:line 56
The stacktrace indicates that it is looking for a T3TransportFactory.cs file in that particular path on the client (This is my speculation) but this directory path does not exist on the client machine with the c# code.
I got a WebLogic.Messaging.dll referenced in my c# project and the ip/port numbers are correct (we know this cause we tried a java client that connected successfully)
Can anyone assist me on this issue?The issue might be the dll file you are referring to. Did you use the dll from the weblogic installation folder (BEA_HOME/modules/com.bea.weblogic.jms.dotnetclient_1.X.X.X).
Refer - http://docs.oracle.com/cd/E15051_01/wls/docs103/jms_dotnet/install.html#wp1075258
Hope this helps.
Thanks,
Patrick -
I am trying to write to a JMS queue using the following cod:
Hashtable rmiEnvironment = new Hashtable();
rmiEnvironment.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.rmi.RMIInitialContextFactory");
rmiEnvironment.put(Context.SECURITY_PRINCIPAL, "admin"); // username
rmiEnvironment.put(Context.SECURITY_CREDENTIALS, "welcome"); // pwd
rmiEnvironment.put(Context.PROVIDER_URL,"ormi://10.10.50.50:9127/APP");
Context ctx = new InitialContext(rmiEnvironment);
QueueConnectionFactory queueConnectionFactory = (QueueConnectionFactory)ctx.lookup("jms/APP_QueueConnectionFactory");
The last line throws this exception:
javax.naming.NamingException: Lookup error: java.io.EOFException: Disconnected; nested exception is:
java.io.EOFException: Disconnected [Root exception is java.io.EOFException: Disconnected]
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:176)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at tests.TestJms.main(TestJms.java:35)
Caused by: java.io.EOFException: Disconnected
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2507)
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2355)
at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1782)
at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:686)
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:157)
... 2 more
On the server side (OC4J standalone), in jms.log the following is printed:
javax.jms.JMSException: [PROTOCOL ERROR] JMSRequestHandler[5:testsrv:46202]: "JMS protocol" error, expected "-559,038,735", got "-485,684,723".
at com.evermind.server.jms.JMSUtils.toJMSException(JMSUtils.java:1909)
at com.evermind.server.jms.JMSRequestHandler.readCheck(JMSRequestHandler.java:272)
at com.evermind.server.jms.JMSRequestHandler.protocol(JMSRequestHandler.java:282)
at com.evermind.server.jms.JMSRequestHandler.run(JMSRequestHandler.java:124)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)For the record, if you want to run that sample code:
http://www.oracle.com/technology/sample_code/tech/java/jms/index.html
edit the classpath section of build.xml (provided with sample) as follows:
<!--Set the classpath-->
<path id="classpath">
<pathelement location="${OC4J_HOME}/j2ee/home/lib/jms.jar"/>
<pathelement location="${OC4J_HOME}/j2ee/home/lib/jndi.jar"/>
<pathelement location="${OC4J_HOME}/j2ee/home/oc4jclient.jar"/>
<pathelement location="${OC4J_HOME}/j2ee/home/lib/javax77.jar"/>
<pathelement location="${OC4J_HOME}/lib/dms.jar"/>
<pathelement location="${OC4J_HOME}/j2ee/home/lib/bcel.jar"/>
<pathelement location="${OC4J_HOME}/j2ee/home/oc4j-api.jar"/>
<pathelement location="${OC4J_HOME}/j2ee/home/oc4j.jar"/>
<pathelement location="${OC4J_HOME}/j2ee/home/lib/oc4j-internal.jar"/>
<pathelement location="${OC4J_HOME}/j2ee/home/oc4jclient.jar"/>
<pathelement location="${OC4J_HOME}/j2ee/home/rmic.jar"/>
<pathelement location="${OC4J_HOME}/j2ee/home/lib/adminclient.jar"/>
<pathelement location="${OC4J_HOME}/j2ee/home/lib/connector.jar"/>
<pathelement location="${OC4J_HOME}/j2ee/home/lib/jmxri.jar"/>
<pathelement location="${OC4J_HOME}/j2ee/home/lib/jta.jar"/>
<pathelement location="${OC4J_HOME}/opmn/lib/optic.jar"/>
</path>
(class packaging has changed since this sample was written. Note that the above is really a superset of classes you would need for that simple example). -
Working with NON-Structured Data
Dear Colleague,
I am preparing to build a Forms application (using Oracle 9i Developer Suite, Release 2, version 9.0.2.0.1).
The application (and Data model) will need to associate SOPs (standard operating procedures) with certain measurements and treatments. It is planned to have the SOPs be, for example, MS Word documents, i.e. the SOPs will be non-structured data.
What is best practice when handling this situation? Please advise.
Assume I would like to view, print and (maybe) update the SOPs (Word files).
1. Should I just store a link to the Word file and a corresponding description or is it better to store the Word file in the DB?
2. If in the DB, which data type?
3. If SOP not in the DB, but a file, what is the mechanism for retrieval and display?
4. Printing the Word file via Forms - how? problems to avoid?
5. Update of the Word document via Forms - possible? How?
Best regards,
RandyHi Vijay,
sorry
please rewrite the formula for the button disable as::
NOTE:: in the formula i have used '<''>' which nothing but a lessthan symbol and greater than symbol without single quotes (i.e. not equal to)
BOOL(IF(LEN(@Emp_code) '<''>'0 AND LEN(@Earea)'<''>'0 AND LEN(@Edept)'<''>'0 AND DSUB(DVAL(@Joining_date), DVAL(@Ending_date),'D')<0 ,false,true))
and make sure you have placed the date picker UI controls for your date functionality.
this will not work for calender UI control on the form.
and othe important point is the joining date should be less than ending date then only the button will be enable..
if you want your joining date should be greater than ending date then write the formaula like this::
BOOL(IF(LEN(@Emp_code)<>0 AND LEN(@Earea)'<''>'0 AND LEN(@Edept)'<''>'0 AND DSUB(DVAL(@Joining_date), DVAL(@Ending_date),'D')>0 ,false,true))
i tried this
its working for me
Regards
Srinivas -
Problem with the ECC6 Data sources after migration
Dear All.
I transfer all the data source which is required for sales overview cube 0SD_C03.
lets take two senairos.
for example take 2LIS_11_VAHDR to BI 7 and then i migrate this data source with Export option after that i activate the data source and then i initialize the delta request with data.
the request successfully generated in BI to R/3 but in monitor it shows in yellow for long period of time and no data arrive i wait for 30 min but nothing happen.
in second one i initialize the delta process for data source 2LIS_12_VCHDR this data source i did't migrate but face the same situation.
can you please explain what will be the cause of this and how i can manage to fetch the data from ECC6 client through Business content data source.
i did not migrate the update rules into transformations.
any help will be highly appreciated.
kind regards,
Zeeshanyes that is what exactly happen i did not do any thing as in the previous update rules there are written complex abap routine.
please let me know how to generate the update rules as was there previously or if i have to revert the datasource back to the previous position what i have to do.
i have figure out that why the data is not coming from SAP just need steps that how to revert the data source or make the new transformations with generated update rules or transformation.
any help will be highly appreciated.
Kind Regards,
Zeeshan
Edited by: Zeeshan haider on Jun 2, 2009 6:02 PM
Maybe you are looking for
-
How to get Current Location in a Android Emulator using Flex
Hi In the following code I am able to plot the Location using Latitude and Longitude but the requirement is in an Android Emulator on launch of the application I need google map to display the users current location, How can this be achieved ??? I tr
-
Dear all: I need to change Reconcilation Account for one of my Customer Accounts. Balances exist in the Account. Will this lead to problems? Your response will be appreciated.
-
Does the Wireless feature of HP LaserJet P1102w works with the latest Mac OS Yosemite?
Hi everyone, I have just updated the new OS for Mac as well as the firmware and software for my HP LaserJet Professional P1102w. I looked at the video instructing on how to set up the wireless network for the printer and my Laptop. However, upon reac
-
SCOM 2012 R2 RU 2 Topology widgets Background image and Nod visualization is missing
After Updating RU 2 in System center OM 2012 R2 no background image and Nod visualization missing in Topology widgets ? Santosh Dharamsale
-
Spaces and MS Word for Mac 2008..anyone else having this problem
Hello, I know MS Word for Mac 2008 isn't a Apple Product but is anyone else having the same problem as me and is there a solution? I have it set up to be in "spaces 4" and I'll be working on it and suddenly it ends up in space 2, or 1. Really aggrava