How to get Select All or select Multiple columns  in OOALV

HI Experts
i'm assignig internal table to dynamic internal table(FS_IST_TABLE) for to display the output.
but i'm not geting the Select ALL Option. and i can't select multiple columns at a time.
where i can select only one column.
how can i select multiple columns.
please any one help me.
regrads,
rathan.

Hi,
  If we want to select the multiple columns in the alv by using ooabap
so in the class CL_GUI_ALV_GRID  it is having one method SET_TABLE_FOR_FIRST_DISPLAY
it is having one importing parameter IS_LAYOUT of type lvc_s_layo type
and this structure contains one field SEL_MODE and set that field value as 'A'.
then we can select the multiple rows in alv grid

Similar Messages

  • How do I select multiple columns in a recordset

    I am very new to Dreamweaver/PHP/MYSQL
    I have created my recordset but I cant work out how I select multiple columns.
    How do I select multiple columns, I want to search for data that is spread over different columns.
    My recordset looks like this just now.
    SELECT *
    FROM names
    WHERE nameone = john
    I have 11 columns where the name john my or may not appear so how would I select all the columns. What would the recordset look like.
    As I have said I,m very new to this  and forgive me if what i have just said makes no sense.
    Thanks

    >I have 11 columns where the name john my
    >or may not appear so how would I select all
    >the columns. What would the recordset look like.
    You could try a Full-Text search (if mysql supports it) but on the surface, this sounds like a badly designed data structure. What does your database and table design look like?

  • How to get a distinct count of multiple columns

    I've done this before and I'll be darned why I can't recall this.
    Table with 3 columns with the primary key defined in column a.
    Row a b c
    num.
    1 020 how abc
    2 030 why def
    3 010 not ghi
    4 040 how abc
    5 050 yes def
    6 060 why def
    So what I want is a count of the unique values for columns b and c as if b and c were actually one field.
    So the result of the query would be:
    Count = 4 unique rows.
    Hopefully I'm making some sort of sense. It's a bit much to ask about the number of occurrences of each duplicate value, I'm sure just getting count of the unique rows of the non-indexed rows will be sufficient. Since the query is meant to be universal for multiple columns of numeric and alphanumeric data and can be expanded for multiple columns, I am simply trying to get a basic skeleton that works for an "on the fly" analysis.

    Thanks to all of you. I had the idea and just couldn't nail it down. You did it.
    All of you understood what I poorly communicated. My apologies for the lack of prep with a table, I was running patches on the system and couldn't dare interrupt it on my laptop and starting Oracle 11 while Micro$lop was patching all sorts of evil code. This is something I'm setting up on my own time so it's a work I'm going to try to be proud of. So there will be plenty of instrumentation and debugging code for timing.
    I'd thought of concatenating columns and was worried it wouldn't backport to older Oracle versions (work goes back to 8.1.7) with nulls and other goofy things like long raw fields or lob/clobs plus the other DBs that are at various sites. What I'm trying to do is improve on a crappy data analysis tool SAP provides to use with reporting unique columns. (Basis people could recognize this as DB05). I tried dragging out the SQL that their ABAP/4 language generates from an SQL trace but it was unusable and often dies on internal storage which on most sites is about 4GB per process. Needless to say, the program is wasteful and I'm trying to keep the work on the DB where it belongs and discourage cowboys from doing this in the DB on the fly and at the same time make it simpler for junior members to use while having a semblance of an audit trail.
    What I'm trying to do is work out a tool that checks all the crappy secondary indexes that were created by folks who seem to think in ways that are from an alien species not yet speculated about even with the strongest psychedelics. One of them actually decreases performance by a minimum factor of 5. It's not much when it's 5 seconds but when the response time averages about 3 hours beforehand, you can imagine what it was like afterward. In this particular case, the "logic" was that the index needed to be defined by the order of the fields of the select clause. Some myths never die. So it's not easy to work out which ones haven't been used in a long time, so it's down to finding which of the custom ones are actually bad in terms of selectivity. Some of these may have made a little bit of sense when the system was started up, now that some of these have millions of rows instead of a few thousand, thaw tend to expose the flaws in design.
    I'm also trying to make this work on multiple DBs such as DB2, MaxDB and (sob) SQL Squealer. The idea is to write this in ABAP code as a utility without the overhead of internal tables in ABAP as some of these tables are many millions of rows and I have to account for the size in memory. (ABAP field sizes in internal memory are generally much larger than the actual DB lengths. so every bit helps!) So I'm trying to create actual SQL on the fly and use it internally without going through the SAP DB interface which limits the type of SQL functions used and all the overhead. It's intended to grab a secondary index and if there are more than 2 fields defined, work it backwards to show unique values for all columns, all columns - 1, all columns - 2 and so on back to the initial column in the index.
    Why does this seem important? On Oracle I can generate histograms but those can often screw up SAP. On other DBs, the indexing cardinality is much more important, particularly with DB optimizers that make some odd decisions. So I need evidence I can push to folks who will only understand if there's a plain and simple analysis that explains it (almost) in crayon.
    I'm testing null values next (which worked!) but these suggestions all seem to follow the same idea which won't work in ABAP without some serious memory issues. So I'm down to this type of coding:
    exec sql.
    <dynamically generated true SQL>
    end-exec.
    rather than using ABAP with their concept of "open SQL" and the DB interface with all the overhead.
    RB's suggestion of the UNION ALL wasn't quite what I was looking for BUT it made me think that this would be a nice enhancement for evaluations!
    So the candidates that seem to work for what I wanted are as follows:
    SQL> SELECT COUNT (MIN (0)) AS distinct_col3_col4_cnt
    2 from rb group by b, c;
    DISTINCT_COL3_COL4_CNT
    7
    select count(distinct(b || c)) num_rows from rb;
    So thanks also to Frank, APNL and Nimesh for their examples. Now the fun starts as I spec out the processing.

  • How do I select multiple files under "Get File Info"and lock or unlock all?

    How do I select multiple files under "Get File Info"and lock or unlock them all? It seems to do it automatically when I have 10 or more selected. But how do I lock or unlock 5 or 6 files in one swoop? Thanks

    Select the desired files then press OPTION and select Show Inspector from the Finder's File menu.
    Why reward points?(Quoted from Discussions Terms of Use.)
    The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
    Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values.

  • How do I SELECT multiple albums in iPhoto?

    I can select a single album:
    select album "Album A"
    But, How do I SELECT multiple (non-contiguous) albums in a list?
    Something like :
    select album's {"album1","album3","album9"} --(doesn't work)
    -TIA
    G4 powerbook   Mac OS X (10.4.6)  

    I agree, it seems to just be limited to children of Library.
    I'm going to use your 'build command' to deselect all Library items. That way, the novice computer user will get visual feedback that Library items won't be processed.
    ----------------applescript
    tell application "iPhoto"
    set _selection to selection as list
    --getting selected albums inherently omits Library albums (a bug IMHO) .
    set _albumsSelected to {}
    repeat with _album in _selection
    set end of _albumsSelected to _album's name
    end repeat
    -- Now, reselt albums to deselect Library albums.
    set commandString to "select (albums whose name is "
    set firstLoop to true
    repeat with albumName in _albumsSelected
    if firstLoop then
    set commandString to commandString & "\"" & albumName & "\""
    set firstLoop to false
    else
    set commandString to commandString & " or name is " & "\"" & albumName & "\""
    end if
    end repeat
    set commandString to commandString & ")"
    run script {commandString}
    end tell
    Thanks Bernard for your help. I just changed "contains" to "is" because in my tests I had "untitled album", "untitled album 1" etc. Then, because of the first "untitled album", all iterations were re-selected (not desirable).

  • How to get selected value from OADefaultListBean.

    Hi All,
    How to get selected value from OADefaultListBean ?
    Thanks,

    Hi,
    To identify the user's selection(s) when the page is submitted, you would add the following logic to your processFormRequest() method:
    OADefaultListBean list =
    (OADefaultListBean)webBean.findChildRecursive("positionsList");
    String name = list.getName();
    String[] selectedValues = pageContext.getParameterValues(name);
    To retrieve all the values in the list box, call list.getOptionsData().
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How do you select multiple files to drag

    How do you select multiple files to drag from one folder to another? Is there a command?

    Open the folder which has the contents you want to transfer.  Press COMMAND 'A' and then all of the data should be highlited in blue.  Drag it to the new folder.
    If only certain files are to be transferred, then you have to select them (COMMAND 'A')  individually and the drag them as a group to the new location.
    Ciao.

  • How do you select multiple files at one time

    How do you select multiple files at one time

    Select one, and then either command-click another, or in list/column view, Shift-click the item at the other end of the range you want to select. Alternatively, click on a spot in the screen and drag the cursor until all the files are selected.
    (114308)

  • How can I select multiple photos of files without selecting each individual one

    How can I select multiple files or photos without having to select each individual one? Like you can do on Windows

    Op: without tapping on each one individually
    tap all the photos you want to delete.
    Note what the OP is asking.

  • How can I select multiple photos without tapping on each one individually

    How can I select multiple photos without tapping on each one individually?

    Op: without tapping on each one individually
    tap all the photos you want to delete.
    Note what the OP is asking.

  • How do I select multiple pictures in a folder

    How do I select multiple pictures in a folder? I have tried shift + click, command + click etc but cannot find a way of selecting a large group without selecting individually 

    Select the first image.  Then Command-Click on each additional image you want to select as part of a group.
    If you are using List mode, you can click on the first, then Shift-Click on the last, and all the files between the first and the last will also be selected.
    Command-Click will still work to add additional non-sequential, or to remove items from the list already selected.

  • How do I select multiple calendars?

    Somehow iCal has given me multiple -- as in hundreds -- of "untitled" calendars (a sync issue?). I want to select and delete a whole bunch of them at once. Otherewise it's a painfully slow process of selecting and deleting one at a time. Any ideas how I can select multiple calendars? Holding down the shift or command key doesn't do it.
    iCal is hobbled by memory problems until I clear out these uninvited calendars. I get the spinning ball, for instance, if I try selecting a different month.

    Paste this into Script Editor's window, click Run, and go for a cup of coffee. It worked here to delete a dozen newly-created untitled - don't know what it will do for you, so it might be an idea to doa backup first.
    tell application "iCal"
              set Them to calendars whose name starts with "Untitled"
              repeat with ThisOne in Them
      delete ThisOne
              end repeat
    end tell

  • How do I select multiple items?

    Happy New Year.  I am a new Mac user.  Recently switched from Windows.  How do I select multiple rows?  In windows you can CONTROL+click to select multiple items 1 at a time and SHIFT+click to select multiple items in groups.  I figured out to do COMMAND+click on Mac to select multiples 1 at a time.  I need to delete ALOT of rows.  How do I select multiples in groups? 
    Thanks.

    KarenSelena and BobHarris have given you the direct sequences.
    You can also select multiple disjoint ranges with combinations of ⌘ (command key) click and ⇑ (shift key) click, too.
    As you use OS X, you'll find a large number of ⌘ and ⇑ and ˄ (control key) and ⌥ (option key) clicks and shortcuts available (and some were mentioned earlier), and shortcuts such as ⌘ A (select all), ⌘ Z (undo) and a whole host of other shortcuts available.
    Here is Apple's Mac 101 / Mac Basics site, which has a good (and free) introduction toward learning to use your Mac.

  • HT2477 How do I select multiple images without clicking on each one? Is there a way to select duplicate photos to delete them?

    How do I select multiple images without clicking on each one? Is there a way to select duplicate photos to delete them?

    Consider adding the delete symbol to the Finder window tool bar.  This way you can highlight all the photos you want to delete at the same time then hit the "delete" symbol.
    Open a Finder window/View/Customize Toolbar - follow the directions in the customized pop down window.

  • Super Basic, How do I select multiple files?

    Super Basic, How do I select multiple files?  I can click on one, but I want to select an entire group of files.  On a PC I would use the control or shift keys, or just use the mouse to draw a box around them, but nothing seems to work.

    It works here using the Shift key (after selecting the first item, hit Shift key while clicking on another). If you display your Finder windows as list or columns, it's extra easy: You click on the first item, then hit Shift and click on the last item - all of them will be selected.

Maybe you are looking for

  • Problem with ufsdump over rsh/ssh with solaris 10

    Hi, I want to do a ufsdump over rsh/ssh between 2 servers running Solaris 10. Here is the command I launch : localServer:# rsh rmtServer "ufsdump 0f - /var" > /backups/rmtServer When I execute this command on the command line, everything is working v

  • I keep getting the same preview image for multiple photos

    In my iPhoto Library and some of my folders the same preview image is showing for many of my images. When I enlarge or export those images or folders the correct image shows. Any ideas what is messing with the preview? Thanks.

  • Internet Explorer 9, 10, or 11

    Internet Explorer 9, 10 or 11 is not showing up in my updates to deploy.  I have Updates and Update Rollups selected under Classifications in Software Update Point Component and I'm getting Internet Explorer updates, but not the application IE.  I ha

  • Depreciation Areas for Mexico

    Our company has a company code in USA and it follows the US GAAP Accounting. Now we have acquired a company in Mexico and carrying out the rollout. Please let me know what all the depreciation areas to be defined for our Mexico Company Code. Thank yo

  • Muse composition widget

    Hi - I am using the Muse Composition Widget -- News and Events section on my homepage. Is there someway I can have a certain news event be the first to be seen/open when a user comes to the page. I have it on shuffle now. Appreciate any help on this