Workbook using the two queries

hi
can we insert two queries in a single workbook, how to accomplish this !
if some workbook is using the two queries how can we verify this.

Hi Sun,
To have more than one query in the same workbook,you can just do this.
Goto Business Explorer --> Analyser > Open the first query and  click on Business Explorer>Tools and select the option " Insert Query" .
Hope this works.Assign points if it is helpful
Regards,
Balaji
Message was edited by: balaji vijayakumar

Similar Messages

  • How to create an excel workbook using the excel toolkit

    I've starte working with the excel toolkit combined with the GOOP toolkit. After finding out that the GOOP Toolkit apparently has problems working with LabView 5, with which I developed my application, I changed to LabView 6. My first step was to open an existing excel workbook. Here I was successful. On the other hand I could not create a workbook using the excel open vi. Did I miss something?

    "Goyo" wrote in message
    news:50650000000800000060510000-1023576873000@exch​ange.ni.com...
    > I've starte working with the excel toolkit combined with the GOOP
    > toolkit. After finding out that the GOOP Toolkit apparently has
    > problems working with LabView 5, with which I developed my
    > application, I changed to LabView 6. My first step was to open an
    > existing excel workbook. Here I was successful. On the other hand I
    > could not create a workbook using the excel open vi. Did I miss
    > something?
    There's an input to the excel open that chooses "open workbook from file" or
    "open new workbook" which should do it. Unless you meant 'worksheet' in
    which case there is another function in the tookit to do that.

  • My iPad suddenly started to show crazy colors.  I turned it off and had to use the two button trick to turn it back on.  Now it shows only green stripes for a few seconds and goes back to sleep.

    My iPad suddenly started to show crazy colors.  I turned it off.  It would not reboot until I used the two-button reboot.  Now it shows only green stripes.  only for a few seconds and goes back to sleep.  HELP!

    Standard troubleshooting...
    1. Try a Restart by pressing the sleep/lock button until you see the slider.  Slide to power off.  Restart by pressing the sleep/lock button until you see the Apple logo.
    2. Try a Reset by pressing the home and sleep buttons until you see the Apple logo, ignoring the slider if, it comes up. Takes about 5-15 secs of button holding and you won't lose any data or settings.
    3. Remove all apps from Recently Used list...
    - From any Home Screen, double tap the home button to bring up the Recents List
    - Tap and hold any icon in this list until they wiggle
    - Press the red to delete all apps from this list.
    - Press the home button twice when done.
    4. If still a problem restore with your backup.
    5. If still a problem restore as new, i.e. without your backup. See how it runs with nothing synced to it.
    6. If still a problem, it's likely a hardware issue.

  • How should i use the two results sets in one single report data region?

    Hi frnz,
     I have to create a report using the below condition...
    Here my given data  set query gives you the two result sets ,so how should i use that two result sets information in single report....when i accessing that data set query it will take the values off the first result set not for the second result set.
    without using sub report and look up functionality..... if possible
    is there any way to achieve this.....Please let me know..
    Thanks!

    You cant get both resultsets in SSRS. SSRS dataset will only take the first resultset
    you need to either create them as separate queries or merge them into a single resultset and return with ad additional hardcoded field which indicates resultset (ie resultset1,resultset2 etc)
    Then inside SSRS report you can filter on the field to fetch individual resultsets at required places. While merging you need to make sure metadata of two resultsets are made consistent ie number of columns and correcponding column data types should be same.
    In absence of required number of columns just put some placeholders using NULL
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Problem of displaying data using the two RFMs

    Hi All,
    I have an application:
    a) Displaying of table using  BAPI1
    b) Updating the same table and returning the status whether the updation was successful or not.
    for this we have two BAPIs:
    1. BAPI 1: Two import parameters are imported and some  export parameters are displayed.
    2.BAPi 2 : In this rows under the export parameters of BAPI 1 become the import parameters and they update the table and Flag returns the value whether its successful or not?
    I have done the first part of displayin the table.
    How should i update the table in second scenario as i have to use the rows under the export parameters as import parameters?
    Any suggestions on this
    Thanks in advance
    Srikant

    Hi
       So you are able to execute the first BAPI and get the results in a Table say TABLE1.
    Now you want to pass the values in Table1 as Import parameters to BAPI2.
    If that is the case then do the following.
    After you execute BAPI1 and fill TABLE1 with values.
    Loop the table1 and pass the values to BAPI2 as import parameters. Note that in BAPI2 if you are passing multiple values then your import parameter must be declared under the Table Parameter Tab in the RFC.
    Hope that is what you are looking for.
    Let me know if you require any other clarifications.
    regards
    ravi

  • Scheduling workbooks using the command line

    Hi, can anyone tell me if it's possible to schedule workbooks in Discoverer using the command line interface? If so, could you point me in the direction of any relevant documentation?
    We've got 300+ reports to schedule on a regular basis and it would be useful if we had different options to schedule the workbooks e.g. for batch processing.
    Thanks and regards
    Geoff Butler

    Inspired by your MacOS fix, I went looking to see if their was an easier Windows fix than my 'Repair Bonjour' process. Turns out there might be.
    In the Bonjour 'Program Files' folder, there is an application named 'mDNSResponder.exe' which brings up a DOS dialog. After running this application and then opening iTunes, I had a stable AppleTV-iTunes connection through the evening until I put my computer to sleep.
    I haven't done any thorough testing around this (the kind that Apple should have done before releasing iTunes 7.6), but it does seem to at least temporarily resolve the issue until iTunes is closed again. What would be nice is if this works without having to restart a faulty iTunes session (which the 'Repair' fix doesn't).

  • How do I simultaneo​usly measure two frequencie​s using the two counters on a CompactDAQ chassis?

    I am using two encoders as speed wheels to compare two different speeds simultaneously.  I have the encoders connected to the two counter inputs of my CompactDAQ chassis using NI 9423 cards in order to measure the frequencies produced be each and then I convert that data into speed.  How do I efficiently measure these frequencies simultaneously?  I say efficiently because the only way I can get it to work right now is to create a task for the first encoder, gather my frequency data, clear the task for that encoder and then move onto the next.  This is a slow process and therefore the measurements are not exactly simultaneous.  If I try to measure them simultaneously I get resource errors.

    Hey Kevin,
    Thank you for the information. The cDAQ-9172 has two counters on the chassis itself.  There are no counters on the actual module.  What this means is when you access Counter 0 using a module in slot5 (for example), you are actually accessing Counter 0 on the backplane of the chassis.  This is why you are getting the resource is reserved error.  If you have the other input frequency connected to the second counter of the chassis, you just need to access it using Counter 1 instead of Counter 0.
    In your code, for the Counter 2 input, you have "cDAQ1Mod6/ctr0".  If you just change that to "cDAQ1Mod6/ctr1", this will get rid of your "resource is reserved error.  Also, to get both your tasks to be a little more closely synchronized, you should probably use a sequence structure to be sure that they start together. In the code below, I have used two seperate counters on two different modules and synchronized them.  If you are using the same module you would just need to change the counter inputs to represent the two different counters on the same module.
    Hope that helps.
    Regards,
    Message Edited by Raajit L on 04-02-2007 11:00 AM
    Raajit L
    National Instruments
    Attachments:
    Counter Parallel Tasks.jpg ‏66 KB

  • How to join the two queries

    select itm.inventory_item_id "Item#",itm.segment1,itm.description,qty.SUBINVENTORY_CODE as SHI,
    sum(qty.primary_transaction_quantity) "On Hand Qty"
    from MTL_ONHAND_QUANTITIES_DETAIL qty,
    mtl_system_items itm
    WHERE itm.inventory_item_id=qty.inventory_item_id
    and itm.ORGANIZATION_ID=qty.ORGANIZATION_ID
    and qty.SUBINVENTORY_CODE IN ('ITC-8888', 'ITC-9999')
    and trunc(qty.last_update_date) <=:P_DATE_FROM
    AND trunc(SYSDATE) >=:P_DATE_TO
    group by qty.SUBINVENTORY_CODE,itm.inventory_item_id,itm.segment1,itm.description;
    select distinct SUBSTR( kmt.tag_number, 1,6), fa.model_number from kfupm_mcr_tag kmt, fa_additions fa
    where kmt.TAG_NUMBER =fa.TAG_NUMBER ;
    and fa.model_number is not null;
    union all is not working.
    Regards
    Arifuddin

    While using the set operators, to match the number of columns in the SELECT list you can make use of NULL as:
    SELECT COL_NAME1,COL_NAME2,COL_NAME3
    FROM TAB_NAME1
    UNION
    SELECT COL_NAME1,COL_NAME2,NULL
    FROM TAB_NAME2The columns in the both SELECT lists should be same and also the datatype. The resultant of the query will be the columns of first SELECT list (column aliases)

  • Why can't I change the size of the page using the two finger pinch method on my touchscreen computer when using firefox. it works with explorer. thanks

    I should be able to adjust the screen size using two fingers. It works with explorer but not with firefox. Is there a setting I need to adjusrt. Thank You

    Please [https://support.mozilla.com/en-US/questions/900198 see this.]

  • Can't use the two finger span to enlarge the images on the screen on my macbook pro

    the macbook preo allows you to enlarge what is on the screen by spreading two fingers away from each other on the touch pad. The new ,ozilla firfox does not allow this to happen! When I could use it and enlarge type or a page to see better.

    Some gestures have been removed in Firefox 4.
    You can restore the zoom feature by changing the values of the related prefs on the <b>about:config</b> page.
    browser.gesture.pinch.in -> <b>cmd_fullZoomReduce</b>
    browser.gesture.pinch.in.shift -> <b>cmd_fullZoomReset</b>
    browser.gesture.pinch.out -> <b>cmd_fullZoomEnlarge</b>
    browser.gesture.pinch.out.shift -> <b>cmd_fullZoomReset</b>
    browser.gesture.pinch.latched -> <b>false</b>
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • My battery is down to 10%. I have tried everything to re-set. It keeps on showing that it is charging and 10%. I have had it plugged in overnight... I have turned it off -- used the two switches together -- nothing seems to work. What should I do next?

    How do I get my iphone to charge and not be stuck on 10% battery?
    I have tried turning it off, turning it off with holding down both switches, charging it on different places for hours and now have it hooked up charging on my computer.

    Create a backup then restore the device as new, and test the issue.
    iOS: How to back up your data and set up your device as a new device - http://support.apple.com/kb/ht4137

  • I am having problems with my iPhone 4 with connecting. It shows Searching? I was told turn off using the two buttons and let it come back on by it's self. Doesn't help very much.

    Having trouble with my iPhone 4 connecting. It will say searching but have tried the suggestions that was given that I press both buttons and let it shut itself off but still having problems. Any suggestions?

    Is it a wi-fi or cellular connection that isn't working?  If its wi-fi and other people/computers/phones can connect check your settings.  If its cellular, are other people's phones (on the same carrier) working in the same location? If other people can't connect then it is likely a network problem.  If others can you may need to reset/restore you iPhone.

  • Requirement wherein I want to call two queries in parallel using ABAP Prg

    We are using RSCRM_BAPI to run a query in background and write the results to a table. We later read this table and create a file. I have a requirement u2013 wherein I want to call two queries in parallel using an ABAP program.
    For our discussion assume:
    1) Program : ZCALL_RCRMBAPI  is a program that calls RSCRM_BAPI in background and takes the query name as input
    2) Program: ZMAIN_PROGRAM  this is the main program
    The requirement is to call the ZCALL_RCRMBAPI in a loop. Also within the loop call it in parallel. Basically we have an ODS that stores ; FISCPER. So I call the two queries for a list of FISCPER.
    ZMAIN_PROGRAM - A program that reads a table (ODS ) in our case and call the two programs in a loop and both should run in parallel .
    Now if it was sequential u2013 it was easy u2013 I would just say
    Loop at L_T_FISCPER .
    Update Z_FISCPER with L_T_FISCPER-FISCPER u201C Assume Z_FISCPER is a Z table . The VARIABLE in the query Q1 and Q2 use a customer exit to read this table.
    A)       SUBMIT ZCALL_RCRMBAPI with P_QUERy = Q1 and return .
    B)      SUBMIT ZCALL_RCRMBAPI with P_QUERy = Q2 and return .
    Endloop .
    Question: How do I make these calls in parallel u2013 yet retain control in the main program?
    A)       SUBMIT ZCALL_RCRMBAPI with P_QUERy = Q1 and return .
    B)      SUBMIT ZCALL_RCRMBAPI with P_QUERy = Q2 and return .

    Instead of RSCRM BAPI you can use the RRW3_QUERY_VIEW_DATA function module for greater control over program execution...
    /people/arun.varadarajan/blog/2009/07/29/make-the-most-out-of-query-execution--part-1
    will give you pointers as to how this can be done...

  • Comparing two queries with VBA macro

    Hi,
    I have a workbook woth 2 sheets. Every sheet has a BEx query (so 2 queries).
    I need, for every column in the first query, to check if it is present in the second query, to generate a list with the NOT PRESENT values (or simply, marking the not present values).
    I tried with Searching excel functions by column, but every query hs more that 30.000 rows, so it takes a long time.
    I think I have to use an excel macro. I have been lookong for in the forum but my doubt is that I have to execute when the two queries has been refreshed.
    How can I know when the two queries has been refreshed?
    Is there any other way to do it?
    Any idea of how to reference a query from the other?
    I think the code shoud be in this way:
    for every row in the first colum of 1st query
    look in every row in the first column of 2nd query
    mark in first query if not present.
    If I put the macro in 1st query, how can I reference the 2nd one?

    Hi Oscar, there are several ways to do this.
    The easiest way would be:
    1.  in the SAPBEXonRefresh subroutine (which you will find in the SAPBEX Module attached to your query-containing workbook), add code that looks something like this:
    Set ws = resultArea.parent
    if ws is nothing then exit sub
    resultArea.name = ws.codename & "_results"
    ws.Range("D2") = Date
    if queryID = "SAPBEXq0002" then Call CompareQueries(queryID)
    'make the query ID that of the second query
    This will create named ranges in Excel so that you can easily locate the result tables later.  And, ensure that you know the date that each query was refreshed.  And, after the second query is refreshed, it will call your query comparison routine.
    2.  In the comparison routine, you will need something like this:
    set ws1 = Query1 'assuming that you have set the code name of the first query sheet as Query1
    set ws2 = Query2 'assuming that you have set the code name of the second query sheet as Query2
    'set ranges for the two result tables
    set Range1 = ws1.codename & "_results"
    set Range2 = ws2.codename & "_results"
    'locate first and last Row and Column for result tables
    firstRow1 = Range1.cells(1).row
    firstCol1 = Range1.cells(1).column
    numCells = Range1.cells.count
    lastRow1 = Range1.cells(numCells).row
    lastCol1 = Range1.cells(numCells).column
    'do same for Range2
    'locate the columns you want to compare
    searchCol = 0
    for j = firstCol1 to lastCol1
        if cells(firstRow1, j) like "some text here" then
            searchCol = j
            exit for
        end if
    next j
    if searchCol = 0 then
        msgbox "Did not find ""some text here"".", vbCritical
        exit sub
    Else:
        set SearchRange = ws1.cells(1, searchCol).entireColumn
    end if
    for j = firstCol2 to lastCol2
        if cells(firstRow2, j) like "some text here" then
            searchCol = j
            exit for
        end if
    next j
    'do the search
    for i = firstRow2 to lastRow2
        searchFor = cells(i, searchCol)
        matchRow = 0
        on error resume next
        matchRow = Application.worksheetfunction.match(searchFor, SearchRange, 0)
        if matchRow > 0 then
            cells(i, lastCol2+1) = "match found on row " & matchRow
        Else:
            cells(i, lastCol2+1) = "NOT PRESENT"
        End if
    next i
    - Pete

  • Formulas in Workbook causing the Workbook to open very slowly

    Hi Everyone,
                       I have a very long pending issue fro our users. We have a workbook which has two queries inserted.  And there is a Formula which is hardocded up to 5000 rows. And due to thiis workbook is opening  very slolwly.
    The Formulas is
    =IF(BExGetData($X$3,$X$6,$B13,$X$4,$X$5,$G13,W$11,W$12)="#NV",,BExGetData($X$3,$X$6,$B13,$X$4,$X$5,$G13,W$11,W$12))
    The above formula replaces #NV value with a blank  and then if there is any other value  apart from #NV, then it calculates a different value in the back end. Since the business , does not know  howmany rows of data comes, so he hardcoded the formula for 5000 rows as this is the maximum count.
    Can anyone please provide a solution to avoid so many hardcoded formulas and have an alternative using some macross.
    Please feel free to ask questions?
    Regards,
    A

    Any ideas on this.............. This is a IP  Workbook . Basically  the formualas are written to 5000 times in the workbook to perform those functions. So, when there are no 5000 rows of records, then also formulas are calculated. Is there any way to write a Macros for the same and  include the formula once in the  Workbook and loop itusing macros code. And this loop should work for the no.of rows that are present in the workbook. may be 1 rowto 5000 rows and so on.
    Regards,
    A

Maybe you are looking for

  • My MacBook Pro is suddenly running very slow

    I am running Lion and updated to the Safari 5.2.1 last month. About two weeks ago, when I woke up my MBP it started taking about two minutes to locate the WiFi signal (which used to be up and running in a few seconds.) Whatever I try to click on take

  • HP Laserjet 4 plus not working with Powerbook G4 & 10.5.8

    I have been using a Powerbook G4 running 10.4.11 with a HP Laserjet 4 plus without any problems. Last week I updated my G4 to 10.5.8. To acheive this, I purchased a full retail 10.1 DVD from Ebay installed it then updated to 10.5.8 using Apples Updat

  • ADF Faces & BC: How to perform dynamic navigation.

    Here is the setup: Page 1 allows the user to enter a id Page 2 and 3 is either a update or insert depending on the id. The logic to figure out the insert or update operation is within a method in the AM. I have bound this method on a button in Page 1

  • Group Policy not Applying

    Currently we are running ZfD 7 and Netware 6.5 and have recently upgraded all our workstations to Windows XP Service Pack 2. Our tree structure consists of an OU for each school level, elementary, middle, and high, and an OU for each school in that r

  • Creating a print template

    I am considering purchasing Photoshop elements but have one problem.  I like to print photo album sheets from home on 8.5x11" paper in portrat orientation with about 9 dfferent photos per sheet.  I can't find any way to resize/reorient the photobook