Calculations stored in EUL5 tables?

Hi,
I need to find all of the Discoverer workbooks that have a calculation called %Email%. Does anyone know which EUL5 table contains this info?
Thanks!
Heather Tisdelle
Bridgewater State College

Hi,
The workbooks are held in the EUL5_DOCUMENTS table in the EUL. However, the content of the workbook is held in a LONG RAW column so it is difficult to search the workbooks.
You can try this though. Convert the EUL5_DOCUMENTS table into another table which holds the workbook as a LOB column. You can then search it for any occurrence of the text string as shown below.
CREATE TABLE EUL5_DOC_TEMP
AS SELECT DOC_ID, DOC_NAME, DOC_DEVELOPER_KEY, TO_LOB(DOC_DOCUMENT) DOC_DOCUMENT FROM EUL5_DOCUMENTS;
SELECT DOC_NAME FROM EUL5_DOC_TEMP
WHERE DBMS_LOB.INSTR(DOC_DOCUMENT, UTL_RAW.CAST_TO_RAW('Email')) > 0;
Rod West

Similar Messages

  • Can you have a calculated column in a table not a view?

    We have a table which contains a series of rows
    Key   Effective Date   Value
    1       10/Feb/2006     123
    1       23/Oct/2006      456
    ...We have a requirement to store an indicator that tells us which row is the most current and what the end date of the preceding row was so that we get something along the lines of:
    Key   Effective Date   Value   Status         End Date
    1       10/Feb/2006     123      HISTORY    22/Oct/2006
    1       23/Oct/2006      456     CURRENT   NULL
    ...I can produce this result quite easily using the analytic function LEAD. My question is, is the answer to this problem to create a view over the table that includes the analytic function or is it possible to define a calculated column in a table that would populate/maintain this vale as part of a table definition?
    And as I finish writing this I feel I've answered my own question but hey, there's no harm in asking how others have handled this kind of situation.
    Cheers
    Richard

    My bias would be to create a view that did the calculation.
    In theory, you could add those additional columns to a table and maintain the data via a set of triggers, but that would be substantially more complicated than the alternatives for little or no benefit.
    A third option would be a materialized view. That might be easier to deal with if you want to have different indexing strategies for current and historical records or if the historical data is queried often enough and updated infrequently enough that it ends up being cheaper to do the calculation once during the update rather than every time the query is run.
    A fourth option would be to use stored procedures to maintain the data and have that stored procedure expire the current row and add the new row.
    Finally, you might consider version-enabling your table using Workspace Manager rather than writing your own code since Oracle has already written all this code for you.
    Justin

  • Parked Vendor Invoices stored in which tables?

    Parked Vendor Invoices (not yet post) stored in which tables (both header and items)?

    Hi,
    Check out following tables
    VBSEGA - Document Segment for Document Parking - Asset
    VBSEGD - Document Segment for Customer Document Park
    VBSEGK - Document Segment for Vendor Document Parking
    VBSEGS - Document Segment for Document Parking - G/L A/c
    hope this helps

  • How to find worksheet name from EUL5* tables.

    Hi
    I created workbook called employee report.
    under that 3 worksheets created.
    worksheet1 - By EMPNO
    worksheet2 - By DEPTNO
    worksheet3 - By JOB.
    how can i find the worksheet name from the EUL5* tables?

    Hi Marias,
    To find the worksheets run the below query
    select distinct qs_doc_name WBOOK_NAME,qs_doc_details WSHEET_NAME
    from eul5_qpp_stats where qs_doc_name in(select doc_name from EUL5_documents)
    Regards
    Sridhar

  • How can i pass calculated value to internal table

    Hi
    i have to pass calculated value into internal table
    below field are coming from database view and i' m passing view data into iznew1
    fields of iznew1
                 LIFNR  LIKE EKKO-LIFNR,
                 EBELN  LIKE EKKO-EBELN,
                 VGABE  LIKE EKBE-VGABE,
                 EBELP  LIKE EKBE-EBELP,
                 BELNR  LIKE EKBE-BELNR,
                 MATNR  LIKE EKPO-MATNR,
                 TXZ01  LIKE EKPO-TXZ01,
            PS_PSP_PNR  LIKE EKKN-PS_PSP_PNR,
                 KOSTL  LIKE EKKN-KOSTL,
                 NAME1  LIKE LFA1-NAME1,
                 NAME2  LIKE LFA1-NAME2,
                 WERKS  LIKE EKPO-WERKS,
                 NETWR  LIKE EKPO-NETWR,
                 KNUMV  LIKE EKKO-KNUMV,
                 GJAHR  LIKE EKBE-GJAHR,
    and now i want to pass
    one field ED1  which i has calculated separatly and i want to pass this value into iznew1
    but error is coming that iznew1 is a table with out header line  has no component like ED1.
    so how can i pass calculated value to internal table iznew1,

    When you declare your internal table , make an addtion occurs 0
    eg . data : begin of iznew occurs 0 ,
                    fields ...
       add the field here ed1.
               end of iznew.
    now when you are calculating the value of ed1,
    you can pass the corresponding value of  ed1 and modify table iznew.
    eg
    loop at iznew.
    iznew-ed1 = ed1.
    modify iznew.
    endloop.

  • Are the messages stored in any table

    Hi,
    while Changing a material in a Std Tcode i get the error Message  "Error in creation of the BoM". So, i was looking jf there is any way i can find the message class of this message, if it is stored in any table.
    Any suggestions please ?
    Thanks!

    Hello,
    Lemme rephrase my statement.
    Double click on the error message which is displayed, it will take you to some documentation screen where you can get the details.
    BR,
    Suhas

  • How to Show Total Calculation in Footer of Table

    Hi everyone, is it possible to show total calculation in footer of table in webdynpro ? For the calculation, I think i can handle it because many thread in forum and weblog discuss it but for show it in footer of table , i can't find.
    Display
    A
    B
    C
    D
    | ____Total | XX |  --> XX shows total calculation for column D
    If this is not possible, how to trick it ? Thank you
    null

    Hi,
    Even i had the same requirement once, but as this is not possible i.e displaying the total as the footeer of the table.
    the other option for this is to hav a seperate table below the main table & then displaying the total in that table.
    You can collect the value of each cell of column D in an integer variable at the time of displaying the data in the table.
    A | B | C | D |
    1
    2
    3
    for(int i = 0;i<node.lenght();i++)
    int tot = wdcontext.element
    now at the end you can create the element of the node & assign this variable "tot" to that element, then add teh element to the node
    Hope it helps you.
    Regards
    Jeet

  • How to access the data stored in Java tables in E-Commerce 7.0

    For the CRM E-Commerce 7.0 Web shop all the data related order templates, Shop Id and catalog variants are not getting stored in CRM tables. Can anyone please let us know where all the details are getting stored.
    By searching here, in SDN Forum we found that these details are getting stored in some java tables. If this is true  kindly let us know the following points.
    1). How can we access these tables.
    2).Where these java tables are stored .
    3).Do we have authorizations to check and modify these tables.
    4).If we donu2019t have authorizations to check and modify these tables, how can we get the access to them.
    4).How can we write Database Queries to retrieve the data from these tables.

    I am afraid, all these three entities are in CRM tables.
    Web Shops - Function module CRM_ISA_SHOP_GETLIST, Table crmm_isa_shop_h
    Catalog Variants - Function module - COM_PRDCAT_GET_VARIANTS (they are also stored in CRM tables) for a given catalog.
    Now for the Order Templates - They are technically order objects with system status set to "Order Template" I1034. You should be able to see them in CRM tables alongwith other orders... crmd_orderadm_h and etc...

  • Are TableSpace names stored in the tables?

    Are TableSpace names stored in the tables?
    If so, which one?

    Tablespaces are stored in the db.
    I believe they are in tCtrlOption

  • Error messages in ABAP program are stored in which table

    hi all,
    Can anyone tell
    error messages in ABAP program are stored in which table??

    Hi Sir ,
    Please have a look below .Hope it is suitable and simpler solution for your question.
    Please do reward if useful.
    Thankx.
    Fuction module for storing error messages  ->'format_message'
    for example...
    data : v_message(100) type c.
    call transaction NNNN mode A update S messages into it_messages.
    loop at it_messages where msgty = 'E'.
    call function 'format_message'
    exporting
    *it_messages details
    importing
    v_message.
    write :/ v_message.
    clear v_message.
    endloop.
    Anothe method - ->
    Here is a sample of the program code for that:
    LOOP AT it_messtab.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
    id = it_messtab-msgid
    lang = it_messtab-msgspra
    no = it_messtab-msgnr
    v1 = it_messtab-msgv1
    v2 = it_messtab-msgv2
    IMPORTING
    msg = g_msg
    EXCEPTIONS
    OTHERS = 0.
    IF it_messtab-msgtyp = 'S'.
    it_sucess-sucess_rec = g_msg.
    it_sucess-lifnr = it_header-lifnr." Based on your field
    it_sucess-tabix = v_lines.
    APPEND it_sucess.
    ELSEIF it_messtab-msgtyp = 'E'.
    it_error-error_rec = g_msg.
    it_error-lifnr = it_header-lifnr.
    it_error-tabix = v_lines.
    APPEND it_error.
    ELSE.
    it_info-info_rec = g_msg.
    it_info-lifnr = it_header-lifnr.
    it_info-tabix = v_lines.
    APPEND it_info.
    ENDIF.
    ENDLOOP.

  • Display HTML stored in a table

    Hello,
    I want to display HTML Code which is stored in a table.
    Now I have a display as text item and there the HTML is not rendered properly...
    So what must i do to show the HTML Code properly?
    What kind of item should I use?
    Thank you,
    Tim

    Thank you Carsten,
    I had the wrong Item.
    I used "display as text (saves state)"....
    Regards,
    Tim

  • What is the best way to execute immediate particular sql stored in a table

    I have a string variable containing row_ids eg "12,24,35,23"
    and a table
    row_id, sql
    1 , "insert into some_table values(23,'Happy');"
    6 , "insert into some_other_table values(24,'Sad');"
    12 , "insert into some_table values(23,'Crazzzy');"
    15 , "insert into some_other_table values(23,'Old');"
    23 , "insert into another_table values(23,'Left');"
    24 , "insert into stuff_table values(23,'Gold');"
    30 , "insert into old_table values(23,'Even');"
    35 , "insert into archive_table values(23,"True");"
    And I need to write a plsql function that takes the list of row_ids as an argument and executes the sql statements stored in the table that matches.
    I am trying a combination of cursor and execute immediate statements to do it at the moment but suspect I am being very inefficient. So any suggestions or examples of similar code anyone knows about would be hugely appreciated.
    Cheers
    Reuben

    Not sure why anyone would be doing such a thing as storing their SQL in a table and wanting to dynamically execute it (generally this is bad practice), but if you must...
    SQL> select * from testdata;
        SQL_ID SQL_TEXT
             1 insert into some_table values(23,'Happy');
             6 insert into some_other_table values(24,'Sad');
            12 insert into some_table values(23,'Crazzzy');
            15 insert into some_other_table values(23,'Old');
            23 insert into another_table values(23,'Left');
            24 insert into stuff_table values(23,'Gold');
            30 insert into old_table values(23,'Even');
            35 insert into archive_table values(23,'True');
    8 rows selected.
    SQL> set serverout on
    SQL> ed
    Wrote file afiedt.buf
      1  DECLARE
      2    v_ids VARCHAR2(4000) := '12,24,35,23';
      3    CURSOR cur_fetch IS
      4      SELECT sql_text
      5      FROM   testdata
      6      WHERE  sql_id IN (SELECT TO_NUMBER(REGEXP_SUBSTR (v_ids, '[^,]+', 1, rownum))
      7                        FROM   DUAL
      8                        CONNECT BY ROWNUM <= length(regexp_replace(v_ids,'[^,]*'))+1);
      9  BEGIN
    10    FOR s IN cur_fetch
    11    LOOP
    12      DBMS_OUTPUT.PUT_LINE(s.sql_text); -- For demo purposes show the sql text
    13      -- EXECUTE IMMEDIATE s.sql_text; -- In reality, uncomment this to execute the sql text
    14    END LOOP;
    15* END;
    16  /
    insert into some_table values(23,'Crazzzy');
    insert into another_table values(23,'Left');
    insert into stuff_table values(23,'Gold');
    insert into archive_table values(23,'True');
    PL/SQL procedure successfully completed.
    SQL>

  • Report results need to be stored in a table

    Hello,
    I need to store the result of a program to be stored in a table so that i can load the cude.Can anyone help me with this.
    Thanks,
    Vinay

    I have a company table and a address detail table.
    SQL> desc company;
    Name Null? Type
    COMPANY_ID NOT NULL NUMBER(10)
    COMPANY_NAME VARCHAR2(50)
    COMPANY_DESCRIPTION VARCHAR2(1000)
    SQL> desc address_detail;
    Name Null? Type
    ADDRESS_ID NOT NULL NUMBER(10)
    COMPANY_ID NOT NULL NUMBER(10)
    ADDRESS_TYPE_ID NOT NULL NUMBER(10)
    ADDRESS_LINE1 VARCHAR2(100)
    ADDRESS_LINE3 VARCHAR2(100)
    ADDRESS_LINE2 VARCHAR2(100)
    CITY VARCHAR2(50)
    STATE VARCHAR2(50)
    ZIPCODE VARCHAR2(20)
    COUNTRY VARCHAR2(50)
    PHONE VARCHAR2(20)
    For a given company it can have multiple addresses. Address_type_id indicates if it is a ship_to, bill_to, headquarters etc.
    So for a given company I want to display all of its addresses as a single row.
    Thanks.

  • Using ODBC how do you identify a calculated column in a table?

    I've a calculated column in my table. Is there a way to identify that column through ODBC functions? I need to identify the  calculated column and make it read only. The function should support both SQL and Access databases. Please let me know if
    there is a way to find out this column type.

    Hello,
    You can refer to the following article which list some ODBC Scalar Functions which you can used in the T-SQL query statement.For example
    SELECT {fn TRUNCATE( 100.123456, 4)};
    -- Returns 100.123400
    Reference:http://msdn.microsoft.com/en-us/library/bb630290.aspx
    As per my understanding, there is no built in declarative support for read-only columns. You can try to create a UPDATE trigger to achieving this. Or you can create a view with derived column  from the source table. And then users cannot
    update this calculated column on the view.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Calculation based on Internal Table Row ID

    Hi,
    I have internal table, i want to do some calculation based on Internal table Row ID, wich will create system automaticlly and this id will uniq. I want to use this id in my program.
    So how can i do this.
    Ranveer.

    hi,
    if u want to create this id automatically,use transaction SNRO,
    or u can create t through programming too.eg. suppose field is 'id' in table 'customer'.
    select * from from customer.
    itab-id = sy-dbcnt + 1.
    modify customer from itab.
    u can use this id in calculations too,

Maybe you are looking for

  • How can I scale just one dimension of a pic? I need to shrink the width only, to fit the frame.

    HELP!  How can I shink only one dimension?  I need to shrink the width slightly to fit the frame; the program only allows scaling that is proportional, so when I shrink the width the heigh becomes too short.  Father Mike

  • Java 1.4.2 Security Vulnerabilities

    Hello, I'm looking for a link that lists the security vulnerabilities of Java 1.4.2 and I am having trouble finding a comprehensive list. Our security officer doesn't want us using 1.4.2 because of security vulnerabilities and I want to confirm what

  • Service PO transfer from MM to SUS

    Hi, We are planning to use MM-SUS scenario. 1. Is it possible to transfer the service PO, service entry sheet, and Invoice from MM to SUS wih standard XI scenario. 2. In PDP material scenario, is it possible to show the GR in SUS without ASN? Please

  • Msi motherboard and driver

    hi guys!! I've got some trouble with my computer and need to find a driver for my motherboard: MSI  MS-6743PE Is there a way someone can helps me??? And so i cannot find the driver for my ethernet control?? I'm kinda lost with this thing for about a

  • New review on the FX5900XT-VTD128

    Just letting people with this card know that a new review is out on it. The put it threw it's paces very well and it came out shining for the most part. If it just was not for the fact that MSI took the temp monitoring out it would be a great card. A