How to change datasource viewobject main query in .jsp

Hi i have datasource DataSource viewobject="test"
now in .jsp page i need to change it main query and after some things again back to default how i can doo it ?
Thanks for tips!
ID.
Jdeveloper Studio Edition Version 11.1.1.6.0
ADF Business Components
11.1.1.61.92

if you want to change where clause or modify the whole query look here
Changing the WHERE clause or VO Query at runtime in Oracle ADF | Techartifact

Similar Messages

  • 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 change datasource location in CR V10

    How to change the datasource location in CR10, I need to use same table in different database. I tried in "Set Datasource Location" but it is not updating to the new one which i have selected. please help me on this.
    Thanks,
    S Aravind.

    Hi Try like this,
    Go to the Database option on the top > Select Set data source option.
    The top portion of the Set Data source Location window shows the current connection and part at the bottom is where you would make a connection to the new database
    Once the connection has been made, select 'one' table from the current connection and then select a matching table in the new connection and click on the 'Update' button. Do this for all the tables one by one.

  • How to change PA30/20 main header?

    Dear all,
         Does anyone know how to change the main header of transaction PA30/20?
    Thanks a lot in advance!

    Hello Federico
    In SPRO go to Personnel Management under that Pesonnel Administration
    Under that  "Customizing User Interface" in that select Change  Screen Header.
    or you can directly go to sm31 enter table name as t588j & maintain.
    in spro you can go thru documentation which may help you out.
    reward points if helpful

  • How to change the font in query builder window in Reports 6i?

    Hi
    I am facing the old problem again and again, which is I can not find any way to change the font in query builder window in Reports 6i. The current font is so bad for alignment and ordering each part of SELECT statement. Is there any way to change this to COURIER NEW for example?

    No, but I suggest using a different editor which does allow a different text option and just pasting it in.

  • How to change default response encoding for not jsp files

    Hi
    Question about Weblogic Portal&Serwer 10.
    For standard web applications from war archiwes, html etc. files are send with default server response
    "Content-Type: text/html; charset=ISO-8859-1".
    The question is how to disable this default header
    or how to change this header to correct encoding.
    PS.
    I found solution only for ear' applications ...
    with file META-INF/weblogic-application.xml and webapp.encoding.default parameter. This works well for ear's.

    Thanks. I feel a bit like a dummy for not seeing that but so it goes. What I was looking for, in a perfect world, was to set a preference to permanently sert a default folder on an external drive to store the .dvdproj files once they are made.......but your suggestion is close enough to my original intention.
    Thanks again.

  • How to change datasource in CR XI Server

    Hi,
    How can I change the database and server in CR XI server?
    For example, my reports is designed against the 'pub1' database and the 'server1' server. How can I change the database to 'pub2' and the server to 'server2' in CR XI server?
    I understand within the CR XI Server, there is a place for me to change the datasource.
    Under the Database tab in Process Tab, I selected "Use custom database logon information specified here" radio button, and database driver as "ODBC". I entered the server IP, the login and password.
    I am using SQL 2000 Server.
    I run the report and get Error Message: "Failed to open the connection. C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\crystalreport.reportjobserver\~tmp142c5653066e200.rpt".
    I do not understand why failed to open the connection.
    Please advise.

    You will need to create an ODBC DSN on Windows first and then use the ODBC DSN's name instead of the IP Address under CMC >> Objects >> YourReport >> Process >> Database page.

  • How to change datasource type 3.x or new after replication?

    Hello,
    after the replication of a datasource i got a popup, if i want an old 3.X datasource or a new datasource. I clicked new, but i need an old 3.x datasource. Now i don't have a chance the change this.Where can i do it?
    I deleted the datasource in sourcesystem, but after new replication i don't get the popup to choose the datasource type.
    The problem is, i can't change the technical name of the datasource in sourcesystem because of the naming convention.
    Thanks in advance.
    Regards.

    Hi Bill,
    it's a generic datasource i created.The problem is that i create a 3.x Infosource too and i want use my generic datasource. But after replication i choose the false type (new datasource and not 3.x datasource) and now i can't assign my datasource to my 3.x infosource.I see the datasource in the sourcesystem-tree but not in the infosource-datasource-assigning-Popup.
    How can i change the type of datasource from new datasource to 3.x datasource in BI 7.0???

  • How to change date format in query

    Hi all!
    there is Date field in query (ref to 0Date) and it is in "01.2010" format. Anybody knows how to switch to "Jan 2010" format?

    HI,
    You can dispay using the excel properties. Once after the workbook run, select the column you want to change the format and cange to the format required. Save the workbook.
    From next run the date field will be displayed as the format set in workbook.
    Hope this helps,
    regards,
    anil

  • How to change infoset for a query in SQ01?

    hi,
    I have created a Infoset which I have assigned to the user group.  Now  for creating the query using this infoset, how can i
    proceed?? Its not giving me the option to change  the infoset
    and whenever I clicks on 'Create' it shows me the field group
    of some other infoset. how can i change it to my infoset which I have created.

    Hi,
    In SQ01 first you press shift+F7 then find your user group. then from infoset query tab ,select ur infoset.
    and do the further processing.
    i hope this information will help you.
    regards
    saurabh

  • How to change DataSource runtime in Oracle ADF.

    Hi All,
    In my requirement,Its seems to selecting dynamic data-source.let me explain my requirement i have a table in database username,passwords and schema name. from the login page i ll pass username,password and as drop-down I ll select schema.once i successfully logged-in can i access (execute, display data from ) selected schema from UI.in all sachems tables remain same but data is different.
    how to execute/change selected data-sources at run time if i am using Bc4J.
    please give me some solution.
    regards
    Siva

    Check Jobineshs blog http://jobinesh.blogspot.de/2011/04/modifying-application-modules-jdbc.html and Andrejus blog http://andrejusb.blogspot.de/2012/08/sample-application-for-switching.html
    Timo

  • How to change code in SAP Query

    Hi Experts !!
    In SAP QUERY I am getting the  PO  with  all delivey dates & deliveried Qty  but I have to select only  single PO with latest delivery date  & qty. If there r more than one record for latest delivery date than deliveried QTY must be sum of  all QTY (for the  latest delivery date). for example :
    this is coming
    Po                delivery date                 qty
    10001         30.06.2009                   4
    10001         30.06.2009                   5
    10001         01.05.2009                   4
    we want
    Po                delivery date                 qty
    10001          30.06.2009                   9
    Thanks in advance.
    Thanks & Regards
    Navneet Singhal

    >
    navneet singhal wrote:
    > There is an internal table  %G00 in  query generated program (AQCSZPCWMM======Z_PCW_ORDER_V2) when I use this table in Code section (END-OF-SELECTION ) system thro msg %G00 is not defined . if I define this table in DATA  section than  run the query , It gives the  DUMP  with error %G00 is already decleared.
    >
    > How can I use %G00 internal table  in my code section.
    I have the same problem as the OP. I need to get rid of the duplicates and have all sumarized in just one row. I was thinking about this same solution, but when I add code to the END-OF-SELECTION event, this doesn't appears anywhere (but if I add code to any calculated field, yes).
    And the problem of the quoted message. I tried using field-symbols but I have errors saying that it's nos a valid table, etc...
    Any ideas???
    Thanks!!!

  • ALV GRID: How to change Subtotal and Main total values in standard row

    Hi Experts,
    By using SORT-SUBTOT = 'X' and  FIELDCATALOG-DO_SUM    = 'X', I will get subtotal and Main total.
    My requiremnt is I need be calculate values manually and pass the calculated values to subtotal and maintotal.
    is it possible in ALV GRID?
    By adding extra row we will do this but I am looking standard subtotal and maintotal row change.
    Thanks in advance,
    Mahe

    Hi,
    With function REUSE_ALV_GRID_DISPLAY you cannot do this.
    It´s possible if you create a class inherited from cl_gui_alv_grid and rewrite the method set_data_table, you can do this. Like:
    CLASS xgrid DEFINITION INHERITING FROM cl_gui_alv_grid.
      PROTECTED SECTION.
        METHODS: set_data_table REDEFINITION.
    ENDCLASS.                    "xgrid DEFINITION
    CLASS xgrid IMPLEMENTATION.
      METHOD set_data_table.
    * ....MODIFY data_table ...
        CALL METHOD super->set_data_table
          CHANGING
            data_table = data_table.
      ENDMETHOD.                    "set_data_table
    ENDCLASS.                    "xgrid IMPLEMENTATION
    DATA:    grid  TYPE REF TO xgrid.
      CREATE OBJECT custom_container EXPORTING container_name = mycontainer.
      CREATE OBJECT grid  EXPORTING i_parent = custom_container.
      CALL METHOD grid1->set_table_for_first_display ...
    Best regards,
    Leandro Mengue

  • How to change the file main.html in catalyst?

    My Web Hosting can not accept files with main.html, only with index.html. How to rename the file in Catalyst? Please do not tell me I have to go to the builder to do this.
    here is the link: http://www.insight-gd.com  and see what comes up.
    thx
    Mike

    chris, I'm in open war with the people from my server hehehe, they say that it is possible to accept the domain main.html. But my question is if I return the letter M by m, will not interfere in other files?
    thx
    Mike

  • How to change datasource of a group in portal

    Hello Evryone,
    I am using EP7.0
    When I am creating a new group under User Administration->Identity Management ->Create new Group,
    a new group gets created, but the data source of this group is "UME Datasource".
    I want to change the data source of this group. The available data sources when I search the groups are "R3_ROLE_DS", "UME Datasource", "Built-in Groups Adapter".
    But there is no way that I can create a group with , say R3_ROLE_DS data source. On creation of a new group it just asks for a group name and group description. It always creates a group with a default data source "UME Datasource".
    Can anyone help me on this.
    Thanks
    Vikram

    Thanks Bala,
    I do not have much knowledge about UME so kindly bear with me.
    The problem that I am facing is : when I search for groups in portal, then I am able to view/search groups that are of type R3_ROLE_DS( ie these groups have been created in backend) as well as groups with type :"UME DATABASE".
    I just want to know, that if I want to create a group in portal with type R3_ROLE_DS, then is it possible or not?
    Basically, the issue is that groups created in backend are vsible/can be used in portal, but can I create groups through portal that can be visible/used in backend?
    Vikram

Maybe you are looking for

  • How can I export a Keynote presentation to a text file?

    I am using Keynote to teach a course at university. One of the students is visually impaired and requires a text version of the presentation for use with his reading software. What's the easiest way to get my presentation into a text format for him?

  • Magic Mouse works in Windows 7 x64... Until Reboot

    So I've tried every troubleshooting solution I could find and after hours of fiddling around, and I finally got the Magic Mouse to work in Win 7 x64 (Boot Camp). However, after rebooting it no longer worked. I have downloaded the drivers listed on Ap

  • Opening RAW file into Camera Raw (help please)

    Hi, Brand new to Photoshop (free trial started 2 days ago) and am having significant difficulties with overall program.  One major issue is the ability to open my photos into the Camera Raw program.  One tutorial mentions to right click and convert i

  • How do i reinstall photos back into iphoto5?

    I accidentally messed up my photo library and had to erase it to start again. I have a complete back up reinstalled on the hard drive, but dont know how to get the computer to recognize the folder and load the pictures so that i can see them when i o

  • Cannot import files from ANY CD, confused and upset, please help!

    This has been ruining my whole week. I got a video iPod for Christmas, and installed iTunes on my father's computer to try it out. Everything worked great. I installed iTunes on my work computer(the only computer I have with a working hard drive), an