Accesing another instance from Forms

Hello,
on an instance('inst1') i have a table, 'inst_tbl' which contains a clob type column, 'xml'.
and i have a form (with a database block based on table 'table_cer') which has a button to open another form (on a different instance, 'inst2'). on this form opened i wanna, in a text item (char, of 32767 length) display the content of that xml from 'inst_tbl' table, where ':global.id_cer=inst_tbl.id_cer' .
so on the first form i can set a global variable, 'id_cer', and on the called form, in the where clause i can write 'where ...... = :global. .....'
but the first form is based on a table from 'inst1' instance, and on the called form there is a DUMMY data block with one non-database text item populated when the button from the 1st form was pressed.
How can i do that?
Regards,
Edited by: Roger22 on 31.08.2009 18:57

Hi!
You can create a database link from instance2 to instance1.
But you cannot fetch the clob value with a simple select,
cause of limited support of clob datatype in forms.
Regards
Edited by: Magoo on 31.08.2009 19:22

Similar Messages

  • Migration of code from one instance to another instance

    Hi OAF Team,
    i want to migrate the (OAF)code form one instance(test) to another instance(Dev), what is the procedure and how can i migrate from one instance to another instance.
    could you please solution for this.
    Regards,
    Muthu

    Hi
    General procedure is to zip all the java & xml page files and copy to dev instance. Then you can write a shell script to extract the zipped files and place it in appropriate locations.
    If there are any AOL objects defined by you, then you need to include that in shell script
    Regards
    Ravi

  • Posting from FICA to another instance

    Is it at all possible to post directly from SAP FICA or CD in one instance to SAP FICO in another instance or should the initial posting be done in the SAP FICA instance and the transfer it via I-docs or something similar to FICO in the other instance?
    Rgrds,
    Arnoud

    Arnoud:
    The second approach is the correct one - you can make use of idocs to communicate GL postings form one system to the consolidated system.  There must be GL in the same system as the FICA so that reconciliation can be done.  SAP has many clients who use distributed landscape with GL idocs.
    regards,
    bill.

  • How to move an instance from one activity to another

    Hi all,
    Is it possible to move an instance from one activity to another using an external process? Is it possible to do this with PAPI and pass parameters to the instance in order to determine the instance's flow?
    Regards

    Yes it is possible using PAPI. I have just used PAPI to create instances . I have not tried the requirement which you want. But as per my knowledge it can be done.
    Good Luck
    Right Chord

  • Error while creating the view from one instance to another instance

    Hi Experts
    I want to Create a view which reside in one instance for example xxx Instance . I want to create the same view which reside in xxx instance to another instance for example YYY Instance How to acheive this ?
    I tried desc the View take the view script from XXX instance and copied the view script to YYY instance when I compiled Iam getting an Error
    For Example My view in XXX Instance
    CREATE OR REPLACE FORCE VIEW xxx.sample
    First_name,
    last_name
    as
         select "F_NAME",
                 "L_NAME"
         FROM  EMP;When try to copy and compile the same view in my YYY Instance
    i am getting error
    ORA: table or view does not exist
    Advance Thanks
    AT

    A.T wrote:
    Hi Experts ,
    Thanks For all your valuable information I amTrying Of DB Link i think so
    As per My understanding If wrong anywhere please advice me
    Here Instance is Like : One DB 10g divided into several Instance like (test , devlopement , production Instance)
    Now hope i ll make my req clear .
    Coming to my reqirement
    the actual table EMP is in xxi.TEST (Here xxi => Schema and test is an Instance )
    I want to create the view which is based on by table EMP which in my test instance to devoplment instance
    For example xxo.development (here xxo => Schema and development is an Instance )
    Need to access the xxi schema in Test Instance How can I create a DB Link please share your ideas and advice me
    Advance Thanks
    ATIt's still not at all clear, but let me outline what I think you are after
    Given a database, ORCL_A
    In database ORCL_A we have a schema, HALFTRACK
    User HALFTRACK has a table, MYSTUFF
    Given a database, ORCL_B
    In database ORCL_B we have a user GREENBRASS
    User GREENBRASS needs to be able to query the table HALFTRACK.MYSTUFF.
    In database ORCL_B, as user GREENBRASS
    create database link mylink
    connect to halftrack identified by halftracks_pswd
    using ORCL_A;
    select * from mytable@mylink;The db link defines a connection specification to ORCL_A, using the credentials of a user on ORCL_A. The target of the USING clause in the link definition must be an entry in the tnsames.ora file on the server hosting database ORCL_B.
    When querying through the link, database ORCL_B is simply acting as a client to ORCL_A, no different that a sqlplus session on ORACL_B's server. As far as ORCL_A is concerned, ORCL_B is just another client requesting a connection, connecting with the credentials defined in the link definition.

  • Tried to upgrade from firefox 3.6.2 to 3.6.3, error message says another instance of firefox is running, then 3.6.2 opens. This occurs when i start firefox after restarting the computer, or when i try to install the upgrade

    Whenever i try to open firefox, i get a message that firefox cannot install the upgrade because another instance of firefox is running. Then firefox 3.6.2 will start. running windows 7 64 bit. This will occur every time i try to open firefox, after rebooting or any time i close it and reopen firefox.
    == This happened ==
    Every time Firefox opened
    == I Ok'd the upgrade from 3.6.2 to 3.6.3

    Do a clean (re)install and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    You can skip the step to create a new profile, that is not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • How to transfer the logins from one instance to another instance in sql2008r2

    how to transfer the logins from one instance to another instance in sql2008r2

    Hi Ganesh,
    According to your description, you want to know how to transfer the logins from one instance to another instance for SQL Server 2008 R2. To do this, besides dave’s post, you could also use
    'Copy Database Wizard' in SQL Server Management Studio, or the component
    'transfer Login task' in SQL Server Integration Services.
    Regards,
    Michelle Li

  • Login from one Instance to another instance

    Dear All,
    How that i can login to another instance server using sql query?
    Example:
    I'm Login to instance server A and want query to instance server B so I want login to Instance Server B using sql query from Instance Server A.
    How that i solve that problem?
    best regards,
    Surbakti

    Linked server?
    https://msdn.microsoft.com/en-us/library/ff772782.aspx
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Moving bpel instances from one application server to another

    Is it possible to move bpel instances from one server to another?
    We use SOA Suite 10.1.3. The idea is:
    1. shutdown the appserver
    2. make a dump of the dehydration store (bpel schema, ...)
    3. import the dump in the new environment
    4. startup the the "new" SOA Suite
    The question is: Are there any hard coded references (e.g. OAS url) within the
    SOA database schema?
    Thanks,
    Marcus

    Apologies for the formatting, IE6 and company policy means none of the formatting seems to work. :o(

  • How to migrate ESS job from one instance to another Instance ?

    Hi Experts,
    We have developed some custom ESS jobs in fusion applications. Now we have to migrate newly created ESS jobs to another environment.
    Is there any way like we use to extract ldt in EBS R12.
    Kindly suggest......!
    Thanks,
    Praveen

    Please refer to:
    How to Migrate ESS Job Definitions Using WLST (1941788.1)
    Migrating Ess Job Definitions From One Instance To Another Instance (1442541.1)
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Importing Custom folder in Discoverer Administrator from One Instance to Another Instance

    Hi all,
    I have created a custom folder XXHR_TEST_FOLDER_OLM in Discoverer Administrator 10.1.2.1 in my test instance. I want to move it to another instance say UAT. First i exported the folder from test instance. File-> Export -> Selected Objects in the End User Layer->Selected Custom folder->Provided Save location and finish. The eex file is created in my local machine. Now I tried to import the same to the UAT instance. File-> Import. It throws me an warning stating
    "A folder named 'XXHR_TEST_FOLDER_OLM' was created or modified during the import but is not in a business area". What am i missing here. Kindly let me know.
    Regards,
    Pradeep

    Vinay,
    For deploying pages to Production instance , you need import these pages with help with oracle.jrad.tools.xml.importer.XMLImporter command. Check old thread in this reference .
    Thanks

  • Invoke a web page from form 6i

    How can I invoke a web page from Oracle Forms 6i. The web built in has show_document but it only works with a form run from the web. Our forms are not deployed on web. Can anyone help???

    The command works except there's one problem. Once explorer is launched, it grey's out my form application screen and I can't use the application parallel with web. Once I close the browser then the control is returned back to form.
    Does any one know is it is possible to launch the web as well as not leave control from forms application. At this point I'm working with a work around to open another instance of application which is kinda not neat.
    Pleaseeeeeeee help.

  • Calling Report From Form To Many Destinations

    Hi
    I am calling reports from forms using SET_REPORT_OBJECT_PROPERTY and then run_report_object.
    I dont know the destination until runtime of the report which is ok as I can pass this in via my procedure, but if that destination is many ie mail and file what is the best way to distribute the report?
    I could call my procedure for each destination but that seems a bit unefficient since the report would be created many times, is there another way?

    what about adding a drop-down-list near your report-button where you can choose the destination?
    when you click the report-button you simply read the value selected in the drop-down-list and send it to your reports-server too.

  • Calling Report from Form Error ORA-06508

    Dear all,
    I want migrate from Fom6i to Oracle Developer Suite 10g (10.1).
    Folder Form = C:\APLIORA\IRS\FORM
    Folder Report = C:\APLIORA\IRS\REPORT
    I have modified file DEFAULT.ENV
    FORMS_PATH=C:\APLIORA\IRS\FORM;C:\APLIORA\IRS\REPORT
    i do not have problem call a form from form.
    but when i call report from form show error ORA-06508 : PL/SQL : could not find program unit being called ; -6508
    my procedure is
    PROCEDURE Call_Report IS
         list_id ParamList;
    BEGIN
    list_id := Get_Parameter_List('input_params');
    IF NOT Id_Null(list_id) THEN
    Destroy_Parameter_List(list_id);
    END IF;
    list_id := Create_Parameter_List('input_params');
    Add_Parameter(list_id,'MAXIMIZE',TEXT_PARAMETER,'YES');
    Add_Parameter(list_id,'ORACLE_SHUTDOWN',TEXT_PARAMETER,'YES');
    RP2RRO.RP2RRO_RUN_PRODUCT(REPORTS,'TESTREPORT.REP',SYNCHRONOUS,RUNTIME,FILESYSTEM,list_id,null);
    END ;
    Do I miss something ?
    Can any one help ?
    Thanks

    Hi,
    Thank you for your replay.
    The problem have solved.
    This my step :
    1. Install Windows XP SP2 and Form 10.1.2.0.2 on new pc.
    2. Install Jinit version 1.3.1.28.
    3. Create report server
    3. Compile form, report and pll
    4. call report from from with this procedure :
    PROCEDURE Call_Report (vFILENAME varchar2) IS
    report_id                Report_Object;
    ReportServerJob VARCHAR2(100);
    vc_rep_status      VARCHAR2(100);
    repsvr                          varchar2(21) := 'myserv';
    userid                         VARCHAR2(100);
    pass                          VARCHAR2(100);
    Host                    VARCHAR2(100);
    BEGIN
    userid          := Get_Application_Property(USERNAME) ;
    pass          := Get_Application_Property(PASSWORD) ;
    Host          := Get_Application_Property(CONNECT_STRING) ;
    report_id:= find_report_object('REPORT');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME,vFILENAME||'.jsp');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,repsvr);
    ReportServerJob:=run_report_object(report_id);
    vc_rep_status := REPORT_OBJECT_STATUS(ReportServerJob);
    WHILE vc_rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED', null)
    LOOP
    vc_rep_status:=REPORT_OBJECT_STATUS(ReportServerJob);
    END LOOP;
    IF vc_rep_status='FINISHED' THEN
    WEB.SHOW_DOCUMENT('/reports/rwservlet?report='||vFILENAME||'.jsp'||'&userid='||userid||'/'||pass||'@'||Host||'&destype=CACHE&desformat=PDF&paramform=yes','_blank');
    ELSE
    message ('Report failed with error message '|| vc_rep_status);
    END IF;
    END;
    Ok, but i have another strange error. I will post new thread.
    Thank you and regards
    Teguh S

  • Print a File from Forms to a Printer connected to USB Port

    Hi All,
    I have a printer connected to the USB port to my local machine.
    I access web application Forms 9i AS and try to print a report on my local printer.The report is opened using web.show_document in the Internet explorer browser window. There are several pages in the report and i need a page break to be recognized on each page. For remote printing i tried using ORARRP utility but it does not print from a printer connected to a USB port. But it works when the printer is connected to a parallel port.
    How do i achieve this, please share your thoughts on this and solution as well if this is feasible
    Expecting a favourable reply from the forum users.
    Thanks in advance

    WEB.show_document is mainly for running a report that you want to display in a browser but you can still use it to create a file in the report server even though I would recommend to use RUN_REPORT_OBJECT instead ...
    You can take a look at metalink note 207396.1 - How to Run Reports From Forms 9i / 10g Using RUN_REPORT_OBJECT.
    It appears you are already using it since WEB.show_document in your case is just used to retrieve the output from a job that was previously run, most likely with RUN_REPORT_OBJECT.
    Can you post the code used to run the report ? It will be easier to convert it to generate a file if we have it..
    The file name you assign it when you call the report (DESNAME=d:\mysharedfolder\mytextfilenameyyymmddhhmiss.txt) so that it is unique and you delete it after the report is printed, webutil can give you a private folder for the user in the application server, in case the data is sensitive, you would run the report with DESTYPE=FILE and MODE=CHARACTER.
    You would need two folder locations, one in the application server, webutil can help you with that, and another one in the client PC, it could be the C:\TEMP folder if you will ...

Maybe you are looking for

  • Sync with iTunes problems

    When I try to sync my iPhone it start first with backing up and it takes forever, then it starts with transfering purchases etc. How can I avoid that? I would like only to ad one or two albums or one or two videos. This is annoying. Thx

  • Setting passwords for pdf document generated by SAP system

    We are generating PDF documents from SAP system and distributing them as email attachment. just want to know if anyhow we can enforce the password protection while generating these documents or may be setting the password protection before distributi

  • Compliance Calibrator: Background jobs didn't bring in the correct data.

    Hi Gurus; In Compliance Calibrator; background jobs were last run on 5/27/09 but the management report shows that the summary is as of 5/20/09. That should have been updated uptill 5/27/09 and the new number of conflicts should have come up, which it

  • Shopping cart is awaiting for approval even it does not need

    Hello friends, I am doing configuration to srm 5.0 . my shopping cart is waiting for approval even it doesnot need approval. Even when i create direct material purchase order the PO is going to approval. i have clearly defined the start conditions. w

  • Can't use Firefox now that I've downloaded the new version!

    I downloaded the new version of firefox, and now when I click to get online it says that I am working offline and won't let me get online. I love firefox, but this is ridiculous!