Dispalying documents in the Query

Hi,
I am in a situation where I need to display the content of the documents in the columns of the BEx Report, right now I have given the link to the document in the query result.
Please let me know if it is feasible and how it can be achieved.
Thanks in advance,
Manish

Manish,
Table exit is a user exit in the table web item. It is quite complicated to implement. Don't have to much details on the implementation of it though.
A BSP application is not too difficult to do. BEx is also a BSP application in a way and cannot be changed.
Why not use the standard document web item object to call up the documents in a separate window. Logically displaying the contents of a document as one of the columns does not make sense, espcially in the data warehousing world. BW solution to documents is to store them with the relevant characteristics and then call up the doc in a separate window.
Cheers
Aneesh

Similar Messages

  • Printing few documents from the query results

    Hi,
    I need to add a new functionality of marking few documents from the search results and print them (the web viewable files (PDFs in most cases)).
    We are working with UCM 10g.
    Is there any OOTB solution for printing via content server? is it available for batch of documents?
    Any suggestions for solution are welcome.
    Thanks In advance ,
    Nir

    Is there any OOTB solution for printing via content server? is it available for batch of documents? To my best knowledge, no. Oracle has some products in its application stack to support printing. I think one of them was called Documaker.

  • EHP4-Appraisal document: how the query is defined?

    hi gurus,
    i am studying the new appraisal features in ehp4.
    i 'd like to know how the appraisal document query is defined for MSS and ESS.  I know from online help, that is linked to a worklist setting ,but i can not find anyclue on where the worklist is given for the iview.
    and i 'd like to know what is the reason why sap uses WORKLIST instead of OADP, they look similar to me.
    best regards.
    jun

    Hello Tiberiu,
    Have you tried to change the element access for the appraisee for this particular element (tab 'emelent access' in the criteria maintenance).
    Regards
    Nicole

  • Need help in highlighting the query text in document

    Hi, I am trying to load the files in the blob column and trying to create the text index on it.
    i need to query the blob column in the document table with a string, which needs to return the relevant documents with the query string highlighted with some color.
    Can you please help me with an example on the above.
    Thanks in advance.

    SCOTT@orcl_11gR2> -- table:
    SCOTT@orcl_11gR2> CREATE TABLE document_tab
      2    (document_col  BLOB)
      3  /
    Table created.
    SCOTT@orcl_11gR2> -- procedure to load documents:
    SCOTT@orcl_11gR2> CREATE OR REPLACE PROCEDURE load_document
      2    (p_dir  IN VARCHAR2,
      3       p_file IN VARCHAR2)
      4  AS
      5    v_blob       BLOB;
      6    v_bfile       BFILE;
      7  BEGIN
      8    INSERT INTO document_tab (document_col)
      9    VALUES (EMPTY_BLOB())
    10    RETURNING document_col INTO v_blob;
    11    v_bfile := BFILENAME (UPPER (p_dir), p_file);
    12    DBMS_LOB.FILEOPEN (v_bfile, DBMS_LOB.LOB_READONLY);
    13    DBMS_LOB.LOADFROMFILE (v_blob, v_bfile, DBMS_LOB.GETLENGTH (v_bfile));
    14    DBMS_LOB.FILECLOSE (v_bfile);
    15  END load_document;
    16  /
    Procedure created.
    SCOTT@orcl_11gR2> SHOW ERRORS
    No errors.
    SCOTT@orcl_11gR2> -- load documents (directory and files must be on server, not client):
    SCOTT@orcl_11gR2> CREATE OR REPLACE DIRECTORY my_dir AS 'c:\my_oracle_files'
      2  /
    Directory created.
    SCOTT@orcl_11gR2> BEGIN
      2    load_document ('my_dir', 'banana.pdf');
      3    load_document ('my_dir', 'english.doc');
      4    load_document ('my_dir', 'sample.txt');
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> -- confirm files were loaded:
    SCOTT@orcl_11gR2> SELECT DBMS_LOB.GETLENGTH (document_col)
      2  FROM   document_tab
      3  /
    DBMS_LOB.GETLENGTH(DOCUMENT_COL)
                              222824
                               22016
                                  60
    3 rows selected.
    SCOTT@orcl_11gR2> -- text index:
    SCOTT@orcl_11gR2> CREATE INDEX document_idx
      2  ON document_tab (document_col)
      3  INDEXTYPE IS CTXSYS.CONTEXT
      4  /
    Index created.
    SCOTT@orcl_11gR2> -- confirm files were indexed:
    SCOTT@orcl_11gR2> SELECT COUNT(*) FROM dr$document_idx$i
      2  /
      COUNT(*)
           319
    1 row selected.
    SCOTT@orcl_11gR2> -- function to return highlighted document:
    SCOTT@orcl_11gR2> CREATE OR REPLACE FUNCTION your_markup
      2    (p_index_name IN VARCHAR2,
      3       p_textkey    IN VARCHAR2,
      4       p_text_query IN VARCHAR2,
      5       p_plaintext  IN BOOLEAN  DEFAULT TRUE,
      6       p_tagset     IN VARCHAR2 DEFAULT 'HTML_DEFAULT',
      7       p_starttag   IN VARCHAR2 DEFAULT '*',
      8       p_endtag     IN VARCHAR2 DEFAULT '*',
      9       p_key_type   IN VARCHAR2 DEFAULT 'ROWID')
    10    RETURN          CLOB
    11  AS
    12    v_clob          CLOB;
    13  BEGIN
    14    CTX_DOC.SET_KEY_TYPE (p_key_type);
    15    CTX_DOC.MARKUP
    16        (index_name => p_index_name,
    17         textkey    => p_textkey,
    18         text_query => p_text_query,
    19         restab     => v_clob,
    20         plaintext  => p_plaintext,
    21         tagset     => p_tagset,
    22         starttag   => p_starttag,
    23         endtag     => p_endtag);
    24    RETURN v_clob;
    25  END your_markup;
    26  /
    Function created.
    SCOTT@orcl_11gR2> SHOW ERRORS
    No errors.
    SCOTT@orcl_11gR2> -- query that returns highlighted document:
    SCOTT@orcl_11gR2> VARIABLE string VARCHAR2(100)
    SCOTT@orcl_11gR2> EXEC :string := 'test AND demonstration'
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> SELECT your_markup ('document_idx', ROWID, :string)
      2           AS highlighted_text
      3  FROM   document_tab
      4  WHERE  CONTAINS (document_col, :string) > 0
      5  /HIGHLIGHTED_TEXT
    This is a test document for demonstration of highlighting.
    1 row selected.
    SCOTT@orcl_11gR2>

  • Attaching custom defined document to the BEx-report

    Hai
    I created a query in the Bex-Query Designer and then publish in the web through portals without using WebTemplates.
    Now my client wants to attach a custom defined document(which requirment gathering document) to this query . How can i attach this custom define document to the query .
    When i publish the report in the web then i have following tabs.
    DataAnalysis
    Graphical Display
    Information
    Information Broadcasting .
    when i go to 'information' there i have "Query Documentation" tab . When i press this tab how can i get the my custom defined document
    pls let me know
    kumar

    Hi ,,
    Do this way....
    Go RSA1 --> Documents -> meta data
    then select object type ELEM and select object name <the query u want>
    and add a text there or u can download from the file.
    In BEX in query property check mark the document display then it will show a link in report and when u click that it will show the details..
    did u check this as sent in ur previous thread....
    Thanks,
    Debasish

  • Where is the Query overall performance is checked??

    Hello BW Experts,
    Where is the Overall Query Performance can be checked??
    Is it:
    1.RSMO
    2.RSBBM
    3.SU01
    4.Table RSDDSTAT(something like this, if its not correct)
    Plz throw some light on this also <u>plz explain what and all could actually be checked or verified</u> in that!!
    Thanks and regrads,
    Sapster.
    <i>I always assign points.</i>

    Hi,
    RSRT is the one transaction to check query performance (pls correct if iam wrong!)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3f66ba90-0201-0010-ac8d-b61d8fd9abe9
    here is the docu abt the query performance.
    hope this helps.
    thanks & regards,
    LS.

  • Some question about the query designer

    hello, dear all,
    I am a new comer of here, and I am intersting in BI, but I have no basic knowledge about it.
    so I just want someone could give me some advice about it.
    our boss need I do the developer about the query designer,  I just have searched in this forum. but nothing founded for I am a new comer here,
    I heard there are some training document of the query designer, could someone give me the URL, thanks.

    Hi,
    Query desinger is used to develop a Query, Query can be created on following data targets
    -Info Cube
    -DSO
    Virtual data target
    -MultiCube
    -Infoset
    -Multiprovider
    We have 5 section in query designer
    - Infoprovider : where we select the data target , on which report to be created
    -Filter : to restrict value at infoprovider level ( if you want data for year 2008, for example)
    -Free Characterstic : this allow you to drill down
    -Columns : char/keyfigs to be display in columns can be added here
    Row: key/char to be display in Rows can be added here
    gv me ur mailid i will let u have Bex manual,
    I would suggest , if you have any IDES ( training ) system , where you can log in and then go to RRMX,
    and try to create new query and add any data target ( which is already created ) and then drag and drop the char/key fig to the required section ,
    save it and execute it .....
    if you play arround and see the output , that would help u to understand how to work with query designer.
    Hope this helps
    Sukhi
    Edited by: Sukhvidner Singh on Nov 4, 2009 5:36 PM

  • App-V PowerShell: Script to Query XenApp Servers for App-V Publishing Errors and Output an Excel Document with the Results

    Please Vote if you find this to be helpful!
    App-V PowerShell:  Script to Query XenApp Servers for App-V Publishing Errors and Output an Excel Document with the Results
    Just posted this to the wiki:
    http://social.technet.microsoft.com/wiki/contents/articles/25323.app-v-powershell-script-to-query-xenapp-servers-for-app-v-publishing-errors-and-output-an-excel-document-with-the-results.aspx

    Hi petro_jemes,
    Just a little claritification, you need to add the value to the variable "[string]$ou", and also change the language in the variable "$emailbody" in the function "Get-ADUserPasswordExpirationDate".
    I hope this helps.

  • How to update the Query of an existing WEBI document's dataprovider, through the RESTful Web service SDK.

    Hi,
    I am trying to update the Query of an existing WEBI document's dataprovider, through the RESTful Web service SDK.
    For this, first i will get the Dataprovider information,
    Example:
    URI: http://localhost:6405/biprws/raylight/v1/documents/11111/dataproviders/DP0
    Expected result;
    <dataprovider>
         <id>DP0</id>
         <name>Query 1</name>
         <dataSourceId>1234</dataSourceId>
         <updated>2014-04-18T11:55:21.000-08:00</updated>
         <duration>1</duration>
         <isPartial>false</isPartial>
         <rowCount>113</rowCount>
         <flowCount>11</flowCount>
         <dictionary>
              <expression qualification="Dimension" dataType="String">
                   <id>DP0.DO1</id>
                    <name>EmpID</name>
                   <description>Employee ID.</description>
                    <dataSourceObjectId>DS0.DO1</dataSourceObjectId>
              </expression>
              <expression qualification="Dimension" dataType="String">
                   <id>DP0.DO2</id>
                   <name>EmpName</name>
                   <description>Employee Name.</description>
                   <dataSourceObjectId>DS0.DO2</dataSourceObjectId>
              </expression>
         </dictionary>
         <query>SELECT Employee.EmpID, Employee.EmpName FROM Employee</query>
    </dataprovider>
    Then Changing the above dataprovider's Query to some thing like below,
    <query>SELECT Employee.EmpID, Employee.EmpName FROM Employee where Upper(Employee.EmpName)='RAJ'</query>
    Please let me know the RESTful Call required to do this.
    Thanks in advance.
    Thanks,
    Mahendra.

    FYI, the output of this call returns something like:
    <?xml version="1.0" encoding="UTF-8"?> 
    <queryplan>
        <union>
            <fullOuterJoin>
                <statement index="1">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), count( distinct SALES.inv_id) FROM SALES GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
                <statement index="2">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), sum(INVOICE_LINE.nb_guests) FROM SALES, INVOICE_LINE, SERVICE_LINE, SERVICE WHERE ( SALES.INV_ID=INVOICE_LINE.INV_ID ) AND ( INVOICE_LINE.SERVICE_ID=SERVICE.SERVICE_ID ) AND ( SERVICE.SL_ID=SERVICE_LINE.SL_ID ) AND ( SERVICE_LINE.service_line = 'Accommodation' ) GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
            </fullOuterJoin>
            <fullOuterJoin>
                <statement index="3">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), count( distinct SALES.inv_id) FROM SALES GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
                <statement index="4">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), sum(INVOICE_LINE.days * INVOICE_LINE.nb_guests * SERVICE.price) FROM SALES, INVOICE_LINE, SERVICE WHERE ( SALES.INV_ID=INVOICE_LINE.INV_ID ) AND ( INVOICE_LINE.SERVICE_ID=SERVICE.SERVICE_ID ) GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
            </fullOuterJoin>
        </union>
    </queryplan>

  • Most Recent Document data of the query

    Hi all,
    We have document data attached to a infoprovider,So in the query level, it should display the most recent updated document.But it is showing the previous document data.
    can anyone tell me if any setting is avaialble for this or how to achieve this.
    Please help.
    Thanks in advance!

    Hi rajesh,
    I dint try this solution. but im just guessing. so forgive me if it doesn't work.
    in your report did you try adding the time column and in the forumla give max(time by customer_site)
    thanks,
    Karthick

  • Could not save the document to the repository for the following reason: [repo_proxy 30] DocumentFacade::uploadBlob - Query execute has failed : Error occurred while attempting to reconnect to CMS : Not a valid logon token. (FWB 00003) (hr=#0x80042a70) (WI

    Hi, getting Could not save the document to the repository for the following reason: [repo_proxy 30] DocumentFacade::uploadBlob - Query execute has failed : Error occurred while attempting to reconnect to CMS : Not a valid logon token. (FWB 00003) (hr=#0x80042a70) (WIS 30567) amongst lots of other errors when scheduling.
    I was logged in as administrator and attempting to schedule a webi document to my self using the email option.
    thanks in advance

    Hi Trinath,
    Could you please confirm if you could save a new report as well or not; or is it specific to scheduling.
    If you are unable to save a report also then I think this is due to the path of the Input File Repository Server or its temporary directory are not pointing to the same path, and their locations are set to 2 different hard drives
    BOXI3.1 Server must use the same hard drive (local or network share) for the Input File Repository Server and its temporary directory.
    - Shahnawaz

  • Assignment from source document number in the query to archived document

    Dear all,
    we scan all original documents and store them in an optical archive like IXOS. This archive is connected to our ERP-system. An on ERP with the source document number. When I pick up the financial document I have the possibility to open the scanned original document.
    In BI we use the cost center cube. One of the characteristics in the cube is the source document number. Now we have the request to jump direct from the source document number in the query to the archived original document.
    Is there a possibility to define an assignment from the source document number in the query to the archived original document.
    Best regards
    Juergen

    Thnaks Oscar and Ganesh for your interest.
    FYI,my infoset is created based on bill doc and item number which is available in both the ODS.
    Here,for every document in Billing ODS,there are more number of documnets in Condition ODS,so the bill qty is getting added according to the numvber of records in Condition ODS.
    Eg.Billing ODS: Doc Num:100012, Qty = 8.if 10 records are ther in condition ODS,then in the infoset my QTY becomes,
    Doc Num:100012, Qty = 80.
    So in the query i divided it by number of records to get the qty and is coming correctly for documnet wise report.
    Problem comes when i remove documnet from the report and drilldown to higher level,say material,then it is calculated wrongly.
    Your suggestions plz..
    Regards
    Sudhakar

  • The document associated with a query is not showing on the query

    I've created a document in the document tab and assigned the multi-provider and query to it.  when I run the query I don't see it anywhere and when I go to documents nothing happens.  Am I missing a step somewhere?

    HI Antony Jerald J,
    Do you have variables in your Bex Query.
    Please check the pre requisites in the following link:
    http://help.sap.com/saphelp_nw73ehp1/helpdata/en/b6/53d6c4e26a4504b8971c6e690d2105/frameset.htm
    BR
    Prabhith

  • Display document text in query instead of link to the document

    Hi, gurus!
    I'm on BW 3.10. I have a requirement from my customer that BEx web report should contain column with text of BPS document (not the link to it). How to display this text?
    Please help!
    Message was edited by:
            Anton Ermalyuk

    You may have to keep column description between HTML tags , that will create a link to BPS layout for each column.
    try with trick , couple of online documents available " how to create HTML link on column description".
    cheers
    Martin

  • In delivery document flow the shipment should be added

    Hi Gurus,
    when the delivery is created, users have to affect the delivery to the right shipment document:
    They have to :
    1.Check the sales order document number form the document flow of the delivery
    2.check in the order the shipment document number
    3.Enter in the shipment document number (VT02N) and affect the delivery.
    If the copy cannot be processed (sales order locked for example), user is not informed and data are incoherent between order an shipment document.
    plz help me to find a solution to solve this problem
    thanks in advanced
    Edited by: snehal patil on Nov 21, 2008 9:55 AM

    Welcome to the forum.
    First of all, this should have been posted in sales forum as this is not the right place to post.  Coming to the query, if I understood your requirement correctly, you want to restrict the number of line items in delivery.  If so, check this thread
    [Re: How can I limit the item number of the delivery?|How can I limit the item number of the delivery?]
    If my understanding is wrong, please elaborate and post the same in sales forum.
    thanks
    G. Lakshmipathi

Maybe you are looking for