Paper Layout displayed instead of Web Layout

Hello All,
I've developed a report in Reports 10g and saved it as a jsp file, having both paper & web layout. I've also designed a form in Oracle forms 10g with a list item displaying the list of all reports available. I've written the following piece of code to run the report selected.
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(200);
rep_status VARCHAR2(20);
rep_location varchar2(100);
pl_id paramlist;
d date;
DF VARCHAR2(10);
BEGIN
     IF(:rbg=1) then
          df:='pdf';
     else
          df:='htmlcss';
          end if;
repid := find_report_object(:REPORT_LIST);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,df);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_devserver');
     IF(:report_list NOT IN ('APTC_ANNUAL_RPT')) THEN      
          SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=YES P_USER_CONNECT=ADMIN/[email protected]                         P_SERVER_NAME=rep_devserver P_ACTION=http://pin-150:7778/reports/rwservlet?');
     v_rep := RUN_REPORT_OBJECT(repid);
     ELSE
          SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=NO P_USER_CONNECT=ADMIN/[email protected]                         P_SERVER_NAME=rep_devserver P_ACTION=http://pin-150:7778/reports/rwservlet?');
          v_rep := RUN_REPORT_OBJECT(repid);
     END IF;
     rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
     LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' THEN
/*Display report in the browser*/
     WEB.SHOW_DOCUMENT('http://pin-150:7778/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=rep_devserver','_blank');
ELSE
message('Error when running report');
END IF;
END;
Now after this piece of code gets executed I get to see a JSP report in Paper Layout format. But I want the Web Layout to be displayed. Can anyone please tell me what I've to do to get the desired output in Web Layout.
Reagards,
Arun.V

Hello Francois,
Thanks for the reply. As per my code "df" actually is a variale which stands for the format of the output, which is determined by the users selection(in this case a radio group) in the form. DF stands for either "pdf" or "htmlcss".
The following is the code I've used to determine the users preference which can be found within my original posting.
DECLARE
df varchar2(10);
BEGIN
IF(:rbg=1) then
df:='pdf';
ELSE
df:='htmlcss';
END IF;
END;
Kindly point out to me if there are any errors in the way I've written this code.
Thanks & Regards,
Arun.V

Similar Messages

  • How to call the JSP(Web layout) instead of paper layout...

    Hi,
    Iam using Reports 10g. I have created a simple employees report. I have added a listbox in the jsp page by adding small Html and javascript code like below.
    <form action="http://www.wwt.com/reports/rwservlet?10000_reports_listing&p_extranet=p_extranet" name="First" method="post">
    <select name="p_extranet" onChange="First.submit()" >
    <rw:foreach id="RGSOURCE" src="G_SOURCE">
    <rw:getValue id="mysource" src="SOURCE"/>
    <option value=""><%= mysource %>
    </rw:foreach>
    </select>
    </form>
    When I run this report in the report builder as Web layout, Listbox is displayed with values inside.
    But when I move it to Apps server and run it through URL,
    listbox is disappeared. I think report is running the Paper layout instead of weblayout ??????????
    Could you please tell me what is the problem and How to force the Weblayout or JSP to run ?
    Thanks.

    Hi,
    You are running a jsp report through rwservlet. In this case paper layout will be displayed. You have to deploy your jsp as web report to get the web layout. Please refer to the doc below, which describes how to deploy the web report.
    http://download-uk.oracle.com/docs/html/B10314_01/pbr_run.htm#1011901
    To run the jsp report, URL may look like
    http://www.wwt.com/reports/<jsp name>?<parameter list>
    Hope this helps
    Vinayak

  • Landscape Paper Layout - Won't Display on the Web

    I am trying to display a report (paper layout only) on the web using desformat=pdf. To test if the report could be viewed via the web, I created a simple version and could view it in my browser w/ no problem; however, after adding some columns and making some formatting changes, including making the report display as landscape, the report will no longer display in my browser. Instead, the browser window just displays a blank white space w/ the little image icon in the top left corner. (The one that's the little box with the red square, black circle and blue triangle in it.)
    Again, this is not a web layout, but the paper layout of the report, and is meant to open up as a pdf. It is also a must that I display this report as landscape rather than portrait.
    What can I do to make this report display correctly in the user's browser?

    Hi Brice,
    I just tested this with a very simple report in landscape (11" x 8.5"). The report appeared correctly in the browser, and I also printed it to confirm it comes out in landscape. I used Reports 10g.
    So I think there may be some other problem with your report. For testing, you can leave the report as is (formatting, data etc), but change the page dimensions to portrait, and see if that comes out properly in your browser.
    You can also test this - send the landscape report to file (destype=file) instead of displaying it on the browser (destype=cache), and see if the file come out fine.
    What is the Report version you are using?
    Navneet.

  • Producing a Paper Layout as output instead of Web Layout

    Hello All,
    I've developed a report in Reports 10g and saved it as a jsp file, having both paper & web layout. I've also designed a form in Oracle forms 10g with a list item displaying the list of all reports available. I've written the following piece of code to run the report selected.
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(200);
    rep_status VARCHAR2(20);
    rep_location varchar2(100);
    pl_id paramlist;
    d date;
    DF VARCHAR2(10);
    BEGIN
         IF(:rbg=1) then
              df:='pdf';
         else
              df:='htmlcss';
              end if;
    repid := find_report_object(:REPORT_LIST);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,df);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_devserver');
         IF(:report_list NOT IN ('APTC_ANNUAL_RPT')) THEN      
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=YES P_USER_CONNECT=ADMIN/[email protected]                         P_SERVER_NAME=rep_devserver P_ACTION=http://pin-150:7778/reports/rwservlet?');
         v_rep := RUN_REPORT_OBJECT(repid);
         ELSE
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=NO P_USER_CONNECT=ADMIN/[email protected]                         P_SERVER_NAME=rep_devserver P_ACTION=http://pin-150:7778/reports/rwservlet?');
              v_rep := RUN_REPORT_OBJECT(repid);
         END IF;
         rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
         LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
         WEB.SHOW_DOCUMENT('http://pin-150:7778/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=rep_devserver','_blank');
    ELSE
    message('Error when running report');
    END IF;
    END;
    Now after this piece of code gets executed I get to see a JSP report in Paper Layout format. But I want the Web Layout to be displayed. Can anyone please tell me what I've to do to get the desired output in Web Layout.
    Reagards,
    Arun.V

    Hello Francois,
    Thanks for the reply. As per my code "df" actually is a variale which stands for the format of the output, which is determined by the users selection(in this case a radio group) in the form. DF stands for either "pdf" or "htmlcss".
    The following is the code I've used to determine the users preference which can be found within my original posting.
    DECLARE
    df varchar2(10);
    BEGIN
    IF(:rbg=1) then
    df:='pdf';
    ELSE
    df:='htmlcss';
    END IF;
    END;
    Kindly point out to me if there are any errors in the way I've written this code.
    Thanks & Regards,
    Arun.V

  • Displaying Report in Web layout

    Hello All,
    Can anyone please tell me how to display reports in web layout during runtime. I've created a report in month_report.jsp, having both Web Layout & Paper Layouts. At runtime when I call the report the Paper Layout version is getting displayed. Is there any extra parameter I've to pass.
    For Example if I give the following address
    http://host-110:7778/reports/rwservlet?&report=month_report.jsp&destype=cache&desformat=htmlcss&userid=admin/[email protected]&p_month=JANUARY
    I get to see the Paper Layout version of the report. What I want is the Web layout. Is there any thing or any setting I've change in the Reports server. Kindly help me out on this.
    Regards,
    Arun.V

    Thanks Frank,
    No one seems to giving me a reply in the reports forums. They are hard to come by. Could you please direct me to some post which might be helpfull. I just want to know whether there's something wrong with the way I'm calling the report... May be thats the reason that I'm getting the Paper Layout as output instead of Web Layout.
    Regards,
    Arun.V

  • Problem in displaying Arabic Character in Paper Layout

    Hi
    I am facing problem while displaying arabic characters.
    In Web layout i am able to get it by changing the character set to ISO-8259-6.
    I had changed the NLS parameters in registry as suggested in the help. But still i am unable to get. Please can anyone send the brief steps to fix this.
    Thanks in Advance
    Ranganath

    Ranganath,
    That means subsetting is not happening. If subsetting had been successful, you would have seen in "Font properties", the type of font as Type 3 and name of the font as Fx, where x could be 0,1 etc.
    The things I suspect are: 1) your report definition has some other font associated which is not Arial.
    2) You are not specifying correctly the subset information in uifont.ali.
    Open your report in builder and check again, what font you are using to display the data. Open the report in paper layout and click on the data field and check in the font box, the font name that is displayed.
    In your uifont.ali, make sure that under [PDF:Subset] section, you specify (if you are using Arial font)
    Arial = "arial.ttf".
    If you have any other entry regarding Arial in other sections of uifont.ali, comment those for the time being by putting # before those.
    Let me know the font properties after these steps.

  • Reports paper layout and web layout

    hi.
    i created a paper layout in reports but when i go to the web layout
    it is displayed entirely differently. how to get the same layout
    as that of paper layout in web layout...? the report is having
    four groupings..
    any idea ?
    thanks in adv.
    Kris

    You need to update Web Source.

  • Paper layout & web layout

    This might be a novice questin but still..
    With 9i reports, we are only going to deploy our reports to the web, and there are going to be no client server reports..
    In that context, the only layout we are going to be worried about is the web layout, I dont understant why there are two kinds of layouts i.e. PAPER LAYOUT AND WEB LAYOUT
    what is the difference between the two, when should we use the paper and web layout.

    Hi,
    There are 2 things here: the Q about deploying reports to the web, and the Q about paper and web layout. Let me explain each one.
    Q about paper and web layouts
    Paper layout is the layout you need to create "printable" reports. This layout is the same that you saw in 6i - with frames, repeating frames, fields, boilerplate objects and so on. This layout has the concept of a "page-wise" report. Once you create this layout (paper layout), you can get your report output in various formats, eg, PDF, RTF, HTML, HTMLCSS etc.
    On the other hand, web layout means that in place of (or in addition to) the paper layout, you get the report designed in JSP code. So all the frames, repeating frames etc will be expressed in JSP code using the Oracle Reports custom tags. Since it is code-based, you can insert your HTML or Java code in here to customize the output. You can in fact start with the HTML template, open it in reports builder, and start inserting the data using Reports custom JSP tags. In web layout, there are no "page breaks". So your report will be a JSP file, and can be deployed along with your J2EE application.
    Now the Q about deploying to the web.
    BOTH paper and web layouts are compatible with the web architecture. You will call a paper report from your browser with a command like:
    http://my_machine_name:port_number/reports/rwservlet?report=...server=...userid=...destype=...desformat=...
    And for accessing the web layout, you will deploy the JSP on a J2EE containser (like OC4J), and access it like:
    http://my_machine_name:port_number/application_context_root/My_jsp_report.JSP?server=...userid=...
    There is no destype, desformat or desname (because the output is only displayed on your browser).
    So using 9i Reports builder, if you want to save the report's paper layout ONLY, you save it as an RDF file. In case you want to store ONLY web or BOTH paper and web layouts, you save the report definition as JSP.
    get more information on Reports Getting Started
    http://otn.oracle.com/products/reports/htdocs/getstart/gettingstarted/anyformat/format.html
    Navneet.

  • Paper Layout / Web Source

    Does creating Web Source effect the Paper Layout?
    It appears my formatting in my Web Layout displays in the Paper Layout along with all the previous formating I have done in the Papaer Layout.
    Or is this a simple refresh/redraw issue not being properly handled by Reports Builder?

    Having a Web layout does not affect the paper layout, only the paper layout is executed when you create paginated output.
    However, if you are defaulting using the wizard then you need to select "web layout only" option. Otherwise you will default a layout into both the web and paper layouts. This may be what you are seeing.

  • How to run the paper layout & web layout?

    Hi,
    I have 10gR2 application server (Linux). A report was created in Reports 6i, now i opened the same in 10g and compiled in my local machine(development pc with windows xp).
    question 1
    In the development pc, i can run the paper layout but the same cant in web layout.
    1. How to run the weblayout?
    question 2
    Now my application is running in&as web enabled. A menu calling a report ,that i want to run as paper layout, is it possible in web enable mode? Otherwise i have to run as web layout.
    please guide me.
    Kanish

    Thanks for the advice.
    I am trying to run any iViews that connect to the R/3 back end.  I have read that you have to first connect to the SLD, and then set up the JCO connections.  Correct?
    I have got the SLD running, but I can't connect to it.  I have supplied the required SLD Data Supplier information in the Content Administrator. 
    In the Visual Administrator, under the SLD Data Supplier, I enter the Host, Port, User, and Password, but when I hit the Trigger Data button I get an error saying "Operation Failed!  Failed to collect SLD data.  Failed to send HTTP data: 401: Unauthorized.  Please check if the target SLD system is available and the SLD bridge is started there."
    Any help?

  • Oracle Report - Paper Layout vs Web Layout

    Hi,
    Can anyone tell me the pros and cons for using paper layout and web layout for oracle report?

    Hi there,
    This was recently asked - please refer to this link:
    paper layout & web layout

  • Conditionally Display Paper Layout Section

    I have a report, that uses the Main Section, and the Trailer Section. The Main Section displays summary data, and the trailer section displays detail data.
    I need to use both sections because the paper size for each section is different - the summary data only needs to print out landscape letter, but the detail data needs to print out landscape legal.
    I also have a format trigger so that the user can choose to display or not display either section of the report. The problem I have, however, is that when a user chooses to not display a section, that page still prints out, it just prints out as a blank sheet.
    Is there a way to conditionally display an entire section of the paper layout? (Header, Main or Trailer)

    You are correct using the trigger to suppress the section content. To get rid of blank pages, add BLANKPAGES=NO to the report call string.

  • How to dislay other language font in Report Builder paper layout?

    How to I display other language font (e.g. chinese) in Report Builder paper layout?
    I have no problem displaying Chinese characters in web layout.

    If your NLS_LANG is properly set to chinese character set and if you are choosing the right chinese fonts, in Reports builder, your report paper layout should display chinese characters properly.
    If you are generating to PDF, then you might want to use PDF subsetting to display the chinese characters properly.
    See the documentation on how to use PDF subsetting.

  • How to create summary fields in paper layout

    Hi Oracle report exports,
    I have followinf report to wrire:
    1st part to display as follows:
    person1 task1
    person2 task2
    person1 task3
    2nd part(summary part)
    person1 2(tasks)
    person2 1(task)
    I wrote the following sql for part2
    select user, count(*) no_of_tasks from person_table group by user.
    Could you please advise how I can put part2 in paper layout? Which frame(s) to use?
    Thanks in advance!!
    Michael

    user2709830 wrote:
    Hi Oracle report exports,
    I have followinf report to wrire:
    1st part to display as follows:
    person1 task1
    person2 task2
    person1 task3
    2nd part(summary part)
    person1 2(tasks)
    person2 1(task)
    I wrote the following sql for part2
    select user, count(*) no_of_tasks from person_table group by user.hi Michael
    If above is your layout
    make two different sql query and show them in order in layout.
    But i don't like it.
    Hope this helps

  • Crashes every time i try to view the paper layout of a specific report...

    When opening a report developed in reports 6, i am unable to edit/view the Paper Layout with the following error (basically a standard microsoft error):
    Reports Builder has encountered a problem and needs to close. We are sorry for the inconvenience....
    Error signature
    AppName: rwbuilder.exe AppVer: 10.1.2.0 ModName: rw.dll
    ModVer: 0.0.0.0 Offset: 001928b6
    I am still able to view the Layout Model in version 6i for this report, it just crashes every time in 10g (i have also checked on other developers computers here, and exactly the same thing). Also, i have tested the rdf in a 10g r2 application server environment, and the report does run successfully!
    Any ideas out there for things to try would be appreciated...
    Cheers,
    Tim.

    Hi Sean,
    thanks for answering. No, it crashes anyway. I tried changing the identity plate color in all different modules. I was able to change it once when I had just bought a new computer and installed Lightroom, but now I can't. I wonder if there are any cache files or anything causing this. Unfortunately I don't know enough about this to fix it myself. I wondered whether LRB is causing a problem simply by having it installed, but as I said, after I removed it from the Web Galleries folder, the problem still occurred. Is there any way to recreate the identity plate in Photoshop (same font and size etc.) and reimport it into Lightroom? I need to finish my website and my name is sol light, it is barely legible. Any fix or workaround would be appreciated.

Maybe you are looking for

  • DMS:Original file path overriding configuration ?

    Hi, Running 4.6c. We use vault method for originals. We have configured data carrier type "Server,frontend" -> PC and are maintaining a path as c:\ for the temporary files. We also have configured 'frontend computers' by putting in the entry as 'Defa

  • HT5492 I had disabled my restrictions and my apps are not showing again in the screen!

    Hi everyone! please help me with my probleme I had enabled my restrictions by accidant and some of my icons apps gone missing and if I wanted to open them I have to go to the app store, then I disabled my restrictions and they are still not showing o

  • Installation of machine after delivery & Resite of machine

    Kindly refer the below process u2013 1. Scenario u2013 u2022     Customer has one machine installed in one location and he requests to relocate the machine from one location to another  It could be from one branch to another branch ( Both branch are

  • Does JRE 1.3.1_02 demand the latest Windows?

    Greetings everybody, Is the functioning of JRE 1.3.1_02 dependent on the version of Windows on which it is installed? I wrote a Java program containing a main method and which uses certain helper classes. Also an applet program was written. I packed

  • Redo Log Last modified date

    Hi All, Couple of day's back we have set Hot back up mode for 11g database server from cold back up, after this reado log's last modified date is not getting updated and redolog last modified date is get's updated only when we restart the database, T