ALV - set_text in column header not working (or I'm doing something wrong)

In the WDDOINIT module of my view that contains the ALV, I have the code:
method wddoinit .
  data: l_ref_cmp_usage type ref to if_wd_component_usage,
        lr_column        type ref to cl_salv_wd_column,
        lr_column_header type ref to cl_salv_wd_column_header.
  l_ref_cmp_usage = wd_this->wd_cpuse_alv( ).
  if l_ref_cmp_usage->has_active_component( ) is initial.
    l_ref_cmp_usage->create_component( ).
  endif.
  data: l_ref_interfacecontroller type ref to iwci_salv_wd_table .
  l_ref_interfacecontroller =   wd_this->wd_cpifc_alv( ).
  data: l_value type ref to cl_salv_wd_config_table.
  l_value = l_ref_interfacecontroller->get_model( ).
  lr_column = l_value->if_salv_wd_column_settings~get_column( 'LASTDATE' ).
  lr_column_header = lr_column->get_header( ).
  data: l_column_text type string.
  l_column_text = 'Must Change By'.
  lr_column_header->set_text( l_column_text ).
endmethod.
The text in the column header does not change.  It uses what is in the dictionary.

Try setting the set_ddic_binding_field( '00' ).

Similar Messages

  • Contact 'Sync' not working. Am I doing something wrong?

    I am completely new to iPhone, but willing to give it a shot before I call it quits.  I was told if I activate my Gmail account, all contacts would sync onto the phone - which is not the case [or at least didn't work right for me].  That said, I searched on the web and in the iPhone Support Community for an answer and haven't found specifically what I am looking for.  This is where I am at now:
    I've exported my Gmail contacts to my MacBook's Address Book.  I see all the contacts there from my Gmail account.
    I've already gone into iTunes and plugged in my phone to Sync - choosing the contact options available, specifically related to my Gmail account.  Again, not all contacts were synced. 
    I've also tried the Exchange Mail settings as suggested by Google's website, and that hasn't worked. 
    What am I doing wrong?  Is there a way to Sync my MacBook's Address book to the iTunes folder so it will all Sync to my phone accordingly?
    Can someone please help me?  Thanks!

    What happens when you convert to excel?

  • @Remove not working or am I doing something wrong?

    Hi,
    Trying to remove all the children of 'Flexible Staffing Depts', which is alternate rollup with only shared members:
    SET UPDATECALC OFF;
    FIX ("Jul", &BudYr, "GF010", "Budget", "Preliminary (Rolled)" , "No Project-Grant")
       FIX("512100", "8900", @REMOVE(@RELATIVE("Elementary", 0),@LIST(@CHILDREN("Flexible Staffing Depts"))),
                                       @REMOVE(@RELATIVE("Middle Level", 0),@LIST(@CHILDREN("Flexible Staffing Depts"))),
                                       @REMOVE(@RELATIVE("Senior Level", 0),@LIST(@CHILDREN("Flexible Staffing Depts"))) )
       "FTE"  = 77;
       ENDFIX
    ENDFIX

    I did end up using EXCLUDE as the wonders of Google .  I never knew about EXCLUDE but it is very handy indeed.   I love reading Cameron's blog except I need to pull out a dictionary .   Thanks for your reply and link to blog.  It confirmed my findings

  • I just purchased Adobe Acrobat in order to convert a pdf to an excel program but it appears that it will only convert to Word, not excel? Am I doing something wrong or should I cancel my subscription?

    I just purchased Adobe Acrobat in order to convert a pdf to an excel program but it appears that it will only convert to Word, not excel? Am I doing something wrong or should I cancel my subscription?

    What happens when you convert to excel?

  • Get clicked column header not working

    Here's what I'm trying to do:
    Have a multi-column listbox of elements.  Allow the user to select a few rows he is interrested in (and the become highlighted).  Allow sorting of the listbox by clicking on the column headers.
    I've got the listbox populating fine, if nothing is selected, the sorting works fine (event structure based on mouseup event of the multi-column listbox, calling to the "get clicked column header" invoke node method sorts the data.  The part that is not working is that If the user has elements selected, sorts the listbox, the same elements are selected (not the same rows, but those same elements in whatever row they ended up after being sorted). 
    What happens is if I select a few rows in the listbox (listbox configured for 0-N elements selectable, highlight entire row), and then click on the column header, the event structure fires off a value change event for the listbox and changes to no elements selected.  if I then click the column header again, it fires off the mouse up event and I get the sorting, but now none of the rows are selected.  Weird thing is that first time I click the column header and it fires the value change event, a call into get clickced column header returns negative value so it won't tell me which column header the user clicked to "empty" the selection.
    Bugger!!!!  doesn't work how I want it to.
    Funny thing is if I change the listbox over to a 1-N elements selectable, and then select a few rows, and then click on the column header, the event structure fires off the mouse up event and I get the sorting and re-selecting exactly as I would expect. 
    What's the deal here?? is this a bug, or expected behavior.  If it's expected, it would be nice if it were a little more consistent between the different types of listboxes.  Also, any good suggestions as to how to allow users to have 0-N selected elements, and be able to sort the listbox and keep the selected rows selected?

    Sounds annoying.  Here is a variation of my goto method for these types of problems:
    Use the MouseDown? event to catch important info like the old value.
    Restore the old value at the end of the Mouse Up event.
    Some details, like making sure that the down and up clicks are in the same cell.
    Use Defer Updates to prevent flashing.
    One of many kluges I have around for the MC Listbox....
    Attachments:
    MCListboxKluge.vi ‏20 KB

  • Help!!! Images are blurry/low-res in InDesign files I sent - re-linking is not working or we're doing it wrong :(

    So I am transferring all of my InDesign files over to my boss because I am leaving my job, but all of the photos placed in the layouts I've created show up blurry when he opens the files on his own computer. We've tried relinking the files, even! We may be doing it wrong, so first of all, could I get a detailed step-by-step to relinking files? Secondly, if that doesn't work, what else would you suggest?
    Info that may or may not help: I have a PC, he has a Mac, we used Google Drive to share the files, and I've already tried packaging the files.
    Thanks!

    Is it now the appearance in ID only or also PDF output? If the output is fine, it may just be the screen display settings. ID by default shows a low res screen copy. You can check on the boss' computer by selecting an image, right click and change the setting...near the bottom of the menu.
    Also, in the links panel, are all the images up to date?

  • Crossfade not working or am I doing it wrong?

    I just installed the latest preview on my Mac, and have enabled the crossfade option in the preferences, but new tracks just start playing straight away with no crossfading occurring.Is this not working, or am I confused as how the crossfade should work (it says in the blog "fading out one song as you bring another in" but it doesn't appear to work like that)? 

    Hello, I report also that crossfade does not work properly. It works only when songs are in queve. But what if I want to stop song and change to antoher on the fly, the crossfade don't work. This is very bad in party situations when you find people don't like the song, so you would want in a good spot to crossfade next song or hit next song button to start on the fly new song. But then comes the **bleep**tiest feature of soptify, crossfade does not work. Song is stoppe right away, then next song is starting to load. PLEASE, PLEASE soptify, update your crossfade to work ALWAYS, when hitting next button, when starting new song via play button or in any method, when starting a song use crossfade songs. Please fix this.

  • Checkbox in a datagrid column header not working properly

    Hi,
    I have rendered a checkbox in the header of a datagrid column
    using headerRenderer property. That column also has all entries as
    checkboxes. What I want to do is that on checking the header
    checkbox, all checkboxes should get checked. Though I am able to do
    this BUT the header checkbox remains uncheched in the whole
    process! Whereas, if I remove this eventHandler from it, then the
    header checkbox shows the correct state i.e., show checked on
    checking & unchecked on unchecking!
    Any input?
    Thanks in advance,
    Cheree

    hi many thanks for looking at my problem
    what i am trying to do is show a column if the proc_id is greater than 2
    it just looks a bit silly when a user configures the file (but not submitted it for loading)
    the file cnt is null or zero - i had hoped not to show this - the proc_id is found from the report query !

  • 27" iMac audio in not working or am I doing it wrong?

    Fortunately I am not experiencing any display issues on my quad-core iMac, yet... However, I am trying to use the audio-in port and seem to be having problems. When I input an audio signal (analog, like from an iPod headphone jack) I can see the "meter" bouncing in the Sound System Setting panel. However, I do not hear the music on the iMac's speakers.
    I do not see anything that says the port is digital only and I have the audio input and output set correctly. Is there something else that needs to be configured to hear the sounds on the iMacs's speakers?

    You will need a little app like Linein from Rogue Amoeba. It is a freebie!
    LineIn is a simple application for OS X to enable the soft playthru of audio from input devices. In simpler terms, you can use LineIn to play sound coming in through a microphone or any other device plugged in to your Sound In port, just as was once available with OS 9's "Play input through output device" option.
    Dah•veed

  • The pinned app tabs work like they're supposed to until I quit Firefox. Then, when I open Firefox again, the pinned app tabs aren't there. Is this just the way the Mac version of Firefox works, or am I doing something wrong?

    Mac OS X 10.6.7, Firefox 4.0.1, using a MacBook Pro.

    >When you use the includeIn command, by default the object will only be created when it is needed. Hence, you will execute a creationComplete
    >event, and therefore atleast 100 million (sometimes 400 million) loops, when each required Button state is needed. Obviously, once each button
    >state has been created the creationComplete handler (invalidateDisplayList) will not usually be called again.
    So are you saying there is a better way or another way to do that? Or are you just telling me that's how it works? Because I know that the includeIn isn't creating the other buttons untill they are needed. I need them created when the button is created. That is my question, how do I get the other states to be created when the button is created so that I don't see the button flash black?
    >As written, bioStyleChanged will always remain true
    >if(!bioStyleChanged) {
    >       bioStyleChanged = false;
    >}    
    >this code does nothing for you.
    Sorry, I missed that when cleaning up the code to ask for help.
    Thanks,
    cdman52

  • HT4061 hi im still haveing trouble with my ipad its not conected i must be doing something wrong tell me again how to conect my ipad

    why am i haveing trouble downloading to my ipad it froze

    First, try a system reset although I can't give you any confidence.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  It could take well over an hour!  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

  • We have a new iPad Mini.  I cannot save a new Bookmark.  In Safari, I go to "Share" and select "Add a Bookmark" yet when I click on the Bookmarks icon, my saved Bookmark is not there.  Am I doing something wrong?

    We have a new iPad Mini, and I'm having inconsistent results using Bookmarks in the Safari icon.
    For a long time, on the iPad, I could only see five items under the Bookmark icons and the Bookmarks Bar was empty. 
    Occasionally, in Safari, the iPad would pick up and display all of the Bookmarks from the Safari browser on my iMac. 
    Other times, there are only a bare few Bookmarks available on the iPad, the Bookmarks Bar goes away and I cannot save a new Bookmark.  It looks like I can save one, but I cannot find it after allegedly saving. 
    Then, all of the Bookmarks will come back and I can save a new Bookmark again. We can't figure out why all of the Bookmarks will show and then they won't.
    I want to think this involves iCloud some way, but for right now, I'm stumped.  Perhaps we're just too inexperienced and haven't come around the learning curve yet.
    Thanks for any help.
    Steve

    No, I see the three areas at the bottom of the Bookmark area that you refer to, but that also highlights an issue.  When I want to save a story to my Reading List and click on Share then "Add to Reading List" then go back to look at what is stored in the Reading List, my recently-saved item is not there.
    I looked thru the History tab and the Reading List tab and have been in the Bookmark tab.  But even when I Save a Bookmark, that newly-saved Bookmark does not show up in the Bookmark area.
    But then again, the next day (and actually just in the last half-hour) all of the functionality came back.  When I look at the Bookmarks, suddenly, again, all of the Bookmarks that are on my Safari browser on my iMac are now there, and I can now Save a Bookmark.
    It keeps coming in and out and that is what is driving me a little nuts.
    Thanks.

  • TS3367 I do all the steps it says and it will not connect.  Am I doing something wrong.

    I am trying to set my husbands ipad up so he can FaceTime and use the messages, every time we log in it will not do anything. What are we doing wrong?

    What do you mean by - it won't do anything? You cannot verify the email address? You are using his Apple ID email address for his contact at email address?

  • Brand new macbook pro does not start up am i doing something wrong

    well i went to the apple store and baught a brand new core i7 17 inch macbook pro i am new to apple and this is my first time purchesing an apple product when i got it out of the box i plugged it in and let it charge before turning it on then i turned it on and it made a sound but then it comes up with a picture of a folder on a gray screen with a questionmark and there is like a clicking noise from inside am i missing something because i ave never used one before or is this not normal thanks

    The clicking suggests you got a unit with a bad hard drive. Bring it back and exchange it for a another new one.

  • My 9630's back light will not turn off, am I doing something wrong?

    I have had my Blackberry Tour 9630 through Verizon for a week or so now, and the back light will never dim out. It just stays on all the time. It will dim slightly when the environment is darker like it should but it won't ever black all the way out. My battery is barely lasting an entire night. Does anyone know how to fix this?

    Please stop me if this seems all to basic...   In Options / Screen/Keyboard set backlight to a respectably low value (I have mine at 20 and it's still plenty bright). Then under it set the Timeout to 1 Min or 90 Sec.  I have Auto Dim set to No.  My battery lasts two days with these settings with moderate data usage.

Maybe you are looking for

  • I cannot send mail. Been so for 2 days. Get the message: An error occurred while sending mail. The mail server responded: Access denied

    When I send message the reply is "Access Denied" and a bunch of gobbly-gook ending with please re-check message. What would I check for? The G-G is of absolutely no value to the human species. An error occurred while sending mail. The mail server res

  • Problem with group concat

    Hello, I would like to group concat my data : instead of having : Here's my output data : ID | Brand 55 | Xcel 55 | DCS I would like to get : ID | Brand 55 | XCEL, DCS but when I'm using the function wm_concat or group concat I've an error message. T

  • SQL Query Calculating Price based on logic

    Hi Experts, Here is my table records, SHIPMENT_ID     SHIP_PRICE     SHIP_ADDT_PRICE     PRODUCT_ID     PRODUCT_QTY 1000          3.95          1          12          2 1000          0          0          17          1 1000          6.95          2  

  • Data not rolling up of a dynamic calc member for a particular entity

    Hi, In my planning application data is not rolling up of a dynamic calc member for a particular entity whereas it is working fine for other entity. Please find below the sample Smartview Retrieve ----------------Member_ALL---Member_None---Member Top-

  • Updating & Editing an iWeb Site

    I am making a website using iWeb for a PC User and uploading it and giving them the exported iWeb file. Can they update or edit the site I create for them using a PC program such as www.pagebreeze.com or another PC Program? Do you have any suggestion