Retriving the data
Hi
Can we retrive the data from multibple cubes to list cube
Thanks
hi,
as=nullwhat's the variable as ?
your code seems to be correct.
Plz, post the hole error message
Similar Messages
-
hey guys
i installed the sqlite and sqlite-net as requested in other answers i found, changed to x86, and add the .db3 file in my project.
but the problem is how to retrive the data that already in the file( i am not creating any table or data in the app, just read)
all the answer i found is to create a table first and then read the table, i tried to skip the step of creating a table, and read from the table directly, but failed with " no such table", by the way, i set the property of the .db3 file as "content",
"copy if newer"
can anyone please help? i appreciate that !Hello,
From your description, you want to read data from available sqlite file. When you add the sqlite file into your project, you need to change the sqlite file build action to content. After deploying to device, the sqlite file is located in installation folder,
you need to copy that file into storage folder before reading data. Please try the following code snippets.
private async void Button_Click_9(object sender, RoutedEventArgs e)
//check if file exists in storage folder, and then copy to local storage
bool flag = await FileExistsAsync("Data.db3");
if (!flag)
var folder = await Package.Current.InstalledLocation.GetFileAsync("Data.db3");
await folder.CopyAsync(Windows.Storage.ApplicationData.Current.LocalFolder);
// open sqlite and read data
public async Task<bool> FileExistsAsync(string fileName)
try
await Windows.Storage.ApplicationData.Current.LocalFolder.GetFileAsync(fileName);
return true;
catch (FileNotFoundException)
return false;
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
the survey. -
Can we retrive the data from Maintainence view
Hi Guys,
Can we retrive the data from Maintainence view...
Thanks,
Gourisankar.Hi,
Data can be retrived only from following type of views:
Projection view
Database View -
Root disk craches how to retrive the data from ZFS file systems.
Hi Friends,
The solaris 10 OS (root disk) is crached.i have configered execpt root disk to all disks for ZFS file systems.We using to application.Now any possble to retrive the data.
Server model - V880
Pls help me.
Advance thanks.If the OS wasn't on ZFS, then just rebuild the server, hook up the drives and run 'zpool import'. It should find the pool on the disks and offer it up to be imported.
Darren -
With out using submit button how to retrive the data
at in the combo box if I selects one name automatically that person details to
be retrive from the database and placed at in the other text boxes.
Hi,
You can do it in two ways:
1. You can implement this in having java script function for that radiobutton
on select and then make a call to server, submitting the form data to fetch the
same from database. But in this case, the page will be refreshed.
2. you can have a javascript function and using the same you can open a new window
and then make a call to servlet to fetch the data and to submit to the text field
in the form.
Regards
Srinivas.K
"chiru" <[email protected]> wrote:
>
>at in the combo box if I selects one name automatically that person details
>to
>be retrive from the database and placed at in the other text boxes.
-
Unable to retrive the data using self join
I am trying to find the time taken to close a ticket. The ticket goes through various stages: NEW, INPROCESS, CLOSED, REOPENED. If the ticket is reopened then the next stage would be INPROCESS and then CLOSED.
The CC_TICKET_INFO table contains information about the last stage of the ticket. CC_TICKET_HISTORY table contains information about all the stages of the ticket.
The challenge here is if the ticket is reopened then it should be counted as 2 instances instead of 1.
First instance from stages: NEW --> INPROCESS --> CLOSE
Second instance from stages: REOPEND --> INPROCESS --> CLOSE.
Follwoing SQL is to generate the data:
CREATE TABLE CC_TICKET_INFO
TICKET_ID VARCHAR2(20 BYTE) NOT NULL
, TICKET_STATUS VARCHAR2(60 BYTE)
, created_date timestamp(6)
, LAST_CHANGED timestamp(6)
, ASSIGNED_TO VARCHAR2(20)
, CONSTRAINT PK_CC_TICKET_INFO PRIMARY KEY
ticket_id
CREATE TABLE CC_TICKET_HISTORY
TICKET_ID VARCHAR2(20 BYTE) NOT NULL
, TICKET_STATUS VARCHAR2(60 BYTE)
, CREATED_DATE TIMESTAMP(6) NOT NULL
, ASSIGNED_TO VARCHAR2(255 BYTE)
, CREATED_BY VARCHAR2(60 BYTE)
, CONSTRAINT PK_CC_TICKET_HISTORY PRIMARY KEY
TICKET_ID
, CREATED_DATE
insert into cc_ticket_history values ('D21207155', 'NEW', '6/28/2013 17:28:59', null, 'jsg-st');
insert into cc_ticket_history values ('D21207155', 'INPROCESS', '6/28/2013 17:48:19', 'ah-eg', 'ah-eg');
insert into cc_ticket_history values ('D21207155', 'CLOSED', '6/28/2013 18:54:23', 'ah-eg', 'ah-eg');
insert into cc_ticket_history values ('D21207155', 'REOPENED', '7/2/2013 19:55:04', 'ah-eg', 'jsg-st');
insert into cc_ticket_history values ('D21207155', 'INPROCESS', '7/2/2013 20:11:17', 'sr-eg', 'sr-eg');
insert into cc_ticket_history values ('D21207155', 'CLOSED', '7/2/2013 23:06:16', 'sr-eg', 'sr-eg');
insert into CC_TICKET_INFO values ('D21207155', 'CLOSED', '6/28/2013 17:28:59', '7/2/2013 23:06:16', 'sr-eg');
I want to find the time difference betwen '6/28/2013 18:54:23' and '6/28/2013 17:28:59' (First instance)
and between '7/2/2013 23:06:16' and '7/2/2013 19:55:04' (Second instance)
The closest I am getting is the through this query:
select L.ticket_id, L.CREATED_DATE, R.CREATED_DATE as close_date, L.TICKET_STATUS, R.TICKET_STATUS from cc_ticket_history L RIGHT join cc_ticket_history R on (L.rowid < R.rowid) where (L.TICKET_STATUS = 'NEW' AND R.TICKET_STATUS ='CLOSED') OR (L.TICKET_STATUS = 'REOPENED' AND R.TICKET_STATUS ='CLOSED');
Can it be done through SQL?select ticket_id,ticket_status,created_date,
case when ticket_status = 'CLOSED'
and lead(ticket_status) over (partition by ticket_id order by created_date) = 'REOPENED'
then lead(created_date) over (partition by ticket_id order by created_date) - created_date
when ticket_status = 'REOPENED'
and lag(ticket_status) over (partition by ticket_id order by created_date) = 'CLOSED'
then created_date - lag(created_date) over (partition by ticket_id order by created_date)
end time_difference
from cc_ticket_history
where ticket_status in ('CLOSED','REOPENED')
TICKET_ID
TICKET_STATUS
CREATED_DATE
TIME_DIFFERENCE
D21207155
CLOSED
28-JUN-13 06.54.23.000000 PM
+000000004 01:00:41.000000
D21207155
REOPENED
02-JUL-13 07.55.04.000000 PM
+000000004 01:00:41.000000
D21207155
CLOSED
02-JUL-13 11.06.16.000000 PM
Regards
Etbin -
Error while retriving the data from the database
morning we shutdown and start up the server.after that when i am retreving the data from the database it is giving the following error.
ora-04030: out of process memory when trying to allocate 64512 bytes(sort subheap,sort key)
pga_aggregate_target details are as follows
value=2147483648
display value=2g
is default=false
is sesmodifiable=false
hash=2184567208Please look at the following link :
how solve ORA-04030: out of process memory when trying to allocate
Cheers! -
Is there any way to retrive the data from my USB Key
Hello,
I have a usb key I have been using on a Win 7 desktop computer and a Mac Book Air to put in Data on a spread sheet.
I interchange to put in the data between the computer and my MBA without any problem.
I am today not able to open the usb memory key in either-Computer or the MAC Book Air.
Does that mean I have a coruppted USB memory key and the data lost for ever?
I have just put the USB memory key in my computer and it says File System CDFS.
I put it in MAC Book Air and it would not open either!!
Is there any way to access my data. I have no back up...If the USB drive won't mount on either computer, it's probable that the drive has failed, in which case it's unlikely that you can recover any data from it. You can do a web search for something like "flash drive file recovery" and you'll find a number of utilities that purport to do file recovery, but all the utilities I'm familiar with require that the drive at least be mountable. There may be services that could attempt recovery, but they tend to be expensive.
The moral of the story is: never have only a single copy of a critical document, and if you must, never, never have your single copy only on a flash drive (or floppy, for those "old timers" who still use floppies).
Regards. -
How to retrive the data from ST03n Transaction in R/3 4.6c
Hi All,
I am looking for to get the data of Transaction ST03n data in R/3 4.6C.Please suggest me the required tables or Std Function Modules to get the data.
i want to fetch dialog work process response time.
Regards,
VKHi Venkata,
You can go ahead with the mentioned FM SAPWL_WORKLOAD_GET_STATISTIC.
But am afraid it is obsolete it higher Ecc versions.But for time being you can go ahead in 4.6
It would return time statistics in the table TIME_STATISTIC.
YOu can later find the average response time using the formula:
avg_resp_time = TIME_STATISTIC-RESPTI / TIME_STATISTIC-COUNT.
Hope it will address the issue.
Regards,
Kannan -
Retriving the data from the database
HI
Hello Experts
I have to retreve the data from atleast 10 different tables which are co-releated to each other by DocEntry
field ,i have designed the query accordingly i need a single output but i am getting multiple rows in the output for single record (this tables are releated to each other which r also containing the data from matrix ) can u help.
With Regards
Satish.SELECT [@PACK].DocEntry, [@PACK].DocNum, [@PACK].U_PId, [@PACK].U_Name + ' ' + U_LName'Patient Name' , [@PACK].U_ISex, [@PACK].U_Age, [@PACK].U_Pulse,
[@PACK].U_Weight, [@PACK].U_BP, [@PACK].U_ALSTTIME, [@PACK].U_ALEDATE, [@PACK].U_ALETIME, [@PACK].U_ALSTDATE, [@PACK].U_VId,
[@PACK].U_PHI, [@PACK].U_FHis, [@PACK].U_Nurse, [@PACK7].DocEntry AS Expr1, [@PACK7].LineId, [@PACK7].U_ILid, [@PACK7].U_ILType,
[@PACK7].U_ILName, [@PACK7].U_Date, [@PACK7].U_LNo, [@PACK7].U_Remark, [@PACK8].DocEntry AS Expr2, [@PACK8].LineId AS Expr3,
[@PACK8].U_IRid, [@PACK8].U_IRType, [@PACK8].U_IRName, [@PACK8].U_Date AS Expr4, [@PACK8].U_Remark AS Expr5, [@PACK8].U_Rno1,
[@RISK].Code, [@RISK].DocEntry AS Expr6, [@RISK].U_PID AS Expr7, [@RISK1].Code AS Expr8, [@RISK1].LineId AS Expr9, [@RISK1].U_Status,
[@RISK1].U_RFactor, [@DRUG].Code AS Expr10, [@DRUG].DocEntry AS Expr11, [@DRUG].U_PID AS Expr12, [@DRUG1].Code AS Expr13,
[@DRUG1].LineId AS Expr14, [@DRUG1].U_DName, [@DRUG1].U_RDrug, [@DRUG1].U_RDate, [@DRUG1].U_Reason,
[@HIS_OTSCH].DocEntry AS Expr15, [@HIS_OTSCH].LineId AS Expr16, [@HIS_OTSCH].U_OTTable, [@HIS_OTSCH].U_Duration,
[@HIS_OTSCH].U_Date AS Expr17, [@HIS_OTSCH].U_DName AS Expr18, [@HIS_OTSCH].U_PName, [@HIS_OTPOS].DocEntry AS Expr19,
[@HIS_OTPOS].LineId AS Expr20, [@HIS_OTPOS].U_Recov, [@HIS_OTPOS].U_TOAne, [@HIS_OTPOS].U_Attend, [@HIS_OTPOS].U_ONotes,
[@H_IPDBR].DocEntry AS Expr21, [@H_IPDBR].LineId AS Expr22, [@H_IPDBR].U_BBNO, [@H_IPDBR].U_BGroup,[@H_IPDBR]. U_RHFac,
[@H_IPDBR].U_Volume, [@H_IPDBR].U_BCompo, [@H_IPDBR].U_DColl, [@H_IPDBR].U_DExpire, [@PACK11].DocEntry AS Expr23,
[@PACK11].LineId AS Expr24, [@PACK11].U_ANo, [@PACK11].U_DBy, [@PACK11].U_Source, [@PACK11].U_Desti, [@PACK11].U_Date AS Expr25
FROM [@PACK] INNER JOIN
[@PACK7] ON [@PACK].DocEntry = [@PACK7].DocEntry INNER JOIN
[@PACK8] ON [@PACK].DocEntry = [@PACK8].DocEntry INNER JOIN
[@PACK11] ON [@PACK].DocEntry = [@PACK11].DocEntry INNER JOIN
[@RISK] ON [@PACK].DocEntry = [@RISK].DocEntry INNER JOIN
[@RISK1] ON [@PACK7].LineId = [@RISK1].LineId INNER JOIN
[@DRUG] ON [@PACK].DocEntry = [@DRUG].DocEntry INNER JOIN
[@DRUG1] ON [@PACK7].LineId = [@DRUG1].LineId INNER JOIN
[@H_IPDBR] ON [@PACK].DocEntry = [@H_IPDBR].DocEntry INNER JOIN
[@HIS_OTSCH] ON [@PACK].DocEntry = [@HIS_OTSCH].DocEntry INNER JOIN
[@HIS_OTPOS] ON [@PACK].DocEntry = [@HIS_OTPOS].DocEntry where [@PACK].U_PId='P8'
Here is the query i am getting the multiple rows in the output i require a single row output and i m going to pass PId as parameter after obtaining the desired output. (i have tried with distinct) -
How to retrive the data from structure
Hi Guru's,
I have an doubt in how to retrieve the data from the standard structure or view .i want to retrieve the data from std structure name is (IOOPCOMP) in that structure i want to fetch the field DENMNG ,MENGE,EINHEIT how do i write select query to print the value . if any one can have any example structure related program give me its very helpful for me.
with regards,
senHello Senthil
The solution for your problem is trivial. Checking the Where-Used-List for structure IOOPCOMP (on release 4.6c) there is neither a function module nor a class using this structure (or fields of it).
However, the structure is used in the following list of programs:
PPIO_ENTRY
PPIOA000
PPIOB000
PPIOC000
PPIOD000
PPIOE000
PPIOF000
PPIOG000
PPIOH000
PPIOI000
PPIOK000
PPIOM000
PPIOO000
PPIOQ000
PPIOR000
PPIOS000
PPIOT000
PPIOW000
PPKALKFI
PPPIA000
PPPID000
PPPIG000
PPPIH000
PPPII000
PPPIK000
PPPIM000
PPPIO000
PPPIQ000
PPPIR000
PPPIT000
PPPIW000
RCCLORD
SAPDBIOC
SAPLCOWORK240
SELECT_OPERATION
If you know judging from your business context which program is the right one you are half-way on the home stretch.
Regards
Uwe -
NEED THE LOGIC TO RETRIVE THE DATA FROM IT2001 SUBTY 0910 AND 0100
HI ALL,
ITS URGENT
NEED THE LOGIC TO RETRIEVE THE DATA FROM IT2001(P2001) SUBTY 0910 AND 0100.
BEST REGARDS
SUNILHi,
Please find the logic to retrieve the data from IT2001.
<b>Infotypes : 2001 mode n."Declare the infotype in the infotypes declaration.
Get pernr.
RP-READ-ALL-TIME-ITY PN-BEGDA PN-ENDDA."Retrieves all the records of absence
LOOP AT P2001 WHERE SUBTY = XYZ.
Write the logic.
ENDLOOP.</b>
Regards,
Pavan Kattamuri. -
SQ01:- Error in retriving the data from more than 1 additional fields
hi Frnds,
i have added three addidtional fields in the infotype through the transaction SQ02. when i am try to create a new new query using the transaction SQ01 then if i select all three new fields individually data is retrived properly but if i selects more thn one field thn it is throughing an error.
can any one please help me in that?
Thanks in advance.
Regards,
KhushyHi,
and if you try it with an add. strucure (which inludes your 3 fields) ?
A. -
Help! How to retrive the date and time from MySQL 'datetime' type
In my MySQL database, I have stored a data type 'DATETIME' as 20070412093012 which is interpreted as 2007-04-12 09:30:12, How to using Java method to retrive it from data base???
like resultSet.getDate('datetime')????or what is the method?Have a look at the API documentation for ResultSet. Which of the methods documented there do you think might be what you need? If you can't tell which is the right one, then post your candidates here and ask a question about them.
-
Error while retriving the Data in BI Answers
Helllo Folks,
we are using BI Apps 7.9.6 HR Module
in BI Answers, i am getting false results that is when i am selecting only "ORAGANIZATION NAME", i get the name of the organization
where as when selecting Oranization name along any of the facts, the ORGANIZATION CODE(NUMBER) show up instead of Names along with Facts
is it due to the Dimensional Hierarchy error or any other CODE ERROR in the BMM Layer
thank you
user119did you establish any dimensional hierarchy for organization code and name??
If your using pivot table view then place the organization name in the page axis and remaining all facts or columns as data points.CHeck out if organization code populating when used this way
Maybe you are looking for
-
I am trying to import developed images from LightRoom 5 into Photoshop 6. I am receiving this message and the images will not open.....'Could not open scratch file because the file is locked, you do not have necessary access permissions or another p
-
Hi All, Like MB5B is there any t.code or table to see stock on posting date in Warehouse? (like in so and so bin and in that S.type)
-
Delivery block based on incoterms
Hi all, In standard SAP, is it possible to set a delivery block if a certain incoterm is selected in the sales order? Thanks
-
Question on passive serial sub interface EIGRP
Hi Everyone, I know how passive interface default works in EIGRP. I need to confirm below say we have se0/0/0 no ip address se0/0/0.10 ip address 192.168.50.1 x.x.x.x Router eigrp 100 passive interface default no passive interface
-
NOT ABLE TO PLAY MOVIE KEEPS SHUTTING DOWN