How to combine two user prompts into 1 single prompt from two Webi Queries
Hi All,
I developed a single webi report from two different queries on top of 2 BW OLAP universe .
Here I have one user input prompt for each query so I want to combine them into one single user input promt which should pass the user input value to both the Webi queries feeding data to the single webi report.
I found that the webi doc has auto checked merge dimensions enabled but it is not providing combined resluts from both the queries .
Any inputs are greatlt appreciated.
Thanks
Stratos
Firstly ,I appreciate your responses for my two questions.
Both the prompts I am using are from the masterdata and they are similar.data types.I think the transactional data is not available in BW for one of the prompt ,hence I am not getting consistent data.
Anyway will do further investigation in finding similarities and let you know.
Thanks a lot
Similar Messages
-
How do i combine two user accounts into one
how do i combine two user accounts into one
Drag one account's home folder from the Users folder to the other account's desktop, provide your administrator password, and then move your files from it.
(75344) -
How to Append two word documents into single using java
How to Append two word documents into single using java
we tried this but it's not append the one word document to other
source code:public class AppendTwoWordFiles {
public static void main(String []arg)throws IOException
FileInputStream fi=null;
FileOutputStream fo=null;
try {
System.out.println("Enter the source file name u want to append");
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
File f1=new File(br.readLine().toString());
System.out.println("Enter the Destination file name ");
File f2=new File(br.readLine().toString());
fi = new FileInputStream(f1);
fo = new FileOutputStream(f2,true);
byte b[]=new byte[2];
while((fi.read(b))!=-1);
fo.write(b);
System.out.println("Successfully append the file");
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
finally{
fi.close();
fo.close();
plz reply me quickly ,,,what can i followUse this code ..
and give the path of the both file like this.....
source file ---- C:/workspace/Practice/src/com/moksha/ws/test/practice.text
destination file ---- C:/workspace/City/src/com/moksha/ws/test/practice1.text
import java.io.*;
public class AppendTwoWordFiles {
public static void main(String[] arg) throws IOException {
FileInputStream fi = null;
FileOutputStream fo = null;
try {
System.out.println("Enter the source file name u want to append");
BufferedReader br = new BufferedReader(new InputStreamReader(
System.in));
File f1 = new File(br.readLine().toString());
System.out.println("Enter the Destination file name ");
File f2 = new File(br.readLine().toString());
fi = new FileInputStream(f1);
fo = new FileOutputStream(f2, true);
byte b[] = new byte[2];
int len = 0;
while ((len = fi.read(b)) > 0) {
fo.write(b, 0, len);
System.out.println("Successfully append the file");
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
} finally {
fi.close();
fo.close();
} -
How to combine 2 diff transactions into 1 transaction
Hi All,
I want to combine 2 diff transactions into single transaction so taht i can run these 2 at a time as a single transaction. Currently we have 2 diff transactions which we need to run one after anether. So we want to combine these 2 transactions as a single transaction. Is it possible, how we can do that. thanks in advance.
Thanks,
VishalU can create a ABAP which calls the transaction one after another...and assign the new ABAP a transaction
code using SE93.
Basically the abap would like below.
Report Ztrans.
start-of-selection.
call transaction ZT01.
call transactin ZT02.
Regards
Anurag
Message was edited by: Anurag Bankley -
How to handle an update of the same record from two different user in JSP
how to handle an update of the same record from two different user
how do you handle an update of the same record from two different users in JSP... if one person updates the record from one drop downs should be updated as well.. is the possible.Usually, if two users try to update the same row at the same time, you want the first to commit to succeed, and when the second commits, they should fail with the error that the row was being concurrently updated. They you may want to show them the new row values and give them the opportunity to merge their values with the new row values...
How can you achieve this? Google optimistic locking. -
How to combine a one columns into 1?
I am using Oracle 8i,
I want to know that how to combine a one columns into 1 row:
For example:
ITEM_NO NAME
01 ABC
01 CDE
Result Set:
ITEM_NO NAME
01 ABC; CDE
I have try to use "SYS_CONNECT_BY_PATH" this function, however, that function can use in Oracle 9i or 10g, NOT 8i.
So please please help me to solve that. Many thanks.Check this thread
Re: column values separated by , -
How you import essbase users list into Hyperion reports?
How you import essbase users list into Hyperion reports?
I don't think this is a standard feature of Hyperion Reports.
Why do you need to see all the users in a report. Administrators can always query EAS, Shared Services or MaxL.
Brian Chow -
How can I import a movie into iMovie 09 from a hard drive? The movie will open and play in idvd but breaks into separate files that can't be downloaded when I try to import. Can it be done? I am trying to create a disc of player highlights for a collegiate coach, and I am using movie files downloaded to my hard drive from a DVD created on a PC.
No unfortunately it won't open in quicktime either. It does the same thing that Imovie does, separates it into two file folders audio and video, and if i select video it opens to reveal 8 files that cannot be selected. VIDEO_TS.BUP, VIDEO_TS.IFO, VIDEO_TS.VOB,VTS_01_0.BUP, VTS_01_0.IFO, VTS_01_1.VOB, VTS_01_2.VB, VTS_01_3.VOB. All of which cannot be opened or selected.
Opening it in Idvd and folllowing your suggestion works and I get a format code of NTSC. Is that the same? Thank you for your time and response.
CaCanuck -
Possible solution to avoid deadlock when two inserts happen on same table from two different machines.
Below are the details from deadlock trace.
Deadlock encountered .... Printing deadlock information
Wait-for graph
NULL
Node:1
KEY: 8:72057594811318272 (ffffffffffff) CleanCnt:3 Mode:RangeS-S Flags: 0x1
Grant List 2:
Owner:0x00000013F494A980 Mode: RangeS-S Flg:0x40 Ref:0 Life:02000000 SPID:376 ECID:0 XactLockInfo: 0x000000055014F400
SPID: 376 ECID: 0 Statement Type: INSERT Line #: 70
Input Buf: RPC Event: Proc [Database Id = 8 Object Id = 89923542]
Requested by:
ResType:LockOwner Stype:'OR'Xdes:0x0000002AA53383B0 Mode: RangeI-N SPID:238 BatchID:0 ECID:0 TaskProxy:(0x00000027669B4538) Value:0x10d8d500 Cost:(0/38828)
NULL
Node:2
KEY: 8:72057594811318272 (ffffffffffff) CleanCnt:3 Mode:RangeS-S Flags: 0x1
Grant List 2:
Owner:0x0000000B3486A780 Mode: RangeS-S Flg:0x40 Ref:0 Life:02000000 SPID:238 ECID:0 XactLockInfo: 0x0000002AA53383F0
SPID: 238 ECID: 0 Statement Type: INSERT Line #: 70
Input Buf: RPC Event: Proc [Database Id = 8 Object Id = 89923542]
Requested by:
ResType:LockOwner Stype:'OR'Xdes:0x000000055014F3C0 Mode: RangeI-N SPID:376 BatchID:0 ECID:0 TaskProxy:(0x000000080426E538) Value:0x30614e80 Cost:(0/41748)
NULL
Victim Resource Owner:
ResType:LockOwner Stype:'OR'Xdes:0x0000002AA53383B0 Mode: RangeI-N SPID:238 BatchID:0 ECID:0 TaskProxy:(0x00000027669B4538) Value:0x10d8d500 Cost:(0/38828)
deadlock-list
deadlock victim=process5daddc8
process-list
process id=process5daddc8 taskpriority=0 logused=38828 waitresource=KEY: 8:72057594811318272 (ffffffffffff) waittime=2444 ownerId=2994026815 transactionname=user_transaction lasttranstarted=2014-07-25T12:46:57.347 XDES=0x2aa53383b0 lockMode=RangeI-N schedulerid=43 kpid=14156 status=suspended spid=238 sbid=0 ecid=0 priority=0 trancount=2 lastbatchstarted=2014-07-25T12:46:57.463 lastbatchcompleted=2014-07-25T12:46:57.463 clientapp=pa hostname=pa02 hostpid=1596 loginname=myuser isolationlevel=serializable (4) xactid=2994026815 currentdb=8 lockTimeout=4294967295 clientoption1=671088672 clientoption2=128056
executionStack
frame procname=mydb.dbo.SaveBill line=70 stmtstart=6148 stmtend=8060 sqlhandle=0x03000800d61f5c056bd3860170a300000100000000000000
INSERT INTO [dbo].[Prod1] .....
inputbuf
Proc [Database Id = 8 Object Id = 89923542]
process id=process5d84988 taskpriority=0 logused=41748 waitresource=KEY: 8:72057594811318272 (ffffffffffff) waittime=2444 ownerId=2994024748 transactionname=user_transaction lasttranstarted=2014-07-25T12:46:57.320 XDES=0x55014f3c0 lockMode=RangeI-N schedulerid=39 kpid=14292 status=suspended spid=376 sbid=0 ecid=0 priority=0 trancount=2 lastbatchstarted=2014-07-25T12:46:57.440 lastbatchcompleted=2014-07-25T12:46:57.440 clientapp=pa hostname=pa01 hostpid=1548 loginname=myuser isolationlevel=serializable (4) xactid=2994024748 currentdb=8 lockTimeout=4294967295 clientoption1=671088672 clientoption2=128056
executionStack
frame procname=pa.dbo.SaveBill line=70 stmtstart=6148 stmtend=8060 sqlhandle=0x03000800d61f5c056bd3860170a300000100000000000000
INSERT INTO [dbo].[Prod1]....
inputbuf
Proc [Database Id = 8 Object Id = 89923542]
resource-list
keylock hobtid=72057594811318272 dbid=8 objectname=pa.dbo.prod1 indexname=PK_a id=lock1608ee1380 mode=RangeS-S associatedObjectId=72057594811318272
owner-list
owner id=process5d84988 mode=RangeS-S
waiter-list
waiter id=process5daddc8 mode=RangeI-N requestType=convert
keylock hobtid=72057594811318272 dbid=8 objectname=pa.dbo.prod1 indexname=PK_a id=lock1608ee1380 mode=RangeS-S associatedObjectId=72057594811318272
owner-list
owner id=process5daddc8 mode=RangeS-S
waiter-list
waiter id=process5d84988 mode=RangeI-N requestType=convertDon't know. Perhaps these can help. I scanned the second link but didn't see much about Ending Deadlocks. I'd say the Fourth link probably has better information than the first three links. But maybe read them all just in case the Fourth is missing something
one of the first three have.
Deadlocking
Detecting and Ending Deadlocks
Minimizing Deadlocks
Handling Deadlocks in SQL Server
Google search for "SQL Deadlock"
La vida loca -
How can I stop other people copying my images from my web site.
How can I stop other people copying my images from my web
site.
I use dreamweaver CS3 for the macboth are a waste of time. Fornication with a leaky condom.
Pointless and not
worth the effort. Or worse!
the obfuscation JavaScript will get the site to not be
listed in any search
engines because they can't "see" the page or any links on it.
You would be
"protecting" the images but no one would find them.
And all of those obfuscation JS things can be reverse
engineered. In most
cases- it's not worth it to prove it can be broken other than
to prove it
can be done. The images are nothing special in almost any
site using one of
those $29.95 applications.
Have you done the basics? Turned off directory browsing or
put a default
index page in every folder? A few years ago i ran across a
site with one of
those block right click scripts on it. Dumb curiosity- opened
a picture, and
looked around the directory. All open directories. A block
right click
script and every folder on the site was open.
/photos/private/girlfriend/hottub
Nuff said. The blocking script made me curious enough to poke
around the
directories.
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/ -
How to keep the current http session after returning from external web site
Hi,
When I use the response.sendRedirect api to redirect the web page to the external payment site, after payment and return back to the current application, I found that the current http session is lost.
How to keep the current http session after returning from external web site?
ThanksYou should make your sidebar1 and sidebar2 fixed positioned. Make your content DIV fluid.
This should help you: http://www.glish.com/css/7.asp -
Combine two jsp pages into single
hai how to combine two jsp pages in to one
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;
import org.apache.struts.action.ActionMessages;
import com.latchiya.Constants;
import com.latchiya.model.Staffinfo;
import com.latchiya.service.Manager;
import com.latchiya.webapp.form.StaffinfoForm;
* Action class to handle CRUD on a Staffinfo object
* @struts.action name="staffinfoForm" path="/staffinfos" scope="request"
* validate="false" parameter="method" input="mainMenu"
* @struts.action name="staffinfoForm" path="/editStaffinfo" scope="request"
* validate="false" parameter="method" input="list"
* @struts.action name="staffinfoForm" path="/saveStaffinfo" scope="request"
* validate="true" parameter="method" input="edit"
* @struts.action-forward name="edit" path="/WEB-INF/pages/staffinfoForm.jsp"
* @struts.action-forward name="list" path="/WEB-INF/pages/staffinfoList.jsp"
* @struts.action-forward name="search" path="/staffinfos.html" redirect="true"
public final class StaffinfoAction extends BaseAction {
public ActionForward cancel(ActionMapping mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
return mapping.findForward("search");
public ActionForward delete(ActionMapping mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
if (log.isDebugEnabled()) {
log.debug("Entering 'delete' method");
ActionMessages messages = new ActionMessages();
StaffinfoForm staffinfoForm = (StaffinfoForm) form;
// Exceptions are caught by ActionExceptionHandler
Manager mgr = (Manager) getBean("manager");
Staffinfo staffinfo = (Staffinfo) convert(staffinfoForm);
mgr.removeObject(Staffinfo.class, staffinfo.getStaffId());
messages.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("staffinfo.deleted"));
// save messages in session, so they'll survive the redirect
saveMessages(request.getSession(), messages);
return mapping.findForward("search");
public ActionForward edit(ActionMapping mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
if (log.isDebugEnabled()) {
log.debug("Entering 'edit' method");
StaffinfoForm staffinfoForm = (StaffinfoForm) form;
// if an id is passed in, look up the user - otherwise
// don't do anything - user is doing an add
if (staffinfoForm.getStaffId() != null) {
Manager mgr = (Manager) getBean("manager");
Staffinfo staffinfo = (Staffinfo) convert(staffinfoForm);
staffinfo = (Staffinfo) mgr.getObject(Staffinfo.class, staffinfo.getStaffId());
staffinfoForm = (StaffinfoForm) convert(staffinfo);
updateFormBean(mapping, request, staffinfoForm);
return mapping.findForward("edit");
public ActionForward save(ActionMapping mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
if (log.isDebugEnabled()) {
log.debug("Entering 'save' method");
// Extract attributes and parameters we will need
ActionMessages messages = new ActionMessages();
StaffinfoForm staffinfoForm = (StaffinfoForm) form;
boolean isNew = ("".equals(staffinfoForm.getStaffId()) || staffinfoForm.getStaffId() == null);
Manager mgr = (Manager) getBean("manager");
Staffinfo staffinfo = (Staffinfo) convert(staffinfoForm);
mgr.saveObject(staffinfo);
// add success messages
if (isNew) {
messages.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("staffinfo.added"));
// save messages in session to survive a redirect
saveMessages(request.getSession(), messages);
return mapping.findForward("search");
} else {
messages.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("staffinfo.updated"));
saveMessages(request, messages);
return mapping.findForward("edit");
public ActionForward search(ActionMapping mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
if (log.isDebugEnabled()) {
log.debug("Entering 'search' method");
Manager mgr = (Manager) getBean("manager");
request.setAttribute(Constants.STAFFINFO_LIST, mgr.getObjects(Staffinfo.class));
return mapping.findForward("list");
public ActionForward unspecified(ActionMapping mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
return search(mapping, form, request, response);
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;
import com.latchiya.Constants;
import com.latchiya.webapp.form.UploadForm;
* This class handles the uploading of a resume (or any file) and writing it to
* the filesystem. Eventually, it will also add support for persisting the
* files information into the database.
* <p>
* <i>View Source</i>
* </p>
* @author Matt Raible
* @struts.action name="uploadForm" path="/uploadFile" scope="request"
* validate="true" input="failure"
* @struts.action-forward name="failure" path="/WEB-INF/pages/uploadForm.jsp"
* @struts.action-forward name="success" path="/WEB-INF/pages/uploadDisplay.jsp"
public class UploadAction extends Action {
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
// Did the user click the cancel button?
if (isCancelled(request)) {
request.removeAttribute(mapping.getAttribute());
return (mapping.findForward("mainMenu"));
//this line is here for when the input page is upload-utf8.jsp,
//it sets the correct character encoding for the response
String encoding = request.getCharacterEncoding();
if ((encoding != null) && (encoding.equalsIgnoreCase("utf-8"))) {
response.setContentType("text/html; charset=utf-8");
UploadForm theForm = (UploadForm) form;
//retrieve the name
String name = theForm.getName();
//retrieve the file representation
FormFile file = theForm.getFile();
//retrieve the file name
String fileName = file.getFileName();
//retrieve the content type
String contentType = file.getContentType();
//retrieve the file size
String size = (file.getFileSize() + " bytes");
String data = null;
String location = null;
// the directory to upload to
String uploadDir =
servlet.getServletContext().getRealPath("/resources") + "/"
+ request.getRemoteUser() + "/";
//write the file to the file specified
File dirPath = new File(uploadDir);
if (!dirPath.exists()) {
dirPath.mkdirs();
//retrieve the file data
InputStream stream = file.getInputStream();
//write the file to the file specified
OutputStream bos = new FileOutputStream(uploadDir + fileName);
int bytesRead = 0;
byte[] buffer = new byte[8192];
while ((bytesRead = stream.read(buffer, 0, 8192)) != -1) {
bos.write(buffer, 0, bytesRead);
bos.close();
location = dirPath.getAbsolutePath()
+ Constants.FILE_SEP + file.getFileName();
//close the stream
stream.close();
// place the data into the request for retrieval on next page
request.setAttribute("friendlyName", name);
request.setAttribute("fileName", fileName);
request.setAttribute("contentType", contentType);
request.setAttribute("size", size);
request.setAttribute("data", data);
request.setAttribute("location", location);
//destroy the temporary file created
file.destroy();
//return a forward to display.jsp
return mapping.findForward("success");
===========================================================================================
i want to get second jsp file ie upload file to student file
if anybody know please tell i am new to java side
regards
rangaur not able to give solution
insted giving comment mind ur words being in software fied
commentting like bad words not good i warn u mind ur words -
Palm Desktop - combining 2 user views into 1 single view
I know the Palm Desktop was designed to allow multiple users to synchronize with one copy of Palm Desktop, each with discrete username areas. On the Palm Desktop, is there any way to combine the individual views of 2 users calendars into 1 view in order to see 1 combined calendar with both sets of appointments?
Post relates to: Treo 755p (Sprint)Hi, and welcome to the Palm Community Forums.
You can do that with the use of a third-party application called SyncUs. It allows multiple Palm OS devices with distince Hotsync IDs to share whichever databases you wish to share. I've never tried it, but it seems to get good reviews.
Post relates to: None
smkranz
I am a volunteer, and not an HP employee.
Palm OS ∙ webOS ∙ Android -
How to combine 4 angle shots into a single video clip
First of all, I am very much a novice in video editing and have yet to try Adobe Premiere.
I am working on a video project which will film a single subject from 4 different angles: front, back, left and right.
I would like to create a video clip which shows all 4 angle shots playing at the same time. Basically the video has 4 quadrants with each quadrant playing one of the angles.
Is this possible to do in Adobe Premiere? Any references or instructions?
Thanks.
DPI think that this link will reveal all.
http://tv.adobe.com/videos/multicam/ -
Combine select and update into single statement,without bind-variable
I have a problem, that I think is not possible to solve the way I want to, but I just wanted to check before leaving the idea...
I am looking for a way to combine the select and the update statement into one single statement. This is what I wan't to achive: select some data, and update the data selected before returning them.
On this site http://www.psoug.org/reference/update.html I see that the following are possible:
var bnd1 NUMBER
var bnd2 VARCHAR2(30)
var bnd3 NUMBER
UPDATE employees
SET job_id ='SA_MAN', salary = salary + 1000,
department_id = 140
WHERE last_name = 'Jones'
RETURNING salary*0.25, last_name, department_id
INTO :bnd1, :bnd2, :bnd3;
I need to have this as a single statement, and cannot use bind-variables. So I was hoping that something like this could be possible:
UPDATE customer c
SET c.HAS_CREDIT ='1'
WHERE c.HAS_CREDIT = '0'
RETURNING c.CUSTOMER_NO, c.FIRSTNAME, c.LASTNAME
where c.HAS_CREDIT = '1'
But this doesn't compile, complaining of missing into (ORA-00925: missing INTO keyword). And even though I would like this to be possible because this would solve my current problem, I think it would be very confusing. For instance; would the where clause of the returning part be operating after the update or before?
Any comments or suggestions on how to get it work in a single statement, or should I just leave this path straight away?Hi,
RETURNING only works with bind variables, see
http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14261/returninginto_clause.htm#sthref3006
The real problem is that the form of RETURNING clause with bind variables is only valid for single row update or insert statements.
To update (or insert) multiple rows and return the data, you will need to use
RETURNING BULK COLLECT INTO clause. See
http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14261/tuning.htm#sthref2236
Cheers,
Colin -
How to import 2 users in a single import command?
I created 3 users in a tablespace & exported 2 users seperately. How would i then import 2 users in a single import command?
I also tried exporting both the users to a single dump file ,both the users & its tables were exported successfully without any warnings. Then I tried importing the single file .
In this case only the tables in the 1st user is imported but the tables in the 2nd user does not get imported. No error messages.
What is the solution to this issue?Attach two subscren in that screen and call the transactions from the seperate subscreens.
Maybe you are looking for
-
I have a laptop and desktop can I sync my itunes to a master libary on a nas or my airport extream? this would be similar to syncing my devices to my imac (iPad, iPhonce, ect.)
-
It's an iPod touch 4S, white. I've tried on various computer types (windows, macs, and even a linux) and nothing. None of the computers even recognized a device being plugged in. I know it's not the cable, our other idevices use that one fine (I boug
-
External trackpad windows 8 problems
I know this has been discussed, but I'm having trouble finding the solution. I'm typing this on my external bluetooth keyboard and external trackpad on my Macbook Pro Retina. The things I can not do on my external trackpad right mouse two finger scro
-
Hello, been receiving this error in Desktop Admistrator Web admin. I have tried the fix where you change the environment variable path and delete the Team Admin folders, but still receive the error. Any ideas?? 7.0(1)SR04ES02_Build023 Thanks
-
I am getting the following error when trying to download the Free Adobe Reader: From HOST: Certificate Authentication Failed, please re-install to correct problem. Please assist asap. Kind regards, Terri