How can I change a column name in table (JDeveloper 10.1.3.3)?

I'd like to change a table column name, for example instead of "FirstName" I'd like "Name".
Here is the preview: http://img208.imagevenue.com/img.php?image=86575_firstname_122_578lo.JPG
Thank You in advance!

Now I have following problem: When I change "Label text" to column which has "Combo box" (Department insted of DepartmentId) I do not have my combo box anymore, just DepartmentId (Number). I have created binding... (DepartmentId -> Department Name) Why is this happening?
http://img151.imagevenue.com/img.php?image=47670_firstname_122_862lo.JPG
Can I change my attribute name in data model?
BTW I use ADFBC Swing
Sorry on my bad English ...
thank you
Message was edited by:
user638810
Message was edited by:
user638810
Message was edited by:
user638810

Similar Messages

  • How can i  change the column label text in a alv table display

    how can i change the column label text in a alv table display??
    A similar kinda of question was posted previuosly where the requirement was the label text was needed and following below code was given as solution :
    <i>*  declare column, settings, header object
    DATA: lr_column TYPE REF TO cl_salv_wd_column.
    DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
    DATA: lr_column_header type ref to CL_SALV_WD_COLUMN_HEADER.
    get column by specifying column name.
    lr_column = lr_column_settings->get_column( 'COLUMN_NAME1' ).
    set Header Text as null
    lr_column_header = lr_column->get_header( ).
    lr_column_header->set_text( ' ' ).</i>
    My specific requirement is i have an input field on the screen and i want reflect that value as the column label for one of the column in the alv table. I have used he above code with slight modification in the MODIFYVIEW method of the view since it is a process after input. The component gets activated without any errors but while run time i get an error stating
    <i>"The following error text was processed in the system CDV : Access via 'NULL' object reference not possible."</i>
    i have checked in debugging and the error occured at the statement :
    <i>lr_column = lr_column_settings->get_column( 'CURRENT_YEAR' ).</i>Please can you provide me an alternative for my requirement or correct me if i have done it wrong.
    Thanks,
    Suri

    I found it myself how to do it. The error says that it is not able to find the reference object i.e  it is asking us to refer to the table. The following piece of code will solve this problem. Have to implement this in WDDOMODIFYVIEW method of the view. This thing works comrades enjoy...
      DATA : lr_cmp_usage TYPE REF TO if_wd_component_usage,
             lr_if_controller  TYPE REF TO iwci_salv_wd_table,
             lr_cmdl   TYPE REF TO cl_salv_wd_config_table,
             lr_col    TYPE REF TO cl_salv_wd_column.
      DATA : node_year  TYPE REF TO if_wd_context_node,
             elem_year  TYPE REF TO if_wd_context_element,
             stru_year  TYPE if_alv_layout=>element_importing,
             item_year  LIKE stru_year-i_current_year,
             lf_string    TYPE char(x),
      DATA: lr_column TYPE REF TO cl_salv_wd_column.
      DATA: lr_column_header TYPE REF TO cl_salv_wd_column_header.
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
    Get the entered value from the input field of the screen
    node_year  = wd_context->get_child_node( name = 'IMPORTING_NODE' ).
    elem_year  = node_year->get_element( ).
      elem_year->get_attribute(
       EXPORTING
        name = 'IMPORT_NODE-PARAMETER'
       IMPORTING
        value = L_IMPORT_PARAM ).
      WRITE L_IMPORT_PARAM TO lf_string.
    Get the reference of the table
      lr_cmp_usage  =  wd_this->wd_cpuse_alv( ).
      IF lr_cmp_usage->has_active_component( ) IS INITIAL.
        lr_cmp_usage->create_component( ).
      ENDIF.
      lr_if_controller  = wd_this->wd_cpifc_alv( ).
      lr_column_settings = lr_if_controller->get_model( ).
    get column by specifying column name.
      IF lr_column_settings IS BOUND.
        lr_column = lr_column_settings->get_column( 'COLUMN_NAME').
    set Header Text as null
        lr_column_header = lr_column->get_header( ).
        lr_column_header->set_text( lf_string ).
    endif.

  • How can I change the tag name in cursor statement?

    Hi
    I have two tables: TableA and TableB. I want generate a XML file using XSU12 from these two tables, the XML structure like:
    <ROWSETA>
    <ROWA num="1">
    <A1></A1>
    <A2></A2>
    <A3>
    <A3_ROW num="1">
    <B1></B1>
    <B2></B2>
    </A3_ROW>
    <A3_ROW num="2">
    <B1></B1>
    <B2></B2>
    </A3_ROW>
    </A3>
    </ROWA>
    </ROWSETA>
    How can I change the tag name and attribute for "A3_ROW"?
    Thanks in advance!
    null

    In short, you can't.
    You can use the column alias as you're already doing to change the name of the "A3" part of "A3_ROW" but you cannot change the "_ROW" part of "A3_ROW". This is added automatically.
    You can combine the results of XSU with an XSLT stylesheet (made very simple if you're using XSU by working with Oracle XSQL Pages) to change the name of any element or completely restructure the XML output into a target XML, HTML, or text format.

  • How can I change excel column header using Labile.

    Dear Experts,
                          How can i change excel column header using LabVIEW.
    Thanks for any and all help!
    M.S.Sivaraj.
    Sivaraj M.S
    CLD

    As I said in my previous post, column headers in Excel are merely row 1 cells. May be I missing something here, so please be more explicit with your question.
    I guess you are using the Excel Report tools, and you want to modify an existing sheet. From my limited experience with the Excel Report tools, it is not possible to open an existing woorkbook (except as template...), so the answer to your question should be "Forget it"...
    The work around is to use the example I pointed for you before, and either to write the whole new colum headers as a string array, starting in A1, or to write a single string to a given cell in row 1.
    Hope this helps 
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • How can I change the account name in iCloud.  My email has changed and I want to change it on iCloud.

    How can I change the account name in iCloud.  My email has changed and I want to change it on iCloud.

    To change your iCloud ID, go to Settings>iCloud, tap Delete Account, then sign back in with the new ID.  This deletes the account and your iCloud data from your device, but not from iCloud.  Provided you are signing back into the same account, your iCloud data will reappear on your device when you sign back in.
    To avoid losing photo stream photos, save them to your camera roll (if not already there) before deleting the account.  To do this, open your my photo stream album, tap Edit, tap the photos, tap Share, then tap Save to Camera Roll.
    To change the ID on your Mac, go to System Preferences>iCloud, sign out, choose Delete for all the prompts (your data will still be in iCloud), then sign back in with the changed ID.

  • How can I change a company name in my Invoice?

    How can I change a company name in my Invoice?

    Sign in to your Adobe account using the Adobe ID linked to your company account and update the company details there.
    http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html

  • How can i change a contact name pronunciation on siri

    how can i change a contact name pronunciation on siri

    under contacts, there's a field for "phonetic first/last name." Just spell it how it sounds and Siri will get it.
    If you don't find the field, go into edit mode and choose "add field".

  • HT4623 My contacts are listed by telephone numbers instead of names in my messages since I upgraded to OS8? How can I change it to names?l,

    My contacts are listed by telephone numbers instead of names in my messages since I upgraded to OS8? How can I change it to names?l,

    Under Settings->Messages->Send & Receive
    1) is your Apple ID listed there?
    2)  Under "You can be reached..." is your phone number appearing at the top of the list and does it have a checkmark next to it?
    3) Under "Start New Conversation From" is the checkmark next to your phone number?

  • When bates numbering a .pdf in XI, how can I change the file name to include the bates number AND its name?  I know under file output, there is an option for either/or.  I want both.  Thank you.

    when bates numbering a .pdf in XI, how can I change the file name to include the bates number and the file name?  I know under "file output: it's either/or.  I need both.  Thanks!

    Long ago I wrote a little demo using the touch command. Check out the following thread:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=25128#M25128
    LabVIEW Champion . Do more with less code and in less time .

  • HT201240 I have a new macbook pro that did not have a disk, OS X was pre installed  so how can i change the administrators name and password, it did not migrate properly from my hard drive.., so how do i

    I have a new macbook pro that did not have a disk, OS X lion 7.3.4 was pre installed  so how can i change the administrators name and password, it did not migrate properly from my hard drive.., now there is some mysterious administrator name and or password??

    See #5
    Step by Step to fix your Mac

  • How can I change fx artist name on multiple songs?

    How can I change fx artist name on multiple songs without having to click on each one of them?
    Also how can I delete the album picture?

    highlight the tracks in iTunes, right-click and get info. this window will appear
    edit the album artist field. the artwork box will be empty. put a tick in the little box next to it and hit ok.

  • How can i change the account name to our firm's name?

    how can i change the account name to our firm's name?

    The name that appears in Adobe Send is the name that you used when you created your Adobe ID.  You can update this by clicking on your name in the upper-right corner and selecting My Information ...
    Once the My Information dialog appears, you can change the First Name and Last Name on the account.  Note that you're updating your Adobe ID, so in many places where you use that Adobe ID, it will display with those names. (Some Adobe sites, such as this forum, use other screennames; those would not be affected.)

  • How can I change the location name my iPhone pulls up when I am home. The info that pulls is not correct?

    How can I change the location name my iPhone pulls up when I am home. The info that pulls is not correct?

    If the size of the iPhone backup is putting you over the edge you have bigger problems than just this backup. You really need to solve the fundamental problem of your C: partition being too small. Even if you could solve the iPhone problem something else will come up soon that will again challenge your disk space. New drives can be had for well under $100, and even a 500 GB drive is only a little more than $100. This would be a good time to upgrade. You can even clone your current drive AND increase the partition size in one step with disk imaging software such as Acronis True Image.

  • How can I change my user name on my iPhone 4S running )OS 8.1.1 so I can update my Apps

    How can I change my user name on my iPhone 4S running OS 8.1.1 so I can update my Apps?

    Hi jprohask63,
    Welcome to the Apple Support Communities!
    If you have applications that were originally downloaded from a different Apple ID, you would need to sign out of the current Apple ID and sign in to the Apple ID that was used originally to download the application. To complete this process please follow the instructions provided in the attached article. 
    iOS: Sign in with a different Apple ID in the iTunes Store, App Store, and iBooks Store - Apple Support
    Cheers,
    Joe 

  • How can I change the OWNER of a table?

    How can I change the OWNER of a table entr2009mm ?
    Resp. the OWNER of all TABLES whose tablename match the pattern *2009* ?
    Peter

    Hello,
    There're different posiibilities, Export/Import can do it.
    But, if it's not a too large Table, you can use CTAS (from a user with DBA privilege for instance).
    Create Table <schema_target>.<table_name> as select * from <shema_source>.<table_name>;Then, you have to recreate the dependent objects (Index, ...) and drop the Source Table.
    If you have a set of Tables, it's better to use Export/Import.
    Hope this help.
    Best regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on Feb 9, 2010 8:20 PM

Maybe you are looking for

  • Mail-enabled Public Folders not accepting email from external users after migrating from Exchange 2003

    We are in the process of trying to decommission our Exchange 2003 server, all of the replicas have been moved to the Exchange 2010 SP3 servers. However, each time we dismount the public folder store on the 2003 server (just to see what won't work) no

  • Problems with opening files in correct app

    Hi guys Recently we have switched over at my company to OSX tiger. I work for a design firm doing artwork for various clients in the retail sector. We have a bank of logos and images on file that we use, mostly Illustrator eps saved in version 10 of

  • Monitor color

    I have a Compaq desktop,it is running windows XP.I recently downloaded Kaspersky anti virus and after shutting it down and restarting,the color on my moitor is crazy wrong.My pages are a God aweful purplish pink and what suppose to be yellow is a God

  • Why having ORA-24344 error on my query?

    There are two tables one is sectors_main and emp_rem_view table. I don't know why i am having ORA-24344 error? Can anyone tell me why? SELECT ms_id, COUNT(*) cnt, NVL(ROUND(percentile_cont(0.25) within group (order by base_salary),0),0) bs_q1 FROM (S

  • Resize web dynpro iview

    Hi all. I have integrated Ep - -web dynpro. The wdApplication is displayed in the an iview. i have created a role so the iview is displayed in the inner page. The problem is that the iview takes up only half the page size while i want it to be fit fu