Updateable Column attribute

Hi,
I am trying to create a simple report based on a SQL query, something like this,
select id, customer_id
from master_table
where status='open'
I changed the column, Customer_id's Updatable Column Attribute to "Display as Text (based on LOV, does not save state)" and chose an existing LOV. But for some reason I get the following error when I run the report,
report error:
ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value error
I have used the same LOV (LOV query- select distinct name, id from customers) else where in my application (in Forms and not in any reports) and it works fine. Does anyone know what is going on here? Any help is greatly appreicated.
Thanks.
Bharathy

I'm running into the same issue. To make it even more unusual, the report runs fine in database1, but when I exported the application and imported into database2, I get the error in database2.

Similar Messages

  • Is it possible to add columns/attributes in an Extended EO?

    Hi all,
    I need to add new updateable columns-attributes to an standard VO. (oportunities in sales module).
    The problem is that this columns are not in the EO, so my question is how to add this columns to the Extended EO, so I can use them in an extended VO.
    Any help would be appreciated, because I have not seen anything related to this in the developers guide.
    Thanks in advance.
    Juanje
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]

    If the columns belong to the same table as in your existing EOs but not included then you can directly add them in the EO. If you are trying to derive the columns from a different table then you can join the new table and add the columns in your extended VO.

  • Updateable columns

    I have a report with updateable columns. Somehow I can not change the column display length, no matter what I change in the "Updateable Column Attributes". Is there any way to change the column length & width? Also, I can't seem to make the column values wrap inside the cell. How can I change the text to wrap and fit the cell height?
    Thank you!

    I have found that the most extensible way to do something like this is to manually create a reqport with updateable columns see the HOWTO on OTN on this.. basically using html_item API to load the column values from the database and draw them in the report using the field types of your choice.

  • How to set up a column link to the column attribute in a report

    Hi All
    I have 6 column in a sql report in a page, column names are (Devicename devicerole,from etc).
    Now i need to set a link to this column and this need to link to the another page
    Thanks & Regards
    Srikkanth.M
    Edited by: Srikkanth.M on Apr 6, 2011 6:17 PM

    Hi
    Read this and follow it...
    >
    Go to the report attributes, then click on the edit link button by the side of the column you want to be a link to get to the column attributes.
    >
    So...
    1. Go to edit the page that contains your report.
    2. Click on the report region as if you were going to edit the report query.
    3. Click the Report Attributes tab.
    4. Click the button at the side of the column in question.
    5. Scroll down to the Column Link section and fill in the details.
    I really can't put it much more simply than that...
    Cheers
    Ben

  • Interactive Report will not save BLOB Column Attributes

    I have created many interactive reports with 4.0 and 4.1 that had BLOB columns with no problems and the download link worked fine. After upgrading to 4.2, the interactive reports get the following error when clicking on the download link:
    Not found
    The requested URL /apex/apex_util.get_blob was not found on this server
    If I open the edit page from the report, the BLOB downloads fine. When I looked at the report attributes details for the BLOB column, I noticed the BLOB Column Attributes had not been populated. I have tried repeatedly to populate them (Table Name, Column Name, Primary Key, MIMETYPE, etc.) but after applying the changes and reopening the attributes page for the blob column, the values I entered are not saved.
    For completeness, here is the select statement for the report:
    select "DESC_ATT_ID",
    "BR_ID",
    "FILENAME",
    "MIMETYPE",
    dbms_lob.getlength("DESC_ATTACHMENT") "DESC_ATTACHMENT"
    from "#OWNER#"."ALTEC_BR_DESC_ATT"
    WHERE BR_ID = :P3_BR_ID
    Also, here is the value for the Number/Date format for the BLOB Column:
    DOWNLOAD:ALTEC_BR_DESC_ATT:DESC_ATTACHMENT:DESC_ATT_ID
    Can someone please point me in the right direction to get the link for the interactive report working properly?
    Many thanks,
    Jerry

    Hello,
    How about you do not use BLOB format Column, you do it manually as this example here:
    apex.oracle.com
    workspace: somefeto
    user: test
    pwd: test
    Application 63066
    in the same workspace, there is      Sample File Upload and Download (App ID 10540), and it is working fine ....
    Otherwise, Pls, reproduce the problem on apex.oracle.com
    Best Regards,
    Fateh
    If you believe that my answer is correct or helpful to you, then pls, mark the answer as helpful or correct

  • Report Column "attributes"

    I'm sure I am missing something basic here, but no amount of searching has yielded a result:
    I have a SQL Query report for a product with length, width, height column data - two queries.
    1. some products don't use these fields (ie they are null), when showing a single record I assumed if you used the Conditional Display under Column Atrributes, set it to "value of item in expression 1 not null" and then set expression 1 to #length# the item would not appear on the page when length was null and naturally would appear if a value existed ?!
    2. I also have a javascript function to convert mm to inches and display the result in layer when you hover over the length, width, height items. It uses a OnmouseOver/OnMouseOut in the <TD> tag (based on tooltips), but I don't seem to be able to get this to appear when using the tabular form element fields, again under column attributes?!
    Any pointers greatly appreciated....

    Thanks for the feedback Scott,
    The theory is this - I'm working with the Online cart example and when displaying the product detail (ie a 1 record report) some items have L, W, H and others don't so naturally I'd like to tidy the page and not display the null items (and/or labels). there is actually about 7 columns like this so using a decode could get a bit messy!
    Strangely enough when I use the Conditional Display for the column (albeit incorrectly) the item is removed from the page as I would expect in a null situation - so I think unless I'm barking up the wrong tree the functionality is there, I'm just not using it correctly. I've tried # values, &values for the column in expression 1 but to no avail, so I figured this was the area where I was going wrong.... I guess the question is can you reference the current item value in the Expression 1 column attribute to determine if it is null and hence not display it ??

  • How to set column attributes in table control?

    I have the following requirement to build a table by using table control:
    if content of col 1 = 'Y', enable input for col 2 for that line only.
    if content of col 1 = 'N', disable input for col 2 for that line only.
    So the input attribute for col 2 in each line can be different.
    How can I achieve this?
    I have tried using loop at screen or loop at tablecontrol-cols into wa_cols statements,
    but these will change the entire column attributes to either on or off, and not on individual line.
    Instead of changing the COLUMN attributes, I think I should change the CELL attributes. 
    What is the syntax for that, is there something like tablecontrol-field?
    Thanks for any help in advance.

    I still not able to get the field attributes set on individual lines.
    These are my codes, can you help again.
    PROCESS BEFORE OUTPUT.
      MODULE pbo_0200.
      MODULE zitem_change_tc_attr.
      LOOP AT   lt_asset_item
           INTO ls_asset_item
           WITH CONTROL zitem
           CURSOR zitem-current_line.
        MODULE ZITEM_CHANGE_FIELD_ATTR.
        MODULE zitem_get_lines.
      ENDLOOP.
    MODULE zitem_change_field_attr OUTPUT.
    loop at screen.
      if ls_asset_item-replace_asset = 'X'.
         if screen-group1 EQ 'FR4'.        "these are the columns I want to turn input ON or OFF.
          screen-input = '1'.
          modify screen.
         endif.
      endif.
    endloop.
    Endmodule.
    At debug mode, the screen-input did change to '1'.  Can I check the return code of the MODIFY SCREEN statement?
    I tried to initialize the colums to be output only at screen definition, but it still doesn't help.
    I don't think I have to do anything at the PAI event.
    PROCESS AFTER INPUT.
    MODULE save_cursor_position.
      LOOP AT lt_asset_item.
       FIELD ls_asset_item-replace_asset
         MODULE get_replace_asset ON REQUEST.
        CHAIN.
         FIELD LS_ASSET_ITEM-REPLACE_ASSET.
         FIELD ls_asset_item-replace_cost.
          MODULE zitem_modify ON CHAIN-REQUEST.
        ENDCHAIN.
        FIELD ls_asset_item-mark
          MODULE zitem_mark ON REQUEST.
      ENDLOOP.
      MODULE zitem_user_command.
    Thanks again.

  • How do I get and set column attributes in a table or a treetable with Java?

    Using 11.1.1.4.0
    Hi,
    How do I get and set column attributes in a table or a treetable with Java? For a simple example, say I have a table and want certain roles to see all columns (including address), and other roles can see only certain columns (no address). In a Java method, I want to test if a table's column visible attribute is true and if so, set it to false before rendering it.
    Thanks in advance,
    Troy

    Hi,
    this use case would be a perfect example for using seeded MDS customization. Instead of checking what users are allowed to see or not upon rendering time, you have a customization class and thus the framework doing this for you.
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/31-mds-sample-169173.pdf
    In this paper and sample, specific users see different layouts. It also contains a customization class that shows how this can leverage ADF Security
    Frank

  • Report Painter- Scaling in the Column Attributes

    Hi all,
    I would like to ask for some help/assistance on report painter
    We have customized reports using Report Painter. These reports normally
    use the thousands ('000)as the number format (scaling). The problem we are
    encountering now is that users who have expert mode access can access
    the reports and change the number format (scaling) to actual
    figures.Then when this specific user saves these new scaling
    settings , the next user of the report will be misled thinking the
    numbers being shown are still in the orginal number format (scaling)
    which is in thousands
    1) How can we strict the user's expert mode access to limit them so
    that they can change the number settings but they should not be able to
    save these settings
    or
    2) Can we change the header of the report so that it follows the column
    attributes of the report ( meaning if the column attributes are set to
    thousands then the header will have a desciption of "in thousands" as
    well)
    Currently the scaling settings are not available as a variable in the
    report header
    Thanks.
    Regards,
    Marizenne Bejasa

    You don't need the image tags but only image names:
    SELECT   username "User",
             MAX
                (DECODE (FUNCTION,
                         'Text1', 'check.png>',
                         '1px_trans.gif'
                ) "Image_Text1",
             MAX (DECODE (FUNCTION, 'Text1', 1, '1px_trans.gif')) "Text1",
             MAX
                (DECODE (FUNCTION,
                         'Text2', 'check.png>',
                         '1px_trans.gif'
                ) "Image_Text2",
             MAX (DECODE (FUNCTION, 'Text1', 1, '1px_trans.gif')) "Text2",
             MAX
                (DECODE (FUNCTION,
                         'Text3', ' check.png>',
                         '1px_trans.gif'
                ) "Image_Text3",
             MAX (DECODE (FUNCTION, 'Text1', 1, '1px_trans.gif')) "Text3",
             MAX
                (DECODE (FUNCTION,
                         'Text4', ' check.png>',
                         '1px_trans.gif'
                ) "Image_Text4",
             MAX (DECODE (FUNCTION, 'Text1', 1, '1px_trans.gif')) "Text4"
        FROM my_table
    GROUP BY usernameDenes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • How can I edit column name/heading in Column Attributes?

    Hi All,
    In the link "*Home>Application Builder>Application 1000>Page 2>Report Attributes>Column Attributes*", can someone help me how to edit/modify 'Column Name' and 'Column Heading' ?
    Thanks in advance.
    Regards
    Sharath

    Hi,
    There is Headings Type radio buttons above report column attributes.
    Select Headings Type "Custom" and then you can change Headings.
    Column names (Alias) you need change to report query.
    Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

  • Report Attribute - Column Attribute - Sort

    I have a SQL Query (PL/SQL function body returning SQL Query) report. I have the number of returned limited to 100 rows (Report Attributes - Layout and Pagination - Max Row Count). When I run this report without any column sorts (none of the Column Attribute Sort columns are checked) it runs fast. If I set either the Sort Sequence, or check any one of the Sort columns, the report takes forever to run. This with only 100 rows on the report.
    Where is the sort being performed - Is the sort being performed within Oracle (meaning, in the database) or is it being sorted in Apex or on the Client?
    Note that there is no "order by" nor "group by" contained within the SQL - just a simple 2 table join (an inner join).

    Thank You, Thank You, Thank You.
    That is indeed the point I am trying to make.
    My report is a SQL Query (PL/SQL Function body returning SQL Query) and is based on information provided in several PopUp LOVs. The more LOVs used, the more information provided to the WHERE CLAUSE, and therefore the less data returned to the screen.
    When the End User produces a small report, they are likely to want to sort it.
    But when they bring back huge amounts of data, they don't want it sorted. Especially not automatically sorted.
    In most cases, this is happening when we are joining two or three tables with say 10 million rows on each table. The join condition is good (meaning there is not a Cartesian Product) but the resultant data is 10 million rows - something you not likely want to sort. Even with a limit on the number of rows returned (Report Attributes - Layout and Pagination - Max Row Count) to something reasonable, like 500, the 10 million resultant rows are first being sorted and then the first 500 returned.
    So, yes, a "sort-enabled" report should NOT automatically sort. Which is what is happening.
    Of course, it might be a good thing to have some sort of Variable that we could set on a page to decide if we want automatic sorting. On most pages, an automatic sort is great - as the amount of data returned will always be small.
    On the pages where I have this problem, it would be great to do the automatic sort when one or more of the PopUp LOVs are populated. So, within a "After Submit" process I might want to turn automatic sorting on.
    Hey, if we are going to ask for an enhancement/change, we might as well ask for something really flexible.

  • Panel Grid+Child count should be a multiple of the columns attribute.+Urgen

    WARN [HtmlGridRendererBase] PanelGrid RegForm:j_id_jsp_1952996824_0 has not enough children. Child count should be a multiple of the columns attribute.
    It stops my funstionalities working . I am using Myfaces jsf .

    Edward_Kimber wrote:
    It stops my funstionalities workingHave you seen a doctor about that?That might well be related to the insufficiency of children.

  • Enhancement request: Quick edit links for column attributes

    It would be really nice if columns in report regions had that little Quick Edit icon (turned on by Show Edit Links on the developer toolbar) to go directly to the Column Attributes page.
    It gets to be a real pain to click on Edit Page, click on the Region, then Report Attributes, and finally click on the Column to get to that point!
    Thanks

    quick edit features will be greatly enhanced in the next version
    Carl: By "next version", are you referring to Version 3.0? Your response was prior to 2.0 being released but I don't see any enhancements in this area in either 2.0 or 2.2. [Well, yes, the Quick Edit link image has changed but that's about it!]
    Can you clarify what you meant? Thanks

  • Report Column Attributes Does Not Display All the Column Names

    Good Morning,
    I have an interactive query Select * from table_name. I have to select * since my query returns well over 32k. I have 162 columns in the query. On the screen, all the columns are displayed; however, on the report tab, only about half of the columns are displayed. The rest are cut off. I need to be able to go into these field's attributes. Is this an APEX bug, or am I just missing something.
    Regards,
    Kelly

    Hello Tony,
    I can't break them out because APEX is limited to one interactive report per page. There is need to be able to do computations on the data, which interactive reports allows. The data is all statistical.
    Regards,
    Kelly

  • Hiding a column Attribute in the Grid Control in a DAC form.

    Hi,
    My RowsetInfo has a Image AttributeInfo and other kinds of AttributeInfo.I wanted to display the image in a seperate area in the form.The remaining Attributes would come in form as a detail grid.
    However, since I bind the Grid control to my rowsetInfo, and also since my rowsetinfo has an image AttributeInfo, I see an Image column there(which ofcourse contains references to these Image objects!!).
    I would want to hide this column in the grid.How do I go about it?Do I need to create a seperate rowsetinfo for the Image controlor there is a workaround for this?
    Any ideas??
    --Sandeep                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    Going through the previous discussions in this forum, I had also tried the following :
    JTable table = detailGrid.getTable();
    TableColumnModel tableColumnModel =
    table.getColumnModel();
    table.removeColumn(tableColumnModel.
    getColumn(1));
    This doesnot seem to work.I get the following exception:
    java.lang.ArrayIndexOutOfBoundsException: 1 >= 0
    java.lang.Object java.util.Vector.elementAt(int)
    javax.swing.table.TableColumn
    javax.swing.table.DefaultTableColumnModel.getColumn(int)
    void DAC2Package.DAC2Frame.jbInit()
    void DAC2Package.DAC2Frame.<init>()
    void DAC2Package.DAC2Application.<init>()
    void DAC2Package.DAC2Application.main(java.lang.String[])
    Since I have quite a few number of columns in the GridControl, I shouldnot be getting this
    exception in the first place.
    Also, I donot understand why
    tableColumnModel.getColumnCount() prints zero in the console.
    Thanks in advance,
    Sandeep
    null

Maybe you are looking for

  • Load balancing across multiple application servers not working with JCo RFC

    We have a problem where inbound messages to the Mapping Runtime engine (ABAP -> J2EE) are not load balanced over application servers. However, load balancing does take place across server nodes within one application server. Our system comprises of t

  • How is the 'code fold' functionality implemented?

    Hi all, I'm thinking that I'd like to have a form, which is broken into several categories, that has 'code fold' functionality ala NetBeans. I'm thinking the way to do this would be to simply place all of these JPanels in the form in the nodes of a t

  • SP_WHO2 and KILL sessions

    There is one app that opens a lot of sessions to a database and never closed for that app. At some point, there are 100 connections. 1) My question is, what happens when the user(s) closes out the application? Currently, it looks like the sessions re

  • Code not sent to SMS

    Can someone help me with this?  I recently downloaded Viber to my phone, it asked me for an access code with was suppose to be sent to my SMS both I never received it can you assist me please on this

  • File path problem in jsp

    Hi techies, I am having a jsp ,which is having the following fields, url driver userName Password Location of the file Here is my jsp code   <table rows=6 cols=2>                <tr>                     <td>Enter url</td>                     <td> <in