Drop down in a table not in ALV table but the normal table

Dear All,
My question is regarding the drop down in a table.
I am trying to put the drop down in a table and i am trying to fetch the data from the Data dictionary.
Since my table contains more than 3 records all the columns are fetched accordingly but the drop down column is not getting set as per the reords of the database.
When there is one record in the table then i am able to set the value of drop down as per the database and fill the drop down but when there are multiple records in the database all the values are set as same .
For eg my datbase consits of 2 records and 1st record consists of drop down value as ""open"" and my 2nd record as "Cancelled"   then the two values are over written as ""Cancelled " "Cancelled".
To over come this situation suggest me with a solution .
Hope  i am clear with my question.
Regards,
Sana.

Hi......
I too got the same prblm like you but i solved it... here is the solution...
first i have  used dropdownbykey list box for my scenario...
then in the wd_doint...
  DATA LS_VALUESET  TYPE WDR_CONTEXT_ATTR_VALUE.
  DATA LT_VALUESET  TYPE WDR_CONTEXT_ATTR_VALUE_LIST.
DATA LO_ND_INFO TYPE REF TO IF_WD_CONTEXT_NODE_INFO.
  DATA LO_ND_ND_EDUCATION TYPE REF TO IF_WD_CONTEXT_NODE.
  DATA LO_EL_ND_EDUCATION TYPE REF TO IF_WD_CONTEXT_ELEMENT.
navigate from <CONTEXT> to <ND_EDUCATION> via lead selection
  LO_ND_ND_EDUCATION = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_ND_EDUCATION ).
get element via lead selection
  LO_EL_ND_EDUCATION = LO_ND_ND_EDUCATION->GET_ELEMENT(  ).
get element via lead selection
  LO_ND_INFO = LO_ND_ND_EDUCATION->GET_NODE_INFO( ).
i have the values in lt_subty fetched from database.
  LOOP AT LT_SUBTY INTO LS_SUBTY.
    LS_VALUESET-VALUE = LS_SUBTY-SLART.
    LS_VALUESET-TEXT  = LS_SUBTY-STEXT.
    APPEND LS_VALUESET TO LT_VALUESET.
  ENDLOOP.
get all declared attributes
  LO_ND_INFO->SET_ATTRIBUTE_VALUE_SET(
    EXPORTING
        NAME = 'SLART'
        VALUE_SET = LT_VALUESET ).
Hope this will help you.....
if still dint come.... reply me....
Thanks & regards
Raja

Similar Messages

  • Equal Space between Menu Items and Drop Down Menü left aligned not possible?

    It seems like I can either have equal spacing between the horizontal menu items and the drop down menu will show up centered , or I say the menu items should be of equal size, and then drop down will be left aligned. Is there any way of having equal space AND left aligned drop down???? Thanks in advance!

    Hello Anjum,
    Thank you for reporting the issue. It seems to be a Bug and we have logged the same. Hopefully it will get fixed in coming releases.
    As of now we do not have any workaround for same. However once we have some workaround, we will definitely share it with you.
    Regards,
    Sachin

  • Top Navigation Bar drop down menu's do not work

    Top Navigation Bar drop down menu's do not work. It is only happening on a couple of my site collections and is affecting on the main page of those collections. There is only one web part on the main page, it is the Picture Library Slideshow web part. When
    I remove that web part, the menu's come back and work with no problem. I re-add the web part and the menu's stop working. Not finding any error's in the server logs, there are no visual error's thrown.  Any advice on what might be happening? I've checked
    the Java update on our computers and it has the latest version.  Open to any advice at this point.
    DA
    ~~~~~~~~~ DAnderson

    Hi,
    How does the Top Navigation Bar dropdown menu issue look like?
    Could you please provide a screenshot about the issue, also may detecte the problematic elements by using IE browser developer tool (keyboard F12)?
    Please also check if it is related IE compatibility issue.
    Thanks
    Daniel Yang
    TechNet Community Support

  • Drop down field data does not clear when reset button is activated

    Acrobat Pro XI
    All field boxes are checked off in the actions tab of button properties... however when I click the reset form button I created only the data in the text fields clear, not any of the data that was selected in a drop down box.  What am I doing wrong?

    The "rest form" command returns the fields to their default values. If that
    value is not a blank one, that's what it will return to.

  • I have lost all of my bookmarks from the drop-down menu. It says it is empty, but never have I deleted them. And when I bookmark a page it does not save it. Please help

    Question
    I have lost all of my bookmarks from the drop-down menu. It says it is empty, but never have I deleted them. And when I bookmark a page it does not save it. Please help

    Ok this is bizzare!
    Thank you for your response, I went throught each and every step without any luck, even got the recovery programme, and painstakingly tried to sift through all that mumbojumbo to find what i needed. finally found the bookmark bit, but it had been fully overwritten :(, so on reading about previous ff versions, found the sqlite thingys, and they were relatively unscathed(partly written over, but saveable apparently TG), saved them to adiff drive, amongst other possibly good folders. Then looked up how to install them, and it said to close FF, and install to profile folder.
    So i tried to close FF, and the original problem from a few days ago, where it asked me if 'i was sure i wanted to close this window as it has X tabs open', popped up again. This is where 'open blank page' selection was set, over 'open previous tabs'. Wanting to save that info on how to sort out these friggin files, I reset the Option to 'open previous tabs', and closed FF. After unsucessfully searching for the profile folder on my laptop, i opened FF intending to search online for where i could find said folder.
    AND BANG, surprise surprise, the FF I had just closed with only tabs open about finding out what the heck to do, had disappeared, and instead my original saved tabs were up, and my bookmarks are there..... I am gobsmacked! what the heck just happened there???
    I have made 3 back up in different folders now, of those friggin bookmarks. I am weary now tho of shutting it all down.... what if its back to the other pages I had with no bookmarks, tomorrow :(

  • I updated my 2009 Mac to Mountain Lion yesterday but cannot add photos from my iPhoto library to contacts anymore. Drop down menu only shows "default, recent and camera" but I cannot get to iPhoto library.

    I upgraded my 2009 Mac to Mountain Lion yesterday but cannot add photos from my iPhoto library to contacts anymore. Drop down menu only shows "default, recent and camera" but I cannot get to iPhoto library. Help stated to choose Faces but I don't even get that far. How do I fix. Still works on iPad but not on Mac.

    When you have iPhoto and Contacts open and try to drag a picture for iPhoto to the Contacts photo frame do you get a + symbol? if not you should!  from there the the pop menu should appear and then you can select the picture and click on done
    Sample movie on how to

  • I use pc windows 7 i downloaded new version fire fox i cant print wirelessly to my hp printer it is set as default when i chouse it from drop down it wont let me and it stays on the konica

    i use PC windows 7 i downloaded new version fire fox i cant print wireless to my hp printer it is set as default when i chose it from drop down it wont let me and it stays on the konica after down load new fire fox and chose disable option not compatible

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • How to set a default value for a drop down list box and then apply cascading based on the default value in Infopath 2010.

    Hello Everyone
    I have two drop downs. Both are coming from look up fields from two lists. i want to set a default value(first list item) for the first drop down list box and then apply cascading based on the default value for the next drop down list box. I found one article(http://www.bizsupportonline.net/infopath2010/display-first-item-drop-down-list-box-infopath-2010.htm)
    where in i can set a default value but i can't apply cascading based on that default value. Any suggestions would be highly appreciated.
    Thanks
    Ramanjulu Naidu N

    Hey Ramanjulu,
    Take a look at the below article which I believe will answer your question.
    http://basquang.wordpress.com/2010/03/29/cascading-drop-down-list-in-sharepoint-2010-using-infopath-2010/
    Daniel Christian (MCTS)

  • PSE_13 Editor does not recognize Windows 7 but the Organizer does?  How do I fix this?

    PSE_13 Editor does not recognize Windows 7 but the Organizer does?  How do I fix this?

    Try making separate desktop icons for the Editor and Organizer. You can then launch directly. The standard desktop icon is for the welcome screen which often runs in the background or doesn’t shut down properly.
    Start by right-clicking on the desktop and select:
    New >> Shortcut
    Then browse to:
    C:\Program Files\Adobe\Photoshop Elements 13
    Inside the Photoshop Elements 13 folder make sure you select the application (not a shortcut) by scrolling down to the files beginning with the letter P and highlighting ‘PhotoshopElementsEditor’
    Then click next followed by finish.
    You can repeat for the Organizer using the different file path.
    New >> Shortcut
    Then browse to:
    C:\Program Files\Adobe\Elements 13 Organizer
    Highlight ‘PhotoshopElementsOrganizer’
    Then click next, followed by finish.
    Now that you have your separate desktop icons you can delete the one for the welcome screen, if preferred.

  • My computer is not syncing with iCloud but the iPhones are syncing with iCloud

    Hello need help! My computer is not syncing with iCloud but the phones are?? Done everything that was suppose to do? It's saying that access to the account is not permitted?? Help e
    rror message  server does not recognize server name or pass words

    Check the model number by holding down the option/alt key while selecting About this Mac under the Apple menu. Select System Information and it will tell you the model number.  Compare it to:
    Model Number - iMac
    You can then check against the link mende1 provided.
    If you then go with Niel's suggestion, you can check here.
    Computer Compatibility - Lion
    You also might want to check applications compatibility since neither lion or Mountain Lion support PowerPC applications.
    Application Compatibility

  • I dropped my iphone 4s in water and everything works but the backlight. I have heard rumors that I can take my damaged iPhone into an apple store and trade it in for a new phone and pay the difference. Is this true?

    I dropped my iphone 4s in water and everything works but the backlight. I have heard rumors that I can take my damaged iPhone into an apple store and trade it in for a new phone and pay the difference. Is this true?

    Apple offers an out of warranty or not covered under the warranty "repair" price, which pays for an exchange at a discounted price off the full retail sales price.

  • HT4061 i did not set a passcode but the Ipad is prompting for one

    I did not set a passcode but the IPad is prompting for one

    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school enviroment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • Hello I have 2 seperate airport express systems on my network, each connecting to a stereo in a different room.  suddenly, the one in the living room will not stop flashing amber, but the one in the bedroom works fine.  I have already tried resetting it

    Hello
    I have 2 seperate airport express systems on my network, each connecting to a stereo in a different room. suddenly, the one in the living room will not stop flashing amber, but the one in the bedroom works fine. I have already tried resetting it with a pin, resetting it while plugging it in, and trying to find it in airport express setup (the setup assistant can't find it at all).
    What am i doing wrong?

    How do I configure the AX to connect to the hub's wireless network? It will only scan one base station Airport Express at a time in the Airport Utility. I think what I am trying to do is use the hub as a router to the two AX's. Is there a specific way to set this up?
    To set up the AX to join a wireless network as a "Wireless Client," using the AirPort Utility, either connect to the AX's wireless network or temporarily connect your computer directly (using an Ethernet cable) to the Ethernet port of the AX, and then, try these settings:
    Launch the AirPort Utility.
    Select the AX.
    If not already connected to the AX's wireless network, go ahead and switch to it when prompted.
    AirPort Utility > Select the AX > Manual Setup > AirPort > Wireless
    Wireless Mode: Join a wireless network
    Network Name: <type in the network name/SSID of the wireless network that you want to join or select it from the pop-up menu>
    Wireless Security: None OR, if you are using security on your wireless network:
    Wireless Security: <Select the appropriate level of security for the existing wireless network: WPA/WPA2 Personal | WPA2 Personal>
    Password: <enter your wireless network security password>
    Verify Password: <re-enter the same security password>
    Click Update to write the new settings to the AX.

  • I have mainstage 3 installed and works 1oo% when connected to the battery, but when connecting to the mains for charging the program crashes. sounds do not obey. is one, even very bad horrible latency. and I need to work on music not only in time but the

    i have mainstage 3 installed and works 1oo% when connected to the battery, but when connecting to the mains for charging the program crashes. sounds do not obey. is one, even very bad horrible latency.
    and I need to work on music not only in time but the battery after that.
    I ask for help please

    Thanks for the swift reply, I have been looking online and a loose plug seems to be somewhat of an issue with many, I hope mine is actually a problem and not what others are experiencing. It's taken me this long to even reach out for the simple fact I HATE being a complainer but this is just horrible.
    Do you have an iPad 3 as well? And is yours not experiencing any issues close to mine?
    Thanks again!

  • I cant sync my ipad because I get a message that says 'not enough free space' but the more I delete, the less space I have.

    I cant sync my ipad because I get a message that says 'not enough free space' but the more I delete, the less space I have.  Does anyone else have this issue?

    http://support.apple.com/kb/TS1503
    http://www.apple.com/support/ipad/syncing/

Maybe you are looking for

  • How to listen to iphone ipod through my car stereo?

    Before the iphone, I had the ipod shuffle. I used the connector with the shuffle to my aux power plug-in and it worked great. This same connector fits the iphone but no music comes through the speakers? I sometimes get loud "cracks" like something is

  • Battery discharge

    IPhone 5s discharging so quickly even without simcard, already restired as new..but no changes.pls help

  • 10g dump on 11g

    hi, can I import dump generated from 10.2 (expdp) to 11.2 (impdp)?

  • ESB FileAdapter issue

    Hi, I need to write number of requests to a single file without overwriting. I mean to say that all the requests should be written to a single file instead of creating a new file for each request. I have tried all the options but couldn't make the fi

  • Taking out the +

    I have a 24-page A4 job where I design a medical journal in English and am now having to prepare the same for for translation into other languages by a third party. The document is quite a complex one, with quite a lot of detailed paragraph and chara