Need help in Standard toolbar icon - FIND

Hi all,
I am using Menu Painter (SE41) and i want to use Function like BACK, CANCEL , FIND and FIND NEXT..
I know code of BACK and CANCEL but i dont know code of FIND and FIND NEXT ..
Can anyone please help me what is the code for these?
Its bit urgent.
Thanks in advance

Hi,
Make one button on application toolbar 'FND'.
in user command write like,
MODULE user_command_1000 INPUT.
  CASE sy-ucomm.
    WHEN 'BACK' OR 'UP' OR 'CANC'.
      LEAVE PROGRAM.
    WHEN 'FND'.
      CALL SCREEN 1001 STARTING AT 37 5 ENDING AT 87 22.
  ENDCASE.
ENDMODULE.                 " user_command_1000  INPUT
on screen 1001 make one ok button and in user command(PAI) of that screen write,
MODULE user_command_1001 INPUT.
  CASE sy-ucomm.
    WHEN 'OK'.
      CALL SCREEN 1000.
  ENDCASE.
ENDMODULE.                 " USER_COMMAND_1001  INPUT
and in screen 1000, u have one module (in PBO) where u fetching all data , write there like
MODULE fetch_data OUTPUT.
  SELECT matnr matkl INTO CORRESPONDING FIELDS OF TABLE itab
  FROM mara
  WHERE matnr BETWEEN '000000000000000101' AND '000000000000000115'.
<b>code for FIND Option</b>
<b> IF strin IS NOT INITIAL.
    wa_itab-mark = 'X'.
    LOOP AT itab.
      IF itab-matnr = strin.
        line1 = sy-tabix.
        EXIT.
      ENDIF.
    ENDLOOP.
    IF line1 <> 0.
      MODIFY itab INDEX line1 FROM wa_itab TRANSPORTING mark.
      SET CURSOR LINE line1.
      tab1-top_line = line1.
    ENDIF.
  ENDIF.</b>
ENDMODULE.                 " fetch_data  OUTPUT
strin is a input/output field name in which u giving search term and its on screen 1001.

Similar Messages

  • Need code of Standard toolbar icon-FIND

    Hi all,
    I want to make some changes in menu painer of T-code FBCJ.
    In thi i want to activate FIND button of Menu painter but i dont know what is the code for its proper workin...
    Please can anybody help me?
    thanks in advance...

    Find - FIND
    Find Next - FIWE

  • I need help writing a script that finds the first instance of a paragraph style and then changes it

    I need help writing a script that finds the first instance of a paragraph style and then changes it to another paragraph style.  I don't necessarily need someone to write the whole thing, by biggest problem is figuring how to find just the first instance of the paragraph style.  Any help would be greatly appreciated, thanks!

    Hi,
    Do you mean first instance of the paragraph style
    - in a chosen story;
    - on some chosen page in every text frames, looking from its top to the bottom;
    - in a entire document, looking from its beginning to the end, including hidden layers, master pages, footnotes etc...?
    If story...
    You could set app.findTextPreferences.appliedParagraphStyle to your "Style".
    Story.findText() gives an array of matches. 1st array's element is a 1st occurence.
    so:
    Story.findText()[0].appliedParagraphStyle = Style_1;
    //==> this will change a paraStyle of 1st occurence of story to "Style_1".
    If other cases...
    You would need to be more accurate.
    rgds

  • Office 2011 Standard Toolbar icons

    I had a problem with Office 2011 whereby there were no Themes available.  I reinstalled Office over the top of the current installation and all the colout themes were there.  However the standard toolbar displays fine but the icons do not match the labels.  So for example the Save label is accompanied by the Cut (scissors) symbol.  A couple are OK, such as Print but most are completely wrong.  Have tried re-installing again to no avail.  Any suggestions?

    I'm not quite understanding what you're asking - in the default Home ribbon, Themes are to the far right:
    You may want to try and clarify what you're asking and post in the MS Office 2011 for Mac forums - http://answers.microsoft.com/en-us/mac.
    Clinton

  • Need help with locating iPad with find my iPad app.. it was turned on this morning but won't show me the location.. why is this??

    Need help to find location of iPad using find my iPad app.. Sound was activated this morning but it won't give me the location.. How can I find it??

    Hello there Kylie,
    It sounds like your iPad is not showing in Find my iPad when you check it. Take a look at this info from the following article named:
    iCloud: Troubleshooting Find My iPhone, iPad, iPod touch, or Mac
    http://support.apple.com/kb/ts4006
    Device does not appear in Find My iPhone
    This can occur if:
    The date on your device (iPhone, iPad, or iPod Touch) is incorrect. Choose Settings > General > Date & Time to check and set the date.
    Your device is not up-to-date. It needs to be running iOS 5 or later.
    Your iCloud account is not configured on your device. Choose Settings > iCloud and enter your iCloud account information.
    You have multiple iCloud accounts entered on your iPhone, iPad, or iPod touch. Only one account can have Find My iPhone turned on at a given time. Log in to Find My iPhone with your other iCloud accounts until your device is listed.
    There's a scheduled maintenance or another issue affecting Find My iPhone. Check the System Status site to see if this is the case.
    Your device has lost network connectivity. If you have access to your device, and it appears to have an active Internet connection, enable and then disable Airplane mode. If you continue to have issues, turn the device off and back on.
    Find My Mac can only locate your Mac if it is connected to the Internet via a known Wi-Fi network. If your Mac is connected to the Internet only by an Ethernet cable, Find My Mac will not be able to locate your Mac.
    Device appears in Find My iPhone, but is offlineThis can occur if:
    Your device is powered off, such as when the battery has run out. Note that the remaining battery for the device, if it's connected to the Internet, displays in the upper-right corner of the information pane of the selected device. You can still play a sound on, send a message to, issue a lock request, or initiate an erase of your iPhone, iPad, or iPod touch. The command will be received after the device is turned on and regains its Internet connection.
    Your iPhone’s cellular service has been terminated by your wireless service provider. If you contacted your service provider to report your device lost or stolen before locating your phone, and they deactivated your SIM card or account, this would be expected. If this is the case, you may no longer be able to locate, display a message on, or erase your iPhone. For more information, read about what to do if your device is lost or stolen.
    Your iPad, iPod Touch, or Mac is asleep and not connected to a known Wi-Fi network. You will still be able to request an erase, send a message to display and lock your device, or request that a sound be played. The command will be processed when your device is awakened and connected to the Internet.
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • Need helping in writing query for finding percentage of duration

    Can any one please help in writing query for this.
    The table is like this :-
    ID     Region     Month     Duration
    I1 R1     Jan     80
    I2     R2     Jan     70
    I3     R1     Jan     70
    I4     R3     Jan     40
    I5     R1     Feb     80
    I6     R2     Feb     30
    I7     R3     Mar     100
    I want to write a query to find
    % of duration for each and every region against each and every month.
    Please help in solving this query. I am in urgent need of this.
    Thanks in advance.

    I also have to do in MS Access 2003You also have to ask into an other forum since here it's an Oracle forum, to try to find Oracle solution.
    Nicolas.

  • How do add a toolbar to the yahoo firefox? I have a program already downloaded. I need help adding the toolbar.

    I use Roboform and after I downloaded Yahoo Firefox it no longer appeared as one of my toolbars. How do I get it back? I need it for those sites I visit once and a while and filling out forms. I'm using MS 8.1. Thanks.

    If Firefox was able to load and activate the Roboform extension, then you should be able to turn on the toolbar using one of these methods:
    * right-click a blank area of the tab bar, then click on Roboform
    * right-click the "+" button on the tab bar, then click on Roboform
    * "3-bar" menu button > Customize > Show/Hide Toolbars > Roboform
    * (classic menu bar) View menu > Toolbars > Roboform
    If Roboform does not appear on the available toolbar list, could you check to confirm that it is enabled on the Add-ons page? Either:
    * Ctrl+Shift+a
    * "3-bar" menu button (or Tools menu) > Add-ons
    In the left column, click Extensions. In the list on the right, the disabled extensions are at the bottom of the list.

  • Need help viewing items in Lion Finder folder.

    Hello! I just recently migrated to a Mac with Lion and have a question regarding viewing files in the Finder window. I currently like sorting my folders using "Kind" then sorting by "Name", which works great for me except one problem. How do you have the Finder window "Show All" by default instead of having to click on the "Show All" everytime? See my example folder in the pic.
    Any help for a Mac noob would be greatly appreciated! Thank You in advance!

    Hi Peter
    This is a change in version 9.
    Adobe removed the previous choice in preferences, without asking customers.
    Many of us who used earlier versions don’t like it.
    If you feel the product is not what you reasonably expected, request a full refund or ask your credit card company for a refund and chargeback.

  • Need help regd standard report

    Hi Experts,
                     I have a requirement where i need to add a check box on the selction screen for the standard program Stock card and inventory material report .
    program name : J_1HSTCD.
    my concern is ,
    1. Is it possible to do, if i copy it to a Z progam,
    2. Since it deals with logical data base what will be the impact if i do the modification, (whether a minor or major changes required).
    3. How difficult it is ?
    please i need it urgent, since i am new to abap , i dont know the correct solution.
    please advise....
    Many thanks,
    Soyunee

    Hi,
    1.Yes,it is possible to do copt into zreport and make changes.
    2.If your changes are not reflect to the LDB,Then it is ok.It is medium Task,you can handle it normal way.
    Regards,
    Shiva Kumar

  • I need help on standard workflow of Release for payment

    Hello to everyone,
    I'm trying to use WF WS00400011 standard provided by SAP through the PFTC and I activated it, inform a user that I created called WF different from my user, who will be responsible in the task standand (TS00407862) and also went to basic data -> and activated the early events following entry [BO: BSEG: CREATED].
    I ended up completing the settings on FINANCIAL ACCOUNT -> ACCOUNTS RECEV PAYABLE -> RELEASE OF PAYMENT.
    Was also includes SWE2 - Event Type Linkages and itemizing:
    [BSEG CREATED ws00400011] linkage with the active flag.
    When I registed the document by FB60 or F-43 the financial document is blocked ok, but unfortunately it is not sent any Workflow / any email to the user responsible for approving. I run the transaction SWEL to check the entries , following entries:
    BSEG CREATED 13.06.2011 13:20:27   WS00400011   [status gree]  SWW_WI_CREATE_VIA_EVENT_IBF
    BSEG CREATED 13.06.2011 13:20:27   WS00400011   [status red]  feed back after error
    BSEG CREATED 13.06.2011 13:20:27   WS00400011   [status info]  event put in queue
    I have open the item [red]  and I observed a error: "Import container contains errors (any obligatory elements are missing?" message code = SWF_RUN594.
    And here I am trying to solved but are very difficult because I dont have any documentation and this process is difficult to Debug. I'll be happy with any guidance received. 
    Regards,
    Joao

    Chaiphon Pulnit,
    Thank you for your reply and yet dispense time to help.
    Reply
    I removed the entry in WSE2 WS00400011 (linkage) As your guidance and just let WS00400011. Then I tried launching a financial document with the vendor containing group relationed with the corresponding sequence of release, but still not working, or even no mail was sent, and checked in the workplace no workflow created in the user responsible for approving.
    Doubts
    How do I know that the workflow ws00400012 is related or connected with ws00400011? and how can I check if they really ws00400011 has the logic to perform an e-mail to the approver?
    Regards,
    Joao Batista

  • Need help ErrorERR-1002 Unable to find item ID for item "P12_PROUDCT_ID" i

    please help me i am getting this error and idont know how to solve it
    Error     ERR-1002 Unable to find item ID for item "P12_MOR_IS_VIRGIN"
    Error connecting to the VIRGIN TABLE ' Check MOR is look like shit?
    ++++++++++++++++++++++++++++++++++++++++++++++++++++
    for x in
    (select seq_id, c001 from apex_collections
    where collection_name = 'ORDER' and c001 = :P12_PRODUCT_ID)
    loop
    apex_collection.delete_member(p_collection_name => 'ORDER', p_seq => x.seq_id);
    htp.p('removed an item');
    end loop;
    +++++++++++++++++++++++++++++++++++++++++++++++++++++
    if anyone has a clue how do i solve it plz email me or just write it here
    [email protected]
    tnx alot David.
    Edited by: user11017573 on Oct 1, 2012 3:03 AM

    Error ERR-1002 Unable to find item ID for item "P12_PROUDCT_ID" in application "61553".Is the item name P12_PROUDCT_ID or P12_PRODUCT_ID? Perhaps you misspelled the item name in the item itself?

  • Need help with color tints not finding t-slider can you help?

    can someone help i'm going bonkers trying to get the tints and colors working
    i checked the online help on how to make a color tint.
    but the solution tells me if i don't have the "t-slider" make sure the color is checked
    as global then go to show options
    but this is not helping. i still don't see what i need to make a tint.
    i really wish the way to make this work was more like indesign.
    please help.
    thank you
    Message was edited by: [email protected]

    You need to make the color a swatch first. Then double click the swatch and check the Global box.

  • Need help... can't find the problem...

    I'm trying to copmli my program.. but I'm getting
    some errors...
    C:\Umass\CS210\Hw2\SinglyLinkedList.java:301: unreachable statement
              return NOT_FOUND;
    ^
    C:\Umass\CS210\Hw2\SinglyLinkedList.java:316: variable p might not have been initialized
         return p;
    ^
    import java.util.*;
    public class SinglyLinkedList implements List
       * creatino of the SllIterator
      private class SllIterator implements Iterator
           private Node current;
           private Node lastVisited = null;
           private int expectedModCount = modCount;
         public boolean hasNext()
              if(expectedModCount != modCount)
                   throw new ConcurrentModificationException();
              return true;
         public Object next()
              if(!hasNext())
                   throw new NoSuchElementException();
              Object nextItem = current.data;
              lastVisited = current;
              current = current.next;
              return nextItem;
         public void remove()
              if(expectedModCount != modCount)
                   throw new ConcurrentModificationException();
              if(lastVisited == null)
                   throw new IllegalStateException();
              SinglyLinkedList.this.remove(lastVisited);
              lastVisited = null;
              expectedModCount++;     
      // an inner class: This is our node class, a singly linked node!
      private class Node
        Object data;
        Node next;
        Node(Object o, Node n)
          data = o;
          next = n;
        Node(Object o)
          this(o, null);
        Node( )
          this(null,null);
      private Node head; // the "dummy" head reference
      private int size;  // the number of items on the list
      private int modCount = 0;
      public SinglyLinkedList()
        head = new Node(); // dummy header node!
      public void add(int index, Object o)
                Node p = getNode(index);
                Node newNode = new Node(o, p);
                newNode.next = newNode;
                size++;
                modCount++;
      public boolean add(Object element)
           if (element == null) return false;
           // Check for dummy head node
           if (head.data == null)
                head = new Node(element, null);
        else
        // Traverse the list until we find the end
             Node next = head;
             while (next.next != null)
             next = next.next;
        next.next = new Node(element, null);
        size++;     
        return true;
      public boolean addAll(Collection c)
        return true;
      public boolean addAll(int index, Collection c)
        return true;
      public void clear()
           head = new Node("Head", null);
           size = 0;
      // write a recursive implementation here
      public boolean contains(Object o)
        return findPos(o) != NOT_FOUND;
      public boolean containsAll(Collection c)
        return true;
      public boolean equals(Object o)
        return true;
      // write a recursive implementation here
      public Object get(int index)
        return null;
      // NOT implemented: we don't cover hash codes
      // and hashing in this course
      public int hashCode()
        throw new UnsupportedOperationException();
      public int indexOf(Object o)
        return -1;
      public boolean isEmpty()
         return (size() == 0);
      public Iterator iterator()
        return null;
      public int lastIndexOf(Object o)
        return -1;
      // Not implemented: The following two operations are not supported
      // since we are using a singly linked list, which does not allow
      // us to iterate through the elements back and forth easily
      // (going back is the problem)
      public ListIterator listIterator()
        throw new UnsupportedOperationException();
      public ListIterator listIterator(int index)
        throw new UnsupportedOperationException();
      // write a recursive implementation here
      public Object remove(int index)
        return null;
      public boolean remove(Object o)
        return true;
      public boolean removeAll(Collection c)
        return true;
      public boolean retainAll(Collection c)
        return true;
      // write a recursive implementation here
      public Object set(int index, Object element)
        return null;
      public int size()
        return size;
      // NOT implemented: to keep the homework reasonably simple
      public List subList(int fromIndex, int toIndex)
        throw new UnsupportedOperationException();
      public Object[] toArray()
        return null;
      public Object[] toArray(Object[] a)
        // you'll find this piece of code useful
        // it checks the exact type of the array passed as a parameter
        // in order to create a larger array of the same type.
        if (a.length < size)
          a = (Object[])java.lang.reflect.Array.
         newInstance(a.getClass().getComponentType(), size);
        // ... you need to write more code here!
        return a;
      private static final Node NOT_FOUND = null;
      //FindPos
      private Node findPos(Object o)
           for(Node p = head.next; ; p = p.next)
                if(o == null)
                     if(p.data == null)
                     return p;
                else if(o.equals(p.data))
                return p;
                return NOT_FOUND;
      //Get Node
      private Node getNode(int index)
           Node p;
           if(index < 0 || index > size())
                throw new IndexOutOfBoundsException();
           if(index < size() /2)
                p = head.next;
                for(int i = 0; i < index; i++)
                  p = p.next;
           return p;
      //Print The node
      private static void print(Node n)
           Node current = n.next;
           while (current != null){
                System.out.println(current.data);
                current = current.next;
      public static void main (String[] args){
           System.out.println("Singly Linked List");
           System.out.println();
           SinglyLinkedList l = new SinglyLinkedList();
           l.add("F");
           l.add("K");
    }       

    C:\Umass\CS210\Hw2\SinglyLinkedList.java:301: unreachable statement
    return NOT_FOUND;
    ^
    C:\Umass\CS210\Hw2\SinglyLinkedList.java:316: variable p might not have been initialized
    return p;
    ^
    The first problem is because your "for" loop has no "while" condition in it:
    for(Node p = head.next; ; p = p.next)...
    Therefor, the only way out of the loop is via break, return, or exception. In your case, you don't "break" out of the loop, so there's no way it can get to this statement.
    The second problem, you didn't cover all cases to set "p", so it won't let you return an un-initialized value.

  • I need help recovering the DOWNLOAD ICON from the side bar thing

    i don't know how but the download was gone from the side bar one day, i guess my parents did something accidentally and took it off. But i don't know. is there any way for me to get that icon back on the side bar?

    To your other post - where is the home folder - - it's the little house in the Finder sidebar with your username after it.
    Yanda the panda wrote:
    but the download folder is completely gone from everywhere
    it only pops up a window when i download something
    That is not the downloads directory - that's the Safari local Downloads window. Not the same
    Now, are you saying that the real Downloads directory has been removed - deleted?
    Click on that home folder - the house icon and look carefully for a Downloads Folder. It should look like this:
    If you do not see it, perhaps it was moved.
    In the Finder search window, enter downloads. Select "This Mac" and "File Name" and see if it pops up.
    If not, do you have a backup? TM or something else?
    If not, we can create a new Downloads folder but alas, everything in the original is gone.

  • Need help with Services (email from finder using unibox)

    I have scoured the discussions and googled to find a solution to my problem and have had zero luck.
    Basically I want to be able to right-click on a file in finder and go to services and choose Unibox (my default email app) to send the file. I remember being able to do that using one of the other apps I used to use for email, but have been unsuccessful finding the steps to creating the service.
    Any and all help to create that context menu option is appreciated.

    Mail/Preferences/General - do you have Unibox set as your default e-mail application?

Maybe you are looking for

  • Storing Encrypted passwords in SQL database

    Hey folks! I'm trying to encrypt a password to be put into a SQL database and then be decrypted when I pull it out to log a user in. Currently I can encrypt and store the password fine, but it's the grabbing and decrypting that is giving me troubles.

  • My ipod is a complete mystery

    My ipod is really causing me some problems. Let me give a little backstory. Recently, a tree was struck by lightning in our front yard and created a lot of problems. For instance, the power supply in the computer was blown. Upon replacing the power s

  • How do you split clips in the event viewer in iMovie '11?

    I'm using iMovie '11 and have imported a very long movie (over an hour from VCR Tape) that I want to split into multiple events, however the "Split Clip" option is grayed out. How can I split a large event into smaller events?

  • Append Line in ALV

    Hi, based on a customized database table, i pull out the data to be displayed in ALV. for my alv display, i only set 2 columns to be editable at all times. from the standard alv function, when i click on append line, how can i make the whole line to

  • 2d interpolation index order?

    Hi, this is not really a problem but i am properly confused by the purpose or the way labview works.  as i am doing the 2d interpolation for some image analysis, i converted the loaded image into a 2D array.  it took me a while to figure out the inde