Migration from Reports 6i to 10G

Hi,
I have migrated my forms from 6i to 10g. Everything is working fine except reports.
(Im calling reports from my menu modules using run_product builtin).
Now i need the steps to migrate the reports from 6i to 10G.
Good Help will be appreciated.
Regards
Sankar.M.N

hi,
instead of run_product you hav to use web.showdocument
migrate your from from which you are clling report
it will add report-object and rp2rro lib to your form
and then change your function
like this
PROCEDURE call_report IS
          pi_id paramlist;
          alrt_var number;     
          repid report_object;     
          rep_path varchar2(200);
          vc_reportserverjob varchar2(100);
          report_job_id varchar2(100);
          v_rep_status varchar2(100);
begin
     repid := find_report_object('RP2PRO');
     rep_path:=*path of ypur report*;
     set_report_object_property(repid,report_filename,rep_path);
     set_report_object_property(repid,report_server,*report_server_name*);
     set_report_object_property(repid,report_execution_mode,RUNTIME);
     set_report_object_property(repid,report_comm_mode,SYNCHRONOUS);
     set_report_object_property(repid,report_destype,cache);
     set_report_object_property(repid,report_desformat,'pdf');
     pi_id := get_parameter_list('it_param');
     if      not Id_null(pi_id) then
          destroy_parameter_list(pi_id);
     end if;
     pi_id := create_parameter_list('it_param');
     add_parameter*(your_parametrer here*
     add_parameter(pi_id,'PARAMFORM',TEXT_PARAMETER,'NO');
     vc_reportserverjob := RUN_REPORT_OBJECT(repid, pi_id);
     report_job_id:=substr(vc_reportserverjob,length(*report_server_name*)+2,length(vc_reportserverjob));
     v_rep_status:=report_object_status(vc_reportserverjob);     
     if v_rep_status='FINISHED' then
          web.show_document('http://'||*host_name*||':'||*port_name*||'/reports/rwservlet/getjobid'||report_job_id||'?server='||*report_server_name*,'_blank');      
     else
          message ('error when running report'||v_rep_status);
     end if;
end;
END;

Similar Messages

  • Technical Document (Exact Procedures) To Migrate Forms/Reports 9i to 10g

    Hi;
    Where can i find the Technical Document (Exact Procedures) To Migrate Forms/Reports 9i to 10g?

    This seems to be a common point of confusion. The "FMw Upgrade Assistant" is a utility which helps you to upgrade the entire Application Server installation to a newer version (e.g. 11.1.x). This has nothing to do with your Forms (fmb, mmb, pll, etc) or Reports (rep, rdf, etc) applications. Generally speaking, I would say that using the UA is not necessary and likely should not be used in most cases. Cases where it should be used might include a situation where your previous version has been significantly customized and you don't know how or don't want to make the same customization in the new environment manually. Whether you are talking about a new product (Oracle or not) or even a new OS, generally your best bet is to start with a clean, new installation. Attempting to upgrade an existing version always comes with problems. Just one man's opinion ;-)
    As for your Forms application(s), there is a Forms Migration Assistant (FMA), explained in the Forms Upgrade Guide:
    http://docs.oracle.com/cd/E24269_01/doc.11120/e24478/toc.htm
    That said, just like using UA, it is always better to take the extra time and not rely on such tools if they can be avoided. In most cases, the FMA will not be needed. This is especially true if your application is coming from version 10. For older versions, using FMA might be beneficial.
    So, to the point, in order to move a Forms application (fmb, mmb, pll) from version 10 to 11 is as simply as recompiling your modules using the v11 compiler. That's it ;-)

  • Hotkey (Ctrl+B) is not working after migration from Forms 6i to 10g

    Dear Gurus,
    Need your help regarding the following problem:
    After migrating from Forms 6i to 10g (Rel 2), Ctrl+B (used to list the blocks in a form) hotkey is not working anymore (all other hotkeys are working fine). I've checked my FMRWEB.RES and it contains an entry for Ctrl+B:
    66 : 2 : "Ctrl+B" : 70 : "Block Menu"
    Additional Information:
    OS: AIX
    NLS_LANG = UTF8
    fmrweb_utf8.res also contains the same text for Ctrl+B as above.
    I tried to reproduce it on my Windows Machine (with NLS_LANG set to AMERICAN_AMERICA.WE8ISO8859P1) and its not working as well. I don't have right to put move files on AIX server but i can try anything (on my local system) suggested by the Oracle gurus.
    Best Regards,

    Dear Gerd,
    "are you sure, that it is the hotkey"
    Yes, i am dead sure. Since:
    (1) It was working fine in forms 6i
    (2) If you run a form and select Help => Keys, you will see Ctrl+B on the top of list
    The problem is its not taking into account the keys which i am defining in the file (although i am following the same procedure detailed on metalink.oracle.com).
    Regards

  • Migrating from MSSQL2005 to OracleExpress 10g - stored proc problems

    I'm trying to migrate from MSSQLExpress2005 to OracleExpress 10g.
    I upgraded my SQLDeveloper 1.1.3 to SQLDeveloper 1.2 from Check Updates (Even it still displays 1.1.3 at Help->About, I assume it was upgraded because version of extensions changed to 10.2.0.29.98)
    First I have renaming of my objects problem :
    Why does SQLDeveloper renames my stored procedures? I dont see any reason to change.Some of about 50 occurrences :
    1-"spCPLN_Alloc_ReSortForMultiAttendance" to "spCPLN_lloc_ReSortForMultitten"
    2-"spCPLN_Alloc_CalculateFixedConstraints" to "spCPLN_lloc_CalculateFixedCons"
    3-"spCPLN_Alloc_GetAllocationResult" to "spCPLN_lloc_GetllocationResult"
    Another problem : What is the problem of this T/SQL scode snippet?I cant convert it with Scratch editor too. I got "Unexpected end of subtree : Line 0 Col 0." error
    CREATE PROCEDURE spCPLN_XML_InsertDers
    @CourseID int,
    @Type1 int
    AS
    BEGIN
    IF((NOT EXISTS(
    SELECT * FROM DersKur
    WHERE CourseID = @CourseID))
    AND ( @Type1 = 2 ))
    BEGIN
    SELECT 1
    END
    END     
    I have more than 15 error like this.
    thank you
    tuna

    Hi Tuna ,
    Thanks for the feedback.
    Stored procedure names are collision managed so that they are not longer than 30 characters in length. This is a limitation of Oracles object naming convention.
    http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14261/fundamentals.htm#sthref309
    WRT the procedure.
    There is a issue in the T-SQL translator which I have logged a bug for.
    bug 6127111 NOT EXITS SUB EXPRESSION NOT RECOGNIZED
    It looks like the translator cannot recognize the
    IF(( NOT EXISTS
    and is expecting IF NOT EXISTS.
    As a workaround the following manually modified T-SQL translates
    T-SQL
    CREATE PROCEDURE spCPLN_XML_InsertDers
    @CourseID int,
    @Type1 int
    AS
    BEGIN
    IF NOT EXISTS(
    SELECT * FROM DersKur
    WHERE CourseID = @CourseID) AND ( @Type1 = 2 )
    BEGIN
    SELECT 1
    END
    END
    GENERATED PL/SQL
    CREATE OR REPLACE PROCEDURE spCPLN_XML_InsertDers
    v_CourseID IN NUMBER DEFAULT NULL ,
    v_Type1 IN NUMBER DEFAULT NULL ,
    cv_1 IN OUT SYS_REFCURSOR
    AS
    v_temp NUMBER(1, 0) := 0;
    BEGIN
    BEGIN
    SELECT 1 INTO v_temp
    FROM DUAL
    WHERE NOT EXISTS ( SELECT *
    FROM DersKur
    WHERE CourseID = v_CourseID )
    AND ( v_Type1 = 2 );
    EXCEPTION
    WHEN OTHERS THEN
    NULL;
    END;
    IF v_temp = 1 THEN
    BEGIN
    OPEN cv_1 FOR
    SELECT 1
    FROM DUAL ;
    END;
    END IF;
    END;

  • Migration from Reports 6i to AS10g and rwservlet

    Okay, somehow I managed to delete my last post, so I'm trying this again...
    I have a legacy application that I am trying to migrate from Oracle 9i (with reports 6i) to Oracle 10g db and AS10g (running on a Windows 2003 server). Our current reports are being run via CGI (rwcgi60.exe). The oracle documentation says that in 10g this is only supported for backward compatibility and it recommends the use of rwservlet instead.
    I have spent the past two days reading both the oracle documentation and other information I have found on the web. I have turned off SSO, modified the cgicmd.dat file to incorporate our key mappings and have modified the REPORTS_PATH environment variable in the registry. I believe things are configured correctly as I get a response when calling the following URL from a browser:
    https://www.mydomain.com:2121/reports/rwservlet/showenv
    I am also able to generate one of our custom reports by issuing either of the following URLs:
    https://www.mydomain.com:2121/reports/rwservlet?mykey+REPORT=cyprtl+DESFORMAT=PDF+P_ASOFDATE=01/19/2010+P_CLI_CODE=ALS+P_CMU_CODE+TONS+P_FUN_CODE=ALS+P_METRIC_FLAG=N+P_PRO_CODE=ALDENC+P_SESSION=113289+P_TRA_ID=36239+P_TRA_CODE=AS321
    https://www.mydomain.com:2121/reports/rwservlet?mykey&REPORT=cyprtl&DESFORMAT=PDF&P_ASOFDATE=01/19/2010&P_CLI_CODE=ALS&P_CMU_CODE&TONS&P_FUN_CODE=ALS&P_METRIC_FLAG=N&P_PRO_CODE=ALDENC&P_SESSION=113289&P_TRA_ID=36239&P_TRA_CODE=AS321
    The application that we use to generate reports previously submitted the request to the CGI server via an html form (example below). I have modified the code so that the form action is "https://www.mydomain.com:2121/reports/rwservlet?" rather than "https://www.mydomain.com:2121/reports/rwcgi60.exe?".
    <HTML>
    <HEAD>
    <SCRIPT TYPE="text/javaScript">
    function displayRpt() {
    alert ("bozo");     
    document.forms[0].submit();
    </SCRIPT>
    </HEAD>
    <BODY onLoad="displayRpt();">
    <FORM ACTION="https://www.mydomain.com:2121/reports/rwservlet?" METHOD="POST" TARGET="_top">
    <INPUT TYPE="hidden" NAME="mykey" VALUE="">
    <INPUT TYPE="hidden" NAME="REPORT" VALUE="cyprtl">
    <INPUT TYPE="hidden" NAME="DESFORMAT" VALUE="PDF">
    <INPUT TYPE="hidden" NAME="P_ASOFDATE" VALUE="01/19/2010">
    <INPUT TYPE="hidden" NAME="P_CLI_CODE" VALUE="ALS">
    <INPUT TYPE="hidden" NAME="P_CMU_CODE" VALUE="TONS">
    <INPUT TYPE="hidden" NAME="P_FUN_CODE" VALUE="ALS">
    <INPUT TYPE="hidden" NAME="P_METRIC_FLAG" VALUE="N">
    <INPUT TYPE="hidden" NAME="P_PRO_CODE" VALUE="ALDENC">
    <INPUT TYPE="hidden" NAME="P_SESSION" VALUE="113289">
    <INPUT TYPE="hidden" NAME="P_TRA_ID" VALUE="36239">
    <INPUT TYPE="hidden" NAME="P_TRA_CODE" VALUE="AS321">
    </FORM>
    </BODY>
    </HTML>
    Unfortunately, just modifying the form action call does no work on 10g.
    Instead I get the following error messages:
    REP-771: There exist uncompiled program unit(s).
    REP-1247: Report contains uncompiled PL/SQL.
    I do not believe it to be a compilation issue, because as stated above I can invoke the report with the URL syntax.
    Any help would be greatly appreciated.
    -Stephen
    Edited by: user8562081 on Jan 20, 2010 3:21 PM

    Roberto,
    Thanks for the reply, but the issue is not with the port number. After installing AS, I created a virtual host with port number 2121 and secured it with SSL. As mentioned in the post, I can successfully test the report server with the following URL: https://www.mydomain.com:2121/reports/rwservlet/showenv
    -Stephen

  • MIgration from forms 6i to 10g - Webutil migration also required?

    Do we need to migrate webutil.pll and webutil.olb files as well during migration?

    Best regards,
    I have a tool to migrate from Forms & Reports Ordem call, which allows the automatic migration of Oracle Forms Developer written in versions 3.0, 4.5, 5.0, 6i or 9i to the latest version Oracle Forms Developer 10g to 10g or JAVA .
    If you require more information from our tool I can send information to e [email protected] and gladly put myself in communication with you and review the issue in detail.
    DANIEL TRIANA

  • Migration: Oracle reports 6i to 10g issue - Diiference in the data

    Gudmorning everybody,
    We are doing a Oracle reports migration from oracle reports 6i to oracle reports 10g.
    I am facing a problem in the output generated ny the reports.
    I have to generate a CSV file in 6i and similarly in 10g. Both the reports are hitting the same database but still it is
    showing some difference in the count generated in the report.
    Its a report where it compares the data from the web and data from the application and gives a count for the each row.
    In the CSV creation procedure TABLE TYPe is used. I am not very good in Oracle procedures.
    Do u guys have faced similar situation? Not every data is different,some of the count is diff even though both the reports are hitting the same database.
    Anybody suggest me a solution. It will b really helpful. This happens when I am a giving 6 mnths date range. When it is 15 days range it shows proper output.
    Any help will be much appreciated.
    Thanks,
    Raneesh.

    Hello,
    On the web this is expected behavior.
    For an workaround please check this metalink note:
    How to Implement an Alternate Solution to Unrestricted List Of Values (LOV) in Parameter Form on the Web (Doc ID 465886.1)
    Kind regards,
    Alex
    If someone's answer is helpful or correct please mark it accordingly.

  • Migrating from forms 6i to 10g

    we are planning to upgrade from forms 6i to 10g
    please provide me steps for migrating from oracle forms 6i to 10g
    what are the prerequisite?
    please help
    thanks in advance

    Hi;
    1. Here is Db installation related forum site. There are seeded forum site for forms.For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Application Development in PL/SQL » Forms which you can get more quick response
    2. For your question see:
    Migration to Designer 6i, 9i and 10g - FAQ [ID 198119.1]
    What Is the Easiest and Quickest Way to Migrate From 6i To 10g Reports? [ID 316269.1]
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Forms Migration from 4.5 to 10g

    Hi ,
    I want to migrate my forms from 4.5 to 10g so i did following steps:
    1. Installed Developer suite 10g
    2. Took a sample form developed in 4.5 and comiled it in 10g builder utilized the
    sample.fmx file for 10g the test was successful ,
    I need to migrate a complete application developed in 4.5 forms to 10g and I have
    some existing libraries which I use in my forms , now i'm stuck how to utilize them for
    10g as whenever I open the forms in 10g builder it asks me to remove the library.
    Can please anyone inform me how to utilze the my own user built libraries and esp .
    how to repalce D2KWUTIL with WebUtil and is the way i'm approaching for migartion
    correct ?
    Thanks.
    Jonty.

    Hi ,
    Thanks for the reply ,
    but still i'm not clear how to utilize my libraries as even if i migate to Forms 6i
    which in turn also supports D2KWUTIL ,so how to utilize Webutil instead of
    D2WUTIL while migrating from 6i to 10g.
    Is there any document or paper in suport to it.
    Thanks.

  • MIGRATING FROM REPORTS 3.0 TO 6i

    I am migrating reports from version 3.0 to 6i. Looking for some
    documentation on any problems that may have been encountered or
    any information on migrating reports from Reports 3.0 to 6i".
    Any link would be helpful.

    Haven't gone from 2.0 to 6i, but expect it will work the same as from 2.5:
    Open the 2.0 report in 6i and save it. There may be some slight layout adjustments needed, and with 2.0 upgrades matrix reports can experience some problems, so you'll have to make sure those are well tested.
    John Alexander www.SummitSoftwareDesign.com
    St. Petersburg, FL

  • Migrate from Reports 3.0 to Reports 9i

    Dear friends,
    I kindly request you all for the following help.
    I have a task that i need to upgrade & migrate application from reports 3.0 to reports 9i in HP-UX server.
    Since i know that it is not possible to go directly from 3.0 to 9i, i should follow from 3.0 to 6i and then 6i to 9i.
    May i know what are the major changes involve at the time of upgrading and migrating the above task.
    Please provide me the steps that i should follow the above mentioned task.
    Or send me a recommended web site if any.
    Note: Do i need to change any codes for the existing application when i go for the above upgrade?
    Thank you
    Venket

    The SWVC in receiver determination is not relevant for service interfaces of type "XI 3.0 compatible".
    So you can leave the fields emtpy.
    The technical background for this SWVC in receiver determination is finding the correct operation for a message.
    But XI 3.0 compatible service interfaces have only one operation with same name as the interface.

  • Problem in displaying Thai fonts after migrating from Reports 2.5 to 6i

    Hi,
    We have recently migrated our reports from Reports 2.5 to 6i.
    When we were using Reports 2.5, we could display The Thai Fonts correctly, but after migrating to 6i, the data retrieved from database is being displayed as junk characters.
    In Reports 2.5 we had set a registry variable ORA_CHARSET_CONVERSION to NO_CHARSET_CONVERSION. We were using NLS_LANG as AMERICAN_AMERICA.WE8IS08859P1 in 2.5.
    If we change WE8IS08859P1 to US7ASCII for Reports 6i, the data retrieved from database is being displayed correctly in Thai fonts, but the labels become junk characters.
    Do we need to do any special setup in 6i?
    Nigam.

    Hi All,
    Whilst doing the migration (and god knows how long this will take) I need to document the log file of all functions and changes made. The manual states that there is a PLG file created however, I can't seem to find it. I'm running the conversion one by one and not in batch mode. Can someone help me locating the PLG log file.
    Thanks

  • Data migration from oracle 8i to 10g

    hi
    i want to move data from oracle 8i to 10g. I just want to move data, and nothing else. Tables with the same names and fields are already in 10g. every thing is already there in 10g except data.
    tell me some hints and solutions so that i can use imp and exp to move the data from 8i to 10g without any data loss and in a secure way.
    thanks

    there is another point that oracle 10g also contain some data. and tables and field names are same in 10g as in 8i. if i use "imp full=y" then is there any chance of data loss that is already in 10g? and are there any chances that data file are overwritten? tell me the risks and solutions.

  • Migration from DB2 to Oracle 10g using free tools

    Dear all,
    Im currently using DB2 database and wish to migrate data over to Oracle 10g express. However, i could not find any free tools or methods to migrate without using tools as i could not use tools like Oracle Migration Workbench as the migration is for certain project which will deal with internal process or commercial purpose.
    Would like to seek everybody's help. Greatly appreciation your response.
    Regards,
    Kee Cheng =)

    nvr4getu wrote:
    Thanks. But have you heard of creating a heterogenous services, create a database link between the 2 database, then transform over to Oracle?I thought you were looking for a free tool. With HS, you'll have to buy the component to install on the DB2 system. Unless something has changed since the last time I worked in a mixed Oracle/DB2 shop.

  • Migration from Access to Oracle 10g (Problem with migration wizard)

    Hi
    I have an access database which I want to migrate to Oracle DB.
    I have created 2 connections.
    1. Access connection with the source database
    2. Oracle connection.
    I have associated the oracle connection to the repository.
    When I go through 'MIGRATION WIZARD' process. I am not able to view the source database file while capturing. Tried it several times.
    Need a help in this
    Regards,
    Arjun
    Edited by: 919650 on Mar 9, 2012 2:47 AM

    Arjun,
    you cannot do an online migration with MS Access as you can do with other foreign datasources. You can only do an offline migration.
    The first step that you need to do is to call the Microsoft Access Exporter. Click on Tools - Migration - Microsoft Access Exporter and chose the exporter of the MS Access version that you are using.
    The exporter creates an xml file for you. After the exporter has finished you can do the migration, click on Tools - Migration - Migrate, but in Step 4 please select "Offline", and then you can select the xml file that the exporter has created. The following steps in the Migration assistant are then doing the migration for you.
    You might also want to read the chapter "Before Migrating From Microsoft Access" in the online help of SQL Developer.
    Regards
    Wolfgang

Maybe you are looking for

  • How to store a relative path in a global variable

    Hi, I'm using Teststand 2013 and Labview 2013 Is it possible to define a relative path for a global variable in the Teststand? Ex. "..\vector1.hws" Or I should use the Labview functions to solve this issue? Thanks, Solved! Go to Solution.

  • How to create a info structure for product allocation functionality

    Hi Experts, how to create a info structure for product allocation functionality For allocating fixed quantities to the specified customers at sales order Especially i need help in selecting the key figures and key charecterstics for at mc21 and mc24

  • SE 3.0 Auto SmartFix

    Hi; I used the auto smart fix function on 1 photo and don't like the results. How do I "un-do" the fix? Thanks.

  • 10.1.0.5 Patch for Oracle Application Server 10g Release 1

    Hi Guys, Does anyone know what is the patch number for 10.1.0.5 Patch for Oracle Application Server 10g Release 1? This is a Oracle Application Server and not Oracle Database server. I tried searching on Metalink but not able to find it. Thanks in ad

  • Windows Server 2008 DNS command syntax to set All zones to Dynamic Secure updates

    Hello, Am I trying to configure all of my 150 dns zones to  dynamic updates from "none" to "secure" What is the command I should run to update all my zones. I ran "dnscmd myservername /config ALLZones /AlowUpdate 1"  and I keep on receiving this erro