How to refresh datasource based on view

Dear all,
   I have a datasource based on view. Now a new field is added to the view. How can I do to add the new field to the datasource?
  Thanks in advance.
Jin Ming

Hi,
Just go to rso2 -->change and save the data source, the newly added field will come into your data source automatically.
hope it helps...
regards,
raju

Similar Messages

  • How to refresh datasource

    since the rows are changed continually,i want add a link to refresh the jsp page,so i do
    1.add the following lines in datahandlecompnent.sjp
    <jbo:OnEvent name="refresh">
    <jbo:RefreshDataSource datasource="ds" />
    </jbo:OnEvent>
    <jbo:OnEvent name="create">
    2. add a link like this:
    refresh
    but it does not work!
    is this way can do? how can i do?

    Hi,
    Just go to rso2 -->change and save the data source, the newly added field will come into your data source automatically.
    hope it helps...
    regards,
    raju

  • How To Refresh Report Based On Previous Window

    In Portal Release 2, a form is called from a report, as next page - not the pop-up. After updating and/or deleting a record, the form closes and goes back to the report page. How to make that report to appear with updated information.
    Can I capture/retrieve the full URL of the report - including parameters?

    Thanks for the replies.
    1.I can call same report with parameters that are in current form, but report will be different because I ran that report using other parameters which I'm not using to open the form.
    Problems:
    - that new report will be limited to parameters I have in form;
    - it will start with its first page - not the page user was on, before updating a record.
    That's why I need to retrieve full and exact url of the page the user was on before going to form.
    2. I can use parent.window.reload if the form is invoked as a pop-up. Is there a way to call form as a pop-up window using wwv_user_utilities.get_url in report ?

  • How to refresh one View instance from another View Instance

    Hi ADF Experts,
    I have a requirement in which I have created two View Objects based on a single entity object.
    I am using a first VO to display data in a table and the second to update data to database.
    The commit will happen through a Global save button.
    But before the global save, I need to show the data using the First VO, which is inserted using the second VO.
    Can anyone help me on how to refresh the first VO to display the data.
    Thanks in Advance
    Mohan
    Edited by: 946185 on Mar 29, 2013 4:24 AM

    Hi Dileep,
    The first VO which I mentioned is based on two EOs and has a lot of calculated values.
    And to add to my worries there is a parent child relationship between the two EO's, where in parent is updated with one row and child with multiple rows.
    The multiple rows updation to the child should happen with a shuttle component in a different popup.
    So I am inserting everything programatically in the java code, where I need two use different VO to update parent and different VOs for the shuttle.
    I could get the data, if it is committed, but to add to the complexity, there is a global save button which should commit the data.
    So I want to get the data based on the EO update before commit to the database.
    Thanks
    Mohan

  • How to activate a custom datasource of a view

    Hello folks,
    I'm working on BI 7.0 and ECC 6.0.
    I've created a z datasource on a view. It appears in RSA6. It is not visible in RSA5 which means I cannot activate it. When I replicate the datasource in BW, it appears as a modified version and not as an active one. How do I activate this z datasource? Please note that I'm working on BI 7.0 and ECC 6.0. I would appreciate it if someone could throw light on this one.
    Thanks
    BG

    data: wdevent TYPE REF TO CL_WD_CUSTOM_EVENT.
    wd_this->CREATE_A ( exporting wdevent = wdevent ).
    wd_this->CREATE_B ( exporting wdevent = wdevent ).

  • How to reduce long extraction time - Generic extractor based on view

    Hello. The previous thread about this error was closed without any answer.
    I'm in the same configuration.
    "Using a generic extractor (Delta enabled on confirmation date) based on view to load data from ECC6 to BI.
    Now my issue is that the delta extraction is running for a long time (around 1 hr) even if the data volume is very small
    While checking the job overview in source system i saw that the job is hanging at the below step for almost 1 hr."
    1 LUWs confirmed and 1 LUWs to be deleted with function module MF RSC2_QOUT_CONFIRM_DATA.
    I am not understanding why this is happening.
    Here is the log of the job:
    30.05.2011 03:58:11 Job started
    30.05.2011 03:58:11 Step 001 started (program SBIE0001, variant &0000000166864, user ID ALEREMOTE)
    30.05.2011 03:58:11 Asynchronous transmission of info IDoc 2 in task 0001 (0 parallel tasks)
    30.05.2011 03:58:11 DATASOURCE = 0CO_OM_WBS_6
    30.05.2011 03:58:11 *************************************************************************
    30.05.2011 03:58:11 *          Current Values for Selected Profile Parameters               *
    30.05.2011 03:58:11 *************************************************************************
    30.05.2011 03:58:11 * abap/heap_area_nondia......... 4000000000                              *
    30.05.2011 03:58:11 * abap/heap_area_total.......... 8000000000                              *
    30.05.2011 03:58:11 * abap/heaplimit................ 100000000                               *
    30.05.2011 03:58:11 * zcsa/installed_languages...... DEFS                                    *
    30.05.2011 03:58:11 * zcsa/system_language.......... E                                       *
    30.05.2011 03:58:11 * ztta/max_memreq_MB............ 2047                                    *
    30.05.2011 03:58:11 * ztta/roll_area................ 6500000                                 *
    30.05.2011 03:58:11 * ztta/roll_extension........... 2000000000                              *
    30.05.2011 03:58:11 *************************************************************************
    30.05.2011 03:58:11 1 LUWs confirmed and 1 LUWs to be deleted with function module RSC2_QOUT_CONFIRM_DATA
    30.05.2011 05:02:53 Call customer enhancement BW_BTE_CALL_BW204010_E (BTE) with 171 records
    30.05.2011 05:02:53 Result of customer enhancement: 171 records
    30.05.2011 05:02:53 Call customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 171 records
    30.05.2011 05:02:53 Result of customer enhancement: 171 records
    30.05.2011 05:02:53 Asynchronous send of data package 1 in task 0002 (1 parallel tasks)
    30.05.2011 05:02:53 IDOC: Info IDoc 2, IDoc No. 4667050, Duration 00:00:00
    30.05.2011 05:02:53 IDoc: Start = 30.05.2011 03:58:11, End = 30.05.2011 03:58:11
    30.05.2011 05:02:53 tRFC: Data Package = 1, TID = AC11082D38B44DE308DD028A, Duration = 00:00:00, ARFCSTATE = RECORDED
    30.05.2011 05:02:53 tRFC: Start = 30.05.2011 05:02:53, End = 30.05.2011 05:02:53
    30.05.2011 05:02:53 Altogether, 0 records were filtered out through selection conditions
    30.05.2011 05:02:53 Asynchronous transmission of info IDoc 3 in task 0003 (0 parallel tasks)
    30.05.2011 05:02:53 IDOC: Info IDoc 3, IDoc No. 4667051, Duration 00:00:00
    30.05.2011 05:02:53 IDoc: Start = 30.05.2011 05:02:53, End = 30.05.2011 05:02:53
    30.05.2011 05:02:53 Synchronized transmission of info IDoc 4 (0 parallel tasks)
    30.05.2011 05:02:53 IDOC: Info IDoc 4, IDoc No. 4667052, Duration 00:00:00
    30.05.2011 05:02:53 IDoc: Start = 30.05.2011 05:02:53, End = 30.05.2011 05:02:53
    30.05.2011 05:02:53 Job finished
    Thanks for your help.
    Yann

    Parth Kulkarni,
    following the note and the other thread, I've check the index 4 of the table COEP.
    Here is what I got:
    Index ID           COEP             - 4
    Short text         MANDT/TIMESTMP/OBJNR, Index for Delta read method (CO-PA)
    Last changed       SAP             04.01.2010
    Status             Active          Saved
                       Does not exist in the database
    DB index nme
        Not defined as DB index in the ABAP Dictionary
    Is the fact that it doesn't exist in the database a problem ?
    Is the fact that it is active is good enough ?
    By the way thanks for your speedy reply !
    Yann
    Edited by: Yann GOFFIN on May 30, 2011 1:35 PM

  • How to change datasource name based on the partition in configplan

    Hi
    Can any one please give me some solutions regarding how to change datasource name based on the partition in
    configplan.
    can't we do this in configuration plan?

    If you want to change template based on parameter. you have to use below syntax
    v_layout boolean
    V_LAYOUT:= FND_SUBMIT.add_layout(template_appl_name => 'SQLAP' -- application short name
    ,template_code => 'HUBAPAPN' -- template name
    ,template_language => 'en'
    ,template_territory => '00'
    ,output_format => 'PDF');
    Above can be used in plsql stored procedure before submitting Concurrent Program (Bi Publisher report) or may be you can try to add this code in Oracle reports after report or before report trigger
    Thanks
    Kamalakar

  • How to refresh materialized view by trigger

    hi,
    im having a problem in refreshing materialized view through a trigger.
    CREATE OR REPLACE TRIGGER L_TRG_MARC_TEST
    BEFORE DELETE OR INSERT OR UPDATE ON MARC_BOOK_B_ENG
    BEGIN
    DBMS_MVIEW.REFRESH('TITLE_ENG_MV','C','',TRUE,FALSE,0,0,0,TRUE);
    END;
    Trigger created.
    SQL> DELETE FROM MARC_BOOK_B_ENG;
    DELETE FROM MARC_BOOK_B_ENG
    ERROR at line 1:
    ORA-04092: cannot COMMIT in a trigger
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 849
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 832
    ORA-06512: at "LIBQAL1.L_TRG_MARC_TEST", line 2
    ORA-04088: error during execution of trigger 'LIBQAL1.L_TRG_MARC_TEST'
    plz tell me how to refresh materialized view thru trigger,,and what is wrong in above mentioned situation.
    Regards

    DBMS_MVIEW.REFRESH implicitly commits. COMMIT is not permitted in triggers, as you can see, unless you use AUTONOMOUS_TRANSACTION.
    Try
    CREATE OR REPLACE TRIGGER L_TRG_MARC_TEST
    BEFORE DELETE OR INSERT OR UPDATE ON MARC_BOOK_B_ENG
    DECLARE
    PRAGMA AUTONOMOUS_TRANSACTION;
    BEGIN
    DBMS_MVIEW.REFRESH('TITLE_ENG_MV','C','',TRUE,FALSE,0,0,0,TRUE);
    END;

  • How to refresh CR 2008 datasource

    Hello,
    We have upgraded CR 10 that came with the Visual Studio 2005 to CR 2008. However, just upgrading of the Visual Studio project was not enough, to make old CR 10 reports to work I have to open each report in the CR 2008 application (not the Visual Studio), refresh their data source and save, after this they work.
    I'm using datasets as a datasource, so I don't have problem with it. But some reports I inherited from the previous developer. He was using a C# class as a datasource for reports. It's just a C# class file - InvReport.cs. This file contains field definitions for several reports.
    I cannot figure out how to refresh this datasource. Class file is not in the list of the datasources for Crystal Reports, so whatever I'm trying to do in the Database Expert (or by setting datasource location) fails.
    Could you please advise me on how to deal with this situation? Or perhaps there is another way to to upgrade the old reports to 2008 version? According to Visual Studio - they all had been upgraded automatically, but in reality they don't work until I open each one in the report application and refresh datasource.
    Thank you,
    Peter Afonin

    Peter,
    Rather than updating the reports from VS2005 I would suggest you to use CR2008 designer. During updating of the application the reports might not have got updated properly as it depends on the complexity of the reports like stored procedures, formulas etc. So I would suggest you open the .rpt file in designer, Go to Field Explorer -> set data source location and then create a new connection in Replace with window and update the fields in Current datasource window.
    Preview to ensure the report displays proper data and then use this report in the application.
    Hope that helps!
    AG.

  • How to Refresh Materialized views

    Hi All,
    How ro refresh Mv views manualy.could you pls provide definiation for refreshing the MV's manually.
    Thanks for your help.

    When creating the materialized view, you have the option of specifying whether the refresh occurs manually (ON DEMAND) or automatically (ON COMMIT, DBMS_JOB).
    You can use something like:
    EXECUTE DBMS_MVIEW.REFRESH('emp_dept_sum','F'); -- 'F' for fast refresh, 'C' for complete refresh
    For automatic fast refresh:
    CREATE MATERIALIZED VIEW emp_mv
    ON PREBUILT TABLE
    REFRESH FAST ON COMMIT
    ENABLE QUERY REWRITE
      AS SELECT empno, ename, dname, loc,
             e.rowid emp_rowid,
             d.rowid dep_rowid
        FROM emp e, dept d
       WHERE e.deptno = d.deptno;

  • How to Refresh a Single Graphic based on Time of Day

    On this Muse Developed Website, HOME | The Great American Car Wash, The traffic light is programmed to change to Red when the business is closed and to green when it opens. The code that I wrote incorporates this meta tag:
    <meta http-equiv="refresh" content="5"/>
    This refreshes the entire page every 5 seconds. The page blinking as it refreshes is undesirable. My best temporary fix is to change the refresh rate to 2 minutes. I have it tentatively set to 5 seconds for troubleshooting. It will be set to 30 seconds when it is time to publish the site.
    I used the "INSERT HTML" command in Muse to add the code. It works as intended, except for the annoying page blink to refresh the traffic light. The business owner could easily tolerate a traffic light blinking on refresh.
    Is there a way to just refresh only the graphic? Or is there a better way to automatically "update" the status of the light?
    Thanks.
    "Cincinnati"

    You can try the suggestions mentioned here :
    http://stackoverflow.com/questions/17886578/refresh-part-of-page-div
    http://crunchify.com/how-to-refresh-div-content-without-reloading-page-using-jquery-and-aj ax/
    Thanks,
    Sanjit

  • How to find total refresh time of Materialize view?

    Hello All,
    I want to know the total refresh time of Materialize view. i m refreshing MV by below statement
    i hv not logging the start and end time of this in process.
    exec dbms_mview.refresh('EMP_MV','C','',FALSE,FALSE,0,0,0,TRUE);
    So, anybody can you please know the using which database table it cab be possible?
    Thanks in advance

    The only way you can log the refresh time for each execution is to wrap the call inside a procedure that also logs the start and end times to a logging table.
    (if you manually run the exec dbms_mview.refresh from an SQLPlus command line, you could also SET TIMING ON in SQLPlus)
    Hemant K Chitale

  • How to refresh/restore VIEW STATE of a JSF component?   urgent help needed!

    AOA guys,
    I am using Jboss 4.0.5, JSF 1.1.2 and DOJO framework to handle ajax request.
    In my project, I am using A4J hidden fields to store values associated with an html anchor tag and use these values to update <h:outputText> dynamically (an ajax request).
    But when i click that anchor link a more than 15 times the message appears as a prompt that view state couldn't be restored - reload page.
    I think it is because that in JSF 1.1 default value of
    om.sun.faces.NUMBER_OF_VIEWS_IN_LOGICAL_VIEW_IN_SESSION is 15, So i can't store more than 15 View Id of JSF components.
    My Question is:
    _Without shifting to JSF1.2, how can i handle this restore view problem in my Java Code using phase listener or some other way so that if this view state problem will occur it atomatically restore the view ids?_
    Please reply me soon?

    avoid multi post
    http://forum.java.sun.com/thread.jspa?threadID=5229804

  • How to refresh report using Crystal Report Viewer 2008

    Hi,
    Please help me I dont now how to refresh report, te tab "refresh" is not active !!!!
    Jacek

    Hi Jacek,
    You can only refresh reports that are hosted on Business Objects servers (such as Crystal Reports Server 2008).
    http://www.businessobjects.com/product/catalog/crystalreports_viewer/
    Cheers,
    Fritz

  • How to refresh the input text value in backing bean

    hi all
    i want to know
    how to refresh the input text value in backing bean?
    i have tried this code ,but it doesnt work
    public void click(ActionEvent actionEvent) {
    tempConId.setValue("111111111111111");
    AdfFacesContext.getCurrentInstance().addPartialTarget(tempConId);
    sb know?
    Edited by: Joe Zou on 2012-4-6 下午9:11

    The code looks good.
    Here is a sample based on your use-case:
    InputTextSample.jspx:
    <af:form id="f1">
            <af:panelFormLayout id="pfl1">
              <f:facet name="footer">
                <af:commandButton text="Ok" id="cb1" partialSubmit="true"
                                  actionListener="#{InputTextSampleBean.onClick}"/>
              </f:facet>
              <af:inputText label="InputText" id="it1"
                            binding="#{InputTextSampleBean.myInputText}"/>
            </af:panelFormLayout>
          </af:form>
    InputTextSampleBean.java:
    import javax.faces.event.ActionEvent;
    import oracle.adf.view.rich.component.rich.input.RichInputText;
    import oracle.adf.view.rich.context.AdfFacesContext;
    public class InputTextSampleBean {
        private RichInputText myInputText;
        public InputTextSampleBean() {
        public void setMyInputText(RichInputText myInputText) {
            this.myInputText = myInputText;
        public RichInputText getMyInputText() {
            return myInputText;
        public void onClick(ActionEvent actionEvent) {
            this.myInputText.setValue("1234");
            AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
            adfFacesContext.addPartialTarget(this.myInputText);
    }

Maybe you are looking for

  • WOW USB Headset keep loosing sound - have to constantly unplug and plug it back in

    I have tried to find a solution everywhere but no luck. I got this headset a month or two ago but recently i have had to start unplugging and plugging the usb connector back in at either the computer or headset end. It just randomly cuts out and I he

  • MSS - Customize Team View

    Hello, We are implementing MSS on Portal and trying to hide/remove fields in the MSS - Team View Application under Home. When a manager views the employees in the Team View, and selects the 'Open Detailed Team View' link at the bottom he can drag/sel

  • Need audio jack repaired

    Hi support, I am looking for a place to send my tungsten e2 for repair of the audio jack. It only plays on one side of the headset,. I already tried to replace the earphones. It is definitely the jack. If you wiggle it you can get both earphones to w

  • HT202618 I want to play the same music on my Living Room Apple TV and my Bedroom Apple TV simultaneously. How do I do this?

    I've found a bunch of different articles that CLAIM to answer this question but they simply don't. Please don't refer me to an article that mysteriously does not address my question. I was finally able to find a work around to make the airplay icon a

  • Why can't i add music to iPhone 5 in iTunes

    Hi I have an iPhone 5, all software uptodate. I also have a macbook air and iMac, again all itunes software unto date. When I plug my iPhone in the iPhone is recognised in iTunes. I can add files in the apps section, but no matter what i try, i can't