Using "FIND IN TABLE" to search in selected columns

Hi,
I want to use "FIND" to search for a pattern in certain table columns only, but ABAP Keyword Documentation ([FIND IN TABLE itab|http://help.sap.com/abapdocu_70/en/ABAPFIND_ITAB.htm]) does not state about this option.
Is it possible to do so?
Thanks,
Joon Meng

Hi,
1. if you want to find particular record u can use 
READ TABLE itab { table_key  | free_key | index } result.
2. if you want to compare the fied value level u can use
log_exp - Logical Expressions
CO, CN, CA, NA, CS, NS, CP, NP
Regards,
G

Similar Messages

  • Issue using  "Find" in Bridge to search external drive

    When using "Find" in Bridge (version 2.1.1.9) in CS3 to search for files on an external hard drive I must either check "Include Non-Indexed Files" or go to the external drive and build the cache for the folders I want to search. Otherwise the files will not be found.
    Having to build the cache in the external drive or use non-indexed search slows down the search process. Is there a way around this. Bridge preferences are set to "Automatically Export Caches to Folders". I use SyncBack for back up to the external drive.

    Thank you for the reply. I thought that once the cache is built and exported to a folder, that folder would be indexed and ready for a search by Find. And when copying that folder to another drive the files would remain indexed and available to a search by Find on that drive.
    I have not copied the central cache to the external drive. So I assume that when using Find to search the external drive it is looking at the caches in each folder on that drive.

  • Using a derived table name in a select ...

    In SQL or PL/SQL am I able to use the derived value of a colu,n (which holds a table name) to run an SQL.
    Basically I want to perform a "select count(*) from table" where table is a list of tables held in another, eg all_tables.
    EG:
    all_tables has
    TABLE1
    TABLE2
    TABLE3
    and I want to get
    TABLE1 100
    TABLE2 50
    TABLE3 110
    Thanks

    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2    cursor cur_tables is
      3      select table_name
      4      from user_tables;
      5    v_cnt NUMBER;
      6  begin
      7    for t in cur_tables
      8    loop
      9      execute immediate 'select count(*) from '||t.table_name into v_cnt;
    10      dbms_output.put_line('Table: '||t.table_name||' ('||v_cnt||')');
    11    end loop;
    12* end;
    SQL> /
    Table: PRE_MAP_LOG (150935)
    Table: LOG_SRC (126)
    Table: SRC_LOOKUP (10)
    Table: T (1)
    Table: MYDONORS (22)
    Table: CHANGE_LOG (347)
    Table: CHANGE_VARCHAR2 (461)
    Table: DO_MAP_LOG (50)
    Table: CHANGE_DATE (96)
    Table: CHANGE_NUMBER (561)
    PL/SQL procedure successfully completed.

  • How to use CheckBox in Table to do mulit-selection in Creator2 Update1?

    Hi.
    I put CheckBox(checkbox1) into Table to do a multi-selection effect..
    and I set checkbox1's selected to true to make default selection.
    however checkbox1 doesn't show selected in at Design Time in Creator2 , and also at Runtime in Firefox.
    then I put another CheckBox(checkbox2) outside the Table, and set selected to ture.
    chekcbox2 is default selected both in Designtime and Runtime.
    I am confused about that
    And, more troubles is, I can't know which Row datas were checked.
    I call CheckBox.getSelected(checkbox1.getID()) got NULL.
    I call checkbox1.getSelected() got NULL.
    Then I write a TableDataProvider to handle this Table and always return Boolean.TRUE at selection field
    But still no work.
    Does anyone know how to do multi-selection in Table?
    Thanks a lot.

    Hi,
    I also test RadioBox in Table and set RadioBox named 'rbSelection' , the table is bind to a dataprovider.
    But, It does't work, too.
    I can't get the selection from any API I know in a Button action (outside of Table)
    RadioButton.getSelected(rbSelection.getName())) return null
    rbSelection.getSelectedValue() return true
    rbSelection.getSelected()) return null
    rbSelection.getSubmittedValue()) return null
    tableRowGroup1.getSelectedRowKeys().length size is 0
    But when I use ((HttpServletRequest)this.getFacesContext().getExternalContext().getRequest()).getParameter("rbSelection")
    I can get the correct selection result.
    Is this a Creator2 bug or my mistake?
    THANKS~

  • Using Find() in ExtendScript to search for Italics

    I believe it would be the right place to place my query.
    I'm trying to search for all Italics in my Document with Extendscript.
    findParams = AllocatePropVals(1);
    findParams[0].propIdent.num = Constants.FS_FindCharFmt;
    findParams[0].propVal.valType = Constants.FT_String, etc..
    How do I specify italic in the params?
    Michael
    [Thread split from original by moderator]

    Michael,
    First about the right place to place your query: you should start a new discussion instead, as your question will then appear in the list of topics rather than Oliver John's original question.
    About your query:
    Your code searches for a character format from the Character Catalog. If you have a character format that makes the text show up in Italics, you can use the name of that character format (which might or might not be "Italics"). But that will not include text sections that have been manually set to Italics (i.e. without applying a character format tag).
    If you want to find all text in italics in your document, you should go via the text properties instead of the character format tags. That method will include all text that is set to italics, regardless of the method (manual overrides or character format tags). Spelling out the entire code would take me too much time right now, but the outline is as follows:
    Loop through all Pgf objects in your document and do the following for each of them:
    Use the GetText method with the parameter FTI_CharPropsChange.
    In the array of TextItem objects, check whether the FTF_ANGLE property has changed.
    If the FTF_ANGLE property has changed, you use GetTextProps on the start location of the TextItem to establish whether the found text string has Italics applied.
    Good luck
    Jang

  • Need a query to find a table by two of its column names

    I work in software quality assurance. Oftentimes I am trying to figure out from which table data is being pulled, but the database has thousands of tables to look through. Instead of looking through all the tables, I just take a guess at one of the column names and execute a query like this:
    SELECT table_name FROM information_schema.columns WHERE column_name like '%pur%code%'
    That usually works, but occassionally it can return hundreds of table names which doesn't help me much. Instead, I'd like to form a query that could take two column names and return all the tables that have those columns.
    So, in English, I want to say:
    "Give me the names of all the tables that have a column named like %pur%code% and another column named like %client%loc%"
    How do I do this?

    One might have hoped that the QA guy actually had sufficient documentation to tell him which table information was "pulled from".
    (or is he actually checking that the documentation is accurate and complete .... )
    SQL> select phrase from well_known
             where upper ( phrase ) like '%PIG%' and upper ( phrase ) like '%FLY%'

  • Using "find text" to select slides and assign master

    Is there a way to select non-consecutive slides using a common text element (e.g. all slides that have a colon) so that I can assign a master to all at once?
    In PowerPoint I would find all slides in slide tray view and they become highlighted.  Then I would assign a common master.  In Keynote I only see option to Replace All.
    Thanks for any suggestions.

    The find command does not select multiple slides.
    You would have to find one slide at a time and individually apply the master to each, or once these slides are identified using find, command click these slides to select and then apply the master.

  • How to get Manual Receipt Data using PO & RCV tables in R12

    Hi,
    I'm building a query using PO & RCV tables, I need to select all the Manual Receipts (not the receipts generated automatically using the ASN & RCV files).
    What condition should I use in the where clause for capturing only Manual Receipts?
    Thanks.

    Hi,
    All the manual receipts will have NULL value in the INTERFACE_SOURCE_LINES_ID column in the RCV_TRANSACTIONS table for the TRANSACTION_TYPE="RECEIVE".
    Thanks,
    PS.

  • SOA 11g DBAdapter Polling using a Sequencing Table with a DATE Field

    Hi.
    I have implemented a polling solution using a sequencing table that references a DATE column. For the most part the poll works correctly, but on occasion, I am not seeing a BPEL process instantiation for various records that get created in my source table.I have also noticed that in this particular case, the DATE field content on one or more source records is exactly the same --> "YYYYMMDDhhmmss".
    I just want to confirm here, that the polling adapter should be able to pick up multiple records from the source table, even though the date field is exactly the same. As well, how should I go about trying to debug this issue, if point #1 is handled by the system. Is there is a specific log or trace file that I can look at. Also, could I be facing a timing issue ?
    Can someone please comment on this.
    Thanks.

    In my table, I don't see a primary key, but only a unique index. I would assume then, that this would be analogous to the primary key capture; noticed that currently this code was only using one column out of two, from the unique index itself.
    Also, is the date content issue that I mentioned above a moot point then, based upon not having the correct primary key/unique key data pointers established ?
    Thanks.

  • Classic table : multiple item in one column

    Hi All,
    Is it possible when using a classic table to put two db columns in one column item? I tried
    concatenating but i can't specifically make the second value to the next line. I tried putting
    html tags but messageStyledText just displays the tags, if i use formatted text it doesnt
    put column headings, etc. I need some suggestions.
    gregg

    i used raw text.

  • How to add selected values from table(selected using checkbox)to table?

    Hi All,
    i have created simple page with search panel with table in table i have created one column as check box for selecting.
    here what my requirement is i need to do search multiple times to add some roles to from some different categories.here whenever i searched i ll get some roles into table there i ll select some role and i ll click add buttion. whenever i click add i need to add those roles into some other table finally i ll submit added roles.
    here i followed one link http://www.oracle.com/technetwork/developer-tools/adf/learnmore/99-checkbox-for-delete-in-table-1539659.pdf
    i used same code and able to see selected row in console, as object array how to add these into table.
    please help me out
    Thanks in advance
    siva shankar

    Thank you for a quick reply
    i used the same thing before i go for table check box concept.here what i observed is when i search i am getting some results i am able to shuttle.but if i search again the shuttle is refreshing with new values even not available list its refreshing selected list. IF dont want refresh selected ones.
    my usecase after make some searches I will select some roles from different categories at finally i ll submit.
    i hope you understand me requirement. please suggest me is this requirement is possible in shuttle component? if yes please guide me.
    thanks
    Siva Sankar

  • How to find out that particular structure is used in which tables

    Hello Friends,
    Most of the times through techinal information we come to know the table name for a particular field.And in se16 when i give that table name than system says its structure and not the table.So in se11 when i give that structure name in database table field, its shows all the field in that structure, but not the data stored in that field.
    So my question is how to find out that particular structure is used in which tables,so that i can view data stored in that structure?
    Thanking you guys in advance.
    Regards,
    Jitendra

    Dear,
    When you click on the technical information it will give the structure name and field, double click on the structure and it will take you the display structure screen, there you will have the where-used List icon (Ctrl + Shift + F3) at the top , click on that and it will show the options, select Database tables and execute, it will give the tables related to the structure, you can explore the list of tables and find where your required field is stored in them.
    Thanks & Regards,
    Vijaya Bhaskar A

  • Possible to code a Find/Find Next feature for use inside a Table Control

    Hello,
    I have a Table Control that displays many lines.  Is it possible to code a Find/Find Next feature that would allow the user to enter a 'keyword' then search each line of the Table Control for existing matches?
    I have provided the user with various Selection Criteria that will filter the table control results, but there are still too many lines to visually scan for the desired result.
    I am guessing that I would place an input box and a 'Find' button onto my layout screen. Then in user command, I have to scroll through each line of the table control and check every value to see if the string contains 'keyword' When found, stop  and display table control assigning current line as Top line?
    Am I on the right track or is there a better solution already?
    Kind Regards,
    MPersson

    I've done that. It works pretty well. You might want to allow the user to search only in selected column(s) as well.
    Rob

  • Using column value is it possible to find the table name in the database?

    Hi all,
    using column value is it possible to find the table name in the database?
    guys i need the table value
    Note:
    oracle-9i
    for example:
    i don't know NIC(column value) in which table in the database.
    Thank you,
    with regards,
    JP.
    Edited by: Guest on Feb 27, 2012 5:42 AM

    Hi,
    As far as I understand what you are asking for I would suggest 4 data dictionaries that will help you to know the table name from the column names
    1. USER_TAB_COLS
    2. ALL_TAB_COLS
    3. DBA_TAB_COLS
    4. COLS
    These can give you detail information about the columns and respective tables at user, schema, dba level. Further information on the table can be found by querying ALL_OBJECTS table giving table_name as Object_name, or you can join the data dictionaries too.
    To know about various data dictionaries avalible in Oracle please query select * from cat;
    Let us know if you need further assistance.
    Twinkle

  • Find all tables used in a stored procedure

    Hi,
    I have a requirement where i have to find all the tables used in a stored procedures from different  databases.
    Ex: i have a stored procedure where i use few tables from MASTER database and some from STAGE database.When i have written a query to find all tables used in the stored procedure, i am getting only those database table where i run the query and procedure
    exists.
    I have stored procedure SP1 in Master database, but i use the tables from both master and stage.
    When i run this, i am getting the tables only from Master database but not from stage. i hope my requirement is clear.
    I am trying to find all the tables from all databases used by a stored proc.
    ;WITH stored_procedures AS (
    SELECT 
    o.name AS proc_name, oo.name AS table_name,
    ROW_NUMBER() OVER(partition by o.name,oo.name ORDER BY o.name,oo.name) AS row
    FROM sysdepends d 
    INNER JOIN sysobjects o ON o.id=d.id
    INNER JOIN sysobjects oo ON oo.id=d.depid
    WHERE o.xtype = 'P')
    SELECT proc_name, table_name FROM stored_procedures
    WHERE row = 1
    ORDER BY proc_name
    Please advice

    Your question is not entirely clear. You need to run the query on different databases.
    You may find this blog post helpful
    How to get information about all databases without a loop
    Check the last script in that blog post and modify to your particular purpose.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

Maybe you are looking for

  • RPC failure

    Hi, Im hoping you guys might be able to help me out. I have an E3500 server, and Im installing Solaris 2.5.1. I know its old, but my company isn't slated to update to Solaris 8 until next year. Anyhow. I can load the OS and all my programs fine. The

  • Problems centralizing windows on dual monitor

    Hi all, every time I create a JFrame on my aplication, I use the method setLocationRelativeTo trying to centralize it. I used to pass null to this method every time I call it, but recently I got a dual monitor and discovered that passing null to it m

  • Palm, Have a request if you can add the option on webOS 1.4, PLEASE!

    Please add a simple feature.. well two. 1) Please allow us to turn off auto-dim. I want my screen on my Pixi to be full blast. You give us these wonderful high-res screens, and they can only be used to their fullest potential during bright lights? No

  • Can you run Automator workflows automatically, on a timer?

    I created a workflow for backing up important files, and it's working just great. However, I'd like the additional ease of having the workflow run on its own--every twelve hours, perhaps, instead of running it manually myself. I don't see any setting

  • Clean up Dust/Scratches on iPhoto Based Pix ?

    Background:  I have current Mac/iPhoto software and a CanonScan 9000F that came with PSE 8. I plan to scan about 25 trays of old slides and get them organized with iPhoto. The first two trays have been imported to iPhoto events and they turned our re