Report Level Trigger and Creation of View

Hello Experts!
I want to know that is it possible to create view in database before running the report and after entering values in report's parameter?
Regards.
Oracle User.

Look into the SRW.DO_SQL procedure.

Similar Messages

  • BO/BW Report Level Calculation and Prompts

    Hi,
    There is an infoprovider in BI , delta enabled.Start Date and End Date are two fields in Infoprovider.
    The requirement is to have an Use Indicator Prompt having values Y or N.
    if the prompt input is Y , then display only those records where the current date is between start and end date,
    and if the prompt input is N, then display all values.
    Since the infoprovider will have delta loading, this needs to be done in BI/BO Report Level.
    If I have a Keyfigure in BI (using the above logic, having values 0 and 1), then this keyfigure needs to be selected in Web I Report(since the Use Indicator Prompt will be on this keyfigure), if not selected then all the keyfigures will be blank.
    I have changed the aggregation of the Keyfigure to 'None' in Universe, but still it doesnt work

    Hi,
    first of all you should not leverage the InfoProvider directly but instead use the BEx Query and this type of prompting could then be done as an EXIT variable in the BEx query.
    ingo

  • Query Help: Report of BPs and creation user

    Hi,
    Which field in the ACRD table contains the user who created the BP?
    I am trying to create a list of BPs and which users created them
    Thanks
    Greig

    SELECT T1.U_NAME, T0.CardCode, T0.CardName, T0.CardType
    FROM ACRD T0 INNER JOIN OUSR T1 ON
    T0.UserSign = T1.USERID

  • Why Module level trigger contains "WHEN-CHECKBOX-CHANGED" trigger in Forms 6i?

    Hi,
    Why Module level trigger contains triggers like "WHEN-CHECKBOX-CHANGED", "WHEN-BUTTON-PRESSED" etc.? "WHEN-CHECKBOX-CHANGED" trigger is present in CheckBox & "WHEN-BUTTON-PRESSED" trigger in Button. Then why these triggers are also presnt in Module?
    Can anyone please clarify my doubt?

    There's a lot of triggers that are present at different "scopes". Like they exist at the item level, the block level,
    the module level...
    The idea is if you have an action that should only occur at that one single item it can do in the item trigger. If
    it's for all of them on the block, in the block level trigger. If for all of them ever, at the module level.
    For example suppose you wanted it to do a next_item after the trigger executed you can put that logic in the module
    level trigger. A key thing to notice here is the trigger hierarchy. That is essential to know about.
    Right click on one of these triggers in the object navigator. The execution hierarchy is override, before and after.
    since each of these levels of the same trigger has this execution hierarchy this is, well, potentially not easy to
    understand what is going to happen. I would typically have a per-item trigger be before and a higher level trigger
    be after.
    And this execution hierarchy thing is something I'd love to see enhanced in the gui. I wish it was a lot easier to see
    what the execution hierarchy is when editing a trigger text. I wish one could see and modify the execution hierarchy on the
    same screen as the trigger text and what would be really great is some way to tell how the trigger hierarchy will sort out
    at run time. For example if one is looking at an item level trigger it would be fabulous to know that as is, that trigger will be
    overridden by a higher level trigger and so on. Or vice versa if one is looking at a block level or form level trigger that it is
    overridden by a lower level trigger, or it will execute before or after some other trigger. I don't know what is defined to happen
    with various levels of triggers that have the same execution hierarchy. Like suppose they are all override,before,after.. then
    what happens? It'd be good to know.

  • Column level trigger

    Hi All -
    I have a table which has 6 columns
    create table main_tbl
    (p_id integer,
    p_lname varchar2(20),
    p_fname varchar2(20),
    p_dept varchar2(15),
    p_office varchar2(15),
    p_ind char(1)
    And I have a corresponding audit/history table
    create table main_tbl_audit
    (p_id integer,
    p_lname varchar2(20),
    p_fname varchar2(20),
    p_dept varchar2(15),
    p_office varchar2(15),
    p_ind char(1)
    As part of the application audit process, I want to move a record from main_tbl to main_tbl_audit only when a column value changes. I can do this using a column level trigger but if I use column level trigger and if for example 3 values are changed in the main_tbl at once then it will create 3 different rows in the main_tbl_audit table.
    Is there a way to always create one row in main_tbl_audit table even if a record in the main_tbl table has one or more column value changes.
    Please share your expertise.
    Thanks,
    Seenu001

    I'm not quite sure what you mean by a "column-level trigger" since there is no such thing in Oracle. You can specify a list of columns in the OF clause of a row-level trigger, so I'm guessing that's what you're talking about. But then I don't understand why you would get three rows in the audit table. Unless you created three different row-level triggers each of which specified a single column?
    Why wouldn't you simply have a single row-level trigger that compared the old and new values, i.e. (ignoring NULLs)
    CREATE OR REPLACE TRIGGER trg_audit_main
      BEFORE UPDATE ON main_tbl
      FOR EACH ROW
    BEGIN
      IF( :new.p_lname != :old.p_lname or
          :new.p_fname != :old.p_fname or
      THEN
        INSERT INTO main_tbl_audit ...
      END IF;
    END;Justin

  • Getting iteration number in row level trigger

    Hi. Is there a way to get iteration number in row level trigger? Or to access data inserted in statement level trigger from row level trigger (statement level trigger are supposed to be executed before row level triggers but I cannot access them).
    I'm using Oracle 10g.

    My oracle version:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for 64-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    And business problem is like this:
    I need to have two log tables for some tables in my database:
    First log table is a statement level log. After insert or update or delete it should get one new row with mentioning date, time, sid, query type and some additional information.
    Second table should include all columns from table logged, date, time, sid and operation type.
    The problem is, I need exact the same date and time for each row in both log tables.
    Someone said that sysdate should return same value for query execution time. But it have nothing to do with triggers fired on this query.
    So you may say that I'm curious about getting exact same date and time for one statement level trigger and for each execution of row level trigger.

  • Simulair report for FBL5N and FBL1N for new general ledger on segment level

    We are working with segments in new G/L ledger. We want to run a open item report where we can combine customers and vendors by segment. The vendors and customers are linked in the master data. In the "old"  reports FBL5N and FBL1N you can do this but not by segment.I found the following report on segment level:
    - S_PCO_36000218 - Receivables: Segment
    - S_PCO_36000219 - Payables: Segment
    What I'm missing is to run 1 report for Customers and vendors. What I'm missing to is that there are only some fields available on line item level. (I like to have invoice number, documentype,.......)
    Is there a standard report for this in new genaral leger?
    Is it possible to ad additional field to th list viewer.

    What is this user license type?  All financial transactions need professional license.
    Thanks,
    Gordon

  • How to improve the query performance in to report level and designer level

    How to improve the query performance in to report level and designer level......?
    Plz let me know the detail view......

    first its all based on the design of the database, universe and the report.
    at the universe Level, you have to check your Contexts very well to get the optimal performance of the universe and also your joins, keep your joins with key fields, will give you the best performance.
    at the report level, try to make the reports dynamic as much as you can, (Parameters) and so on.
    and when you create a paremeter try to get it match with the key fields in the database.
    good luck
    Amr

  • Unable to View By Infocubes at Report Level

    Hi experts,
    could you please any one sort out this problem.
    IN SAP BI - BUSINESS CONTENT Unable to View By Infocubes at Report Level"
    Regards,
    Subhash.

    Hi,
    Select the cube and in Grouping choose "In dataflow afterwards" you will get all the queries related to the Infocube.
    Regards
    Md Zubair Sha

  • Problems with creation of views and indexes....but the connection is nice!!

    Hi everyone.
    I'm running a SQLServer7 migration using migration workbench. The only objects to migrate are: tables, users: views: indexes and foreign keys.
    It seesm to go fine with the migration, thus workbench is both connected to the SQLServer and the Oracle Workbench Repository in wich the Oracle Model is created. BUT, after a while and when the view creatiion should go on, I get this message (myhost is the host in wich target oracle instance would be the conversion).
    " Failed to connect to /@myhost:1525:MANU. Check the password in the users"s Creation Options in the Oracle Model to make sure it is correct."
    So it seems that It tries to connect as OS user...but it was working fine, so why is it trying to re-connect if data was migrating?
    any solution?
    thanks a lot!!

    See my previous reply on another thread.
    Donal

  • Customized drill-down report cannot go to line item level (FGI4 and FGI1)

    Hi Expert,
    I created a customized drill-down report using New GL features, as follows:
    FGI4 create form, with reference to form: 0SAPBLNCE-01
    FGI1 create report for the form created.
    After that I set some things like characteristic, variables, and output type.
    When I execute the report, the data shown cannot be drill-down to line item level:
    Goto > Line Item (this function is disabled).
    Kindly advise why I cannot goto line item level, where I copy from standard form: 0SAPBLNCE-01, which ha sthe features of drill-down to line item level.
    Thanks
    sbmel

    Hi sbmel,
    For calling up a line item report in a drill down report you need to make the below settins:-
    - You first have to generate the line item report with program RGRGENSI for your summary table.
    - Then assign the generated line item report to the summary report.
               Assiging the report is part of the 'Change drilldown report' function, which you reach by activating the characteristic selection field and then Extras -> Report assignment.
                In the dialog box that appears, choose the 'Other report type' function and insert the line item report generated earlier, as an ABAP report
    Regards,
    Gaurav
    Edited by: gka2707 on Jul 19, 2010 8:07 AM

  • How to create rtf template to view report in Word and Excel, with numeric f

    Hi,
    Please help me!
    How to create rtf template to view report in Word and Excel, with numeric formatted fields (like this 999 999 999,99 with spaces between numbers) and then end user be able to process those fields with Excel tools (sum, etc).
    Thank you.

    From what I have seen Excel can not handle 999 999 999.00. You can use 999999999.00 and then format it as you want in the xls bt you can not have values like 999 999 999.00 coming from publisher output and have functions on the values in Excel
    Tim

  • BI content to view reports in BEx and Portal

    Hi,
    I want to install all the BI content related to Query and Reporting.
    Can you pls help  how to proceed with this like what and all I need to activate.
    My requirement is to generate all the reports on 'Vendor Evaluation (from ERP) and 'Tender Evaluation (Bidding Engine) from SRM'..customers should see all the reports in the Netwever portal and as well as in BEx.
    Pls help ..
    Also I am quite confused with the words :Web Template & BEx web item and BEx web item and Web item..
    To view the reports (in BEx and portal) which are extracted from ERP what and all we need to activate?
    To view the reports (in BEx and portal) which are extracted from SRM what and all we need to activate?
    Please help in this regard..
    Regards
    Sharif.

    Hi Praveen,
    Thanks for your immediate response..
    My requirement is that I will have to develop reports on Vendor Evaluation from (SS is ERP) and Tender Evaluation (Bidding Engine : SS is SRM)..
    To develop the reports for both of the functionalities in BI and to view them in excel mode and in the potal,what is the BI content which I need to activate in BI? -- This is my question.
    Whether we need to activate Web template alone or Web template and Web Item both?
    In case we need to activate both then which of the following shoud I activate
    Either Web Item or BEx item
    Web Template or BEx web template
    Please provide me the necessary information..<REMOVED_BY_MODERATOR>
    thanks in advance..
    Regards
    Sharif.
    Edited by: Pravender on Sep 22, 2010 11:05 AM

  • Entity level validation and view level validation in programmatic approach

    I want to know entity level validation and view level validation in programmatic approach how to i start and how to fetch the data pls tell me
    am new to df

    Hi,
    did you read the documentation ? http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/toc.htm
    Frank

  • Difference between After parameter Form Trigger and before Report Trigger

    hi,
    Can some one tell me difference between After parameter form Trigger and Before parameter trigger.
    Why do we need both these trigger , why can't we use any one of them because after parameter trigger will obviously fire before report trigger and similarly before report trigger will fire after parameter form.
    Thanks
    Ram

    Hi,
    i will make it clear..!
    Actually, we have four type of triggers in reports..!
    Before Parameter -- fires before params are suppied to the calling report..
    After Parameter -- fires after params are suppied to the calling report..
    Before Report -- fires before report is generated..
    After Report. -- fires after report is generated..
    Before Report and After Report triggers are used for formatting the report design..
    like u can specify a report to be displayed based on a condition in the Before
    Report trigger and u can specify some backend updations in the after report trigger
    which fires after report is generated..

Maybe you are looking for

  • New Windows 2008 guest will not start in OVM 3.0.3

    First off - seems I can't open an SR on MetaLink as the Oracle VM product isn't listed (even in the 'All Products' list)... any thoughts on that one? But here is the real problem I have... We are trying to create a Win Svr 2008 guest in our OVM 3.0.3

  • Files Tab Refresh

    In the developer profile for Dreamweaver, I have my site's files listed on the left. In the settings for the site, there is an option to refresh the list automatically. I do not have this checked, but the site refreshes automatically anyway. How can

  • HELP! LR cannot find file path.. new LR user *sigh*

    This is my first post AND I'm a fairly new LR user so thanks for your help in advance! I have LR2 on iMac and I use an external HD. I was organizing my files stored on my external HD to parent files on that HD and now LR doesn't recognize the path to

  • Lost memory card what do i do???

    Hi, I just got a Nokia 5500 Sport and it came with a memory card, I lost it. I thought no biggy I was going to get a bigger one anyway... turns out that memory card had all the applications on it. Is there anyway I can get the things I need and put o

  • Lost Serial number

    I bought Dreamweaver 8 about 2 years ago. Because my PC crashed, I've just had to load everything again, and now Dreamweaver wants its original serial number, which I can't find. Can anyone help with a solution which doesn't involve having to pay for