Displaying the list of numbers in the box on the screen

Hi folks,
This is what i am looking to achieve, I have an agency number (regulierer -field from jhaga) table Each agency has several advertisers listed to it, in the same table separate field inserent contains the advertiser numbers
when I type in the agency number i need to have a listbox appearing in the same screen that contains the list of the advertiser numbers in them.
how to write the code for that?
I know I have to write the select query to grab the list of advertiser numbers and then how tostore in the list box and display on the screen the second part i do not know.
thanks in advance.
Santhosh

Hi,
Here are the sample codes.
<b>SAMPLE CODE 1:</b>
TYPE-POOLS: vrm.
DATA: name TYPE vrm_id,
       list TYPE vrm_values,
       value LIKE LINE OF list.
PARAMETERS: ps_parm(10) AS LISTBOX VISIBLE LENGTH 10.
AT SELECTION-SCREEN OUTPUT.
  name = 'PS_PARM'.
  value-key = '1'.
  value-text = 'Line 1'.
  APPEND value TO list.
  value-key = '2'.
  value-text = 'Line 2'.
  APPEND value TO list.
  CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING id     = name
              values = list.
START-OF-SELECTION.
  WRITE: / 'Parameter:', ps_parm.
SAMPLE CODE2:
type-pools: vrm.
data: it_val type vrm_values,
      w_line like line of it_val.
parameters p_bukrs like t001-bukrs as listbox
           visible length 25 obligatory.
initialization.
  select bukrs butxt from t001 into (w_line-key, w_line-text).
    append w_line to it_val.
    check p_bukrs is initial.
    p_bukrs = w_line-key.
  endselect.
at selection-screen output.
  call function 'VRM_SET_VALUES'
       exporting
            id     = 'P_BUKRS'
            values = it_val.
end-of-selection.
Hope it helps.

Similar Messages

  • Cannot display the screen of the macbook on TV. OS is Lion 10.7.2. Connection to the TV is over HDMI cable.  TV shows only the backgroud picture of Lion. Do you have any suggestions for help ?

    Cannot display the screen of my macbook on TV. OS is Lion 10.7.2. The Macbook is connected to the TV is over HDMI cable.  TV shows only the backgroud picture of the Lion OS and reacts even to mission control. Do you have any suggestions for help ?

    You have the display set in Extended Desktop mode. In System Preferences>Display on the MacBook screen there should be an Arrangement tab when you have the MacBook hooked up to the TV and both screens working. When you click the Arrangement tab do you see two monitors side by side? One of them will have a Menu Bar at the top. Just click on the Menu Bar and drag it to the second monitor. That will make the second monitor your main screen. You can now use your MacBook in Clamshell Mode with a wired or Bluetooth keyboard and mouse.  http://support.apple.com/kb/HT3131 When you disconnect from the TV your Menu Bar will automatically change back to the MacBook.
    Or if you want to work on the MacBook screen while showing it on a TV you can check the Mirror Display box on the lower left hand side of the Arrangement tab under the two monitors box.

  • While updating my ipad to new software through itunes it got stuck and does not work anymore - it just displays the screen with symbols of itunes and the cable to connect to it - help - what should i do?

    while updating my ipad to new software through itunes it got stuck and does not work anymore - it just displays the screen with symbols of itunes and the cable to connect to it - help - what should i do?

    Disconnect the iPad, do a Reset [Hold the Home and Sleep/Wake buttons down together for 10 seconds or so (until the Apple logo appears) and then release. The screen will go blank and then power ON again in the normal way.] It is 'appsolutely' safe!, reconnect and follow the prompts.
    If that does not work then see here http://support.apple.com/kb/HT1808

  • Dear Sirs,when i use the computer updating my iphone to ios 7.1,suddenly black out.The computer has no power and my iphone does not work and keep display the screen that connect to itunes. so when i connect my iphone to iTunes, it says"itunes has detected

    Dear Sirs,when i use the computer updating my iphone to ios 7.1,suddenly black out.The computer has no power and my iphone does not work and keep display the screen saying the iphone need to connect to itunes. So when i connect my iphone to iTunes, the computer says"itunes has detected an iphone in recovery mode. you must restore this iphone before it can be used with itunes"
    So my question is if I click OK(restore the iphone),will i lose all my data and whatsapp??
    Thank you for your help and time.
    Regards,
    hopeless

    If you didn't back up the phone to iCloud or iTunes (on your computer) BEFORE attempting the update, the data will be lost.

  • How can i air display the Screen from mac to the more than 3 iPads?

    how can i air display the Screen from mac to the more than 3 iPads?
    thanks

    Energy Saver, you can keep the computer awake while the screen saver shuts the monitor off but I'm not sure that would do it for you.

  • Hi everyone, my Iphone 3gs cannot display the screen item once you lock it and and you wanna unlock it back.

    Hi everyone, my Iphone 3gs cannot display the screen item once you lock it and and you wanna unlock it back.

    Since you are still under Warranty, make appointment with Apple Genius and take iPhone to Apple for resolution of those problems.

  • How to display a percentage sign ( % ) after a text box in a screen

    hi experts,
    Can anybody tell me how to display a percentage sign ( % ) after a text box in a screen.

    Hi Ajay,
    Try to use the  [Position|http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dba7e235c111d1829f0000e829fbfe/frameset.htm] option of selection screen.
    By using this you can place the text as a comment at a desired position on the selection screen.
    The syntax would be like this :
    SELECTION-SCREEN POSITION <pos>.
    Regards,
    Swapna.

  • How to display the screen in negative?

    Hi,
    Is it possible to easily toggle the display of the screen in negative?
    Someone showed to me that with a Mac he can do that with one shortcut and now I’m jealous, I want the same on my Arch
    My graphics card is a Nvidia (proprietary driver) and I use LXDE with OpenBox, but I don’t really know at which level I have to search.
    Thank you

    You might be able to do this with one of the fancier windows managers (compiz perhaps).
    http://www.google.com/search?hl=en&rls= … =&aql=&oq=

  • Pavilion g6 updated to windows 8.1 now tv won't display the screen

    I cracked the screen of my HP Pavilion g6, so I usually connect it through HDMI to my Coby TV and it usually worked fine. Now, after updating to Windows 8.1, my TV won't display anything. I believe it is because the screen is black, and my TV never displayed a black screen before, it only showed the screen once the laptop has started up. I've tried pressing f4 and i can see that the screen is blue in the small area of my screen that still works, but it still isn't showing through my TV so I don't know how I can fix this problem because I cannot see the screen. Please help!

    Hi ke11ie,
    Welcome to the HP Forums!
    I would like to take a moment and thank you for using the forum, it is a great place to find answers. For you to have the best experience in the HP forum, I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I understand that after upgrading to Windows 8.1 your external display(CobyTV) is not working.   Just to rule out the TV if you connect to a different display does it work?
    Here is a link to Connecting a Monitor, Projector or TV (Windows 8).
    Here is a link to Display Quality Issues, that may also be of aid.
    I hope this helps.
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Can I wirelessly display the screen of my 15 inch retina Macbook Pro to a Thunderbolt display ?

    Can I wirelessly display (like via bluetooth) the screen of my 15 inch, late 2013, Retina Macbook Pro, to a thunderbolt display ?

    They can fix it, but not for free. Macbook repairs supposedly are classified into 3 tiers by an Apple Rep, I for least amount of damage and III for most. I have a dent in the corner of my MBP and it would require new housing to get it fixed. $450 (tier I) or ~half the cost of a Macbook Air on education discount... HA.
    If it doesn't affect your everyday computing, I wouldn't worry about it. It's awful, but welcome to the club

  • On my Cinema Display the screen is blurry and shifts with mouse movement.

    I have had this screen for a year and a half and only use it once a week in my remote office. This morning I noticed blurring on the screen and the whole screen shifts up/down, left/right with mouse movement. Please help. I am getting a headache.
    Thanks In Advance,
    Rob

    Press Command-Option-8 once or twice.
    You have Zoom on. It is controlled in "Seeing" in "Universal Access" system preference, and by Control-Scrollwheel.

  • Trying to edit photos, when I click anywhere on the lightroom display the screen surrounding the photo goes black

    I've been using lightroom for a year or so now. Today I imported some photos and all of a sudden I can no longer to anything in the program. Whenever I click anywhere the screen goes black or white with whatever photo i'm looking at big in the center. I can't edit anything. Please help!!!!!!!!!

    Hello Dave,
    Congratulations on your new Apple TV.  Also, thank you for the details about the issue you are experiencing when using AirPlay on your Apple TV.
    I recommend reviewing the steps in the section titled "Troubleshooting performance issues with AirPlay or AirPlay Mirroring" in the following article (you can skip the steps that refer to a Mac since you are experiencing it on your iPad).  I suggest reviewing the full section, but this step specifically stands out to me for the issue you described:
    Use the Wi-Fi network troubleshooting guide to resolve interference and other issues.
    Troubleshooting AirPlay and AirPlay Mirroring
    http://support.apple.com/kb/TS4215
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Display output list by pressing a push button on selection screen.

    Hi All,
    Is there any possibility of displaying the output list by pressing a push button on the selection screen.
    Thanks,
    Neslin.

    Hi,
    Just write the code like this
    Case sy-ucomm.
    when 'PRE'.
    Here write the output list
    " leave to list-processing. Write this statement
    endcase.
    Regards
    Sarves

  • Lock Screen function no longer displays the screensaver

    Something is wrong with my Lock Screen function.
    It no longer displays the screen saver when activated, but turns off the whole screen instead. The screensavers themselves work fine when activated automatically after the set time.
    I've repaired permissions, deleted caches and trashed ~/Preferences/com.apple.screensaver.plist (plus the ByHost ones), but it's still not working.
    Is this a known bug? Any ideas?
    Thanks in advance!

    there is nothing wrong with your lock screen function. it never activated screensaver. it just locks screen. always been that way. if you want to lock screen and run screensaver check the box in securityy preferences to require password to wake from sleep or screensaver. then assign a hot corner to activate screensaver in exposé system preferences and use that.

  • TS3274 My ipad display will not function, the screen will not display anything when turned on, you can see that the screen lights up but it is completely black

    The screen on my iPad will not display, the screen lightens up when powered on but the screen stays black, any fix for this that I can do at home?

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • When i m in a call i touch the screen with my cheek and i keep on putting calls on hols or speaker..how do i solve this?if i don t want a headset?when i m in a call i touch the screen with my cheek and i keep on putting calls on hols or speaker..how do i

    when i m in a call i touch the screen with my cheek and i keep on putting calls on hols or speaker..how do i solve this?if i don t want a headset?

    SORRY, the picture is just to illustrate and to better show the area where the time display is located, same place in the iPhone 3gs, to my knowledge, the location is the same, due to the OS on both phones.
    Second, run the test to see if it works:
    1st test: go to phone mode, select dial key pad, put the tip of your thumb in top of the time display ( the screen will not go black), try to dial.
    2nd test: place a call, after starts ringing switch the display to dial pad, put the tip of your thumb on top of the time display, the screen will not go black, try to dial.
    THE SCREEN WILL ONLY GO BLACK ( INACTIVE) IF YOU TOUCH A LARGER AREA TO THE TOP OF THE DISPLAY, IF THE THUMB ONLY TOUCHES THE TIME DISPLAY AND A LITTLE PART OF THE AREA WHERE THE NUMBERS APPEAR THE DIAL PAD DID NOT WORK EVEN WITH THE DISPLAY NOT GOING BLACK (INACTIVE).
    I am also trying in my wife's iPhone 4 as I right this post and both phones behave the same way.
    I found out what I stated above after running tests to see if the case was affecting the phones performance.
    Due to the thickness of the case on the sensor area, it really did affect the way the sensor was supposed to work, after I cut that part on the case, the sensor started to work perfectly and the screen turns off during a call like it is supposed to do.
    So before someone go nuts thinking that the phone is not working and that they have to take it to repair, try seeing if the case is not interfering with the phones performance.

Maybe you are looking for