Item on the listbox cant be selected. PLS HELP.
hello! i am a newbie to ABAP development.
I followed the listbox steps stated on the RSDEMO_DROPDOWN_LISTBOX because I want to populate my listbox (I created from the screen painter) with the data from a table. It was successful and I can see the data now. Problem is when I am selecting an item of the listbox, it wont be selected. the only thing always selected is the first item on the listbox? what is happening? I do not understand. PLS HELP.
big thanks.
TYPE-POOLS: VRM.
DATA: VALUE TYPE VRM_VALUES WITH HEADER LINE.
DATA: DD1(20).
DATA: INT_SPFLI LIKE SPFLI OCCURS 10 WITH HEADER LINE.
SELECT * FROM SPFLI INTO TABLE INT_SPFLI.
START-OF-SELECTION.
SET SCREEN 100.
MODULE PBO OUTPUT.
LOOP AT INT_SPFLI.
VALUE-TEXT = INT_SPFLI-CITYFROM.
APPEND VALUE.
ENDLOOP.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = 'DD1'
VALUES = VALUE[].
ENDMODULE.
MODULE PAI INPUT.
CASE SY-UCOMM.
WHEN 'BTNEXIT'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE.
<b>THIS IS A FOLLOW UP QUESTION.</b>
I have listbox DD1 and I populated that with SPFLI-CITYFROM data. I used SELECT DISTINCT statement so that it will not repeat same entry on my list box. It was successful but then on the 2nd time and on the succeeding times you click on the listbox (trying to select other item), the listbox shows all the city entries from the SPFLI-CITYFROM. The SELECT DISTINCT takes effect only at first because as I have said on the 2nd and succeeding times you click the listbox, it will show you all entries of SPFLI-CITYFROM. why is that? i dont understand.
im sorry if i sound so dumb. im a newbie.<b> big thanks to all. </b>
TYPE-POOLS: VRM.
DATA: VALUE TYPE VRM_VALUES WITH HEADER LINE.
DATA: DD1(20).
DATA: INT_SPFLI TYPE STANDARD TABLE OF SPFLI WITH HEADER LINE.
SELECT DISTINCT CITYFROM FROM SPFLI INTO CORRESPONDING FIELDS OF TABLE INT_SPFLI.
START-OF-SELECTION.
SET SCREEN 100.
MODULE PBO OUTPUT.
LOOP AT INT_SPFLI.
VALUE-KEY = INT_SPFLI-CITYFROM.
APPEND VALUE.
ENDLOOP.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = 'DD1'
VALUES = VALUE[].
ENDMODULE.
MODULE PAI INPUT.
CASE SY-UCOMM.
WHEN 'BTNEXIT'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE.
Similar Messages
-
How to read which item in a listbox is currently selected?
Is it possible to read which item in a listbox is currently selected?
I know how to tell what item in the list was double-clicked. I'd like to be able to click (once) on an item in the listbox and then use buttons on the front panel to affect the item(and list). For example, click on an item in the list and then click an "insert" button to add an item to the list before the selected one.
I'd like to be able to do this with both regular and multicolumn listboxes.The value of the listbox is just a number for which row is currently selected. If you setup your listbox for 0 or more items or 1 or more items, then the value of the listbox is an array of I32 numbers showing which rows are selected. Use a property node to get the Item Names property (an array of the list items) and you can use the value(s) to index into the array. I have included a VI that I use to move items up and down in the list as well as delete items. Feed it the array of item names and the index for the line you want to move/delete. Then take the output and feed it back into a property node of item names.
I hope this helps.
Rob
Attachments:
Sequence_Element_Move.vi 37 KB -
Why I cant view my picture on my iphoto and if I try to copy to any folder it Shows "The item on the clipboard cant be pasted to this location. (One or more of the item may have been deleted or are no longer available) "
There are 9 different versions of iPhoto and they run on 9 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS. So to get help you need to give as much information as you can. Include things like:
- What version of iPhoto.
- What version of the Operating System.
- Details. Describe the problem as fully as you can. For example, if you have a problem with exporting, then explain by describing how you are trying to export, and so on.
- History: Is this going on long? Has anything been installed or deleted? - Are there error messages?
- What steps have you tried already to solve the issue.
- Anything unusual about your set up? Or how you use iPhoto?
Anything else you can think of that might help someone understand the problem you have. -
I AM FACING PROBLEM AFTER UPDATING (7.0.4) MY PHONE MODEL 5C,AFTER THIS UPDATE SOME TIMES I CANT MAKE CALLS & SOME TIMES WHEN ANY BODY ELSE WANTS TO CALL ME BACK THE MESSAGE COME THAT THE USER IS NOT REACHABLE.PLS HELP
I am facing the same issue! I bought 5c few days back
and everything was fine till I updated the software 7.0.4!
Whenever am connected to wifi am unable to make a call and if someone tries
Calling me they get the message that my number is not
Reachable! When I go back to 3G the calls work perfectly!!
Please help me out since I use wifi more than my network.
Appreciate any advise on this -
my mac book was refused by the apple service center as the mother board was crashed , pls help me what to do
If you live in a big city, then I would recommend an independent computer store that fixes Macs. There are many mom and pop computer stores that fix your computer. Just Google it.
-
Am going on a trip for 1 month and am not going to use my iphone during this period so should i charge it full and turn it off or keep it on till the bettery dies or what ,,,pls help???
Discharge it to around 50-60% then completely shut it off. Store at around room temperature. When you return connect the charger and let the battery fully charge.
-
During reviewing my apple id with bank details site showing that "the payment method is declined" pls help me what to do? my bank details are correct and that is i am sure
In countries where the iTunes Store only sells apps, the accepted payment methods are Visa, MasterCard, and American Express. Other payment types such as gift cards, store credit, monthly allowances, ClickandBuy, and PayPal are not accepted. Depending on your App Store country, prices may be listed in your local currency, US Dollars, or Euros. http://support.apple.com/kb/HT5552
Or
http://www.apple.com/support/itunes/contact/
https://getsupport.apple.com/Issues.action -
since i updated my iphone5 to 7.1 version,i found the battery easy run out,pls help how to back to 7.0.2 version,thanks
Downgrading of iOS is not supported by Apple.
However, See these steps for troubleshooting battery or charging issues. -
I want to cancel the creative cloud membership
and I follow the instruction but I didn't see the "cancel plan" option in my page. Pls help!! Thank you!Dear John T Smith,
Thank you but still , I can't find the ""cancel plan"" option in my Chinese
language edition page.
And I try to enter my account from English edition but it will transfer to
the Chinese edition page directly.
Pleas help :(((
Thank you so much!!
Cheers,
Alma Hsu
2014-08-03 21:58 GMT+08:00 John T Smith <[email protected]>:
I want to cancel the creative cloud membership and I follow the
instruction but I didn't see the "cancel plan" option. Pls help!! Thank
you! created by John T Smith
<https://forums.adobe.com/people/JohnTSmith> in Adobe Creative Cloud
- View the full discussion
<https://forums.adobe.com/message/6607924#6607924> -
Just bought iPad mini 2 last week. FaceTime is missing under settings. i can't even find it under restrictions. I have reset it but it's still the same, no facetime. Pls help me...
FaceTime is not available on devices purchased or used in certain countries, including Saudi Arabia and the United Arab Emirates. This is by government decree. The FaceTime app can't be downloaded or installed on these iPads.
Cheers, Tom -
Cant connect with outlook on vista, the option cant be selected :$
I can select dairy, calander etc but the option for outlook cant be selected why??? I mean in icloud on vista..
I can select dairy, calander etc but the option for outlook cant be selected why??? I mean in icloud on vista..
-
well after updation to ios6.0.1 My wifi button has turned to grey mode ,i cant turn it on at all and when i tried to restore it my battery life turned in short life period .,,,i dnt know what the heck is this..pls help
The reapair shop is probably responsible. And now that you took it to a third party and not to apple store, Apple will not touch your phone at all. So you will probaly have to buy a new one or go back to the reapir shop and hope they can fix it.
-
After updated to iTunes 11.1.4 for windows vista , I was unable to open iTunes and it keep error message. My iphone unable to USB hotspot the internet to computer. Pls Help
Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
Remove all of these items in the following order:
iTunes
Apple Software Update
Apple Mobile Device Support (if this won't uninstall move on to the next item)
Bonjour
Apple Application Support
Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
Please note:
Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
HT1925: Removing and Reinstalling iTunes for Windows XP
HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
tt2 -
i need help i cant remeber my password and i have tried so my times.The front screen reads " phone disable" pls help my carrier is sprint
iOS: Forgotten passcode or device disabled after entering wrong ...
-
the ringer of my iphone 4s is not working but when itried to go in setting then sound and tried to change ringtone the ringer is working..pls help
Check the mute switch along the side, near the external volume controls.
Maybe you are looking for
-
I have a PDF form served from a web application and shown in Internet Explorer and want to put in string values with norwegian letter like 'ÅRE ØRE ÆRE'. These are not shwon correctly when I toggle "Highlight Existing Fields" and the focus is not on
-
A few basic questions from a new user - backups, moving files, sharing
I'm a Mac user considering getting an iPad. I'm hoping someone can clue me in to some basic aspects of the experience: 1) are backups easy? can you "clone" it (the way I do with my desktop and laptop) so that everything (content, settings, preference
-
Hi! I have a business and want to sell products on my website. Does anybody know if I can create forms in iWeb09? For instance, I have a product that you click on and 1 item of it goes to the check in account. Like it works on Apples website when you
-
Hi, I would like to know if there is a tool included in Solaris 10 x86 that replaces the old xmessage tool, which can be found for Solaris 10 sparc, but not for x86 ( I've searched in sunfreeware but could'nt find one ). Thanks by advance
-
Best place for Windows 7?
i know i missed the boat, but is Windows 7 still available anywhere? i want to grab the new desktop images for my mac. thanks.