Inserting a Query into Portal

Hi All,
For the First time i got a chance to work on portal.
Now i need to insert a query into portal..Before that i want to know the whole process.
I have searched in SDN for this creteria...but found some different answers and i got bit confussed.
So requesting all to let me know the whole procedure that means
1.what are the settings to be done to execute the report through portal(Required Installations....etc)
2.How to insert a query into portal....
if any document is there which gives fundamental idea about portal and inserting query into portal , Please share with me.
regards
Saha

Hi Saha,
If you are executing queries on portal from role menu then in this case you need to change the URL of report in menu role. This can be done using transaction PFCG. Here you need to maintain the URL format which will point to the Java stack in portal.
if you are executing the reports on portal by clicking on the Infoarea where you can select queries by infoprovider, you need not to do any setting.
To execute report on portal you will need to have Business Intelligence role on portal.
Regards,Niraj

Similar Messages

  • How to insert a query into a NEW workbook ?

    Hi Friends,
    Could some one tell me how to insert a query into a new workbook? i am trying to run query in NW2004S BEx Query Designer, which always open the query on web when executed. i want to run the query in NW2004S BEx Query Designer and want it to open the result in Excell.
    If i am not wrong then to do the same, i need to embed the query into workbook. Correct me if i am wrong. If i am right then plzz tell me the steps to insert the query into workbook.
    Ur help will be rewarded in terms of points.
    Thanks,

    Hello,
    If you open the BEx Query Designer from the desktop, you cannot execute the query directly to the BEx Analyzer for an Excel view. You can only execute it directly to the Web. This is true for the SAP BW 3.x version as well as the SAP NetWeaver 2004s version.
    If you open the BEx Query Designer from within BEx Analyzer, once you select (or create) your query, you will have a green check mark icon that will then allow you to deploy the query directly to the BEx Analyzer for the Excel view.
    However, this would only make sense if you are creating or modifying the query. If not, you would simply open BEx Analyzer and use the Open Query option in this tool to see your query in an Excel format, as has been previously suggested by the other respondents to this posting.
    Regards,
    Katie Beavers
    SAP NetWeaver Product Management

  • How to save navigations of Query into Portal favorites?

    Hi,
      i  executed a query in the portal. i made some changes by navigating, drag & drop options ( added new fields, displayed attributes, removed 1 field for example).
    how to save this navigation into portal favorites? will it possible?
    if i save my query into Federated portal favorites, user can able see those later. is that true?
    thanks in advance.
    Regards,
    Nagesh Ganisetti.

    Hi Nagesh,
          Can you please explain how did u solve this issue. I am also facing same issue?
    Thanks and Regards
    Satish Arra

  • Inserting developed forms into portal

    What do I need to do to insert a form I build in forms developer into my portal? Please go step by step. Thanks a lot!!

    Mathew,
    if you simply link from portal to forms then the required trasks are simple in that you create a link in Portal and provide the Forms startup URL. In Oracle9i Forms, Forms and Portal share the same SSO scheme so that you are fine for that.
    If you like forms to be a Portlet within Portal, then there are quite some difficulties to be aware of:
    1. It seems that Portal doesn't pass the full HTTP header to Forms which means that Forms does not know about the Browser type your are using (as well as the language set on the client). This measn you have to configure the application to always use JInitiator (which works on both Browser types)
    2. Portal redirects the request making relative URLs fail. Make sure you use absolute URLs in the formsweb.cfg file (e.g. the serverURL parameter for the Forms Listener Servlet).
    3. In Forms9i, reloading a page does restart Forms and reloading a page is what Portal does all the time. Use the Java 1.4 Plugin instead of JInitiator and set the legacy parameter to make it behave like Forms6i. Note that the change in behaviour was added by SUN in Java.
    4. In Portal use the URL portlet from the JPDK to link Forms into Portal
    Actually from exoerience our recommendation still is to run Forms in an extra Window.
    Frank

  • Inserting a form into portal

    What do I need to do to insert a form I build in forms developer into my portal? Please go step by step. Thanks a lot!!

    1. Enable Forms SSO in the forms90/server/forms90.conf file
    (Uncomment the SSO directives available at last)
    Create Resource access configuration for the User also.
    2. In the Portals create an URL Item pointing to the Form you wanna deploy.
    3. Add the URL item portlet into the Portal page.

  • Mass Insert of Users into Portal

    I need to add approx 1100 portal users. Does any one have a suggestion on adding them via a script rather than one by one. The portal users appear to share a schema, so I expect that I have to do something different than adding them via the convential database method in SQL.
    Thanks Paul

    In case you would like to use public APIs instead of Oracle
    internal (and unsupported) ones, you can use the
    wwsso_api_user_admin.create_user
    to create the SSO users, then the
    wwsec_api.add_portal_user
    to create the portal users (the user must already exists at SSO
    level).
    In case you need to attach people to groups, you can also call
    the wwsec_api.add_user_to_list
    For setting the user default group, you should call the
    wwsec_api.set_defaultgroup
    To activate the user, then call the
    wwsec_api.activate_portal_user

  • Insert then query

    I have a small CFM application on our server. It worked well
    for several years. However, we just upgraded the coldfusion server
    and one item is not working.
    I used to have folks fill out a form. The data was inserted
    into the database. I would query the database on the same page in
    which I did the insertion and all was fine....every record was
    available.
    Now, however, when I query the database after the insertion,
    all records up to the lastest insertion are reflected. In other
    words, the page insertion data is not reflected in the query.
    However, the data is successfully inserted. (Inspection with other
    methods indicates the data was successfully inserted.)
    Here is a scaled down code snippet.
    <cfinsert datasource=#WList_DSN# tablename="Wait"
    formFields="Fname,
    Lname,
    Snumber,
    Course,
    Password,
    Phone,
    Email">
    <cfquery name="get_position" datasource=#WList_DSN#
    username=#WList_USERNAME# password=#WList_PASSWORD#>
    SELECT ID, Fname, Lname, Snumber, Phone, Email FROM Wait
    WHERE Course = '#form.Course#'
    ORDER by ID
    </cfquery>
    <html>
    <head>
    <title>Test Page</title>
    <body>
    <cfoutput query="get_data">
    #FNAME# #LNANE#<br>
    </cfoutput>
    </body>
    </html>
    #FNAME# and #LNAME# in the output show each record in the
    database except for the one just inserted. Is there a way to remedy
    this? I want to conduct the query on the same page as the
    insertion, if at all possible.
    Any help would be greatly appreciated.
    Thanks...

    Thanks guys. I had a feeling the database might be updating
    slowly so I placed a pause between the insert andf query. The code
    then performed like before. I have incorporated the somewhat
    awkward 5 second pause between insert and query into the final code
    and things are working okay.
    I'm amazed, though, that the software update took a near
    instantaneous database update and slowed it to a nearly 5 second
    update situation.

  • Inserting Multiple queries into a workbook

    Hi Friends,
    I have to insert multiple queries into a workbook and each query should be in a different worksheet of the work book.
    I have gone thru some of the SAP documentation, for example http://help.sap.com/saphelp_nw04/helpdata/en/3a/89883989676778e10000000a11402f/frameset.htm 
    In above link under the fatures section it says
    If you want to insert a query into the active workbook:
    Open a workbook and, from the BEx toolbar, choose Tools ® Insert Query.... The query is then inserted into the current worksheet starting at the active cell
    But when i chech in the tools under desig tools, i have lot of options like insert grid,insert checbox, radio button extc, but i dont have "Insert query".
    I am using BI7 Bex analyazer, The Only way i am able to insert a new query into a work sheet using BI7 is that first i have to design the work sheet but including design elemenst in my case i am using Grid. But this is not giving the correct display.
    Did anyone insert multiple queries in the same workbook? if you can you please let me know how did u acheive this?.
    Thanks in adv.
    Regards
    BN

    Hi Rajesh,
    Thanks for your response, but in BI7 Bex analyser you dont have the option of insert query from tools.
    Rather what i did is (maynot be the correct way), i have executed the query and saved it as work book and in the tools there is an option "copy Sheet". If you select this the same layout is copied to the 2nd sheet, there just change the assignment of design items to a new Dataprovider. Attach the new query to the new Dataprovider.
    It works for me, as of now
    But i have  questions regarding selection screen.
    1. In this work book i am embbeding 6 queries and each query individually has variables. When i execute the workbook i get the selection screen, in the selection screen all the common variables are shown in one grouping and other in a different grouping. Is this correct way of selection screen display?.
    2. I want to see the variable screen every time i open the work book, how can i acheive this?.
    Regards
    BN

  • How to insert multiple queries into a single worksheet of same dataprovider

    Hello friends,
    My question is same as this.I want to know how to create a single worksheet(workbook) embedded with multiple queries of same DATA PROVIDER with different VARIABLES assigned to each query.
    Please,send me the relevant steps.
    Regards,
    Mohan Chand Reddy A

    Hi,
    You need to create one query workbook and rest of the queries you can insert manually from Bex tool -
    insert query.
    You need to insert query by adding one more tab in the workbook.
    Keep in mind only one thing that variable ..if you are going to keep variable it will keep on popping up for user entry in it.
    So try to have common variable in the first query and then those value needs to get fed into other query variable as they are running so without any user entry while execution we can see results in all the queries in the workbook.
    If you want to insert a query into a new workbook:
    Choose the symbol for Open...from the BEx toolbar. This brings you to the screen Open SAP BEx:
    Select Queries from the left column.
    Select a query from all those available. The queries are arranged according to InfoProviders.
    Double-click on the required query or choose OK.
    If you want to insert a query into the active workbook:
    Open a workbook and, from the BEx toolbar, choose Tools ® Insert Query.... The query is then inserted into the current worksheet starting at the active cell.
    If you want to insert a query into a workbook template:
    Create a workbook template.
    Insert the query into the workbook template.
    Thanks and regards
    Kiran

  • Insert or copy query into workbook 7.0

    How Can I copy a query into a workbook with new Analyzer 7.0 ?
    In the old version (Analyzer 3.x), I can choose Tools->Insert (or copy) query.
    How Can I do the same with Analyzer 7.0 ?
    Thanks

    Hi,
    .) Open the analyser and connect to the BI system,
    .) open an empty excel
    .) switch to design mode (first icon on second task menu)
    .) insert a table (second icon on second task menu)
    .) select the query
    and so on...
    BR
    /C

  • Insert query into workbook

    Hi experts,
    when i try to insert query into a workbook i get the following error message
    <internal error> Receiving from the BW server failed BW server raised exception: SYSTEM_FAILURE Do you want to see more information?
    when i click yes i get
    No roll storage space of length 3600 available for OCCURS area.
    Further the error reads
    Error Gruop
    RFC_ERROR_SYSTEM_FAILURE
    Message
    No roll storage space of length 3600 available for OCCURS area.
    I would appreciate if someone could give me a quick way to reslove this issue..
    Thnaks
    DAVE

    Thanks Abdul,
    May i know why this error occurs??
    thanks
    Dave

  • Inserting results from select query into another table

    Hi: Is there a way to insert results returned from a SQL query into another table within the same SQL statement.
    For example
    SELECT a.SRCID,
    SUM(DECODE(a.CLASS_ID,91147,1,0)) BLOCK,
    SUM(DECODE(a.CLASS_ID,91126,1,0)) ALLOW,
    FROM EVENT_DATA a
    where
    a.class_id in (91147,91126)
    GROUP BY SRCID
    order by TOTAL DESC;The columns returned SRCID, BLOCK and ALLOW need to go into another table called AGGREGATE_COUNT. This table has fields SRCID, BLOCK and ALLOW. Or is the only way this can be done from outside of SQL like using perl or C.
    Thanks
    Ray

    INSERT INTO aggregate_count
         ( chart_id
         , srcid
         , block
         , allow
    SELECT 2234  chart_id
         , srcid
         , SUM(DECODE(class_id, 91147, 1, 0))
         , SUM(DECODE(class_id, 91126, 1, 0))
      FROM event_data
    WHERE class_id IN (91147, 91126)
    GROUP BY chart_id, srcid
    ORDER BY total DESC;

  • Using Cursor and FOR LOOP to INSERT the data into table

    Hi all,
    I have SELECT statement that returns 3 rows:
    PROCESSNAME
    PROTDATE
    IMM
    2013-12-18
    Metrology
    2013-11-18
    CT
    2013-12-04
    SELECT  processName, MAX(NVL(protStartDate, protCreateDate)) AS protDate
        FROM TABLE(SEM_MATCH("{
                ?ipc rdf:type s:Protocol .
                ?ipc s:protocolNumber ?protNum .
                ?ipc s:protocolCreateDate ?protCreateDate .
                OPTIONAL {?ipc s:protocolSchedStartDate ?protStartDate }
                ?ipra rdf:type s:ProcessAggregate .
                ?ipra s:hasProtocol ?iprot .
                ?iprot s:protocolNumber ?protNum .
                ?ipra s:processAggregateProcess ?processName.
        }",sem_models("PROTS", "LINEARS"),NULL, SEM_ALIASES(SEM_ALIAS("","http://VISION/Data/SEMANTIC#"),SEM_ALIAS("s","http://VISION/DataSource/SEMANTIC#")),NULL))
            Group by processName
    Now I need to INSERT these values into the table along with the other values.
    these other values come from different table.
           INSERT INTO MODEL_CLASS_COUNTS (MODEL_NAME, CLASS_NAME, INS_COUNT, COUNT_DATETIME, PROCESS_NAME, PROT_DATE)
           VALUES
           ("$MODEL",     
                "${i}",
            (SELECT COUNT (DISTINCT S)  FROM TABLE(SEM_MATCH(
                            "{?s rdf:type :${i} . }",SEM_Models("$MODEL"),NULL, SEM_ALIASES(SEM_ALIAS("","http://VISION/DataSource/SEMANTIC#")),NULL))),
             SYSTIMESTAMP, %%here need to insert PROCESSNAME, PROTDATE%%
    t was giving me error:
    PL/SQL: ORA-22905: cannot access rows from a non-nested table item
    so i enclosed sparql query into single quotes.
    The code is as follows:
    declare
    type c_type is REF CURSOR;
    cur c_type;
    v_process varchar2(200);
    v_pdate varchar2(200);
    begin
    open cur for
           ' SELECT processName,  MAX(NVL(protStartDate, protCreateDate)) AS protDate   <-- it's complaining about this being too long identifier, i think...
            FROM TABLE
              (SEM_MATCH (
                            ?ipc rdf:type s:Protocol .
                            ?ipc s:protocolNumber ?protNum .
                            ?ipc s:protocolCreateDate ?protCreateDate .
                            OPTIONAL {?ipc s:protocolSchedStartDate ?protStartDate }
                            ?ipra rdf:type s:ProcessAggregate .
                            ?ipra s:hasProtocol ?iprot .
                            ?iprot s:protocolNumber ?protNum .
                            ?ipra s:processAggregateProcess ?processName.
                        }",SEM_Models("XCOMPASS", "XPROCESS"),NULL,    
              SEM_ALIASES(SEM_ALIAS("","http://VISION/Data/SEMANTIC#"),
              SEM_ALIAS("s", "http://VISION/DataSource/SEMANTIC#")),NULL))
               Group by processName';  
    loop
    fetch cur into v_process, v_pdate;
    exit when cur%NOTFOUND;
    --here I need to insert v_process , v_pdate into my table along with other values...
    dbms_output.put_line('values for process and prod_date are: ' || v_process || v_pdate );
    end loop;
    close cur;
    end;
    exit;
    Now, I get an error:
    ORA-00972: identifier is too long
    Does anyone know way around this?

    Hi,
      I tested something similar with insert into select  and it worked fine :
    insert into t_countries(ID,CITY ,POPULATION, DESCRIPTION, located, insdate )
    SELECT 1 id, city, o , city||' is a nice city' description,  max(nvl(locatedAt,'unknown')) as located,
      SYSTIMESTAMP
      FROM TABLE(SEM_MATCH(
        '{GRAPH :gCH {<http://www.semwebtech.org/mondial/10/countries/CH/> :hasCity ?cityID .
           ?cityID :name ?city .
           OPTIONAL{?cityID :locatedAt ?locatedAt .}
           ?cityID :population ?o .
        SEM_Models('VIRT_MODEL_MONDIAL'),
        SEM_Rulebases(null),
        SEM_ALIASES(SEM_ALIAS('','http://www.semwebtech.org/mondial/10/meta#'),
        SEM_ALIAS('prv','http://www.semwebtech.org/mondial/10/countries/CH/provinces/')
        null))
        group by city,o
        order by city;
    Or with execute immediate :
    declare
      v_country varchar2(200) :='http://www.semwebtech.org/mondial/10/countries/F/';
      v_text varchar2(2000);
    begin
    v_text := 'insert into t_countries(ID,CITY ,POPULATION, DESCRIPTION, located, insdate )
    SELECT 1 id, city, o , city||'' is a nice city'' description,  max(nvl(locatedAt,''unknown'')) as located,
      SYSTIMESTAMP
      FROM TABLE(SEM_MATCH(
        ''{<'||v_country||'> :hasCity ?cityID .
           ?cityID :name ?city .
           OPTIONAL{?cityID :locatedAt ?locatedAt .}
           ?cityID :population ?o .
        SEM_Models(''VIRT_MODEL_MONDIAL''),
        SEM_Rulebases(null),
        SEM_ALIASES(SEM_ALIAS('''',''http://www.semwebtech.org/mondial/10/meta#'') ),
        null))
        group by city,o
        order by city';
        dbms_output.put_line(v_text);
        delete from t_countries;
        execute immediate v_text ;
        commit;
    end;
    Marc

  • How do I insert multiple values into different fields in a stored procedure

    I am writing a Stored Procedure where I select data from various queries, insert the results into a variable and then I insert the variables into final target table. This works fine when the queries return only one row. However I have some queries that return multiple rows and I am trying to insert them into different fields in the target table. My query is like
    SELECT DESCRIPTION, SUM(AMOUNT)
    INTO v_description, v_amount
    FROM SOURCE_TABLE
    GROUP BY DESCRIPTION;
    This returns values like
    Value A , 100
    Value B, 200
    Value C, 300
    The Target Table has fields for each of the above types e.g.
    VALUE_A, VALUE_B, VALUE_C
    I am inserting the data from a query like
    INSERT INTO TARGET_TABLE (VALUE_A, VALUE_B, VALUE_C)
    VALUES (...)
    How do I split out the values returned by the first query to insert into the Insert Statement? Or do I need to split the data in the statement that inserts into the variables?
    Thanks
    GB

    "Some of the amounts returned are negative so the MAX in the select statement returns 0 instead of the negative value. If I use MIN instead of MAX it returns the correct negative value. However I might not know when the amount is going to be positive or negative. Do you have any suggestions on how I can resolve this?"
    Perhaps something like this could be done in combination with the pivot queries above, although it seems cumbersome.
    SQL> with data as (
      2        select  0 a, 0 b,  0 c from dual   -- So column a has values {0, 1, 4},
      3  union select  1 a, 2 b, -3 c from dual   --    column b has values {0, 2, 5},
      4  union select  4 a, 5 b, -6 c from dual ) --    column c has values {0, -3, -6}.
      5  --
      6  select  ( case when max.a > 0 then max.a else min.a end) abs_max_a
      7  ,       ( case when max.b > 0 then max.b else min.b end) abs_max_b
      8  ,       ( case when max.c > 0 then max.c else min.c end) abs_max_c
      9  from    ( select  ( select max(a) from data ) a
    10            ,       ( select max(b) from data ) b
    11            ,       ( select max(c) from data ) c
    12            from      dual ) max
    13  ,       ( select  ( select min(a) from data ) a
    14            ,       ( select min(b) from data ) b
    15            ,       ( select min(c) from data ) c
    16            from      dual ) min
    17  /
    ABS_MAX_A  ABS_MAX_B  ABS_MAX_C
             4          5         -6
    SQL>

  • How To Insert A object into Conext

    Hi Techies,
    I have 8 tables in my designer
    and I have two contexts at designer level
    And how to insert a object into a context that is not referencing any table.
    For Example I have an object like "rownum" (Which should must be added at Universe level only not at report level). Here this object is not referencing any table and I want this to be used in a query where the remaining objects are coming from the context..
    Thanks in Advance..

          Double-click the Objects and click the TABLES button and select the table you want to associate the object to for the context to work properly (see below).
    Regards,
    Ajay

Maybe you are looking for

  • How to connect HP Pavilion to HD TV as monitor

    Bought an HP Pavilion P6204Y approx Dec 2009. Would like to attach the PC to my Panasonic TV as it's monitor (just got rid of cable). PC only has VGA & S out. TV only has S and HDMI in. YouTube says to use DVI to HDMI. Can I add DVI to this PC or am

  • Query on PO report

    Hi Experts! I have one query.. Is there a report which can provide us with the following: -All POs for over £1000 raised between a range of dates     -The PO Numbers     - The Value of the PO     - Vendor Name and Number     - Who raised the orders  

  • I have the most recent/current version of firefox, but my gmail says I do not. Please help!

    I have version 19.0, but when I try and open out gmail, it keeps sayting we do not have the lates browser and to please update it. I HAVE the latest firefox. The same thing happens when we try and open our msn mail as well

  • Transfering VHS & 8mm to disk - .avi, .mpg. or whatever

    Looking to transfer old tapes to .avi files or Xvid, or .mpg from VHS and 8mm tapes. Not professional grade, I just have some old shows like New Yankee Workshop that I taped and I want to compress them and dump them to disk. I want small files, not f

  • IOS 5 breaks app store

    When I upgraded to iOS5 it insisted I add an email domain to my apple ID and now when I access App store I get a blank page. Is there a fix for that