Is it possible to access an existing  ref_cursor from an Oracle report

We have an Oracle Form - search screen - which has a block based on a ref_cursor. The same form is also going to be able to launch a report. Is it possible for the report to access the same result set (ie the ref_cursor) which has been opened by the form query. If so, how?
(The SQL for the ref_cursor is recreated for each query to reflect complex search criteria in the search screen).
Any advice will be appreciated.
Steve Edmeades - Cancer Research UK

I donìt believe you can use REF CURSOR created and opened from one and seen by the other.
Could you create a DB procedure that return a ref cursor, and therefore, then, you read from both the products

Similar Messages

  • Is it possible to read a mySQL database from an ABAP report?

    We have some information stored in a mySQL database which is now required on ABAP reports.
    Is it possible to read the mySQL database from an ABAP report? I'm still a bit confused on that.
    So far I have setup DBCO with information about the mySQL server using MMS as the DBS because mySQL was not an option. I have made sure we have the latest dbmssslib.dll installed.
    When I try to run the following code
    EXEC SQL.
        CONNECT TO :con
    ENDEXEC.
    I get error: SQL Server does not exist or access denied.
    Then I have tried to connect using the function CHECK_CONNECTION_SDB.
    I get the following messages in the return table:
    1     OS-AppServ:Windows NT
    2     dbmcli_neg: no_client_software
    3     dbmrfc_c_neg: no_client_software
    4     dbmrfc_s_neg: no_client_software
    5     sql_neg
    6     work_proc: 1
    Does anyone know what I need to do to connect to the mySQL database.
    Thank you
    Karen

    Thank you for your reply. I've gone through all the documentation you sent and much more and I'm still not sure what the problem is.
    One thing that concerns me is that this all relates to MS SQL server and I'm trying to link to a mySQL database. Is this even possible?
    Some posts talk about changing Oracle settings and having J2EE installed. Is this necessary to connect to a mySQL database via ABAP?
    Which user should I enter into DBCO? Is it the mySQL server user or a SAP user? Does the person in charge of the mySQL database need to add any permissions for SAP to access the database or is that done by the user in DBCO?
    Does anyone have any more advice?
    Thank you
    Karen
    Also, does anyone know what the messages from the CHECK_CONNECTION_SDB function mean
    1 OS-AppServ:Windows NT
    2 dbmcli_neg: no_client_software
    3 dbmrfc_c_neg: no_client_software
    4 dbmrfc_s_neg: no_client_software
    5 sql_neg
    6 work_proc: 1
    Edited by: Karen Dean on Oct 6, 2009 4:44 AM

  • Possible to access your iTunes library from iPod with Homesharing ?

    I have many movies in the library. Is it possible to access them from my iPod ( on the same network at home ) just using home sharing ?

    Yes, although it depends a bit on how your library is organised. If everything is in the iTunes standard folders, libraries are in ...My Documents\My Music\iTunes and all the media in ...My Documents\My Music\iTunes Music then you can share the main iTunes folder over your network. Install iTunes on the laptop, then hold shift immediately after clicking on the iTunes shortcut to get the option to choose or create a new library. Navigate to your network share and open the iTunes Library.itl file. Don't try to access the library from two machines at the same time.
    tt2

  • HT4913 I have two ipad with different apple ids, is it possible to access to itunes match from both devices

    How to associate an ipad to an apple id so bot ipads can access to the itunes match subscription?

    Welcome to the Apple Community.
    For both iPads to use the same iTunes Match subscription, they would both need to use the same ID for iTunes.

  • Is it possible to change an existing PDF from brochure format (2 columns) to single page?

    I have an old PDF, but not the source document. It is in two-column format, that is, two pages of text on one PDF page. I've tried converting to Word in Acrobat Pro XI, but that still preserves the two-column format. It's too big and complex to reformat in Word. I'd like to simply have each of the columns on their own page.

    You can copy the page and crop the left and the rigth column.

  • Deleting existing  record from the oracle if same record number is passed

    Hi all ,
    My requirement is as follows.
    There is one condition in XI which restricts certain work groups,These work groups will be changing contantly.
    Now my requirement is that ,if a record number say 100 exists in my oracle database,when the same record number is passed again,it should delete the old record which is already in the database and insert this new record.In other words all the records which are sent must be inserted with out duplication.
    How to achieve this functionality through XI.
    let me know.
    Thanks,
    Srinivasa

    Hi ,My target structure is
    Target->Statement->Attachments-
                                                     action=UPDATE_INSERT
                                                      table=xxxxx
                                                    ->access-
                                                                   Field1                                                                               
    Field2  
                                                                   Field3   
                                                                   Field4   
                                                                   Workgfoup
    Now let me noe what are thte modifications required in this structure to achieve my functionality.
    Thanks

  • How can we access the java API from the BO report

    Post Author: kusammurali
    CA Forum: JAVA
    Hi,
    Pls clarify my doubt
       Busines Objects Developer suit comes with either JAVA SDK or .NET SDK  COM/VISUAL BASIC SDK . am i right?
       By Using visual basic we can customize the report  (Tools--->Macros  and create VB macro)
        What is the process of accessing  .NET or JAVA SDK ? is there any separate editor for java and .net ?
    Thanks
    Murali.

    Using object tags is the correct way and only way to download the plugin and let the client decide whether he can download it r not. There is no way to install automatically
    I dont think there is a way to install automatically without a user intervention coz, it can open the floodgates for potential hackers.
    Can u cite an example about which programs can be installed automatically and why do u want the plugin to be installed automatically?
    ciao

  • Is it possible to pass a formula value from a sub-report to a main report

    Hi there,
    Im trying to pass a formula value from a Sub-report back upto into my Main report but the value doesnt seem to be getting passed up. Ive tried it the other way around, that is, passing a value from the main report to the sub-report and that works fine.
    Below is an example of what I am trying to do but it is not working. In my sub-report Ive declared a formula variable as,
    formula name=main_subIntRatePageCount
    Shared NumberVar subIntRatePageCount := TotalPageCount;
    and in the Main report Ive declared the formula variable as,
    formula name=subIntRatePageCount
    Shared NumberVar subIntRatePageCount;
    subIntRatePageCount;
    I want the value assigned to "subIntRatePageCount" in my Sub-Report to be available to my Main report.
    The problem I am trying to solve is that the sub-report is spilling over onto two pages, and I need a way of updating the page display on the main report to reflect this. The page display is of format, "displaying page 1 of  3", but its not taking into account the extra page produced by the sub-report, so it should say "displaying page 1 of 4".

    Also thanks Raghavendra, Asha,
    I've tried adding the "whileprintingrecords" statement but that doesnt seem to make any difference.
    I notice that the subReport is being called from my the GroupFooter section of the main report, and I am trying to reference the variable in the main repot in the Page Footer section. Could it be that the variable hasnt been calculated in the Page Footer by the time I calculate it in sub-Report? I thought Crystal Reports does at least 5 passes over the report evaluating all the formulas before it prints the report?
    The problem Im trying to solve is I need to know how many pages my report will have before its completed, so that i can print the statement "displaying page 1 of X", and X is currently not being calculated correctly because the sub-report is printing onto 2 pages and not 1 so the report thinks I have 1 of X pages and not X+1.
    Regards
    Robert.

  • Deleting existing  record from the oracle

    My sender is a proxy,there is one field here which changes say cfield.Xi doesnot send some records if the change field status is 0 or 1 or 2,for other records it sends data to to the JDBC Receiver.When the Sender Cfield status changes from 0 or 1 or 2 to other values,only this  corresponding record must be deleted from the the receiver JDBC.How to do this?
    Thanks,
    Srinivasa

    Hi Srinivasa,
    Use the JDBC receiver document format  with action DELETE.
    1) Develop Mapping Program in such a way that it creates Statement only when it is not 0,1 and 2.
    Use the Createif function.
    2) To delete only the corresponding records map the primary key value to key field
    chk this :
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    regards
    Ganga

  • Is it possible to access user_views of a schema in remote db?

    DB Version: 10gR2
    The number of columns in SCOTT.EMP in MHPROD database and SCOTT.EMP in NHTEST database is different.
    I was trying to find what these extra columns are. So i created a db link to SCOTT called NHTEST.
    SQL> show user
    USER is "SCOTT"
    SQL> select name from v$database;
    NAME
    MHPROD
    select column_name from user_Tab_cols where table_name='EMP'
    and column_name not in
    (select column_name from SCOTT.user_Tab_cols@NHTEST where table_name='EMP')When i try to execute this, i get the error
    ERROR at line 3:
    ORA-00942: table or view does not exist
    ORA-02063: preceding line from NHTESTIs it possible to access user_views or DB_views from a schema in remote db?
    Edited by: N.Page on Jun 9, 2010 6:57 AM

    Assuiming NHTEST is a database link to the remote database connecting with SCOTT, use user_Tab_cols@NHTESTNicolas.

  • CSM: Is it possible to access IPv4 server farms via IPv6 vIP?

    Dear all
    Before we start a more extensive testing programme I would like to ask the experts whether or not it should be possible to access already existing server farms (with IPv4 vIP) via an additional IPv6 vIP configured on the load balancer.
    The system in question is 6509 with Sup720 and CSM WS-X6066-SLB-APC.
    The idea is simple: Take an existing server farm (running completely on v4) and add an additional v6 vIP on the load balancer without the need to change the actual v4 networking behind the load balancer.
    Might this work (at least for some protocols like http, ftp, etc.)?
    Any "yes" or "no" or "maybe" or "with restrictions" appreciated.;)
    Thanks in advance,
    Grischa

    Fairly sure this isn't possible.  Unless I've missed something, the CSM doesn't support IPv6 at all.  Even if it did, I don't think a v6 VIP to a v4 real would work.  The only place I've seen this work was on a NetScaler, because the NetScaler holds independent connections open to the client and to the servers as a HTTP proxy, passing the request between the two.  I forget how the ACE operates; it may be able to act as a proxy, but don't think it supports v6 either.
    v6 support on CSMs would be totally awesome, but I'm not holding my breath.

  • Is it Possible to upload the output from Oracle reports To Access database

    Hi All,
    Wish you All a Very Happy New Year.
    I have a query.Is it possible to
    upload the output from the Oracle reports
    to the Access database???
    Any suggestions would be appreciated.
    TIA
    sg

    Hi sg,
    Research the DDE option.
    Dynamic Data Exchange (DDE) is a mechanism by which applications can communicate and exchange data in Windows.
    I have imported data into the excel spreadsheet using DDE built in functions. I am sure it can work with MS Acess as well. If not, then you need to create a 2 step process .. reports -> excel -> access.

  • Copying Existing Playlists From C: To New Ze

    Is it possible to import already existing playlists from Windows Media Player 0 directly to my Zen, or am I foreced to import only the music files from WMP to my Zen and then recreate the playlists I already have on my C: Windows Media Player.
    If true, that's a lot of work.
    I'm using XP Pro (updated sp2).
    My Zen is an 8Gig Microphoto.
    Joev

    Well, I used Windows file explorer to drop a dozen or so music files into my Zen, naming the playlist as 'test.'
    According to Zen Media Explorer, the playlist and files are there on the player, but I cannot find them in the 'library' on the Zen. All I can find on the Zen is that Victor Cheng junk music that was pre loaded to it. I cannot access any other directory or playlist.
    The miserable manual says merely "To start listening to music, connect the earphones and press the Play/Pause button." It doesn't say a dang word about navigating out of that dang Victor Cheng elevator music directory.
    I'd be on the phone to their support people, except that it is Saturday and they aren't there on Saturday. I'd certainly like to get some idea of how this thing works before Monday. I've never seen a manual so dang skimpy and do dang wrong!

  • How to access listbox binding data from a button which is not part of listbox in xaml page

    Hi
    I have the below listbox and its bdining as below
     <ListBox x:Name="listMyPosts" ItemsSource="{Binding Path=MyPostsDataSource}" Grid.Row="0"  >
               <ListBox.ItemTemplate >
                          <DataTemplate >                                      
                                        <StackPanel Orientation="Horizontal">
                                            <TextBlock Text="{Binding
    NewPostText ,Mode=TwoWay}"/>
                                            <TextBlock Text="{Binding
    NewPostSender}"/>
                                        </StackPanel>                                      
                                </DataTemplate>
                </ListBox.ItemTemplate>
               <Button content="Send Post" command ="Binding SendClickCommand} />
      </ListBox>
    And i am assining postsViewmodel
    private PostsViewModel _PostsViewModel ;
    public Conversation()
    InitializeComponent();
    _PostsViewModel = new PostsViewModel ();
    this.DataContext = _PostsViewModel ;
    public ObservableCollection<PostsModel> MyPostsDataSource
    get
    if (_MyPostsDataSource== null)
    _MyPostsDataSource= GetMyPosts();
    return _MyPostsDataSource;
    set
    this._MyPostsDataSource = value;
    RaisePropertyChanged("MyPostsDataSource");
    is that possible to access listbox binding data from the ViewModel's SendClickCommand property ?
    Krrishna

    If you need to pass to the command selected item, try this
    <Button Сontent="Send Post"
          Сommand ="{Binding SendClickCommand}"
          CommandParameter={Binding ElementName=listMyPosts,
    Path=SelectedItem}/>
    msdn

  • Access to EHS data from system outside of SAP

    We are creating a Formulation tool in a SQL database with a Access front end which will need to use EHS Specification data and eventually push the Formulation data back into the SAP EHS Spec database.
    I would like this new database to have Real-Time access to SAP data. We currently are using RFC connections with tools such as EASY-Expert and a external Rules based program Atrion as well, so I know it is possible to feed this data back and forth using XML files.
    Any advice on how I should proceed and maybe some external tools for purchase that will help me do this.

    Hi Beverly,
    it is possible to access EH&S data from outside SAP by using the standard SAP BAPIs (e.g. BAPI_BUS1077_GETDETAIL for reading EH&S data) which are RFC enabled. Another possibility would be to develop your own RFC enabled function modules in the SAP system and call them from outside.
    From your access database you can use VBA to perform the RFC call.
    Best regards,
    Andreas

Maybe you are looking for

  • XercesImpl.jar & xerces.jar

    Hi, I am just wondering what version of xerces is present in xercesImpl.jar that comes with xmlbeans-1.0.4-jdk.1.3.jar Thank you AshB

  • Business rules: Account transformation

    Hi everyone. I am trying to populate my cash flow statement using the Account Transformation. E.g For the changes in my inventories: I want the difference between the closing balance of DEC (of the previous year) and the closing balance of the curren

  • How to execute servlets in j2ee server

    please help me out in running servlets in j2ee server. i dont know where to put my servlets class files.

  • OH CRAP! iPhoto unexpectedly quits.

    Hello, my iPhoto application has been unexpectedly quitting on me, everytime I start it up. Last night my sister just accidentaly unplugged the power cord to my iMac, when she hooked up her digital camera to my computer. I then rebooted my Mac and th

  • Why isn't my phone number an option for imessage?

    I just switched providers with my phone and for some reason, imessage stopped working for me, so I reactivated it and I can't see my phone # as an option, just my email. I tried every single thing possible, nothing worked.