How to create new report in 11g Server?

Hello experts,
I use fusion middleware 11g. I know in 10g
start the re [server ports such as:]
rwserver Server = repsrv1 start

same thing I want to do in 11g.

as I started the weblogic server-wls_reports and wls_forms

I'm calling the report with the following code:

{code}
DECLARE
pl_id PARAMLIST;
Temp VARCHAR2 (7);
config_path varchar2 (100);
IP varchar2 (20);
RepID report_object;
store_var varchar2 (150): ='z:\NEWTON\FAC\REPORTS\RFAC009. RDF ';
vc_reportserverjob varchar2 (100);
v_rep_status varchar2 (100);
report_job_id varchar2 (100);

BEGIN
Select trim (ip_addr) in the bms_ip_m investigation period;
IF: block_m.fromdate IS NOT NULL
AND:Block_M.ToDate IS NOT NULL
THEN

Rep: = find_report_object ('RP2RRO');
set_report_object_property (RepID, report_filename, store_var);
set_report_object_property (RepID, report_server, 'REPSRV1');
set_report_object_property (RepID, report_execution_mode, LENGTH);
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');
--------------------------------parameter code---------------------------------------------------------------------
pl_id: = Get_Parameter_List ('tmpdata');
IF this is Id_Null (pl_id)
THEN
Destroy_Parameter_List (pl_id);
END IF;
pl_id: = Create_Parameter_List ('tmpdata');
Add_Parameter (pl_id, 'PARAMFORM', TEXT_PARAMETER, "NO");
Add_Parameter (pl_id, "model", TEXT_PARAMETER,: global.company_name);
Add_Parameter (pl_id, 'LOCN_CODE', TEXT_PARAMETER,: global.company_gl_locn);
Add_Parameter (pl_id, 'FROM_DATE', TEXT_PARAMETER,: block_m.fromdate);
Add_Parameter (pl_id, 'TO_DATE', TEXT_PARAMETER,: block_m.todate);
--------------------------------------------------------------------------------------------------------------

vc_reportserverjob: = RUN_REPORT_OBJECT (repid, pl_id);
report_job_id:=substr(vc_reportserverjob,length(:global.r_server)+2,length(vc_reportserverjob));
v_rep_status: = report_object_status (vc_reportserverjob);
If v_rep_status then 'DONE' =
Web.show_document ("http: / /'|: global .host |': ' |: global .port |' / Reports/rwservlet/getjobid ' |")
report_job_id |'? Server ='|: global .r_server, '_blank');
on the other
message ("error when running report" | v_rep_status);
end if;
end if;
end;
error is: unable to find the report server REPSRV1.

i am new to 11g. 

please help me how to start report server and if i want to create the new report server with name REPSRV1 then how to create it.

thanks
yash                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

At first, component report in 11g is the same in 10g, so if your code worked in 10g then it will work on 11g.

But I think without having to create report server as what you were doing, Oracle fusion middleware already creating for report you the server and you can use it.

You can find the name of the report server in the following path:
'C:\Oracle\Middleware\asinst_1\config\ReportsServerComponent\ '.
In this way, you will find the file, which is the report server, you can use this one, named something like this "RptSvr_yourcomputername_asinst".

I hope this will help you.

Kind regards
Ahmad karajh

Tags: Oracle Development

Similar Questions

  • How to create a report based on the item selected from the list of selection?

    Hello

    I created a tables_LOV based on:

    Select table_name table_name user_tab_cols r, d

    where column_name like '% _type % '.

    Then I created a ListOfTables page element, display in a selection list and pointing to tables_LOV.

    I run the page, and I can choose the table I want in the drop-down list.

    How to create a report based on the selected element? (ex: select * from selected_table)

    Thanks in advance

    Salah

    Hi Salah,

    Allright, take a look at this page: http://apex.oracle.com/pls/apex/f?p=vincentdeelen:collection_report

    I think that simulates what you are trying to accomplish. I've implemented the simplest method I could think of.

    The report is based on a collection of apex. If you are not familiar with this, you should study the documentation: APEX_COLLECTION

    To recreate my example, you should:

    (1) create a report (interactive) on your collection

    SELECT *
       FROM APEX_collections
     WHERE collection_name = 'MY_COLLECTION'
    

    (2) create a selection list page_item for the tables that you want to display (in my case, this is called "P38_TABLES")

    (3) create a dynamic action that triggers on the evolution of your selection list page_item. Dynamic action must be a parade of PL/SQL procedure the following code:

    declare
      l_query varchar2(4000);
    begin
      l_query := 'select * from '||:P38_TABLES;
      if apex_collection.collection_exists
            ( p_collection_name => 'MY_COLLECTION' )
      then
        apex_collection.delete_collection
          ( p_collection_name => 'MY_COLLECTION' );
      end if;
    
      apex_collection.create_collection_from_query
        ( p_collection_name => 'MY_COLLECTION'
        , p_query           => l_query
        );
    end;
    

    Make sure that you add your page_item 'Page to send items' section.

    (4) add a real extra action that makes an update of the report area.

    Here are two photos describing the da:

    http://www.vincentdeelen.com/images/OTN/OTN_COLLECTION_REPORT_DA1.PNG

    http://www.vincentdeelen.com/images/OTN/OTN_COLLECTION_REPORT_DA2.PNG

    Good luck and greetings,

    Vincent

    http://vincentdeelen.blogspot.com

  • How to create a report in excel for a table?

    How to create a report in excel for a table?

    Creating an excel report

    the forage value off markup html on spool on

    coil emp.xls

    Select * from noshow.

    spool off

    moved the markup html off the coast of the coil

  • How to create new layers in captivate?

    Hello

    How to create new layers in captivate timeline?

    Kind regards

    Favier

    Hi Rick,

    That's what I had in my mind. Yes, I'm a Flash designer/developer.

    I thank very you much for the info.

    Kind regards

    Favier

  • How to create new worksheet in excel without using report generation tools

    Hello

    Im trying to create a file with 8 spreadsheet excel. I am currently using scripture to the worksheet of the vi for that file. But how to create multiple worksheets in an excel file without using the report generation toolkit module of the OR?

    Concerning

    Jay

    Hello

    You can use the nodes property with the class selected as Activex Excel and create all the tools to Excel. See the attached example.

    Kind regards
    Constant

    (Bravo to give good answers, mark it as a Solution If your problem is resolved)

  • How to create the listener in 11g RAC on windows 2008 server

    Dear all,

    I also worked on win 2003 and linux 4, 5. I installed oracle RAC on windows and linux.

    now, I have installed oracle on windows 2008 server.than RAC11gR1 installed oracle software. now, I want to create listener db_home i am facing problem.
    I m leaving db_home netca. After the insturction when I finished, start the process, but in the Middle shows the listener on node1 and node2 cannot be created.

    GUID me please how I willl be able to creat it.

    2nd fist how to create an instance of the DSO on RAC11gR1. is it need to install saparate House like 10g for it or I can create 11 g Software House.

    Thank you
    Shir khan

    http://www.Oracle.com/pls/db111/homepage?remark=Tahiti

  • How to create a database in the server-2 based on the game of RMAN backup in server-1

    Hi all

    I need help related to RMAN backup in the following scenario, my server-1 details are given below.

    * Operating system-Windows server 2012 R2 Standard Edition

    * Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    PL/SQL Release 11.2.0.1.0 - Production

    CORE 11.2.0.1.0 Production

    AMT for 64-bit Windows: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production,

    I have configured RMAN and level 0 and backup of level 1 with on the external HARD drive.

    all the RMAN backup is located in this drive external HARD only, same archivelog.

    My question is,

    How to create a database to Server-2 based on the RMAN backup I took in server-1.

    It's to help me create a server test and even if the server-1 crash, then I can create a database in the new server-2 with backup I took on the external HARD drive.

    Is it possible to achieve the same or not. Kindly suggest me or share a good Internet link or document and share your knowledge to achieve my need of stimulus.  This will really help me

    It does not matter whether you use ASM. The link above should guide you on how to change the file names of data before restoring if the location of the data file on server 2 will be different from server 1.

    Since you asked for 11g binding, it is here

    http://shivanandarao-Oracle.com/2012/04/28/duplicating-database-without-connecting-to-target-database-or-catalog-database-in-Oracle-11g/

    Kind regards

    Shivananda

  • How to create the report using the procedure.

    Hi all

    I want to create the report in the apex. But I don't have a sql code. I have a single procedure. Is it possible to create the report using this procedure in the apex.

    CREATE OR REPLACE PROCEDURE headcsv_prc2

    AS

    CURSOR cr_header

    IS

    SELECT ood.organization_code, fm.formula_no AS "FORMULA_NAME."

    FM.formula_vers AS "FORMULA_VERSION."

    FM.formula_desc1 AS "FORMULA_DESC."

    DECODE (fm.formula_status,

    100, 'new ',.

    400, "approved for use in the laboratory."

    700, "allow the general."

    800, "We Hold."

    900, "frozen."

    1000, "obsolete/archived.

    ) AS "FORMULA_STATUS."

    DECODE (fd.line_type, '1', msib.segment1).

    DECODE (fd.line_type, '-1', msib.segment1 ') ingrediant.

    DECODE (fd.line_type, '2', msib.segment1) AS "BY_PRODUCT."

    DECODE (by_product_type,

    "W', 'waste."

    "R',"rework. "

    "Y', 'Yield."

    The of ', 'Sample. "

    NULL VALUE

    ) AS "BY_PRODUCT_TYPE".

    Of org_organization_definitions ood,.

    fm_form_mst fm,

    fm_matl_dtl fd,

    mtl_system_items_b msib

    WHERE ood.organization_id = fm.owner_organization_id

    AND fm.owner_organization_id = msib.organization_id

    AND msib.organization_id = fd.organization_id

    AND fd.organization_id = ood.organization_id

    AND fm.formula_id = fd.formula_id

    AND msib.inventory_item_id = fd.inventory_item_id

    - and fm. FORMULA_NO like '% THE % '.

    AND fd.line_type IN ('1 ', ' 2', '-1' ")

    Ood.organization_code GROUP,

    FM.formula_no,

    FM.formula_vers,

    FM.formula_desc1,

    FM.formula_status,

    FD.line_type,

    MSIB. Segment1,

    by_product_type

    ORDER BY fm.formula_no, fm.formula_vers;

    BEGIN

    Dbms_output.put_line (INITCAP ('the ORGANIZATION CODE')

    || ','

    || INITCAP ('NAME FORMULA')

    || ','

    || INITCAP ('FORMULA VERSION')

    || ','

    || INITCAP ('FORMULA DESC')

    || ','

    || INITCAP ('FORMULA STATUS')

    || ','

    || INITCAP ('PRODUCT')

    || ','

    || INITCAP ('INGREDIANT")

    || ','

    || INITCAP ("PER PRODUCT")

    || ','

    || INITCAP ('PER TYPE OF PRODUCT")

    );

    FOR ch IN cr_header

    LOOP

    Dbms_output.put_line (ch.organization_code

    || ','

    || ch.formula_name

    || ','

    || ch.formula_version

    || ','

    || '"'

    || ch.formula_desc

    || '"'

    || ','

    || ch.formula_status

    || ','

    || ch. Product

    || ','

    || ch.ingrediant

    || ','

    || ch.by_product

    || ','

    || ch.by_product_type

    );

    END LOOP;

    EXCEPTION

    WHILE OTHERS

    THEN

    Dbms_output.put_line (' No error: ' |) SQLCODE. "Error Msg: ' '.

    || SQLERRM

    );

    END;

    EXEC HeadCSV_Prc2



    Thank you

    Rambeau

    Hi Christian,

    In addition to the fact that the Oracle database has an internal Java engine and it would be possible for Apex call a Java stored procedure, the Apex really has nothing to do with Java. To create a report, you discovered, you specify a SQL query. In certain circumstances, you can embed a query in a PL/SQL function, but the incorporation of an arbitrary Java application and waiting for it to be called from Apex for a kind of security is there with the fairies.

    I recommend you research the Apex and then enter your so-called "higher authorities" how things work.

    Concerning

    André

  • Need advice on how to create the report

    I don't know how to do this, so I ask for advice from the gods apex...

    Here is the question, I have two tables I need to combine the info from. not a problem in his car. I can do it. but here's the question. in table A, I have some data such as title, theids, disc_id, etc... Table B contains fullname, theid, emplid

    now in the table A column "theids" is filled with apex as a multi select list. the values in the column is therefore something like 48; 3; 88

    He got these identification numbers of the Table B (popup lov) query that returns theid of the one of the person.

    now, I need to create a report that will be used in an excel download and what they want is a line by disc_id and they want the most useful "cost" in the field where to run the "theids." It is instead of:

    disc_id title theids
    101 the 48 test; 3; 88

    they want:

    disc_id title Theids
    101 N33456, N3457, try N43562

    so I'm a bit stuck, I can understand how to write a sql using instr to get something like this:
    101 N33456 of test
    101 N3457 of test
    etc.

    but this isn't what they want. so I think I need to create a package to do this and some sort of return values. the problem is that I can't figure out how I can replace the 48; 3; 88 to N33456, N3457, N43562

    I'm still new to this kind of things pl/sql and apex sorry if this appears to be an obvious answer.

    If you have a look at this example:

    http://HTMLDB.Oracle.com/pls/OTN/f?p=31517:138

    You'll see there

    SELECT empno, ename, job, mgr, sal
      FROM emp
     WHERE INSTR(':'||:p138_select_empno||':', ':'||empno||':') > 0
    

    and

    p138_select_empno is a multiple selection list displaying the names of the employees and containing the string of nosm as 7888; 8900; 3499.

    This info is enough to get to a function like this:

    CREATE OR REPLACE FUNCTION get_string (p_string IN VARCHAR2)
       RETURN VARCHAR2
    IS
       v_string   VARCHAR2 (4000);
    BEGIN
       FOR c IN (SELECT ename
                   FROM emp
                  WHERE INSTR (':' || p_string || ':',
                               ':' || empno || ':'
                              ) > 0)
       LOOP
          v_string := v_string || ', ' || c.ename;
       END LOOP;
    
       v_string := LTRIM (v_string, ', ');
       RETURN v_string;
    END;
    

    and use this function in a report like this:

    SELECT get_string (:p138_select_empno)
      FROM DUAL
    

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

  • Create new report if the file size is too large

    The sequences I run in TestStand have the ability to generate large reports and I am looking for a way to start a new sequence of intermediate report if the file size exceeds certain limits, either start a new report every night at midnight.

    I am currently using TestStand 2014 and reports ATML 5.00.

    Here, any help would be greatly appreciated.

    mattb1 wrote:
    [...]

    I was hoping I'd be able to use some substitutions to get there, but it sounds a bit more complex than that. [...]

    There is no specific substitutions that solve this problem 'in configuration and only few implementation".

    The point is that you should follow the following steps:

    1. check the size of the file after writing a new segment of report data.

    2. If size > configured the file size, create a new file. Write a footer in the previous file, duplicate the header for the new file information and store the handle to file for all the previous files.

    3. once the test is complete, update the header in all files (remember: the header contains the overall result of the ESA.) This is known only when the test is finished!) and finalize all the report files.

    In the plugins default report, none of the above functions is applied.

    You want may also focus on 'File offline results' as a reporting mechanism. It might be easier to change things using this approach, unless you go the recommended manner: database.

    Norbert

  • How to create new folder Mozilla Thunderbird

    I just started using it for my emails. I have my original files from windows live, but cannot see how to create another new. Help would be very appreciated.

    Right click on a folder in the folder - new folder (or subfolder) pane

  • How to create new encryption key

    I am trying to create the new key to encryption Cipher /k command.

    But I have no idea, how I can use command Cipher? and is it possible to create new encryption for only particular folder and files.

    If possible, how?

    I went on the website to verify the Cipher micrsoft command, but I need to see the example of the Cipher command!

    Please help me!

    Hello

    I suggest you post your question on the appropriate section of the MSDN forum.

    http://social.msdn.Microsoft.com/forums/en-us/categories

    I hope this helps.

  • How to create interactive reports database connection?

    I installed the interactive web reporting client of hyperion workspace.

    When I create a new document for creating interactive reports in the workspace file > new > Document > create a document of interactive report > data source >

    He is asked to select the database connection, which I am unable to create. Please guide me.

    Thanks in advance.

    Hello

    To create the ECAS, you first have to decide whether to use an ODBC connection or ike Client.Then Oracle create using the Interactive Studio Reporting of the OCÉ customer. Then check if the BQY works with this OCE connection.

    After that you need to publish (import) in the workspace. Also, in the workspace, you must make entries of data (DAS entries) that will allow to use the drivers to connect to the database of the ECO.

    Then, you must publish the BQY and associate it with the ECO.

    HTH,

    Thank you

    KK

  • create new report in Oracle BIEE

    Hi all

    My need is to create the new report in Oracle BIEE. Could you please look at screenshot below:

    http://S10.PostImage.org/urcfv4v7d/Oracle_BIEE.PNG

    Is - this lack of access rights?

    Oracle Business Intelligence 11.1.1.6.0

    Hello
    Login as an administrator in Em set responses, views, industry, privileges of dashboard.

    check if useful/correct...

    Thank you
    prassu

  • How to create a report in this style

    Hello

    I faced a problem with the display of reports in the dashboard.

    There is a prompt of the year, if I choose to 2010, the report will show sales of three years, namely 2009,2010,2011, given three years.

    as:

    2009 2010 2011 YEAR
    SALES 100 200 300

    and if I choose to 2009, it will display 2008,2009,2010, given three years.

    How can I achieve this requirement?

    waiting for your help, thank you!

    Here you go... Just blindly follow these steps and you're done.
    (1) create a command prompt of the year with variable presentation as pv_year

    (2) create a report saying report Mid year with selected 3 times column
    -Put a filter of pv_year presentation on the first column of the year with a default variable tell @{pv_year} {2008}
    -Rename the second time column say YEAR + 1 and change the fx to CAST (TIME_DIM. ("' YEAR ' AS INT) + 1
    -Rename the second time column say YEAR-1 and change the fx to CAST (TIME_DIM. ("' YEAR ' AS INT)-1
    Now when you run the report environment, this will give you a records whose value as 2008-2009-2007

    (3) create your main report with criteria such as pass year and measure
    -Change the fx for column year as CAST (TIME_DIM. ("' YEAR ' AS INT)
    -Now to put a filter on the year column with filter based on the results of another application and select them:
    Relationship = superior or equal to one
    Registered request = browse mi report
    Use the values of column = YEAR-1
    -Again, put a filter on the year column with filter based on the results of another application and select them:
    Relationship = less than or equal to one
    Registered request report Mid = browse (incase it does not select and select any other application first, then report Mid)
    Use the values of column = YEAR + 1

    This will select year > = 2007 AND year< =="" 2009.="" hence="" the="" results="" will="" be="" for="" year="">

    This will 100% work...
    http://i56.Tinypic.com/wqosgw.jpg

    See you soon

Maybe you are looking for

  • My mac pro seems to freeze

    It happens three four times a day my mac are blocked and the ball of rotation range continue to remain as the finder does not yet meet the com + combination alt + can These are some of the results is blocked. do you know what is the problem here? can

  • Using the HARD drive of a Tecra A4 as a for another laptop external HARD drive.

    I have a Toshiba Tecra A4. I want to use the HARD drive as a second hard drive to another laptop, but it seemed to me that the HDD in Tecra A4 has a special bond that does not fit in a standard externel HDD-Bay. Anyone know how I can use the HARD Tec

  • HP vectra vl400: hp vectra vl400

    HP vectra vl400 последняя версия BIOS IP0108US.rom официально поддерживает процессор INTEL PENTIUM III 1000 Mhz, 133 Mhz, но у меня есть процессор NTEL PENTIUM III 1400 Mhz/133 Mhz (TUALATIN) и после небольшой переделки (изолирование блокировочных ко

  • remove the old version of widdcomm

    I use XP SP3 and want to install bluetooth USB adapter, but installation is refused, "old version of the software must be deleted". Belkin support answer to this query is as follows: -. Please contact Belkin Technical Support and we apologize for the

  • M476 MFP: Reset serial number M476

    So I have a HP MFP M476 at work someone reset the NVRAM on and he changed the serial number for all the X characters. I need to reset the original serial number so that our contract service provider does not drop the printer of the contract. I've see