Data Persistency Query
What is the meaning of :
Data Persistency
Does it mean that this data is available till it is consumed by any
process.
What exactly does persistency relate to.
By the way, any "what is" question is a sure indicator that you ought to use Google.
http://www.google.com/search?q="what+is+data+persistence"
Similar Messages
-
Not able to access data in Query
Hi,
I have loaded data using DTP from 2 different source systems.
One is 3.x emulated datasource and the other is New 7.0 datasource.I have loaded data sucessfully in to DSO.Built a query on same.
But when iam executing the query by material as selection criteria.Iam not able to found data in query from one source system.The same data is available in DSO.Please needed in this regard.Hi Venkat,
After extracting data into DSO check the request whether active or not.
Check data in DSO in contents.
If is there any restrictions on info providers in Queries.
Let us know status clearly.......
Reg
Pra -
How Can I use a Variable in Data Controls query. Frank Kindly check...
Hii,
I am using JDeveloper 11g ADF BC.
My Requirement is that I hv a login screen which is taken from [http://blogs.oracle.com/shay/simpleJSFDBlogin.zip].
I hv attached BC in this application. I want to use the login usercode in the next pages after login screen. Next screen contains 3 list items which will be populating based on the user. So I created <af:selectOneChoice> using the BC( Just drag & dropped the column into the page from the data controls). But in the data control i want to use this usercode for passing the condition. Now Data is coming without any condition.
So How can I use the usercode in the Data controls query.
When I tried to display the usercode in the next page it is showing by binding the value. its code is follows
<af:outputText value="#{backing_getUser.uid}"
The program for checking the username & Password is follows.
package login.backing;
import oracle.adf.view.rich.component.rich.RichDocument;
import oracle.adf.view.rich.component.rich.RichForm;
import oracle.adf.view.rich.component.rich.input.RichInputText;
import oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout;
import oracle.adf.view.rich.component.rich.nav.RichCommandButton;
import java.sql.*;
import java.util.List;
import java.util.Map;
import oracle.adf.view.rich.component.rich.output.RichMessage;
import oracle.jdbc.OracleDriver;
public class GetUser {
private RichInputText uid;
private RichInputText pid;
private RichCommandButton commandButton1;
private RichInputText inputText1;
private RichInputText inputText2;
public void setUid(RichInputText inputText1) {
this.uid = inputText1;
public void setPid(RichInputText inputText2) {
this.pid = inputText2;
public RichInputText getUid() {
return uid;
public RichInputText getPid() {
return pid;
public void setCommandButton1(RichCommandButton commandButton1) {
this.commandButton1 = commandButton1;
public RichCommandButton getCommandButton1() {
return commandButton1;
public String login_action() {
// Add event code here...
String user = this.getUid().getValue().toString();
// String pass = inputText2.getValue().toString();
String pid = this.getPid().getValue().toString();
Connection conn;
conn = getConnection();
Statement stmt = conn.createStatement();
ResultSet rset = stmt.executeQuery ("SELECT usercode FROM guser where usercode = '"+user.toUpperCase()+"' and pwd=F_TEST('"+pid.toUpperCase()+"')");
if (rset.next()) {
conn.close();
return "good";
conn.close();
} catch (SQLException e) {
System.out.println(e);
return "bad";
public static Connection getConnection() throws SQLException {
String username = "ACCTS";
String password = "ACCTS";
String thinConn = "jdbc:oracle:thin:@SERVER1:1521:G5PS";
DriverManager.registerDriver(new OracleDriver());
Connection conn =
DriverManager.getConnection(thinConn, username, password);
conn.setAutoCommit(false);
return conn;
public void setInputText1(RichInputText inputText1) {
this.inputText1 = inputText1;
public RichInputText getInputText1() {
return inputText1;
public void setInputText2(RichInputText inputText2) {
this.inputText2 = inputText2;
public RichInputText getInputText2() {
return inputText2;
-----Hi,
I didn't look at the example, but if you want to secure your application then you should use container managed security. Read this .
Anyway, you could add this before return "good"; in your login_action()
FacesContext.getCurrentInstance().getExternalContext().getSessionMap().put("username", user);Then, you can access this from anywhere in the application by using #{sessionScope.username}.
Pedja -
Error in saving large value with the data input query
Hi,
I am trying to save a large value in 0Quantity using the data input query into a realtime infocube
e-g
123456789.1234
Error says too many digits.
When i try to save 8 digits before the decimal point ,no error, if it is 9digits before decimal it's thro' error.
Is there any limitation before the decimal.
i know that 0Quantity can take 17 digits including the sign.
Any suggestions.?
regards,
ramtry budgetting in thousands in stead of units? (setting on query itself)
D -
How to display current date in query header?
Hi,
How to display current date in query header?
I use Query Designer for development.
Thanks,
Arun KKHi Arun,
You can define fixed header lines and footer lines so that when you generate the query list, they can receive current values of certain fields. When you define a header line or a footer line, you must specify a character string of the type &field, where field is the short name of a field.
This function allows you (for example) to place a sort criterion in the header line.
You can include the following fields as variables in the headers directly:
%NAME
Name of the user processing the query
%DATE
Current date
%TIME
Current time
%PAGE
Current page number (6 characters)
%P
Current page number (3 characters)
These fields can be used in the short forms N,D,T and P. If you want to use these letters as short names for query fields, the field values from the query are used.
You can also see the link
[http://help.sap.com/saphelp_nw70/helpdata/EN/6e/dd68721faf11d6b1d500508b6b8b11/frameset.htm]
Regards,
NR -
Oracle date parameter query not working?
http://stackoverflow.com/questions/14539489/oracle-date-parameter-query-not-working
Trying to run the below query, but always fails even though the parameter values matches. I'm thinking there is a precision issue for :xRowVersion_prev parameter. I want too keep as much precision as possible.
Delete
from CONCURRENCYTESTITEMS
where ITEMID = :xItemId
and ROWVERSION = :xRowVersion_prev
The Oracle Rowversion is a TimestampLTZ and so is the oracle parameter type.
The same code & query works in Sql Server, but not Oracle.
Public Function CreateConnection() As IDbConnection
Dim sl As New SettingsLoader
Dim cs As String = sl.ObtainConnectionString
Dim cn As OracleConnection = New OracleConnection(cs)
cn.Open()
Return cn
End Function
Public Function CreateCommand(connection As IDbConnection) As IDbCommand
Dim cmd As OracleCommand = DirectCast(connection.CreateCommand, OracleCommand)
cmd.BindByName = True
Return cmd
End Function
<TestMethod()>
<TestCategory("Oracle")> _
Public Sub Test_POC_Delete()
Dim connection As IDbConnection = CreateConnection()
Dim rowver As DateTime = DateTime.Now
Dim id As Decimal
Using cmd As IDbCommand = CreateCommand(connection)
cmd.CommandText = "insert into CONCURRENCYTESTITEMS values(SEQ_CONCURRENCYTESTITEMS.nextval,'bla bla bla',:xRowVersion) returning ITEMID into :myOutputParameter"
Dim p As OracleParameter = New OracleParameter
p.Direction = ParameterDirection.ReturnValue
p.DbType = DbType.Decimal
p.ParameterName = "myOutputParameter"
cmd.Parameters.Add(p)
Dim v As OracleParameter = New OracleParameter
v.Direction = ParameterDirection.Input
v.OracleDbType = OracleDbType.TimeStampLTZ
v.ParameterName = "xRowVersion"
v.Value = rowver
cmd.Parameters.Add(v)
cmd.ExecuteNonQuery()
id = CType(p.Value, Decimal)
End Using
Using cmd As IDbCommand = m_DBTypesFactory.CreateCommand(connection)
cmd.CommandText = " Delete from CONCURRENCYTESTITEMS where ITEMID = :xItemId and ROWVERSION = :xRowVersion_prev"
Dim p As OracleParameter = New OracleParameter
p.Direction = ParameterDirection.Input
p.DbType = DbType.Decimal
p.ParameterName = "xItemId"
p.Value = id
cmd.Parameters.Add(p)
Dim v As OracleParameter = New OracleParameter
v.Direction = ParameterDirection.Input
v.OracleDbType = OracleDbType.TimeStampLTZ
v.ParameterName = "xRowVersion_prev"
v.Value = rowver
v.Precision = 6 '????
cmd.Parameters.Add(v)
Dim cnt As Integer = cmd.ExecuteNonQuery()
If cnt = 0 Then Assert.Fail() 'should delete
End Using
connection.Close()
End Sub
Schema:
-- ****** Object: Table SYSTEM.CONCURRENCYTESTITEMS Script Date: 1/26/2013 11:56:50 AM ******
CREATE TABLE "CONCURRENCYTESTITEMS" (
"ITEMID" NUMBER(19,0) NOT NULL,
"NOTES" NCHAR(200) NOT NULL,
"ROWVERSION" TIMESTAMP(6) WITH LOCAL TIME ZONE NOT NULL)
STORAGE (
NEXT 1048576 )
Sequence:
-- ****** Object: Sequence SYSTEM.SEQ_CONCURRENCYTESTITEMS Script Date: 1/26/2013 12:12:48 PM ******
CREATE SEQUENCE "SEQ_CONCURRENCYTESTITEMS"
START WITH 1
CACHE 20
MAXVALUE 9999999999999999999999999999still not comming...
i have one table each entry is having only one fromdata and one todate only
i am running below in sql it is showing two rows. ok.
select t1.U_frmdate,t1.U_todate ,ISNULL(t2.firstName,'')+ ',' +ISNULL(t2.middleName ,'')+','+ISNULL(t2.lastName,'') AS NAME, T2.empID AS EMPID, T2.U_emp AS Empticket,t2.U_PFAcc,t0.U_pf
from [@PR_PRCSAL1] t0 inner join [@PR_OPRCSAL] t1
on t0.DocEntry = t1.DocEntry
inner join ohem t2
on t2.empID = t0.U_empid where t0.U_empid between '830' and '850' and t1.U_frmdate ='20160801' and t1.u_todate='20160830'
in commond promt
select t1.U_frmdate,t1.U_todate ,ISNULL(t2.firstName,'')+ ',' +ISNULL(t2.middleName ,'')+','+ISNULL(t2.lastName,'') AS NAME, T2.empID AS EMPID, T2.U_emp AS Empticket,t2.U_PFAcc,t0.U_pf
from [@PR_PRCSAL1] t0 inner join [@PR_OPRCSAL] t1
on t0.DocEntry = t1.DocEntry
inner join ohem t2
on t2.empID = t0.U_empid where t0.U_empid between {?FromEmid} and {?ToEmid} and t1.U_frmdate ={?FDate} and t1.u_todate={?TDate}
still not showing any results.. -
hi experts
I got request to change one data validation query.
In the existing query,I see three parts...in top(first part) part,we have one query view from One cube.....when we come to middle part(second)..it has one query view from second cube.....finally,the third and bottom part contains some excel formulas which substract middle part(second) total from top part(first) total and shows the result....
so when I run the query it automatically populates top part(first) from one cube and second part(middle) from other cube and shows result in third and bottom part...
my change request is:
I donot need to change the top part(first)...I need to change middle part(second view from top)....but I donot know how to change this one....if I search on technical name of this whole Datavalidation query ...it just shows query corresponding the top part of this data validation query....
Please advise how to do this if any of you have idea
Regards,
SChand
Edited by: SChandx200 on Aug 10, 2010 8:10 AMHi,
There can be one of the two erason,
Either source data got corrupt. In your case the data in fltfile was not appropriate yesterday,, May be..
Or someone has change the Info package/Process chain for load the data and change that again today. (Check if is there any Info Package routine is written and got changed recently.
I hope it will help.
Thanks,
S -
Help: How to call a user defined function in a data block query?
I created a string aggregation function in the program unit, see reference:
http://www.oracle-base.com/articles/10g/StringAggregationTechniques.php
I now like to call the function in my data block query. I got the error: ORA-00904: 'concatenate_list' invalid identifier.
Please help.
Thank you in advance.
JimmyHi,
You can write UDFs in java in Graphical mapping to enhance your XI Graphical mapping functionality
The steps for doing it would be:
1. Click on Create New function Button found on Bottom left corner on your XI Mapping window.
2. Write your java code.
3. Run the Mapping Test as usual.
>>The module that is given here ...where and how it is used.
The adapters in the Adapter Framework convert XI messages to the protocols of connected external systems and the other way around. When doing so, some
functionality might need to be added specific to a situation which is possible with the use of custom modules.
Typical example would be validation of file content when using a File Adapter or modification of the message payload to a common content structure which is not supported by any of the standard SAP modules.
An Adapter module is developed as an Enterprise Java Bean and is called locally by the Adapter.
An example on modules :
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/da5675d1-0301-0010-9584-f6cb18c04805">How to develop a module for reading file name in a sender file adapter XI 3.0</a>
Cheers,
Chandra -
I have a characterstic 'Deadline Date'. I have to calculate a formula 'Days Left' which is equal to
Deadline Date - System Current Date.
How can i do that in query designer?? How can i get system date in query designer??
Regards,
Aisha Ishrat
ICI Pakistan Ltd.Hi Philip,
Actually I needed the output on VC. so i simply created a date type variable and in VC , i mapped that variable to Now().
Regards,
Aisha Ishrat
ICI Pakistan Ltd. -
Hi All,
I have a requirements to read data based on t.code S_AHR_61016403 by using Trip Begins On date and filter by receipt date therefore I’m using DS 0FI_TV_01 and able to get data into Cube level correctly.
In Query designer, I have to use trip beginning date and filter by receipt date then put in MTD and YTD bucket based on receipt date.
For example, trip beginning date 01.07.2014 – 31.07.2014, could get 100 records which has different months data with total amount1500/- but based on receipt date 01.07.2014 – 31.07.2014 there are only 75 records with total amount 1000/- I only interested total value 1000/-
I’m thinking to create a Key Date in query designer to read beginning date range and receipt date range.
Can anybody give how to achieve this.
regards
Naani0FI_TV_01 is a transaction datasource. Hence your Trip begin/Enddates are transactional data. You cannot use them as part of Key date in Query designer.
One more thing, you can't use ranges in Key date. It works only with single date.
you have to either create two variables in query filter. or restrict your KF with both variables. -
How to make data persist in form?
Hi
I've made multiple forms for a Web site. Each form is within its own module. The problem is the data entered into a form disappears as soon as the user shifts to another form (and consequently, another module). How to make the data persist in the form even if the user shifts away to another module? I've tried using a Model to hold the data but the data didn't stay in the text fields.
<fx:Declarations>
<fx:Model id="babyModel1">
<BabyForm>
<CleaningProducts>{babyCleanProd.text}</CleaningProducts>
<BabyProducts>{babyProd.text}</BabyProducts>
</BabyForm>
</fx:Model>
</fx:Declarations>
<mx:Form id="babyQuestionnaire" x="140" y="40" >
<mx:FormItem width="100%" label="Baby Cleaning Products1">
<s:RichEditableText
id="babyCleanProd"
width="200"
height="100"
backgroundColor="#ffffff"
paddingLeft="4" paddingRight="4" paddingTop="4" paddingBottom="4"
color="#222222"
/>
</mx:FormItem>
<mx:FormItem width="100%" label="Baby Products1">
<s:RichEditableText id="babyProd"
width="200"
height="100"
backgroundColor="#ffffff"
paddingLeft="4" paddingRight="4" paddingTop="4" paddingBottom="4"
color="#222222"/>
</mx:FormItem>
</mx:Form>
Any solutions? The data persists in the text fields if the forms are all in the same central application but then there's lots of code for each form.
Thanks for your attention.
KearneyI thought ModuleLoader could only load one Module at a time, and unloaded the current Module when called to load the next Module. This app has only one ModuleLoader, which loads various modules as different states are called.
If the Model to hold the form data is in the shell application, how to wire each Model to each Form (assuming the forms are still in various modules)?
Thanks.
Kearney -
JTable data persistance problem
i have large number of rows to be displayed in a JTable , the user can configure the number of rows he
wants to view , the table will have next and previous buttonns to navigate to the different pages , i have
solved the problem by reading data from. a 2 dimensional object array according to the user choice , the
next and the previous buttons are working , but the problem is there is no data persistance for example if
the user deletes 2 rows from the 1st page and goes to the 2nd page , when he comes back again to the 1st
page the deleted elements are still there. I am using an my own model which implements abstract table model.It would b gr8 if any one can send the code.Thanks in advance.Are you removing the rows from your Object Array?
if so, you are rigth now, you must to use at you model
fireTableDataChanged();When you change data from your object array.
Hope this helps... -
Data Model--Query Background colour
Hi All
In Oracle Applications(11i)----Standard Reports ,Query Background colour is changed to different colours(other than standard blue colour)
How Can we Achive This.?
Any Suugestions are welcome
Tahnks In Advance
SasiHello Sasi,
I have never touched an Oracle Application before, but in Report builder, i don't think there is a way to change the background color of the Data Model query to anything other than the standard blue.
-Marilyn -
Deployment failed: No config data persisted for component apache
When we are deploying the ear file we are getting the following error.
Deployment failed: No config data persisted for component apache, transaction ID 10.236.30.86.43c315.fd76033ac1.-7ff4Exactly the same problem...
Impossible de deploy a new app.
Write down that I also can't cancel a deployment, i get the message :
No ApplicationInfo is associated with application named: AppName -
특정 SUPPLIER SITE LEVEL의 DATA수정 시도시 RE-QUERY ERROR
제품 : FIN_AP
작성날짜 : 2004-05-19
특정 SUPPLIER SITE LEVEL의 DATA수정 시도시 RE-QUERY ERROR
=================================================
Problem Description
특정 Supplier Site level의 Data수정 시도시 아래의 Message발생
==============================================
record has been updated, re-query block to see change
==============================================
Solution Description
아래의 SQL을 실행해서 "CHK_TRAIL_SPACE"라는 Procedure를
만든 후 생성된 Procedure를 다음의 방법으로 실행하면, Input Table의
어떤 Column에 NULL문자가 들어갔는지 확인할 수 있다.
set serveroutput on
execute chk_trail_space(<table_name to check>);
i.e. (execute chk_trail_space('PO_VENDORS');)
trailspace.sql:
===============================================================================
CREATE OR REPLACE PROCEDURE CHK_TRAIL_SPACE (p_table_name in varchar)
IS
v_table_name varchar(30);
v_column_name varchar(30);
v_column_name_c char(30);
v_space_count number;
v_ret number; -- temp holder for above
v_initial_space_counter number;
dyn_cursor number;
CURSOR TABLE1 IS
SELECT table_name
FROM DBA_TABLES
WHERE table_name = p_table_name;
CURSOR COLUMN1 IS
SELECT column_name
FROM DBA_TAB_COLUMNS
WHERE table_name = v_table_name;
BEGIN
OPEN TABLE1;
LOOP
-- FOR crec1 in TABLE1 LOOP
fetch TABLE1 into v_table_name;
IF (TABLE1%NOTFOUND) THEN
exit;
END IF;
dbms_output.put_line(v_table_name);
dbms_output.put_line
v_initial_space_counter := 0;
OPEN COLUMN1;
LOOP
-- FOR crec2 in COLUMN1 LOOP
fetch COLUMN1 into v_column_name;
IF (COLUMN1%NOTFOUND) THEN
exit;
END IF;
dyn_cursor := DBMS_SQL.OPEN_CURSOR;
DBMS_SQL.PARSE
(dyn_cursor,
'SELECT COUNT(*) ' ||
'FROM ' || p_table_name ||
' WHERE ' || v_column_name || ' LIKE ''% ''',
DBMS_SQL.NATIVE);
DBMS_SQL.define_column (dyn_cursor, 1, v_space_count);
v_ret := DBMS_SQL.EXECUTE(dyn_cursor);
if DBMS_SQL.fetch_rows(dyn_cursor) > 0 then
DBMS_SQL.column_value (dyn_cursor, 1, v_space_count);
end if;
DBMS_SQL.CLOSE_CURSOR(dyn_cursor);
IF v_space_count > 0 THEN
v_initial_space_counter := v_initial_space_counter + 1;
END IF;
v_column_name_c := v_column_name;
IF v_space_count > 0 THEN
dbms_output.put_line(' ' || v_column_name_c || to_char(v_space_count))&
#059;
END IF;
end loop;
close column1;
end loop;
close table1;
END CHK_TRAIL_SPACE;
====================================================================
NULL문자가 들어간 Column이 확인되면,
update po_vendors
set vendor_name = rtrim(vendor_name);
위의 방법으로 수정하면 된다.
Reference Documents
Note :234048.1If I delete the purchase details/line item, the supplier site can be changed.
The error appeared again after the new line item selected,click on "Shipment" button, and change the supplier site.
It's not able to change it. Any reason caused by the line item shipment? how it relate?
Maybe you are looking for
-
Error while creating resource group using non-globalzones.
Dear all, Hi techs please guide me how to create failover resource group in nongloablzones. I'm getting error while creating resource group using non-globalzones. My setup: I have two node cluster running sun cluster 3.2 configured and running proper
-
Error while deploying application to j2ee engine
HI, I am getting the following error while deploying application to j2ee engine. PluginName: WebDynpro Archive Builder Plugin Id: com.sap.ide.webdynpro.archivebuilder class: com.sap.ide.webdynpro.archivebuilder.PARBuilder method: run() message: probl
-
plz sove my problem as soon as possibel ,
-
All the details are in my question already.
-
Packaging an AIR application in a .EXE file using ADT
Hi All, I have to package a .AIR file in .exe file with ADT. Is it possible setting a default installation path in exe file using ADT tool? I would like to create a .exe file where user can't interact with installation wizard to set a particula