Its a very urgent task, can anyone please suggest!!

Hi Everyone,
I have a proposal for the find and find next in my screen. Need some help for you people.
In the screen i have around 3 grids, so in the standard toolbar if I press this find button it has to loop through the screen, loop through the grids then columns in the grid and find for the specified string.
So how do I achieve this. Any help will be great use to me.
Thanks in advance,
Prabs.

Hi
You can use a routine like this:
PARAMETER: p_search(80) LOWER CASE.
DATA: length_string TYPE i.
length_string = STRLEN( p_search ).
DATA: itab1 LIKE vbrk OCCURS 0,
      itab2 LIKE vbrp OCCURS 0.
DATA: gt_fieldcat1 TYPE lvc_t_fcat,
      gt_fieldcat2 TYPE lvc_t_fcat.
DATA: rc_search TYPE sy-subrc,
      record    TYPE sy-tabix,
      colunm    TYPE alv_s_fcat-fieldname.
START-OF-SELECTION.
  PERFORM search_in_table USING    itab1[]
                                   gt_fieldcat1
                          CHANGING rc_search
                                   record
                                   colunm.
  IF rc_search <> 0.
    PERFORM search_in_table USING itab2[]
                                  gt_fieldcat2
                            CHANGING rc_search
                                     record
                                     colunm.
  ENDIF.
FORM search_in_table U
           SING    p_table    TYPE table
                   p_fieldcat TYPE lvc_t_fcat
          CHANGING rc         TYPE sy-subrc
                   tab_idx    TYPE sy-tabix
                   field      TYPE alv_s_fcat-fieldname.
  DATA: lt_fieldcat TYPE alv_s_fcat.
  FIELD-SYMBOLS: <table>       TYPE table,
                 <wa_table>    TYPE ANY,
                 <field_value> TYPE ANY.
  DATA: string                 TYPE string.
  DATA: tabix                  TYPE sy-tabix.
Init
  rc = 4.
  tab_idx = 0.
  CLEAR field.
  ASSIGN  p_table[] TO <table>.
  LOOP AT <table> ASSIGNING <wa_table>.
    tabix = sy-tabix.
    LOOP AT p_fieldcat INTO lt_fieldcat
                                    WHERE no_out = space.
      ASSIGN COMPONENT  lt_fieldcat-fieldname
                      OF STRUCTURE <wa_table>
                                     TO <field_value>.
Convert field in a string
      MOVE <field_value> TO string.
Check string:
      IF string CS p_search(length_string).
        field = lt_fieldcat-fieldname.
        tab_idx = tabix.
        rc = 0.
        EXIT.
      ENDIF.
    ENDLOOP.
    IF rc = 0. EXIT. ENDIF.
  ENDLOOP.
ENDFORM.                    " SEARCH_IN_TABLE
In your bar create an SEARCH icon, and when the user press it, a popup for searchin is displayed, you could use the FM ALV_POPUP_TO_SEARCH2 (as Raja has written).
Max

Similar Messages

  • I had my iphone from France and now days I am in India. Can anyone please suggest how i can unlock its country lock to operate it using Indian carriers.

    I had my iphone from France and now days I am in India. Can anyone please suggest me, how i can unlock its country lock to operate it using Indian carriers.

    Only the carrier your phone was locked to in France can authorize the official unlocking of your phone. So contact them as to cost/procedure.

  • Can anyone please suggest me good A2DP Bluetooth H...

    Can anyone please suggest me good A2DP Bluetooth Headset for Nokia 5800 XpressMusic.
    1)Nokia Bluetooth Headset BH-103 is compatible with my Nokia 5800 XpressMusic.
    2)Sony Ericsson HBH-DS970 is compatible with my Nokia 5800 XpressMusic.
    please help me.
    Thank you,
    Ravi kumar.
    Solved!
    Go to Solution.

    BH-103 is pretty good but it is a low cost product.
    Better quality is the BH-504 if you don't want an in-ear product
    http://europe.nokia.com/link?cid=PLAIN_TEXT_112120​6
    Or there is BH-903 which is very high end and has remote track control and display plus text message alert and its own fm tuner
    http://europe.nokia.com/bh-903

  • Can anyone please  suggest for the following query relating to OEDQ ?

    I have to process 10M  records through batch matching by Oracle EDQ.  There will be 10 file(.csv)  each size 1M. They will be placed landing area of EDQ one by one separately. Given, All 10 file should have same number of columns & same order of columns. I have to process them one by one sequentially through only single batch contact match job.
    Condition is : 
    Only one batch job will be executed 10 times to process them. At each iteration/operation, one file (.csv) will be taken as input in that job. As we know, only one source is present in  job. I have to create /run ShellScript which will be passing  one file to the single snapshot  via single datastore from the landing area of EDQ. Once the one input file  is passed and complete matching is done, Without changing anything, Is it possible to pass 2nd input file  to that snapshot via previously created datastore by that Shell-script.
    I mean, I want to pass one by one file  sequentially  via  single snapshot via single datastore to a batch job  using unix shellscript. 
    Is it feasible to consider in my project????
    Any suggestion will be highly appreciated. Thanks in advance.

    Hi Mike,
    Thanks for the quick response.
    Keeping in mind source will be changed sequentially/one after another but the target is constant & the same JOB will be executed each time.
    suppose, I have two file in the landing area of EDQ. These file are:  PersonData.csv  and goutam.csv
    PersonData.csv is used in current data store.
    File in the working area:    C:\Program Files\Datanomic\dnDirector\config\landingarea\PersonData.csv
    Snapshot is using  this datastore. I have right clicked on the snapshot. I have done setting externalize option enable.
    I am using the command:
    java -jar jmxtools.jar runopsjob -job "Testing for R3  source A" -project EDQ-CDS -runlabel Nov2014 -nowait -u dnadmin -p p4dqnvo2 localhost:9005
    This command is successfully executing batch job "Testing for R3  source A "   where source is PersonData.csv.
    Now, I  want to use the following command with externalize option to execute  the file goutam.csv as source  by the above job.
    I am using the below command:
    java -jar jmxtools.jar runopsjob -job "Testing for R3  source A" -project EDQ-CDS -runlabel Nov2014 -D externalized=goutam -nowait -u dnadmin -p p4dqnvo2 localhost:9005
    this command also executes the file PersonData.csv instead of goutam.csv file.  In the above command I have highlighted  externalize option with deep black color . please let me know how I write this externalize option in the command so that it should execute goutam.csv file.
    Meanwhile, I am googling to find solution.
    Regards,
    Goutam Samanta

  • Can anyone please help me out in this scenario regarding golden gate

    We have source Plants.Fruits and target plants1.fruits. If we need toset up a filter in replicat with the condition were name is not equal to apple. Other than the row with name=apple rest has to be replicated in target. This filter has to be added only in replicate. We tested the below condition but it is not working.
    MAP PLANTS.FRUITS, TARGET PLANTS1.FRUITS,WHERE(NAME <> "APPLE");
    This condition inserts no records not only apple other records are also not replicated to target. Can anyone please suggest us the way to resolve this.

    Wrong forum - try GoldenGate or GoldenGate, Streams and Distributed Database (MOSC)

  • Anyone Please Suggest me the right SoundC

    Hi everyone,
    Can anyone please suggest me the <SPAN>Appropriate Sound Card. I have bought SBLi've and I found that very essential functionalities for me are missing in this card, which were there in SBLi've "Value".
    I have 3 requirments stated below.
    . Sound Card using which, I will be able to change Each and every Parameters of Reverb effect. (like delay, early reflection etc.) to make a custom efx.
    2. The custom efx could be assigned Only to a Selected Source, like efx set on the Microphone input only (and Not on the main Output).
    3. The efx should be processed by the Hardware only (not software rendered), directly through the Chip.
    The SBLIVE!"Value" handled all these 3 requirments, but with SBLi've24bit I found that these things have been completely removed from the chip. moreover it seems to process the efx using the software, the sound has a distorted noise.
    Thanks.

    Hi,
    I suggest you read the installation guide :- http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/hp_windows_install.pdf
    You will need to install and configure.
    Shared Services
    Essbase
    EAS
    Planning
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • I bought my macbook pro on 2013 but last few months its become very slow , is there anyone can help me please ?

    i bought my macbook pro on 2013 but last few months its become very slow , is there anyone can help me please ?

    Activity Monitor - Mavericks  also Yosemite
    Activity Monitor in Mavericks has significant changes
    Performance Guide
    Why is my computer slow
    Why your Mac runs slower than it should
    Slow Mac After Mavericks
    Things you can do to resolve slowdowns  see post by Kappy

  • I upgraded to mountain lion a week ago and now on startup of my macbook pro, microsoft excel and word start up automatically and then crash? very strange can anyone please help? I have checked the login items under users and groups and there is nothing.

    I upgraded to mountain lion a week ago and now on startup of my macbook pro, microsoft excel and word start up automatically and then crash? very strange can anyone please help? I have checked the login items under users and groups and there is nothing.

    Are you using the Office for Mac 2011 version, as you need to do?  The Office for Mac 2004 is Not at all compatible with Mountain Lion, and the 2008 version has been noted to have some problems running with ML.
    Hope this helps

  • Mine is an old IPod, 30 GB, Mod:  A1136.  I can´t find reference on the IPod page to download its manual or do an update on it.  Can anyone please help?

    Mine is an old IPod, 30 GB, Mod:  A1136.  I can´t find reference on the IPod page to download its manual or do an update on it.  Can anyone please help?

    Hello Ramirongo,
    If you are trying to update your iPod, then all you need to do is have the latest version of iTunes installed and plug it in. It will check of any updates if they are available and update your iPod. I have also provided the User Guide for your model of iPod as well. 
    iPod Features Guide 
    http://manuals.info.apple.com/MANUALS/0/MA186/en_US/iPod_Late_2006_Features_Guid e.pdf
    Update your iPhone, iPad, or iPod touch iOS software
    http://support.apple.com/kb/ht4623
    Regards,
    -Norm G.  

  • HT3180 hi guys, have lost the menu on my apple tv, only gives me computer and settings, its onlu 5 months old, can anyone help me please

    hi guys, have lost the menu on my apple tv, only gives me computer and settings, its onlu 5 months old, can anyone help me please??

    I called Apple support, no support. Called my Internet support, no support. If your Apple TV is connected up to your Internet via wireless...... hard wire to your Internet turn it on and poof it connects.  Disconnect the hard wire from your Internet and it still will work. For what ever reason my wireless was not cutting it for updating the time and date which seems to be really important to Apple TV.
    Good luck

  • Can anyone please help with the 2.3 update in UK?

    Can anyone please help?  I have an unbranded x10 in the UK.  PC companion constantly tells me my phone software is up to date (with android 2.1) so I cannot upgrade to 2.3.  I've tried all the tips on the SE support page like deleting the database content and looking for the setting to update the phone next time it's connected which doesn't exist (very informative SE!).  I'm not keen on this independent software installation through the rapidshare download, it seems full of glitches looking at the forums.  http://www.sonyericsson.com/update/?lc=en&cc=gb&pid=xperiax10  This link clearly tells us the update is available through PC companion, no joy for me though.  Any help is welcome.

    Have a look at this and check your version number see if its listed
    http://forum.xda-developers.com/showthread.php?t=1186045
    As for generic roms you have probable read about custom roms
    See this thread it is a stock SE rom not a custom rom and will give you just that a stock SE rom if you want
    http://talk.sonyericsson.com/thread/19762

  • Can anyone please help?  I am getting "javaw.exe" error when trying Struts

    I am getting the following error when trying Structs action in my application.
    javaw.exe has generated errors and will be closed by Windows,
    You will need to restart the program.
    An error log is being created.
    the application server was stopped after this error.
    I reinstalled using j2sdk1.4.2_10, this error still remains.
    can anyone please tell me how to fix it ?
    thanks a lot for your help.
    I am running app on Windows 2000 . P4 3G HZ CPU, 1M RAM

    It's not viruses I was talking about - it was session hijacking and electronic evesdropping. And as far as a browser taking up space....seriously? We're talking MBs here.....
    I use Firefox exclusively, because frankly, I don't like Safari any more than I like IE.....(actually, I really hate IE - despite its being around for forever, it is still not a browser that does much for me).
    But, to each his own. That's not really the point I was making. It's just that we have some very non tech-savvy folks asking questions here, and we need to make sure that the advice we are giving out is not going to increase their risks in any way. I was just trying to be mindful of making sure that we do inform to the best degree possible....
    No offense intended. Hopefully, none taken!
    Cheers,
    GB

  • What do i do ? My i phone 4 has no option to reduce the motion picture. It is causing me a serious problem. Can anyone please help ?

    After several attempts to get some help from Apple, it has become clear to me that my i phone 4 has no options within accessibility to reduce the motion picture.
    I have a serious problem with the new software but unfortunatly i cannot go backwards with this update. Apple for obvious reasons will not advise any downgrading options. Can anyone please help me? Is there a third party option here. I do not want to pay for a new phone or replace the i phone as i run a mac,desktop and i pad... !! Thank you.

    Giansh2006 wrote:
    I don't quite understand why you have asked me about why I'm keeping my URL secret?
    It's only that I'm not clear why you are reluctant to post it. If you have a podcast in the iTunes Store then it's there for the world to see - they might search on its subject or title, for example, even if they don't actually know about it from you. If you look at other posts in this forum you will see that usually people post their URLs and then I can examine the feed and hopefully find out from that what the problem is. Without this information no-one can give you anything more than wild guesses.
    If you are still reluctant to post the details and want to have a bash at diagnosing the problem yourself you may find my web pages helpful:
    How do I make a podcast?
    how to diagnose a podcast feed
    Why don't my podcast episodes show the podcast image?

  • Help i my i touch was stolen from school about a week or more so ago and i dont know how to find it with the wifi turned off, can anyone please help me?

    Well, i lost my iPod at school i dont know if it was stolen, it fell out of my pocket or what but either way it is gone. I have the find my ipod app, and contacted the local police, but i just want it back. I have turned the WIFI off because it runs down my battery and i dont get service at school. Can anyone please give me some advice as to what i should do? Retracing my steps, looking at home, backpack, car, room, clothes have all been looked through. Someone please help! It was a gift from my dad. Its really important to me!

    There is nothng special you can do without wifi being on. 
    Report it to the school and change the passwords for all accounts used on the iPod. Apple will not help with anything.

  • Hi Can anyone please tell me from where I cn download the Photoshop CS6 program I purchased a download (media less) some 2 years ago and all has been OK up to know but I am know having issues and would like to uninstall and reinstall. I have the revelant

    Hi Can anyone please tell me from where I can download the Photoshop CS6 program I purchased a download (media less) some 2 years ago and all has been OK up to know but I am know having issues and would like to uninstall and reinstall. I have the relevant codes and activation keys but would need to be sure I can obtain the program again before I start. Thank you

    Make sure you are dealing with the correct product for the serial number.  If the serial number is for a full creative suite then you need to get the suite, not the individual application, and vice versa.
    Unrelated to that, in case it helps, here is a link to another site.  You can download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    CS6: http://prodesigntools.com/adobe-cs6-direct-download-links.html

Maybe you are looking for