Listbox with scroll in screens..

hi..
i want to have a listbox with scroll in screen and not as dropdown..
awating for reply asap..
thanks in advance...

Hi Tommy,
Please try this code.
PROCESS ON VALUE-REQUEST.
MODULE z_f4_shipment_it INPUT.
MODULE z_f4_shipment_it INPUT.
DATA: return_tab TYPE TABLE OF ddshretval,
dynpro_values TYPE TABLE OF dynpread.
DATA: ship_item(4) TYPE c.
DATA: BEGIN OF wa_f4_prn OCCURS 0,
tknum TYPE vttk-tknum,
tpnum TYPE vttp-tpnum,
END OF wa_f4_prn.
CLEAR wa_f4_prn.
SELECT tknum tpnum FROM vttp INTO TABLE wa_f4_prn WHERE tknum EQ rqm01-tknum.
DELETE ADJACENT DUPLICATES FROM wa_f4_prn.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
TABLES
dynpfields = dynpro_values.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'TPNUM' "'CNPNO_RSR'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'SHIP_ITEM' "'ZCNPNORS'
value_org = 'S'
TABLES
value_tab = wa_f4_prn
return_tab = return_tab.
txtuser = return_tab-FIELDVAL .
IF sy-subrc 0.
ENDIF.
ENDMODULE. " Z_F4_SHIPMENT_IT INPUT
This will surely get your doubt cleared.
Cheers,
Suvendu

Similar Messages

  • Listbox with Horizonal scroll visible

    Hello,
    We all know that a listbox comes with a default Vertical scrollbar (that can be selected or deselected).
     I have attached a vi that has list box with horizontal scroll bar also visible.
    Now i have made it my self by playing around with custom control and i am unable to reproduce the same since i forgot how i did it. has anuone tried it before and if yes throw some light on this?
    Guru
    Regards
    Guru (CLA)
    Solved!
    Go to Solution.
    Attachments:
    Listbox with Horizontal scroll bar.vi ‏8 KB

    I have tried a multicolumn listbox but I don't know if I was going about it the right way. The main problem I ran into was that there were still a bunch of empty columns, despite setting it to 0 columns using a property node. This made it tricky to scroll horizontally cuz the bulk of the scrollbar corresponded to the empty columns. Also, when I tried setting it to 1 column, then setting the active cell width to something wide enough (i.e. 1000 pixels) it would make the listbox control as a whole go that wide and cover up other pieces of my FP. I'm sure there is a way around this, but I am not aware of it. For my own purposes I just added a dynamic search box that allows the users to quickly narrow down the availble options in the listbox, this seems to work well enough for everyone to be happy.
    Thanks for the advice!

  • How do I close an app so that when I restart it, it doesn't just come back with the last screen, i.e. I want to be able to restart the app from new, not a follow-on

    How do I close an app/session, such that when I restart it, it doesn't come backat where I left off, e.g. Safari, I want to restart with a new screen, not the one I previously closed from
    Thanks

    Depending on how the app is programmed, generally to force close an app, double tap the home button. You'll see the app icons and previews on the screen. Scroll sideways if needed to bring up the app in question. Flick the preview for that app up and off the screen. then single tap the home button or the home page preview to exit the mode
    The app should then reboot from closed instead of just reopening

  • Multi Select Listbox - Horiz Scroll Bar available?

    I'm using the Standard - Multi Select Listbox and would like to see a horizontal scroll bar on it down at the bottom when the contents are too long to display in their entirety (and many of my items in the list start off the same with the distinguishing text at the end of the line).
    What's puzzling is that in the JSC IDE Design Tab, when I set some of the Default items to a long string, the control is shown on the Design Tab WITH a bottom, horizonal scroll bar! I was so hopeful! But when deployed the vertical scroll bar is there, but the Horiz scroll bar is gone :-(
    Has anyone gotten a horizontal scroll on a Multi Select Listbox to work in Creator??
    Suggestion to Creator Team: Please add a horizontal scroll bar OR at least allow a cursor on items in the list so that the user can manually move thru the line to see what it says.
    Thanks!

    Please help -
    These work arounds don't work for me. I'm using the latest Creator2 with all updates applied. Any chance of seeing a property for this soon?
    Work around 1:
    ===========================
    <div style="height: 72px; left: 144px; top: 192px; position: absolute; width: 288px; overflow: auto;">
    <ui:listbox binding="#{weblinkpl_page1.listbox1}" id="listbox1" items="#{SessionBean1.listOptions}"
    onChange="common_timeoutSubmitForm(this.form, 'tabSet1:weblink_tab2:layoutPanel2:listbox1');"/>
    </div>
    => Gives me listbox with no width at top left corner of page. Populating with very long file, changes the width of the box rather than creating a scroll bar.
    Work around 2:
    ======================
    <div style="overflow: auto;">
    <ui:listbox binding="#{weblinkpl_page1.listbox1}" id="listbox1" items="#{SessionBean1.listOptions}"
    onChange="common_timeoutSubmitForm(this.form, 'tabSet1:weblink_tab2:layoutPanel2:listbox1'); style="height: 72px; left: 144px; top: 192px; position: absolute; width: 288px; "/>
    </div>
    => Gives me good looking listbox but long filenames get truncated in display. No horizontal scroll bar.

  • Will firefox work with a touch screen? Does it support multi-touch?

    I can't scroll with my finger. It only highlights the words.

    The answer you received is not correct. The answer is YES. MAC's do work with all touch screen monitors once you downliad the free drivers.
    I have a Mac Mini and a Mac book pro both of which are connect to the same Acer Touch Screen Monitor.  I am using it as  write this to you.All you need to do is download the free drivers from www.touch-base.com. The basic touch drivers are free. I also purchase the mac gesture drivers for $109 USD and they work great. You can even activate the on screen keyboard in the mac accessibility settings which allows you to have a touch screen keyboard.

  • Set Default Values in Listbox with Dialog Programming

    Hi all,
    I am stuck with a problem i.e  I am working with Dialog Programming Screen
    where i have to set default values in some n numbers of Listbox which i have created on Screen.
    This default value is needed to be fetched from database table.
    I am using single table. Hence no confusion that i have to first fetch data from 1st listbox then corresponding data is fetched into second & so on ..NO NO This is not required.
    Simple one screen which will update a table in database, where  some fields on the screen needs to be default set as per tables domain default values set while table creation.
    Please help me out in this.
    Thanks & Regards,
    Sandhya.

    Please search SDN, before you post a new forum from next time... any ways just follow the below code..
    u need to use the FM 'VRM_SET_VALUES' to implement list box in module pool. Check the below code. u have to write this code in PBO..
    if c = 0.
    select land1 landx from t005t into table wi_country.
    sort wi_country by land1.
    delete adjacent duplicates from wi_country comparing all fields.
    loop at wi_country.
    wa_ctry-key = wi_country-land1.
    wa_ctry-text = wi_country-landx .
    append wa_ctry to wi_ctry.
    endloop.
    call function 'VRM_SET_VALUES'
    exporting
    id = 'ZCUST_MASTER1-COUNTRY'
    values = wi_ctry
    exceptions
    id_illegal_name = 1
    others = 2
    if sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    c = 1.
    endif.
    Hope this helps u,
    Regards,
    Rajesh

  • Titles don't scroll across screen anymore

    On my new 30 GB iPod, the song titles scrolled across screen during playback but after I did a restore they now only appear static and are truncated if to long for the display screen. I rstored because I mistakenly thought there was a problem with the iPod when I tried to use it attached to my work computer - firewall issues. I can't find a configuration to enable that "feature"...

    I'd like to see this change as well.. I sent in a request through the iPhone feedback form.
    I understand the difficulty in trying to implement this though.. since track selection is a one step process on the iPhone (tap) versus a two step process on the iPod (wheel-select then exectute), you'd have to have all the long titles scrolling at the same time, which would look rather chaotic.
    Maybe it could be done on the iPhone by having the title scroll if you tap-hold on the title.

  • Listbox with customized items

    Hello,
    I need to create a ListBox with custom items.
    Each item should consist of two elements: from static text on the left and edit text item on the right.
    I'm using ADM, is it possible to do?
    Thanks in advance.

    Yeah, I mean you'd draw it with primitives. Honestly, I'm not sure how easy it is to do things like "When you click here, create a line edit control", etc. Other people have wanted to do the same thing you're talking about, I can remember them asking. I don't think they ever posted to say what they ended up doing (or if they had to give up even). One common idea that crops up in that is what you've suggested, ie. two columns of items and faking the scroll.
    I think it is possible to create a custom widget and have child widgets though with the ADM. so you might be able to do a custom control and add line edit & labels as rows, maybe draw the line between them or something. I'm not 100% sure though. You'd probably need to keep a collection of pointers for each column and manage adding/deleting them yourself, plus resizing the custom widget to display them. Probably not a terrible amount of trouble to test that with a couple of rows as a test. If that worked, the scrolling would take care of itself at least.

  • Strange Vertical lines and pixelation issues with my Powerbook screen...Hel

    I have got a problem with mt LCD screen which now permanently displays lines of "dead" pixels, but they can't be dead because they chaneg all the time. If I move a window, I get lots more, which are created by the edge of the window, like a ghosting? Does that make sense?
    I have taken a screen grab, but not sure how to feature it in these forums. Anyone got any ideas or know about this problem?
    I have had a similar problem with this and other laptops, but it has always been a temporary thing before, when I had overloaded the system or something, and I got 'ghosting' from the trailing edge of a window, but this is permanently there?

    I have now attached a monitor to the PB, and it happens on the monitor too...maybe suggesting something wrong with the graphics card or logic board, rather than the screen itself. When I type this message, I get strange red 'ghosting' lines where the cursor moves across the page.It reminds me of the 'Etch-o-sketch' game, where you draw lines, and then wipe them off. I can move a window from left to right and get these ghosting lines. When I move the window back right to left, they erase the lines to the left of the window, but I get more to the trailing right edge of the window...i.e. on the right of the screen.
    Scrolling also removes these pixels, but creates new ones elsewhere.
    Any ideas?

  • Call tranasaction with skip first screen in ecc6

    Hi,
    We are doing upgrade from 4.7 to ecc 6. We are getting an error while running a report( The addition "AND SKIP FIRST SCREEN" can't be used with "CALL TRANSACTION .. USING".  ) in ecc6. This is not showing error in 4.7. Call transaction with skip first screen is fine in 4.7. But it is throwing an error in ecc6.
    Could anybody provide me the pointers to rectify this error.
    Regards,
    Ramesh

    Hi
    Did you pass all the mandatory field values to the calling transaction , Because when you use this addition you need to pass all the mandatory field values then only it works fine. Check out whether you are passing all the mandatory field values.
    Regards
    Pavan

  • I need to install the HP drivers on a laptop with a broken screen in order to get VGA port to work.

    OS: Windows 7 Home Premium SP1
    Hewlett Packard Model: 2000 2a20ca Notebook
    Oh my god please give me some insight here, it is so hard to find the right answers and I refuse to lose to this technical box that's driving me nuts! So here's the run down:
    My screen broke on laptop...fine. It was connected via HDMI to TV and working fine. Until one day it decided to not turn on. I think due to Windows updates and hubby had no patience so kept restarting
    I tried to reload Windows on it, not thinking about the drivers, and I'm pretty sure I managed to reload Windows. Now I need the drivers to install chipset, networking etc. (which I have a disc for)
    The problem is I cannot see the screen in order to click "install", I can't see the BIOS or the boot sequence. Ugh! And even if I could, the drivers are not installed to use the CD ROM or VGA port.
    I can HEAR Windows start up and turn on! Doo-DO-Doo-DO lol the darn thing is working!
    The monitor works in my other laptop.
    Would/Should the VGA monitor work if I could get it to start in safe mode?
    I've heard of a program that can streamline the driver's into a Windows installation disc so everything is installed altogether but how can I reinstall Windows if the drivers aren't loaded for the CD ROM?
    Is there a way to get the necessary drivers installed? or is this notebook now garbage?

    RocknRoll77 wrote:
    Seriously? 
    1.  The model number is the first thing at the top aside from the OS.
    2.  In my explanation it states:  "I have the drivers on a disk"
    Thanks for all your help!
    Getting the drivers is not the problem.  Getting the drivers installed on a laptop with a broken screen...is the problem.
    Ok, well sometimes you can't use external monitor to see what is happening in some laptops and the only real way to fix this is to fix the broken screen so you can reformat and resinstall the system again. Those are you only options at this point in time.
    I am a Volunteer to help others on here-not a HP employee.
    Replies aren't online 24/7 because of Time Zone differences.
    Remember in this Day and Age of Computing the Internet is Knowledge at your fingertips if you choose understand it. -2015-

  • How do I use an external Monitor to access files on my iMac with a broken screen?

    I have an 20 inch desktop iMac with a broken screen. It is the files on the computer that I wish to recover, after that, I can be on my merry way. Unfortunately, VileVault was on (Not my choice), and for some reason, when I target the disc image of the broken mac with a new one, ONE of the accounts "appears" to be completely empty. All of the accouts were running FileVault, but only one (mine) failed to be transferred because it is "empty". I refuse to believe that my files are actually all gone, because theoretically there should be nothing wrong with the CPU itself, just the screen.
    Thus my goal is to use a monitor on my broken screen iMac and simply log in and access my files normally, and perhaps pull them out with a USB or something. I have a DELL monitor, and a DVI (The big hairy plug with screws I think) converter that works with my old iMac, along with the male/male DVI cord. However, when I hook it up, nothing happens. I have tried booting the old CPU while holding F7, and option as I read on a forum, and neither produced results.
    Does anyone have any ideas on how to 1. Get the monitor to simply show what's going on on the mac? or 2. Pull out my files through some other means?
    Thank you.

    If you have a second Mac computer, you may want to try to copy over as many files you can. One way is to use target disk mode.
    http://support.apple.com/kb/HT1661
    http://lowendmac.com/misc/06/0710.html
    You need to follow this procedure to recovering a filevault id.  Mac OS X 10.3, 10.4: FileVault - How to verify or repair a home directory image ...  http://support.apple.com/kb/HT2631?viewlocale=en_US  
    Robert

  • I connected an external monitor to my MacBook Pro, but it doesn't open any programs. It Just sits there with a blank screen.  How do I get it to open programs and act like a monitor?

    I connected an external monitor to my MacBook Pro, but it doesn't open any programs. It Just sits there with a blank screen.  How do I get it to open programs and act like a monitor?

    Dear Jean:
    It sounds like you are trying to get your external monitor to act as the primary viewing screen. For example it would have your Doc, Icons, Etc. In order to make the external monitor the primary screen you have to:
    Open System Preferences.
    Choose the Displays Icon
    There will be several tabs to choose from pick Arrangement
    Drag the toolbar to desired display
    Let me know if this helps at all!
    Lance

  • My G4 powerbook starts up but with a black screen. The reset button does not work. Does anyone know the keys to press on restart please ?

    My G4 powerbook running OSX 10.3.9 starts up with  a black screen. The reset button is not working. Does anyone know which keys to press on restart please.?

    Try holding the shift key while booting to get Safe mode if possible.
    See links for more info.
    http://support.apple.com/kb/ht1564
    http://support.apple.com/kb/ht1455

  • Save the selected value from listbox with its respective tab control dropdown selcted values in another listbox

    Hi all,
    I am making a vi where I have to save the selected value from listbox with its respective tab control dropdown selcted values in another listbox.Whenever I select Item1 then the heading change and respective tab will open for that item.But Now I just want to save the selection and put it in another ListBox.SO that I can renmove or add according to my wish. Plz help me.
    Solved!
    Go to Solution.
    Attachments:
    my_vi.png ‏83 KB

    Hi, I successfully make the vi to insert itmes from listbox1 to listbox2.Whenever I select itmes 1 in listbox 1 it display same elected item in listbox2 , but it not appending the items in listbox2.Like If 1 is selected in listbox1 then 1 will display , next time after saving when I selct next item like 3 then in listbox 2, 1 is replaced by 3,it dont come in second row of listbox2.Hope I am able to explain.\
    Plz help me to resolve this.
    Attachments:
    listbox_update.vi ‏11 KB

Maybe you are looking for

  • New Facebook friends not showing up in contacts.

    When I first got my phone I added my Facbook information into the Droid 2 accounts and it added all of my Facebook friends into my contacts on its own. My question is, does the phone automatically add new friends? I added a new friend on Facebook tod

  • EMail Bursting - change sender

    Hello experts, how can the sender of an eMail Bursting (PDF attachments) be changed? What user is used in order to create the sender information for the eMail that is send? How can this user be changed? Thank you for your help! Angie

  • Error using Rank function in Answers

    Hi All, Am trying to generate a report in Answers which lists Top Accounts with Revenue. I Ranked the Revenue field and it is returning me correct values. ( Rank(account.revenue) ) But, when I try to filter on this field and restrict the rows which s

  • Foreign Key Locking Record

    In Form6i Master Table Party (Party.fmx) PartyCode, Partyname Transaction Table ( trans.fmx) TNo, TDate, PartyCode, Amount one user is editing record in party can other user insert or edit record in transaction form ?

  • WRT120N - Can't find where to set DNS I want it to use

    I bought WRT120N to replace a Netgear I had.   I cannot find in the management console where to set the DNS servers I want it to use.   Can somebody please give me the drill-down to find it. Solved! Go to Solution.