How to compare data in two data sources ?
Hi,
Avalaibilty : Two data Souces 1) Based on standard data available from External agencies ( FLAT FILE )
2) Generic Data Source having Source system as R3 Server.
Requirement : To write a transfer routine such that each data transaction in the data field of R3 servers compares itself to the the respective data available in the external data source and updates the Infoprovider ( DSO ) accordingly .
Exact problem : I want to check the no. of employees in my company that are using travel funds more than the iNdustry standard for the respective position and also if they are spending more than Industry standard altogether ( OR Conditioon ) .
What would be the structure of the Routines ? and how to comparre
Mrinal
Hi,
Below logic can be used:
Load the flat file data in DSO2. Then compare and insert the matching value a temp table TABLE1.
SELECT <KF1>
FROM <DSO1> INTO TABLE <TABLE1>
WHERE <KF1> = <DSO2>/<KF2>;
Then insert the contents of the temp table into the required CUBE/DSO.
Similar Messages
-
How to change data source name and context root during deployment
Hi,
Env:
WLS 10.1.3
JDev 11.1.1.6
Hudson
I need to deploy two instances of my ADF application on the same development enviroment. We are using Hudson to deploy. My question is how to change data source name and application context root before second deployment.
KubaI don't believe there is an inbuilt facility to do this.
Previously how I've done this is when checking files out using Hudson jovs, before the build I then use an Ant extension called XmlTask (http://www.oopsconsultancy.com/software/xmltask/) to modify the required XML files.
Can I ask why you're doing this in the first place please? Multi-tenancy? 2 versions of the same app?
CM. -
How to compare date and time together
Hi,
How to compare Date and Time together?
For example in a database table there are two fields rundate and runtime. I want to compare these two with perticular date and time in the program. Like, I want to pull all the records where the records's date and time are less than a perticular date and time in the program.
Hope the question is clear...
Thanks.
KavitaHi Kavita
There is no as such Date and Time Comparision FM in Standard SAP But You can define your own like this
<b>FUNCTION ZAV4_COMPAREDATETIME.
""Lokale Schnittstelle:
*" IMPORTING
*" REFERENCE(DATE1) TYPE DATS
*" REFERENCE(TIME1) TYPE TIMS
*" REFERENCE(DATE2) TYPE DATS
*" REFERENCE(TIME2) TYPE TIMS
*" EXPORTING
*" VALUE(TWOISMORETOPICAL) TYPE C
twoismoretopical = ''.
if date2 > date1.
twoismoretopical = 'X'.
else.
if date2 = date1 and time2 > time1.
twoismoretopical = 'X'.
endif.
endif.
ENDFUNCTION.</b>
Regards
Mithlesh -
How to change data source of Universe
Hi,
I have two databases called A_Database and B_Database
Same tables and data are in both the databases.
I created universe U_universe using A_Database. It is working fine
Now I would like to change from A_Database to B_Database in U_universe without affecting any thing in U_universe because tables and data are same.
Please let me know following doubts.
1.How to do above things?
2.if A_Database and B_Database are in different server, how to overwrite data source in the universe
3.if A_Database and B_Database are in the same server, how to overwrite data source in the universe
Thanks and Regards,
ManjunathIn Designer, import your universe, click on File>Paramers or click on parameters icon on the tool bar and change connection used by the universe from one pointing to Universe A to one pointed to universe B.
Also, visit this site : http://help.sap.com/content/bobj/bobj/index.htm
Look for Universe Designer guide. -
How to compare date which is greatest date
iam new to sql
how to compare date which date is greatest date with example
can i use to_char to compare date
SELECT eno, ename, GREATEST (TBLE.MAX1, TBLE.MAX2) recent_date "
FROM (SELECT TBLA.eno, TBLA.ename, "
MAX (TO_CHAR (TBL.date1, 'MM/DD/YYYY HH24:MI') "
) MAX1, "
MAX (TO_CHAR (TBL.date2, 'MM/DD/YYYY HH24:MI') "
) MAX2 "
FROM dual TBL, dual2 TBLA
in above query if any one of the date having null value then recent_date is showing 'null'
and also it showing wrong value
example
date1='08-22-2009' and date2='01-23-2010' then it showing wrong recent_datel ike='08-22-2009'
as according my knowledge it is comparing with month it sholud not be like this wat i have to do pls explain with example my o/p should come for recent_date like =''01-23-2010''
Edited by: user9112274 on Aug 27, 2010 5:31 AMHi,
there are numerous ways to compare dates, i give you some examples:
with data_Sample as
(select to_date('01-jan-2001','dd-mon-yyyy') d1, to_date('01-mar-2002','dd-mon-yyyy') d2, to_date('03-feb-2002','dd-mon-yyyy') d3 from dual)
select greatest(d1,d2,d3) from data_Sample
GREATEST(D1,D2,D3)
3/1/2002
with data_Sample as
(select to_date('01-jan-2001','dd-mon-yyyy') d1 from dual union all
select to_date('01-mar-2002','dd-mon-yyyy') from dual union all
select to_date('03-feb-2002','dd-mon-yyyy') from dual)
select max(d1) from data_Sample
MAX(D1)
3/1/2002
declare
d1 date :=to_date('01-jan-2001','dd-mon-yyyy');
d2 date :=to_date('01-jan-2001','dd-mon-yyyy');
begin
if d1>d2 then
dbms_output.PUT_LINE('d1 greater than d2');
else
dbms_output.PUT_LINE('d1 less or equql than d2');
end if;
end;
output:
d1 less or equal than d2now concerning your question:
>
can i use to_char to compare date
>
If you have date data types : don't convert them.
if you have no choice, use something like:
if to_char(d1,'YYYYMMDD') > to_char(d2,'YYYYMMDD') then
else
end if;Take care when you convert a date into a char format it becomes string comparison (with all it implies) (It's the reason why i've use an explicit mask format). -
How to define data-sources-alias.xml to use Oracle data source
Hi,
I created Oracle jdbc Data Source named "MYDS" in Visual Admin. I added the alias = MYDS_ALIAS. I set the Initial Connection to 2. On the Monitor tab, I see a green line running across the screen. The datasource MYDS is connected to the Oracle.
Now, I would like to define "data-sources-alias.xml" to use MYDS.
When creating data-source-aliases.xml it creates the alias by default on ${com.sap.datasource.default} which is the default DB.
I followed the link --> How to point data-source-aliases.xml to another Datasource
and my data-sources-alias.xml is now:
<data-source-aliases>
<aliases>
<data-source-name>$</data-source-name>
<alias>BRANCH50DS</alias>
</aliases>
</data-source-aliases>
The "EAR generatation has finished successfully", but when "Deploy to J2EE Engine", I got the error below:
1) How to define data-sources-alias.xml to use Oracle data source?
2) I found the link (SDA Deployment error) talking about "sda-dd.xml". How to create "sda-dd.xml" and make it use substitution variables "MYDS"
Dec 20, 2005 3:53:41 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
[003]Additional log information about the deployment
<!LOGHEADER[START]/>
<!HELP[Manual modification of the header may cause parsing problem!]/>
<!LOGGINGVERSION[1.5.3.7181 - 630_SP]/>
<!NAME[C:\usr\sap\J2E\JC00\SDM\program\log\sdmcl20051220205339.log]/>
<!PATTERN[sdmcl20051220205339.log]/>
<!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
<!ENCODING[Cp1252]/>
<!LOGHEADER[END]/>
Dec 20, 2005 3:53:39 PM Info: -
Starting deployment -
Dec 20, 2005 3:53:39 PM Info: Loading selected archives...
Dec 20, 2005 3:53:39 PM Info: Loading archive 'C:\usr\sap\J2E\JC00\SDM\program\temp\temp856850022Ear.ear'
Dec 20, 2005 3:53:40 PM Info: Selected archives successfully loaded.
Dec 20, 2005 3:53:40 PM Info: Actions per selected component:
Dec 20, 2005 3:53:40 PM Info: Update: Selected development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28' updates currently deployed development component '50022Ear'/'sap.com'/'localhost'/'2005.12.19.18.39.12'.
Dec 20, 2005 3:53:40 PM Info: Saved current Engine state.
Dec 20, 2005 3:53:40 PM Info: Error handling strategy: OnErrorStop
Dec 20, 2005 3:53:40 PM Info: Update strategy: UpdateAllVersions
Dec 20, 2005 3:53:40 PM Info: Starting: Update: Selected development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28' updates currently deployed development component '50022Ear'/'sap.com'/'localhost'/'2005.12.19.18.39.12'.
Dec 20, 2005 3:53:40 PM Info: SDA to be deployed: C:\usr\sap\J2E\JC00\SDM\root\origin\sap.com\50022Ear\localhost\2005.12.20.15.53.28\temp856850022Ear.ear
Dec 20, 2005 3:53:40 PM Info: Software type of SDA: J2EE
Dec 20, 2005 3:53:40 PM Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
Dec 20, 2005 3:53:41 PM Info: Begin of log messages of the target system:
05/12/20 15:53:40 - ***********************************************************
05/12/20 15:53:41 - Start updating EAR file...
05/12/20 15:53:41 - start-up mode is lazy
05/12/20 15:53:41 - com.sap.engine.deploy.manager.MissingSubstitutionException: Missing substitution value for variable [MYDS].
at com.sap.engine.deploy.manager.DeployManagerImpl.makeTempEar(DeployManagerImpl.java:3727)
at com.sap.engine.deploy.manager.DeployManagerImpl.makeNewEar1(DeployManagerImpl.java:3695)
at com.sap.engine.deploy.manager.DeployManagerImpl.deployUpdateAction(DeployManagerImpl.java:523)
at com.sap.engine.deploy.manager.DeployManagerImpl.update(DeployManagerImpl.java:512)
at com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performDeployment(EngineApplOnlineDeployerImpl.java:196)
at com.sap.sdm.serverext.servertype.inqmy.extern.EngineDeployerImpl.deploy(EngineDeployerImpl.java:96)
at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:224)
at com.sap.sdm.app.proc.deployment.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:60)
at com.sap.sdm.app.proc.deployment.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:186)
at com.sap.sdm.app.proc.deployment.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:46)
at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:83)
at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:60)
at com.sap.sdm.app.proc.deployment.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:127)
at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:73)
at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:59)
at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:127)
at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:96)
at com.sap.sdm.apiimpl.local.DeployProcessorImpl.deploy(DeployProcessorImpl.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.requestRemoteCall(RemoteProxyServerImpl.java:127)
at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.process(RemoteProxyServerImpl.java:38)
at com.sap.sdm.apiimpl.remote.server.ApiClientRoleCmdProcessor.process(ApiClientRoleCmdProcessor.java:81)
at com.sap.sdm.is.cs.session.server.SessionCmdProcessor.process(SessionCmdProcessor.java:67)
at com.sap.sdm.is.cs.cmd.server.CmdServer.execCommand(CmdServer.java:76)
at com.sap.sdm.client_server.launch.ServerLauncher$ConnectionHandlerImpl.handle(ServerLauncher.java:280)
at com.sap.sdm.is.cs.ncserver.NetCommServer.serve(NetCommServer.java:43)
at com.sap.sdm.is.cs.ncwrapper.impl.ServiceWrapper.serve(ServiceWrapper.java:39)
at com.sap.bc.cts.tp.net.Worker.run(Worker.java:50)
at java.lang.Thread.run(Thread.java:534)
05/12/20 15:53:41 - ***********************************************************
Dec 20, 2005 3:53:41 PM Info: End of log messages of the target system.
Dec 20, 2005 3:53:41 PM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
Dec 20, 2005 3:53:41 PM Error: Aborted: development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28':
Caught exception during application deployment from SAP J2EE Engine's deploy API:
com.sap.engine.deploy.manager.MissingSubstitutionException: Missing substitution value for variable [MYDS].
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).DMEXC)
Dec 20, 2005 3:53:41 PM Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
Dec 20, 2005 3:53:41 PM Error: -
At least one of the Deployments failed -Hi,
If you remove the $ and braces (as shown below) it will work.
<data-source-aliases>
<aliases>
<data-source-name>MYDS</data-source-name>
<alias>BRANCH50DS</alias>
</aliases>
</data-source-aliases>
Regards,
S.Divakar -
Urgent help: how to create data source for Weblogic RMI driver
Hi,
Please let me how to create data source for Weblogic RMI driver using Administrator
console.
I understand that the following steps are required:
1.Create connection pool for the RMI driver by specfiying URL as
jdbc:weblogic:rmi and Driver as weblogic.jdbc.rmi.Driver. Now
comes the problem.. what do put in properties text area? I am
talking about key/value pairs required?
2. Having done step 1 ( which I was not able to do) , create a new DataSource
mapping to the connection pool created from step 1.
How to accomplish step 1 ? I want to finally connect to Oracle
database. Please help me.
pradeep bhatDataSource will internally do that for you (It will use RMI internaly) . You
dont have to worry about the details of using RMI driver. Thats what is a
DataSource is for.
sree
"pradeep bhat" <[email protected]> wrote in message
news:[email protected]...
Hi Sree,
What u have written is abt configuting Datasource for type 2 and
4 drivers.
But I want to know how to create data source for RMI driver. If
I map this datasource to connection pool that is created for
type 2 or 4 drivers, i don't understand why RMI drivers are
required in first place. If i do map the data source to connection pool
created
for type 2 or 4 drivers then where i
would not have used the URL as jdbc:weblogic:rmi and Driver as
weblogic.jdbc.rmi.Driver.
Hope u will help me.
pradeep bhat
"Sree Bodapati" <[email protected]> wrote:
Hi Pradeep
To create a connection pool you have to use a database driver not RMI
driver. So use a thin driver or the WebLogic jDriver for Oracle to setup
your connection pool. Once the connection pool is created you can create
a
DataSource and use this datasource to connect to the database.
The RMI driver can be used to get connections from the database via the
connection pool and in that case you dont need a datasource. Recommended
approach is to use a DataSource.
hth
sree
"PRADEEP BHAT" <[email protected]> wrote in message
news:[email protected]...
Hi,
Please let me how to create data source for Weblogic RMI driver using
Administrator
console.
I understand that the following steps are required:
1.Create connection pool for the RMI driver by specfiying URL as
jdbc:weblogic:rmi and Driver as weblogic.jdbc.rmi.Driver. Now
comes the problem.. what do put in properties text area? I am
talking about key/value pairs required?
2. Having done step 1 ( which I was not able to do) , create a new
DataSource
mapping to the connection pool created from step 1.
How to accomplish step 1 ? I want to finally connect to Oracle
database. Please help me.
pradeep bhat -
Urgent help: how to create data source for Weblogic T3 driver
Hi,
Please let me how to create data source for Weblogic T3 driver
using Administrator console.
I understand that the following steps are required:
1.Create connection pool for the RMI driver by specfiying URL
as jdbc:weblogic:rmi and Driver as weblogic.jdbc.rmi.Driver.
Now comes the problem.. what do put in properties text area?
I am talking about key/value pairs required?
2. Having done step 1 ( which I was not able to do) , create a
new DataSource mapping to the connection pool created from
step 1.
How to accomplish step 1 ? I want to finally connect to Oracle database. Please
help me.
pradeep bhatHi,
Please let me how to create data source for Weblogic T3 driver
using Administrator console.
I understand that the following steps are required:
1.Create connection pool for the RMI driver by specfiying URL
as jdbc:weblogic:rmi and Driver as weblogic.jdbc.rmi.Driver.
Now comes the problem.. what do put in properties text area?
I am talking about key/value pairs required?
2. Having done step 1 ( which I was not able to do) , create a
new DataSource mapping to the connection pool created from
step 1.
How to accomplish step 1 ? I want to finally connect to Oracle database. Please
help me.
pradeep bhat -
HOW TO CREATE DATA SOURCE FOR MAXDB
hi,
i am using hibernate in NetWeaver with maxdb.
i have to give datasource name in hibernate.cfg.xml
but i do't know how to create datasource for maxdb.
please help me.
Thanqqqqqqqq
GuruThe following link gives u how to create data source
http://dev.mysql.com/doc/maxdb/en/84/1d733cefd63c38e10000000a114084/content.htm -
How to compare data between two tables?
Hi,
My team is trying to develop a SAP data migration tool (DMT) using ABAP.
One of the functionalities in the DMT is to validate the data in the staging area against the loaded SAP data.
The tables in the stagin area are customer tables (i.e. user-defined tables starting with Y, Z).
How do I compare the data in the staging area against data that are loaded into SAP tables? Are there some built-in SAP functions to do this? Or, are there some better ways of doing this (e.g. instead of comparing against data in the SAP tables, we compare with some INTERNAL tables)?
Any help would be greatly appreciated, thanks!Hi Kian,
Use <b>SCMP</b> transaction to compare data between two tables and you can not use this for comparing internal tables.
Thanks,
Vinay -
How to compare data between two worksheet in Excel for applescript
Hi All,
How to compare the data from two different worksheet in Excel and set the value into one worksheet according to the same name? Here is the example. Worksheet 1 & 2 current we have, the final worksheet is the result we want and the value can be input in worksheet 1. Much appreciate if you can help on it.
Worksheet 1:
Name Number
Leo 25
Jame 55
Leo 30
Jame 60
Tim 44
Tomas 77
Lyne 35
Tonny 66
Jame 22
Game 88
Worksheet 2:
Name Number 2
Leo 60
Jame 150
Tim 66
Tomas 88
Lyne 55
Tonny 99
Game 111
Rusult in Worksheet 1
Name Number Total Number per name in Worksheet 1 Number 2 in Worksheet 2
Leo 25 55 60
Jame 55 137 150
Leo 30 55 60
Jame 60 137 150
Tim 44 44 66
Tomas 77 77 88
Lyne 35 35 55
Tonny 66 66 99
Jame 22 137 150
Game 88 88 111I'd probably use a database for this, if there's any quantity of data involved here. Import from Excel into {SQLite, MySQL, PostgreSQL, FileMaker, maybe Core Data}, or pick your preferred key-value store, keep your data in the database, then export or (via ODBC/JDBC) then access live database data from within the spreadsheets.
Alternatively and if you're looking at small quantities of data (say, less than 10,000 entries, or less than a thousand depending on the language), then just use whatever passes for a key-value store in your preferred scripting language {Python, bash, Lua, or maybe php, AppleScript or Java} and use that. Export Excel to CSV {gag} or XML, then load that into Python and process as needed, then write out CSV {gag} or XML.
AppleScript is a scripting language for GUI applications, and also useful for processing events. If you're not doing that sort of stuff, then there can be other choices, and other choices can often have extensive frameworks and libraries for common tasks.
Sooner or later, most everybody runs into a wall when using a spreadsheet... Various folks have encountered those limits and have migrated from spreadsheets to FileMaker databases, and now use a database as the central store for their operations — and that's the other issue that can arise with spreadsheets... Where's the canonical data? -
How to compare dates between two items
Hello all,
I am trying to compare dates in two items.
The first item is a computation P45_PAGE_LOADED_TIME
select sysdate from dual;
This essentially keeps track of when the user opened the form. They are accessing data that may become obsolete while they are in the form.
So we have a dynamic action that finds the last_update date from a table. This field is of type date. It is placed in a text field called P45_STATUS.
We then have a notification which we want to fire when P45_PAGE_LOADED_TIME is before P45_STATUS. We tried the following condition
declare
least_date date;
begin
SELECT LEAST(TO_DATE(:P45_STATUS),TO_DATE(:P45_PAGE_LOADED_TIME)) into least_date
from dual;
if least_date = to_date(:P45_STATUS) then
return false;
else
return true;
end if;
end;
Any guidance would be most appreciated.
ThanksMaybe your better off putting your anonymous block into a plsql function.
A function that you can test. If it works in plsql then you must call it in APEX.
I kinda get a headache when I see that least, to_date, to_date query (although I've seen worse :p)
Make it like:
create or replace function fun_least_date(in_status in varchar2,
in_page_loaded_time varchar2) return boolean
is
l_status date;
l_page_loaded_time date;
least_date date;
l_return boolean;
begin
l_status := to_date(in_status, 'FORMAT MASK!!!');
l_page_loaded_time := to_date(in_page_loaded_time, 'FORMAT MASK!!!!');
least_date := least(l_status, l_page_loaded_time);
if least_date = l_status then
l_return := false;
else
l_return := true;
end if;
return l_return
end fun_least_date;If your sure that your function is correct then use it as a condition for your dynamic action.
Regards
Nico
ps: I haven't tested that function. Be aware that you most correctly enter the format mask you use in APEX. Also before APEX may know about these variables you should set a dynamic action on your items to always submit their value to the server when they change!!! -
Table_comparison - how to compare data at a high level
Hi,
I have to do data validation at a high level between two tables that I am loading.
I am trying to use table_comparion transform but the problem is that my target table is at a much lower level than at which I want to compare data. So it has many more columns (both key and data fields) than what I want to compare.
Does the output of query transform ( which I am using as input into table_comparion) be in the exact same format as comparion table? If not, then can somebody suggest me something else.
Or how can I compare output of two query transforms ?
Thanks,
Saurabh BansalDear Saurabh,
Not sure if you have already got the solution to this. If yes please close the thread.
If not, i would suggest you can use the validation rule to compare the two tables and then based on the PASS or FAIL result can check what needs to be done on the output.
Do post back if you have got the solution or you need any furthur help or else close the question.
regards,
Den -
How to compare Date in the TextField or DateTime with Date/Time field?
Hi All,
I am facing an issue with respect Date comparinson. I tried to look into entire discussions but failed to get the answer.
My issue is: I wanted to comparet Date/time field value with Date value which is in TextField.
The functionality of my form is:
I have dropdown list which lists the registered customer ids binded to XML Datasource. On selection of the customer id from the dropdown I am displaying customer registration date in the TextField or say Date/Time field as below code in dropdown change event.
RegistrationDetails.PurchaseEntry.txtRegDate.rawValue = regDataNode.CREATION_DATE.value; (this is TextField control)
In form I have an Date/Time field in which use will select the date of item purchase. In the validation part I want to make sure that, the purchase date selected in Date/Time field must be greater than the Customer Registraiton Date. I able to compare if the customer selects the date from two different Date/Time fields. But how to compare the dates which one is in Date/Time field and Date is in TextField?
I have tried using Num2Date and Date2Num with "YYYY-MM-DD" format to compare but not succeed!
Can you guys help me in this? Thanks in advance
Regards.Hi,
Yes, I am able to display the date which I have assigned to the text box. In the message box it show the value as '31/05/2009', since in this format i am assigining the date in the text box.
Here is the code which I am assigning the value:
RegistrationDetails.PurchaseEntry.txtRegDate.rawValue = regDataNode.CREATION_DATE.value;
Do I need to change the format while assigning value in text box?
You have told that, you have attached your test form, nothing is the reply. Can you repost the file?
Regards. -
Hi, all, I tried to compare two dates and get the difference of the days less than 30 but it didn't work . Here's my code:
select c.inst_seq_num, avg(c.dlt_egt) as a from EHM_CMPRDLT c where c.inst_seq_num='#inst_seq_num[CurrentRow]#' and datediff(dd, c.end_dt,'#end_dt[CurrentRow]#')<30 group by c.inst_seq_num
I set up oracle database as ODBC, and write the code in coldfusion.
following is the error message:
ODBC Error Code = S0022 (Column not found)
[Microsoft][ODBC driver for Oracle][Oracle]ORA-00904: invalid column name
SQL = "select c.inst_seq_num, avg(c.dlt_egt) as a from EHM_CMPRDLT c where c.inst_seq_num='22' and datediff(dd, c.end_dt,'1996-04-06 16:29:00')<30 group by c.inst_seq_num"
Data Source = "ORACLE_EPRNET"
The error occurred while processing an element with a general identifier of (CFQUERY), occupying document position (40:1) to (40:73).
Any suggestions? Thanks a lot!Thank you very much! I tried but still get error. I checked the data type but they are all date type.
ODBC Error Code = 22005 (Error in assignment)
[Microsoft][ODBC driver for Oracle][Oracle]ORA-00932: inconsistent datatypes
SQL = "select c.inst_seq_num, avg(c.dlt_egt) as a from EHM_CMPRDLT c where c.inst_seq_num='22' and ('1996-04-06 16:29:00'-c.end_dt)<30 group by c.inst_seq_num"
Data Source = "ORACLE_EPRNET"
Maybe you are looking for
-
Dear Community, I promise I'll try to be as concise as possible. I'm really desperate for help! I've read absolutely everything about missing bookmarks, but as you will see my problem is also about cursors and Google showing differently on screen. It
-
Feature Request : Router to Router VPN support
I realize this has been highlighted earlier as not being supported currently, but it would be very useful to allow additional subnets into the NM sphere (my assumption would be one Home network and additinal subnets treated as foreign networks). Any
-
OBIEE 10g iBots SA System error : No Devices found for User ###
Hi All, I have implemented SA System in my RPD as I wanted to send emails to obi/non-obi users. But its giving error - No Devices found for User .... I found this error in S_NQ_ERR_MSG table. I have an entry in SA_User table, and when I login to OBI
-
We have installed BO 3.1 in a Solaris box. Now, we would like to install another instance of BO 3.1 in another Solaris box. According to the documentation, we should do an EXPAND installation for the second box. Our questions are: - First, we have no
-
Problem with 8.1.6 after migrating to Tru64 5.1A
We just migrate our OS from Tru64 4.0G to Tru64 5.1A. Our database are 8.1.6.3.1. After migration the OS we had problem (ORA-07445) with some of our database. It seems that the problem is related to direct IO and a workaround is to set the DISK_ASYNC