How to Align Query output in vertical grids in Classic Reports

HI all,
I have a requirement to display query output in a vertical grid.
For example, If my query output is :
SQL, PL/SQL, Forms,Reports, XMLP, APEX etc then output should be displayed in following format:
1. SQL 2. PL/SQL 3. Forms
4. Reports 5. XMLP 6. APEX
Thanks in Advance!!
Regards,
Vamsi

866010 wrote:
Thanks for the response!!
SQL: select * from emp
where 1=1
and emp = 1 ;
We want to display emp details from the above query in the following format:
EMP No : 1 Ename: XXX Manager_Id: 2
Job: Consultant Sal: 1000 Commission: 5
We want a break after three columns.Create a custom named column template and base the tabular form report on this: {message:id=10399762}
Please read the FAQ and forum sticky threads (if you haven't done so already), and update your forum profile with a real handle instead of "866010".
When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
<li>Full APEX version
<li>Full DB/version/edition/host OS
<li>Web server architecture (EPG, OHS or APEX listener/host OS)
<li>Browser(s) and version(s) used
<li>Theme
<li>Template(s)
<li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.

Similar Messages

  • How to generate multiple output pdf's from one oracle reports

    how to generate multiple output pdf's from one oracle reports.
    I have a report where I have to generate more than one output files from the same report based on a parameter.
    Each output file is for each parameter.
    Is this possible in oracle reports, is so how ?

    You can better post your question in the reports forum instead of this pl/sql forum.

  • How to set the field non-editable in the classical report..

    Hi..
              How to set the field non-editable in the classical report..

    Hi experts,
    For the component 'ICCMP_EMP_SRCH' there is a view 'BUPAEMPSEARCH' , which has 2 context nodes 'CUSTOMER' AND 'SEARCHEMPLOYEE' , i need to add the field 'NICKNAME' which is part of the 'CUSTOMER' context node on the search screen. Currrently all the fields on the screen screen are from the 'SEARCHEMPLOYEE' context node. when i did the configuration , the 'NICKNAME' field is greyed out . I have already generated the Getter ,Setter , GET_I, GET_M methods for the 'NICKNAME' field and the context node and controller class and context class are all active .
    on debugging the GET_I method, i see that rv_disabled = 'TRUE' and the current = collection_wrapper->get_current( ) is returning empty value .
    for this rv_disabled to be set false , the code below is not triggered since there is no value in current.
    IF current->is_property_readonly(
    'NICKNAME' ) = abap_false. "#EC NOTEXT
    rv_disabled = 'FALSE'.
    ENDIF.
    when i check for other search fields of context node 'SEARCHEMPLOYEE' , all the fields are set to rv_disabled = 'FALSE'.
    can anyone suggest how to approch this. iam i missing any binding between context nodes or any activations ?
    The field properties are set as Input field and the display checkbox is not checked.

  • How to fix the first field or column in classical report while scrolling

    i want to know, how to fix the first field or column in classical report while scrolling
    horizontally. the first  should be constant when i scroll the report horizontally .
    please help me.
    it's urgent.

    Hi,
    Suppose your first field is itab-matnr.
    WRITE :/ itab-matnr.
    SET LEFT SCROLL-BOUNDARY.
    WRITE :/......."Remianing fields

  • How to get query output data

    Hi,
    I have created procedure to analyze tables. I tried to get output but its not displaye in a proper way. I want to output as like as a query output.
    create or replace procedure tablestats
    as
    begin
    for cur in (SELECT OWNER,TABLE_NAME, NUM_ROWS, BLOCKS, AVG_ROW_LEN,TO_CHAR(LAST_ANALYZED, 'MM/DD/YYYY HH24:MI:SS')FROM DBA_TABLES WHERE OWNER='SCOTT') LOOP
    dbms_output.put_line(cur.owner||' '||' '||cur.table_name||' '||cur.NUM_ROWS||' '||cur.BLOCKS||' '||cur.AVG_ROW_LEN);
    DBMS_STATS.GATHER_TABLE_STATS('scott',cur.table_name);
    end loop;
    end;
    Output came lke this:
    SQL> exec tablestats
    SCOTT  DEPT 4 4 20
    SCOTT  EMP 14 4 38
    SCOTT  SALGRADE 5 4 10
    SCOTT  SERVICE 8 5 12
    SCOTT  BONUS 0 0 0
    PL/SQL procedure successfully completed.
    Acually i want output like..
      1* SELECT OWNER,TABLE_NAME, NUM_ROWS, BLOCKS, AVG_ROW_LEN,TO_CHAR(LAST_ANALYZED, 'MM/DD/YYYY HH24:MI:SS') Last_Analyzed FROM DBA_TABLES WHERE OWNER=
    'SCOTT'
    SQL> /
    OWNER                          TABLE_NAME                       NUM_ROWS     BLOCKS   AVG_ROW_LEN   LAST_ANALYZED
    SCOTT                          DEPT                                             4                   4                 20                   11/27/2013 19:10:44
    SCOTT                          EMP                                            14                   4                 38                    11/27/2013 19:10:44
    SCOTT                          SALGRADE                                   5                   4                 10                    11/27/2013 19:10:44
    SCOTT                          SERVICE                                      8                   5                 12                     11/27/2013 19:10:44
    SCOTT                          BONUS                                        0                    0                  0                      11/27/2013 19:10:44
    Please help me.
    Thanks,

    Hi,
    As John said, PL/SQL doesn't give you any of the nice formatting features that front end tools, like SQL*Plus, provide.  If you want headers, you have to say exactly what they are, and write them yourself.  If you want the columns to line up, you have to decide how long they will be and pad them yourself.  It's a lot of work.
    Why not let PL/SQL do the things that only PL/SQL can do, and let SQL*Plus do the things it does well?  Have your procedure  or function return a cursor, which you can then diplay in SQL*Plus, or write a piplined function, that you can use in queries where SQL*Plus can format the results.
    The query you posted can eaisly be done directly from SQL*Plus, of course.  I assume you posted a very simple example, becuase your question is just about display.  If you don't absolutely need PL/SQL, don't use PL/SQL.  What I said above applies if you really do need PL/SQL.

  • How to print some text in BOLD in a classical report

    Hi,
    I need to print some selected text in BOLD in classical report.
    Went through SDN forum...came across some suggestions like using class cl_dd_document and its functions..
    The problem is that one of its function "add_text" allows to highlight text...but the display function "display_document" requires a container to display, whereas mine is a simple classical report...am i wrong somewhere..or is there any other method to do the same...
    Thanks!!

    Hi Deepti,
      I am not sure that is possible on a classical report ntu you can use colors to highlight a part of the report output in order to check the various options you have with format is to check F1 on format.
    Regards,
    Himanshu

  • Vertical Lines in Classical Report

    Hi,
    I am doing a Classical Report and I need a vertical line to be drawn between the fields. i.e. I want the coloumns to be separated by vertical lines but not the rows. Hope I am clear with my requirement. This is urgent please advice.
    Rgds,
    Manju

    Hi
    write sy-vline statement where u want vertical line.
    loop at it_kna1 into wa_kna1.
        write:/1 sy-vline,
              3 wa_kna1-kunnr,
              20 sy-vline,
              30 wa_kna1-name1,
              100 sy-vline.
      endloop.
    Edited by: Chaithanya A on Mar 19, 2008 8:15 AM

  • How to combine query outputs?

    How do we use the XSU to take the xml output of one query and append that to another's output, so that the xml is well-formed and will be handled by an xsl transformation?
    We use OracleXMLDocGenString and OracleXMLQuery. We worked it once, yet the xml output contains two "<?xml version = '1.0'?>" and therefore won't get transformed via xsl.
    You can do this easily using the XSQL servlet by putting all queries within a single .xsql file.
    Thanks.

    How do we use the XSU to take the xml output of one query and append that to another's output, so that the xml is well-formed and will be handled by an xsl transformation?
    We use OracleXMLDocGenString and OracleXMLQuery. We worked it once, yet the xml output contains two "<?xml version = '1.0'?>" and therefore won't get transformed via xsl.
    You can do this easily using the XSQL servlet by putting all queries within a single .xsql file.
    Thanks.

  • How to get query output in javascript

    i have a transaction with one output parameter.
    i have created an xacute query and referenced the transaction and its output parameter.
    now how do i get the value of that output parameter in a script in irpt file.
    i tried creating an applet.
    <APPLET NAME="executeApplet" CODEBASE="/XMII/Classes" CODE="iBrowser" ARCHIVE="illum8.zip" WIDTH="100" HEIGHT="100" MAYSCRIPT>
    <PARAM NAME = "QueryTemplate" VALUE="RH_DASHBOARD/Execute">
    </APPLET>
    i tried with this code in the script
    document.executeApplet.getQueryObject().getOutputParameter()
    but this gave  me the output parameter name not the value.
    i just need the value of the output parameter in the java script.

    Hi Rohit,
    Try using getBrowserObject().getSelectedItemAt(1).  Or you can use any of several other methods to get the value of your output.  If you are in 12.1 or greater, go to the workbench and open your webpage.  At the bottom of the window with the html and javascript, you will see an elipse of 5 dots.  Click and hold to drag that line up.  That will expose the script assistant when you can browse for the other methods available.
    Regards,
    Mike

  • How to align the output in a file?

    Hello Experts,
    The following code snippet:
    CONCATENATE  'Material Number '
                   'Created By'
                   'Changed By'
                   'Material Type'
                   'Material Status'
                   'Material description'
                   cl_abap_char_utilities=>cr_lf
                   INTO g_data SEPARATED BY g_c_tab.
      TRANSFER g_data TO p_pth_as.
    LOOP AT g_t_output INTO g_r_output.
        MOVE-CORRESPONDING g_r_output TO g_r_transfer.
        CLEAR: g_data, g_r_output.
        CONCATENATE g_r_transfer-matnr
                    g_r_transfer-ernam
                    g_r_transfer-aenam
                    g_r_transfer-mtart
                    g_r_transfer-mstae
                    g_r_transfer-maktx
                    cl_abap_char_utilities=>cr_lf
           INTO g_data SEPARATED BY g_c_tab.
        TRANSFER g_data TO p_pth_as.
    produced output like this:
    Material Number    Created By     Changed By         Material Type  Material Status    Material description     
    000000000000000001     FRE8OT     MES2KOR     FERT          Test     
    000000000000000002     FRE8OT     RI78OT     FERT          Test     
    000000000000000011     JA72KOR     JMR1KOR     PROD          new product group     
    000000000000000023     LAP8OT     RI78OT     FERT          test mmam     
    000000000000000031     RI78OT     RI78OT     FERT          Test-Test     
    000000000000000032     RI78OT     RI78OT     FERT          Test-Test-Test     
    000000000000000037     RI78OT     RI78OT     FERT          Testtest     
    000000000000000038     RI78OT     RI78OT     FERT          Teeest     
    000000000000000061     PIM8OT          ERSA          test     
    000000000000000072     PIM8OT     STK2KOR     HAWA          Test     
    000000000000010001     FRE8OT     MES2KOR     FERT               
    STNL     HT88OT     NNR3KOR     HALB          STNL     
    TESTMAT     RI78OT     RI78OT     FERT          Test-Material     
    TESTMATERIAL     RI78OT     RI78OT     FERT          Testmaterial     
    ZJA_TEST     JMR1KOR     SAB2KOR     FERT          Test     
    ZJA_TEST1     JMR1KOR     SAB2KOR     FERT          test     
    ZJA_TEST2     JMR1KOR          FERT          test     
    ZJA_TEST23     JMR1KOR          FERT          test     
    But the output produced in the file should be formatted, so that every field values appear under the appropriate column heading.
    Expecting suitable solution to produce formatted output.
    Thanks and best regards,
    Suresh
    Edited by: Suresh S on Jan 19, 2009 10:54 AM

    Hi,
    Try using the psotioning .
    For e.g.
    write :/ 2 Material Number, 15 Material desc.
    Hope this helps u.
    Thanks & Regards

  • How to align the output?

    Hi all,
    The following code snippet:
    produced output like this:
    Material Number     Created By     Changed By     Material Type     Material Status     Material description     
    000000000000000001     FRE8OT     MES2KOR     FERT          Test     
    000000000000000002     FRE8OT     RI78OT     FERT          Test     
    000000000000000011     JA72KOR     JMR1KOR     PROD          new product group     
    000000000000000023     LAP8OT     RI78OT     FERT          test mmam     
    000000000000000031     RI78OT     RI78OT     FERT          Test-Test     
    000000000000000032     RI78OT     RI78OT     FERT          Test-Test-Test     
    STNL     HT88OT     NNR3KOR     HALB          STNL     
    TESTMAT     RI78OT     RI78OT     FERT          Test-Material     
    TESTMATERIAL     RI78OT     RI78OT     FERT          Testmaterial     
    ZJA_TEST     JMR1KOR     SAB2KOR     FERT          Test     
    ZJA_TEST1     JMR1KOR     SAB2KOR     FERT          test     
    ZJA_TEST2     JMR1KOR          FERT          test     
    ZJA_TEST23     JMR1KOR          FERT          test

    Hi,
    Use the Function module CONVERSION_EXIT_MATN1_INPUT to convert material no 100 to 000000000000000100 before displaying in output.
    This FM adds zeros preceds to the material no.
    Regards,
    Sunil

  • How to find query/program/rdf behind EBS default XML reports

    There is a report in Purchsing Module "Standard Purchase Order " its data group name is "Standard Purchase Order Data Source" and Code is "PO_STANDARD_PO". i couldn't find its concurrent program. I am looking for query behind this report. how can i find this.

    You can find it using sql trace...
    refer this article..
    http://prasanna-adf.blogspot.com/2009/01/sql-trace.html
    Note: post these questions in EBS general discussion.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                           

  • How to know query is fired from Oracle froms or Reports

    Hi,
    I am using oracle database 11g Release 2.
    I use oracle enterprise manager to find which query requires more time to execute but how can i find which user is firing this query and this query is fired from oracle form or from oracle reports.
    Database: 11g R2
    O.S: Windows 7 professional
    Forms & reports : 11.1.2
    Need Help..

    But how can i frind the query is run by user is from oracle forms or from oracle reports.
    How can i get the name of form or report from where user is running.did you read the document about v$session attached in the other post?
    You have the answer there.
    If you want the exactly query, this is not the place. We try to help, not do your job.

  • How to get the output data of Standard drill down report into z-program?

    HI every one,
            I want to get the output data of drill down report into z-program.
           Actually,if the output is only one, I can get into z-program,
          But, Here the report consists 3 alv outputs. when double clicking function happens, it will direct to another alv output.
        Those, all the outputs of report i want to get into z-program.
    PLease , give reply as early as possible.
    Thank u in advance,
    karthik

    HI,
      When i download,only one output i will get.
      But,if i double-click the particular record it will show another output. I want that output also.
      Like that,when i double-click particular record, it will show some other alv ouput based on record,     
    i wanted all those outputs.
    If  i copy the code, whether i face any problems?

  • How to speed up the performance in Oracle APEX - Classical Report loading

    Hi,
    I am using APEX 4.2, DB 11.2.
    I have created 2 reports in the page and the time that is taken to load this page is very huge.
    To speed up the performance materialized views were used on queries, but still the performance is the same.
    checked the app in DEBUG mode, the following event takes a lot of time to execute:
    0.08415 4.76698 rows loop: 15 row(s) the query onky takes very less time to execute
    0.08184 0.00181

    ghini wrote:
    Hi,
    I am using APEX 4.2, DB 11.2.
    I have created 2 reports in the page and the time that is taken to load this page is very huge.
    To speed up the performance materialized views were used on queries, but still the performance is the same.
    checked the app in DEBUG mode, the following event takes a lot of time to execute:
    0.08415 4.76698 rows loop: 15 row(s) the query onky takes very less time to execute
    0.08184 0.00181
    Check query performance very carefully. If you execute the SQL more than once in a short amount of time the data will be in memory and accessed more quickly. It is possible that your fast response time was against cached data and therefore faster. If this is the case further tuning the SQL (the MV query) may help.
    It is also possible the slowness is due to other factors - network, firewall, antivirus software, etc. I am running Apex on my laptop using the embedded pl/sql gateway and due to antivirus and security software it can take pages 30 seconds or more to load.

Maybe you are looking for

  • How to stop Firefox from Startup?

    Hey, I believe this problem is part of a bigger problem. I have tried suggestions in https://support.mozilla.org/en-US/questions/989230 to the letter and yet nothing can fix it. For those that doesnt want to click the link or copy-paste it. The probl

  • Controlling the scaling of place movies

    I'm using Acrobat 8 Pro on Windows XP to place some Flash generated SWF files into an interactive PDF. Evidently from complete lack of responses to other question I am the only person to have ever attempted such a thing? Anyways, I'm hoping somebody

  • Connecting additional external LCD with T440P

    Hi,      If I connect an additional external LCD/LED monitor to T440P through mDP then will I get one more desktop in addition to the desktop which I can see on T440P LCD. I dont want to see the same content on external LCD which I am already seeing

  • Google Checkout or PayPal BuyNow Button on Apex Pages

    Hi, I created a html region on a blank page, and copied and pasted HTML scripts for Google Checkout or PayPal BuyNow Buttons into the region. When I clicked the BuyNow button, I got "The requested URL /apex/wwv_flow.accept was not found on this serve

  • ORA-29855: error occured in ODCIINDEXCREATE routine

    I'm trying to create a spatial index using Microstation Geographics, but I got error messages. The first error msg was ORA-29855: error occurred in ODCIINDEXCREATE routine. I think the other messages were also related to that routine. I tried to crea