Create a grid or table layout report

<p>Hi,</p><p> Anyone knows what&#39;s the simplest way to create a grid or table report using CR4E? my report is very simple, a list of POJO and want to display it in a table.</p><p>I guess you could add outside borders to each field, is there any simple way to do it?</p>

Hi,
The easiest way to create a report under the form of a simple table or grid, is to follow these 5 easy steps in CR4E, once your datasource is ready :
1) Select your fileds
In the Field Explorer, select all the fields you want to show in your report, using the Ctrl key to select them all at once
2) Drag and drop fields on the report
Drag and drop the selected fields all at once from the Field Explorer onto your report, on the Body section.
The dropped fields will automatically be aranged in a row.
3) Position the fields Â
While all your fields are still all selected, make sure they are positionned at the very top of the Body section, so that there will be no space between your data on the final report.
4) Set the Fields Property to make them look like a tableÂ
While all your fields are still all selected, go to the Property panel, and set the Border Properties from None to Single. You will also probably want to set the LeftIdentation Property to a fraction of inch so that the text doesn't start right on the border of your grid.
5) Set the Body section size
Adjust the height of the Body section, so that it is exactly of the size of your fields, to ensure there will be no horizontal space between your grid rows on the final report.
At this point, you can preview your report, and you already have a table.
Of course, from there, you can adjust the fields size (columns width), font size, color of the text, etc ... with the available Properties in the Property panel, and make your table look the way you like.
Cheers.
Thierry Crespo (Business Objects)

Similar Messages

  • Ora-20001 when creating a form on table with report (bug?)

    Having some trouble creating a "Form on table with report".
    1) I pick my table
    2) take most of the defaults on the page where you pick the report type (interactive) and the page number (I changed it to 950). next->
    3) Do not use tabs. Next->
    4) Select all columns for the report. THEN (here's the problem) set an optional where clause of system_role_name like 'ODPSPOPUP%'. Next->
    5) choose standard edit link. next->
    6) Specify a page of 951 for the form (leave others defaults). next->
    7) Set the form primary key (defined in table). next->
    8) use existing trigger. next->
    9) choose all columns for the form. next->
    10) Leave actions to insert, update, delete. next->
    11) Get to the summary page and click Finish
    Then I get an error page saying:
    ORA-20001: Unable to create query and update page. ORA-20001: Unable to create query and update page. ORA-00933: SQL command not properly ended
    If I go back to step 4 and erase my where clause the wizard completes successfully.
    Also if I change the report type in step 2 from the default of "Interactive" to "Classic" the wizard completes successfully. However upon running the report I get a query parse error. Looks like the where clause in the report sql is: system_role_name like ''ODPSPOPUP%'' (two single quotes on each side).
    It looks as if you cannot specify a where clause with a quoted string. The wizard is expecting a bind variable.
    Workaround(s):
    1) Don't specify a where clause when report type = Interactive in "create form on table with report" wizard.
    or
    2) Specify a bogus where clause using bind variable syntax such as "system_role_name like :BOGUSVARIABLE". Then edit the report query once the wizard finishes and change the where clause to the constant string you wanted to use in the wizard (e.g. "system_role_name like 'MYSYSTEM%'")
    Apex: 3.2.0.00.27
    Database: Oracle Database 11g Enterprise Edition 11.1.0.7.0 64bit Production (Oracle EL5)

    Andy,
    It's a bug, all right. Thanks for the detailed problem description. We'll fix it when we can.
    Scott

  • Need to create form on a table with report with a table has NO primary key

    Hi, I tried to created some insert/update/delete form+report in an application, it works fine only if the table has primary key. Does anyone know how to create the same functionality with a table with no primary key? I saw an application is built on older version of htmldb that is using tables with no primary keys at all.
    Here are the specific issues that I am facing:
    - I am building some Form on a table with Report, it requires the table with primary key for form to update. Is there a workaround that I can use tables that has no primary keys at all?
    - Say if primary key is necessary in the previous report+form, but the maximum number of columns that I can use to composed a primary is only 2 for that Form-Report, I cannot find anything handling > 2 primary key. Do you know if there are some ways to composite a primary key from many columns together?
    Your help is really appreciated.
    Thanks,
    Angela

    Sorry to ask response so late. I had no time to get back to that issue before.
    Regarding the triggers, I can make it work for the update, but not the insert.
    Here is my trigger:
    create or replace trigger STATUS_T1
    instead of insert on STATUS
    begin
    insert into STATUS ("LABEL", "AREA", "OWNER", "TEST_NAME", "STATUS", "REMARKS", "BUGS", "DEV_MGR", "TEST_BY_DATE")
    values(:new.LABEL, :new.AREA, :new.OWNER, :new.TEST_NAME, :new.STATUS, :new.REMARKS, :new.BUGS, :new.DEV_MGR, :new.TEST_BY_DATE);
    end;
    by any chance, you can notify what is wrong?
    I already skip the ROWID when inserting to the view STATUS, but I cannot figure out what is wrong when inserting a new record to that view.
    It gave me the following errors:
    ORA-06550: line 1, column 38: PL/SQL: ORA-00904: "ID": invalid identifier ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored
    Error Unable to process row of table STATUS
    Then, I turned to debug mode, I am thinking that maybe because I use a HIDDEN item to hold the value of ROW_ID as I use the rowid (called ID in the view) to retrieve the record as a column link from previous page. What do you think?
    Thanks again,
    Angela

  • Create PDF output from Web Layout Report

    Is there a way I can create a PDF output from a Web Layout Report? (NOT from a Paper Layout). The reason I ask because editing on the .jsp Web Layout is very easy and flexible while editing on the Payer Layout is very difficult. Thanks.
    - Todd

    Hi Todd,
    Please refer to this link:
    paper layout & web layout
    As for your second statement, it is a matter of opinion and I beg to differ that .... "Web Layout is very easy and flexible while editing on the Payer Layout is very difficult."
    Best Regards,
    John

  • Form on a Table with Report - Auto Number

    Hi,
    Scenario:
    I want to create "Form on a Table with Report" that should allow my users to add records...
    Steps and issues
    I created a table in MS Access with a field called "TRACKING_NO" as type Auto Number and made it a primary key... I was planning to use it to link Report to Form
    When I uploaded the table to Oracle it changed the type to varchar2... can you please advice how to change it back to Auto number...?
    and will it work if my user add a record to the table (using APEX built in option to create a record)...?
    Thanks in advance

    Hi,
    this is what I would do.
    1. Upload the table from MS Access, lets call it TAB_A
    2. Using SQL-Workshop get the DDL (SQL statement) for this table
    3. Change any names and/or datatypes as required
    4. Create a new table with this DDL, lets call it TAB_O
    5. Copy the contents from TAB_A to TAB_O (e.g. INSERT INTO TAB_O (id, colx, coly) SELECT TO_NUMBER(tracking_no), col1, col2 FROM TAB_A;)
    6. Create a sequence which starts with the last PK + 1 of table TAB_A
    7. Add a trigger to TAB_O to use this sequence to populate it's PK
    By the way, working with APEX requires a solid understanding of Oracle SQL and PL/SQL, regardless of what anyone says, even Oracle.
    Regards Garry

  • Creating a grid-like layout

    Previously, I posted a problem with trying to wrap tables within tables, referencing this code.
    <!-- ... -->
    <tableLayout>
      <contents>
        <rowLayout>
          <contents>
            <bc4j:viewObjectScope name="CustomArrayDataGraphsView">
              <bc4j:rowStamp>
                <cellFormat>
                  <contents>
                    <tableLayout>
                      <contents>
                        <rowLayout>
                          <contents>
                            <link
                                  styleClass="OraHeaderSub"
                                  targetFrame="display">
                              <boundAttribute
                                              name="text">
                                <bc4j:attrValue name="AnalysisParam"/>
                              </boundAttribute>
                              <boundAttribute
                                              name="destination">
                                <bc4j:ordProperty name="url"/>
                              </boundAttribute>
                              <boundAttribute
                                              name="shortDesc">
                                <bc4j:attrValue name="Description"/>
                              </boundAttribute>
                            </link>
                          </contents>
                        </rowLayout>
                        <rowLayout>
                          <contents>
                            <bc4j:attrScope name="Graph">
                              <contents>
                                <html:object
                                             width="300"
                                             height="200">
                                  <boundAttribute
                                                  name="data">
                                    <bc4j:ordProperty name="url"/>
                                  </boundAttribute>
                                  <boundAttribute
                                                  name="type">
                                    <bc4j:ordProperty name="contentType"/>
                                  </boundAttribute>
                                  <rawText>
                                    <boundAttribute
                                                    name="text">
                                      <bc4j:attrValue name="Description"/>
                                    </boundAttribute>
                                  </rawText>
                                </html:object>
                              </contents>
                            </bc4j:attrScope>                                                                                                                                  
                          </contents>
                        </rowLayout>
                      </contents>
                    </tableLayout>
                  </contents>
                </cellFormat>
              </bc4j:rowStamp>
            </bc4j:viewObjectScope>
          </contents>
        </rowLayout>
      </contents>
    </tableLayout>
    <!-- ... -->The above code renders a single row of elements which are tables themselves. Using the <cellFormat> inside the <viewObjectScope> avoids the "new line" rendering of the internal tables of title/images. However, the internal tables do not wrap.
    This is an unfortunate side-effect of html tables. So, I need to basically make a sizeable grid (similarly to a GridLayout for all you AWT/Swing folks out there) layout that can render a specified number of columns per table, creating new rows as necessary. Something like...
    <gridLayout columns="5">
      <contents>
        <bc4j:viewObjectScope                                 name="CustomArrayDataGraphsView">
          <bc4j:rowStamp>
            <cellFormat>
              <contents>
                <!-- render something per row -->
              </contents>
            </cellFormat>
          </bc4j:rowStamp>
        </bc4j:viewObjectScope>
      </contents>
    </gridLayout>This custom layout will render a maximum of five columns of data per table row, where each column is actually a row of information from the view object.
    Is this possible using UIX components or should I start coding?
    Thanks,
    joe

    Also, displaying a bunch of "inline"ed tables would be really useful. I can't seem to do this from within a <header>, <hideShowHeader> tag, even with explicitly coding:
      <bc4j:viewObjectScope name="CustomArrayDataGraphsView">
        <bc4j:rowStamp>
          <bc4j:attrScope name="Graph">
            <contents>
                  <html:table style="display: inline">
                    <html:tr>
                      <html:td>
                        <styledText text="Title"/>
                      </html:td>
                    </html:tr>
                    <html:tr>
                      <html:td>
                        <styledText text="Image"/>
                      </html:td>
                    </html:tr>
                  </html:table>
    <!--
                  <tableLayout styleClass="display: inline" width="300">
                    <contents>
                      <rowLayout>
                        <contents>
                          <styledText text="Title"/>
                        </contents>
                      </rowLayout>
                      <rowLayout>
                        <contents>
                          <styledText text="Image"/>
                        </contents>
                      </rowLayout>
                    </contents>
                  </tableLayout>
            </contents>
          </bc4j:attrScope>
        </bc4j:rowStamp>
      <!-- render a "No Records Found" message -->
        <contents>
          <styledText
                      text="No Records Found"
                      styleClass="OraErrorText">
            <boundAttribute
                            name="rendered">
              <if>
                <comparison
                            type="lessThan">
                  <bc4j:viewObjectProperty name="estimatedRowCount"/>
                  <fixed
                         javaType="int">1</fixed>
                </comparison>
                <fixed
                       javaType="boolean">true</fixed>
                <fixed
                       javaType="boolean">false</fixed>
              </if>
            </boundAttribute>
          </styledText>
        </contents>
      </bc4j:viewObjectScope>Apparently, the header tags do something which effects the display of "inline"ed elements, like the tables in the previous example. Any suggestions? I know taking out of the header works great, but, the <hideShowHeader> functionality is particularly necessary.
    I have a time constraint on this... gotta be done by today, so if you have any other later minute suggestions besides creating a grid-like layout, let me know!
    Thanks,
    Joe

  • Creating a grid layout

    Hi All,
    I am completely new to ADF UI part. I am looking for creating a grid layout of static/dynamic image content. just like the one that is there in suppose 'ebay search'.
    can somebody please tell me about how to go about this.
    Regards,
    ND

    For this you can use an af:table and put an af:image in a column.
    Check out this blog http://jobinesh.blogspot.com/2010/06/decorate-ui-with-view-row-attributes.html for a start.
    Timo

  • Oracle Apps - How to create a table before report execution?

    Hi,
    I'm new to oracle apps, I created a procedure to get some values for a report and created a query to get the remaining values. Now I need to populate those values into a temporary table and after the report execution I have to delete the table. In apps there is no before parameter form. If any one can help me, that will great.
    Thanks in advance.

    Hi,
    Do you really need to create a table INSIDE the report? It doesn't look like a good idea to me. For instance, what happens if 2 users try to execute the report at the same time? I would create a global temporary table before any execution of the report, and then I would just populate the data in the table in the 'Before Report' trigger. The data in a global temporary table is only visible at session level, so you wouldn't have any problems with multiple users executing the report at the same time and the data disappears once you finish your session, so you don't need to take care of deleting the data.
    Hope it helps.

  • How to Email POWL Reports / Apply Web Dynpro ALV Table Layout Settings

    Hi all,
    we want to be able to automatically extract POWL reports and email them to users in a batch job.
    We can refresh a POWL report using FM POWL_QUERY_REFRESH, and access the raw report data using method CL_POWL_QUERY_ACCESSOR=>GET_CACHED_RESULTS.
    However this merely gives us a table of raw data.  No view layout (ie. Web Dynpro ALV table layout) settings have been applied, so there is no hiding or arranging of columns, row sorting, calculations or filters.
    Ideally we would like to be able to specify a query and view layout.  The batch job would then refresh and extract the data, and format the data according to the view layout before sending it on as an attachment in an email.
    Does anyone know how to determine and apply Web Dynpro ALV table layout settings to format table data outside of the Web Dynpro environment ?
    Thanks & regards,
    Grogan

    Hi Grogan,
    Did you find out how this works..i also have the same issue.
    Thanks
    Jdsouza

  • Dynamic internal table Created from current classic ALV layout?

    Hi,
    Currently I have a dynamic ALV column output who's number of columns is dependent on t_output.
    ALV Sample:
    MANTR    WK1   WK2  WK3 ...
    10001        10       20      30
    10002        5         10      15
    I see this option, Get the ALV output, so this includes the header column name and its corresponding entries (which is easier.
    Question here: How can I create a dynamic internal table for it_fieldcat  of my ALV?  Is there any FM or method?
    If it will be a method, can you provide more details (I'm not that much yet familiar with method concept in ABAP)
    *Note: I am not creating a dynamic table out of SELECT statements
    Thanks.
    Regards,
    Jaime

        PERFORM f_0600-init_alv_layout     USING t_alv_layout.
        PERFORM f_0700-init_field_catalog  USING t_alv_fcat[]. "Populates the ALV Field Catalog
        PERFORM f_0800-build_alv_comment   USING t_alv_list_top_of_page[]. "title header of the report
        PERFORM f_0900-fill_alv_sort_fields.
        PERFORM f_1000-build_alv_display.
    FORM f_0700-init_field_catalog USING us_vit_alv_fcat1 TYPE slis_t_fieldcat_alv.
      DATA:  w_vit_alv_fcat TYPE slis_fieldcat_alv.
      CLEAR w_vit_alv_fcat.
      MOVE : c_vit_output TO w_vit_alv_fcat-tabname,
             c_matnr      TO w_vit_alv_fcat-fieldname,
             c_material   TO w_vit_alv_fcat-seltext_l,
             c_x          TO w_vit_alv_fcat-fix_column,
             c_x          TO w_vit_alv_fcat-key.
      APPEND w_vit_alv_fcat TO us_vit_alv_fcat1.
      CLEAR w_vit_alv_fcat.
      MOVE : c_vit_output   TO w_vit_alv_fcat-tabname,
             c_maktx        TO w_vit_alv_fcat-fieldname,
             c_material_dis TO w_vit_alv_fcat-seltext_l.
      APPEND w_vit_alv_fcat TO us_vit_alv_fcat1.
      CLEAR: w_vit_alv_fcat.
      MOVE : c_vit_output   TO w_vit_alv_fcat-tabname,
             c_meins        TO w_vit_alv_fcat-fieldname,
             c_uom TO w_vit_alv_fcat-seltext_l.
      APPEND w_vit_alv_fcat TO us_vit_alv_fcat1.
      CLEAR: w_vit_alv_fcat.
      MOVE : c_vit_output   TO w_vit_alv_fcat-tabname,
             c_lifnr        TO w_vit_alv_fcat-fieldname,
             c_vendor       TO w_vit_alv_fcat-seltext_l.
      APPEND w_vit_alv_fcat TO us_vit_alv_fcat1.
      CLEAR w_vit_alv_fcat.
      MOVE : c_vit_output TO w_vit_alv_fcat-tabname,
             c_name1      TO w_vit_alv_fcat-fieldname,
             c_vendorname TO w_vit_alv_fcat-seltext_l.
      APPEND w_vit_alv_fcat TO us_vit_alv_fcat1.
      CLEAR w_vit_alv_fcat.
      MOVE : c_vit_output TO w_vit_alv_fcat-tabname,
             c_dispo      TO w_vit_alv_fcat-fieldname,
             c_mrp_cont   TO w_vit_alv_fcat-seltext_l.
      APPEND w_vit_alv_fcat TO us_vit_alv_fcat1.
      CLEAR w_vit_alv_fcat.
      MOVE : c_vit_output TO w_vit_alv_fcat-tabname,
             c_stprs      TO w_vit_alv_fcat-fieldname,
             c_std_price  TO w_vit_alv_fcat-seltext_l.
      APPEND w_vit_alv_fcat TO us_vit_alv_fcat1.
      CLEAR w_vit_alv_fcat.
      MOVE : c_vit_output TO w_vit_alv_fcat-tabname,
             c_st_pck     TO w_vit_alv_fcat-fieldname,
             c_st_pck_sz  TO w_vit_alv_fcat-seltext_l.
      APPEND w_vit_alv_fcat TO us_vit_alv_fcat1.
      CLEAR w_vit_alv_fcat.
      MOVE : c_vit_output TO w_vit_alv_fcat-tabname,
             c_kanban     TO w_vit_alv_fcat-fieldname,
             c_kanbanqty  TO w_vit_alv_fcat-seltext_l.
      APPEND w_vit_alv_fcat TO us_vit_alv_fcat1.
    * To display 26 weeks historical consumptions:
      CLEAR w_vit_alv_fcat.
      UNASSIGN <fs_hwk_date>.
      LOOP AT t_hwk_date ASSIGNING <fs_hwk_date>.
        MOVE c_vit_output TO w_vit_alv_fcat-tabname.
        CONCATENATE c_hwk <fs_hwk_date>-calender_wk
        INTO         w_vit_alv_fcat-seltext_l.
        CONCATENATE c_hwk <fs_hwk_date>-index
        INTO         w_vit_alv_fcat-fieldname.
        APPEND w_vit_alv_fcat TO us_vit_alv_fcat1.
      ENDLOOP.
    Edited by: Jaime Cabanban Jr on Apr 24, 2009 3:06 PM

  • How to create a grid like the sample of "profit Centre - Report" use sdk ?

    hi
    in the grid of "profit Centre - Report", it has a button,if you click it ,it can show the detaildata. it can implement many levels "Expand " and "Collaspe",but it's not implemented by group! i want to know how to implement it by ui dpi or udo .
    thanks!

    Hi,
    You need:
    - to know the relevant queries
    - to make copies (use GetAsXML) from the relevant system forms to mimick the standard functionality
    - to do it via UI API (use Grid and DataTable - then you don't need DI API at all)
    Here's some more information on DataTable / Grid:
    The UI sample no. 19 shows you how to load data into the Grid - via the DataTable...
    You can find an enhanced version of the sample (showing you how to get linked buttons, combo boxes etc) in the Education area on SAP Service Marketplace (SMP): http://service.sap.com/smb/education
    Or just try these links (need SMP user account for that...) to download the sample from the Archive of "Live Expert Sessions" (includes a few more things):
    http://service.sap.com/~sapidb/011000358700006282762006E.zip
    That's the link to the PDF for the session:
    http://service.sap.com/~sapidb/011000358700006282742006E.pdf
    ...and that's the recording:
    http://service.sap.com/~sapidb/011000358700006280182006E.wrf
    HTH,
    Frank

  • How to get the spool id or how to create a spool id for the report .

    hi,
    how to get the spool id or how to create a spool id for the report .
    this spool id i have to use it in CONVERT_ABAPSPOOLJOB_2_PDF fm to get the pdf download file.
    my requirement is to download a pdf file from the alv grid list.

    Hi Raghu,
    Execute this program.
    REPORT  ZTEST_3318                              .
    tables: usr01.
    perform send_report_to_spool.
    *&      Form  send_report_to_spool
          text
    form send_report_to_spool.
      data: loc_dest like pri_params-pdest,
            wf_listname type char12,
            wf_listtext like PRI_PARAMS-PRTXT,
            wf_copies type i,
            wf_days type i,
            wf_PARAMS LIKE PRI_PARAMS,     " achieving file PRI_PARAMS.
            wf_valid type c.
      clear : wf_listname , loc_dest , wf_listtext .
      move: 'AP interface' to   wf_listname .
      move: 'AP interface' to   wf_listtext .
    select single spld into usr01-spld from usr01 where bname eq sy-uname .
      if sy-subrc eq 0 .
        move: usr01-spld to loc_dest .
      endif .
      call function 'GET_PRINT_PARAMETERS'
        EXPORTING
          destination    = loc_dest
          copies         = 1
          list_name      = wf_listname
          list_text      = wf_listtext
          immediately    = ' '
          release        = ' '
          new_list_id    = 'X'
          expiration     = 1
          line_size      = 200
          line_count     = 65
          layout         = 'X_65_200'
          sap_cover_page = 'X'
          receiver       = 'SAP*'
          department     = ''
          no_dialog      = 'X'
        IMPORTING
          out_parameters = wf_params
          valid          = wf_valid.
      if wf_valid <> space.
        new-page print on parameters wf_params no dialog.
        perform write_summary .
        new-page print off.
      endif .
    endform.                    "send_report_to_spool
    *&      Form  write_summary
          text
    -->  p1        text
    <--  p2        text
    FORM write_summary .
    data: begin of itab occurs 0,
          matnr type matnr,
          end of itab.
    select matnr
           from mara
           into table itab
           up to 10 rows.
    loop at itab.
    write: / itab-matnr.
    endloop.
    ENDFORM.                    " write_summary
    This will create spool in SP01.What data you want to put in Spool write it in form write_summary.I have done coding for testing purpose
    After that use that spool for your purpose.
    If Useful award point

  • Steps to create ALV grid

    Hi All
    I tried created ALV grid control,but facing error in the declaration of the data variables.
    Please help ..where do we declare data for internal table and reference variables for
    container and grid in the program.Acc. to its in the TOP include part.But its giving error
    that data not accessible.
    Thanks in advance..
    Abhinandan Kumar

    Hi,
    Find the code below.
    REPORT ZTESTQ.
    TABLES: t001.
    *INTERNAL TABLE
    DATA: gt_001 TYPE STANDARD TABLE OF t001.
    *NAME OF CUSTOM CONTAINER ADDED ON SCREEN
    DATA : gd_container_alv TYPE scrfname VALUE 'ALV_CON'.
    *ALV GRID CONTAINER INSTANCE
    DATA : go_cus_alv_container TYPE REF TO cl_gui_custom_container.
    DATA : go_grid TYPE REF TO cl_gui_alv_grid.
    *FIELD CATALOG
    DATA : gt_fieldcat TYPE lvc_t_fcat,
           gs_fieldcat TYPE lvc_s_fcat.
    *LAYOUT
    DATA : gs_layout TYPE lvc_s_layo.
    *Class Definition
    CLASS gcl_alv DEFINITION.
      PUBLIC SECTION.
        METHODS populate_tab.
        METHODS create_field_catalog.
        METHODS create_layout.
        METHODS display_alv.
        METHODS refresh_alv.
      PRIVATE SECTION.
       DATA : bukrs TYPE t001-bukrs.
    ENDCLASS.
    *Class implementation
    CLASS gcl_alv IMPLEMENTATION.
      METHOD populate_tab.
        SELECT * FROM t001
                        INTO TABLE gt_001.
      ENDMETHOD.
      METHOD create_field_catalog.
        gs_fieldcat-col_pos = '1'.
        gs_fieldcat-fieldname = 'BUKRS'.
        gs_fieldcat-tabname = 'gt_001'.
        gs_fieldcat-coltext = 'Company Code'.
        APPEND gs_fieldcat TO gt_fieldcat.
        gs_fieldcat-col_pos = '2'.
        gs_fieldcat-fieldname = 'BUTXT'.
        gs_fieldcat-tabname = 'gt_001'.
        gs_fieldcat-coltext = 'CC Text'.
        APPEND gs_fieldcat TO gt_fieldcat.
      ENDMETHOD.
      METHOD create_layout.
        gs_layout-grid_title = 'Company Code Report'.
        gs_layout-zebra = 'X'.
      ENDMETHOD.
      METHOD display_alv.
       CALL METHOD GO_GRID->SET_TABLE_FOR_FIRST_DISPLAY
         EXPORTING
            I_DEFAULT                     = 'X'
            IS_LAYOUT                     = gs_layout
         CHANGING
            IT_OUTTAB                     = gt_001
            IT_FIELDCATALOG               = gt_fieldcat
         EXCEPTIONS
            INVALID_PARAMETER_COMBINATION = 1
            PROGRAM_ERROR                 = 2
            others                        = 3.
      ENDMETHOD.
      METHOD refresh_alv.
        REFRESH gt_001.
        SELECT * FROM t001
                 INTO TABLE gt_001.
        CALL METHOD GO_GRID->REFRESH_TABLE_DISPLAY.
      ENDMETHOD.
    ENDCLASS.
    DATA : go_alv TYPE REF TO gcl_alv.
    START-OF-SELECTION.
      CREATE OBJECT go_alv.
      CALL METHOD go_alv->populate_tab.
      CALL SCREEN 0100.
    *&      Module  PBO_100  OUTPUT
          text
    MODULE PBO_100 OUTPUT.
    *Set the GUI status
      SET PF-STATUS '0100'.
    *Create the container to be placed in the screen
      CREATE OBJECT GO_CUS_ALV_CONTAINER
        EXPORTING
          CONTAINER_NAME              = gd_container_alv.
    *Create the ALV Grid Container within the parent container
    CREATE OBJECT GO_GRID
       EXPORTING
          I_PARENT          = go_cus_alv_container.
      CALL METHOD go_alv->create_field_catalog.
      CALL METHOD go_alv->create_layout.
      CALL METHOD go_alv->display_alv.
    ENDMODULE.                 " PBO_100  OUTPUT
    *&      Module  PAI_100  INPUT
          text
    MODULE PAI_100 INPUT.
      CASE sy-ucomm.
        WHEN 'REFRESH'.
          CALL METHOD go_alv->refresh_alv.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 " PAI_100  INPUT

  • Apex 4.0 Paper Layout Reports

    Hi All,
    I'm exploring Oracle Apex for the first time. I have just downloaded Apex 4.0 and would like to see if I can create a paper layout report. For example I would like to produce a Profit & Loss statement as well as a Balance Sheet from my existing database tables.
    I have done something similar in Oracle Reports 6i some years ago.
    In Apex I have managed to create an interactive report as well as a SQL report. However, these don't look anything like a plain A4 report. I'm guessing this is possible with Apex ?
    Do I need to change the default theme for the page I have created ?
    Any hints will be much appreciated.
    Thanks
    Billy

    Hi Tony,
    Thanks for the prompt reply.
    I have had a quick look on the net about your proposed solution to use cocoon. Although, it seems as though this may work it appears to be quite a tedious way to go from a user point of view.
    As for BI Publisher, it's quite expensice the last time I looked.
    I would have thought Oracle Apex could do something so basic out of the box. Maybe not !
    Thanks
    Billy

  • Exporting a 2D table from Report to Excel

    I have created an automatic populating 2D table in the Report window.  I would like to copy the contents of the table into excel format.  When I try to copy/paste into excel, I just get a bunch of code.  Is there a way to copy the contents of the 2D table from Report and paste them into another program?
    Steve

    Steve,
    When you copy an object in REPORT (such as a 2D table), DIAdem will copy the code required to create the object, not the numbers in the table. This is by design and there is no direct way to copy the actual numbers from a REPORT table.
    A possible workaround is the "Transfer to VIEW" function on the REPORT toolbar. That function will take the current REPORT layout and copy it into the VIEW area. In VIEW you can highlight the values in the table and Copy/Paste them into Excel. To copy a complete column, click in the first row of the column and the pres and hold Shift&Control" and then hit the down arrow. That will select a complete channel.
    I hope this helps with your question,
         Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

Maybe you are looking for

  • Plug Ins for logic 8

    hi guys..i got a question..i am currently running lp7.2 but am about to upgrade..i got lots of virtual instrument plug ins that work on 10.4.4...my question is when i upgrade into leopard and lp 8..will these instruments work?..and the second questio

  • Convert UTF-8 to UTF-16

    How do I convert UTF-8 to UTF-16. I want code to be like this.. public String convert (String string)      //do something with the String      return string; }Thanks in advance..

  • Set External Display as Default?

    I have a 15" Powerbook with OS X 10.4 installed. I have hooked up an external monitor to the Powerbook's external DVI output. Is there any way I can set the external monitor to be the default (ie primary) one? I'd like to have the main menu bar, the

  • Lenovo vs HP vs Dell servers for Midsize companies

    I am working on a research to find the brand offering the most reliable server for midsize companies. Below are a few pain points:      1. Server downtime: either degrades performance or puts applications offline 2. Delayed projects due to system err

  • Installing java3d opengl version?

    i have my java j2sdk1.4.2_04 installed in the root of c: i have j2re1.4.2_03 installled in the following location C:\Program Files\Java i installed the java3d-1_3_1-windows-i586-opengl-sdk package, and when it asked for my install directories, it aut


HashFlare