PUSHBUTTON on the list

Hi,
I copied the vl06c transction to y transction. I have to add one pushbutton on the application tool bar of the list.
Please ley me know.
Regards,
Vijay

Hi,
  Just add one more push button in the pf-status 'SET' in the program copied program  of 'RV50QAF01'.
Rgds,
Bujji

Similar Messages

  • Can we add a pushbutton on the list ?

    Hi,
    I have to print a internal table and  a push button after the list.
    I can do it by SE41 but that can't be done at the end of the list. Is there any way to put pushbutton at the end of the list.
    or can we write a internal table contents on the selection screen. Note that Internal table contents are not fixed and vary each time records are selected.
    Thanks
    Manoj

    hi,
    To create a pushbutton on the selection screen (similar to pushbuttons on screens), you use:
    SELECTION SCREEN PUSHBUTTON [/]<pos(len)> <push>
                                USER-COMMAND <ucom> [MODIF ID <key>].
    The [/]<pos(len)> parameters and the MODIF IF addition have the same function as for the formatting options for underlines and comments.
    <push> determines the pushbutton text. For <push>, you can specify a text symbol or a field name with a maximum length of eight characters. This character field must not be declared with the DATA statement, but is generated automatically with length <len>. The field must be filled before the selection screen is called.
    For <ucom>, you must specify a code of up to four characters. When the user clicks the pushbutton on the selection screen, <ucom> is entered in the UCOMM of the SSCRFIELDS interface work area. You must use the TABLES statement to declare the SSCRFIELDS structure. The contents of the SSCRFIELDS-UCOMM field can be processed during the AT SELECTION-SCREEN event.

  • ALV List Display With a Pushbutton in the basic list

    i have displayed the po details in teh basic list. I have used the double clicking functionality. It worked well. Now instead of double clicking, i will place the cursor on the po and click a push button. then it should show the other details.
    Can anyone please guide me how to create the pushbuttons on the basic list ?

    Hi,
       You create your own GUI status.Pass the name of GUI status to FM REUSE_ALV_GRID_DISPLAY.
    e.g.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program      = sy-repid
          CALLBACKPF_STATUS_SET = 'PF'
          i_callback_user_command = 'USER_COMMAND'
          i_grid_title            = text-020
          is_layout               = wa_layout
          it_fieldcat             = it_fieldcat[]
        TABLES
          t_outtab                = it_basic
        EXCEPTIONS
          program_error           = 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.
    FORM PF.
    SET PF_STATUS 'P1'.
    ENDFORM.
    On pressing that button go to secondary list.

  • Pushbutton on the application bar on an abap report

    Hello All,
    I need to have a pushbutton (labelled Download) on the application bar on the abap report screen .
    This button should enable me to download the report contents in a file format (like excel).
    Please can you guys help me acheive this.How should the button with this functionality be placed in application bar?
    Thanks in advance for the kind help
    Swati

    Hi Swathi,
    In such case, as said above, create a new GUi status and then assign to the report using the below statement:
    AT PFnn.
    Effect
    This obsolete statement defines an event block whose event is triggered by the ABAP runtime environment during list display - provided the screen cursor is on a list line and a function is selected using the function code PFnn. Here nn stands for a number between 01 and 24. In the standard list status, these function codes are assigned to the function keys of the input device.
    Then what processing needs to be done when the user presses the button, will be written in the below control statement..
    AT USER-COMMAND
    Effect
    This statement defines an event block whose event is triggered by the ABAP runtime environment if, during the display of a screen list, a function with a self-defined function code was chosen.
    Note
    Self-defined function codes are all those that include character combinations, except for the following:
    The function codes "PICK" and "PFnn" ("nn"stands for 01 to 24) do not cause the event AT USER-COMMAND, but the events AT LINE-SELECTION and AT PFnn.
    All function codes that start with the character "%" are interpreted as system functions and do not cause the event AT USER-COMMAND. The system functions for lists are listed in the following table 1.
    The function codes in the following table 2, likewise, do not cause the event AT USER-COMMAND, but are handled by the list processor.
    Table 1
    Function code Function
    %CTX Call a context menu
    %EX Exit
    %PC Save to file
    %PRI Print
    %SC Search for ...
    %SC+ Find next
    %SL Search in office
    %ST Save to report tree
    Table 2
    Function code Function
    BACK Back
    P- Scroll to previous page
    P-- Scroll to first page
    P+ Scroll to next page
    P++ Scroll to last page
    PFILE name Store list lines in a text file named "abap.lst" in standard character representation in the standard directory of the application server. If a name is entered using name, this is converted to lowercase letters and used as the file name.
    PL- Scroll to first line of the page
    PL-n Scroll n lines back
    PL+ Scroll to last line of the page
    PL+n Scroll n lines up
    PNOP No effect
    PP- Scroll back one page
    PP-n Scroll n pages back
    PP+ Scroll one page forward
    PP+n Scroll n pages forwad
    PPn Scroll to beginning of page n
    PRI, PRINT Print
    PS-- Scroll to first column
    PS++ Scroll to last column
    PS- Scroll one column to the left
    PS-n Scroll n columns to the left
    PS+ Scroll one column to the right
    PS+n Scroll n columns to the right
    PSn Scroll to column n
    PZn Scroll to line n
    RW Cancel
    Example
    This program works with a self-defined GUI status MYLIST. The function that is linked there with the function code MY_SELECTION causes the event AT USER-COMMAND during list display and also creates details lists.
    REPORT demo_at_user_command.
    START-OF-SELECTION.
      SET PF-STATUS 'MYLIST'.
      WRITE 'List line'.
    AT USER-COMMAND.
      IF sy-lsind = 20.
        SET PF-STATUS 'MYLIST' EXCLUDING 'MY_SELECTION'.
      ENDIF.
      CASE sy-ucomm.
        WHEN 'MY_SELECTION'.
          WRITE: / 'You worked on list', sy-listi,
                 / 'You are on list', sy-lsind.
      ENDCASE.
    Regards
    Shiva

  • Is it possible to add pushbuttons to the SAP Easy Access Front Screen ?

    Dear gurus.
    Is it possible to add pushbuttons to the SAP Easy Access Front Screen when a person logs in?
    if so how can we achieve it ?
    Regards
    Saad Nisar.

    SAP Standard Menu
    SAP Standard Menu helps you in including your own menu within the Sap menu bar .It helps us in making own function related to the program, sub routines or any transaction. The main advantage of this standard menu is that u can even modify this menu according to your client or project needs.
    The main advantage of the SAP Menu bar is that it can find specific transaction without knowing the transaction code.           SAP Menu is determined by the task you are doing in the SAP R/3 system.
    Menu are like Drop down list ,as when you click on any particular menu item, further options will be displayed.
    You can have as many as standard menu bar in the SAP Standard menu.
    The SAP Menu Bar contains the menus for the functional and administrative areas of the system.
    Features of the Sap Menu Bar are as Follows
    Menu     Description
    System     It contains all the function that affect the system as a whole such as Create session, User profile and Log off
    Help     This menu provide various types of online help that are available in R/3 system
    Following are the Steps how to modify the SAP Standard Menu Bar
    Transaction code SE41 is used for displaying the Menu Painter Menu. 
    Now in the Program field ,Type the MENUSYST  as the Program Name.
    Now in the Status field choose the option MEN by using the F4 help .
    After choosing the MEN option for the Status field, click on the Change then the Following Screen will be displayed
    Click OK and move Forward , it is just Alerting that Menusyst is a user interface .
    After that the Following screen will appear with Modify Status Men in Program MENUSYST
    Double click on the Menu bar shown in the Left side of the Screen .Such as the Menu bar will open .
    Double click on the System such that list of menu will be displayed .
    Now you can See there  are two columns  present in the system menu ,One is Code column and other is Text column. Right Click on your desired location of these two column such that it will show the option.
    From the option menu choose the option Insert Entry . By choosing this option a new row is inserted in the System menu . when the New row is inserted then type Menu  in the code field and My Option in the Text Field as follows. Both the code field and the Text Field name depends on your requirments.
    Now Double click on the Menu of the Code field such that Function attributes window will open.
    In the fuction type choose the function type as T (Call a transaction).and then Click Ok.
    After Selecting the Function type . Click on the Ok button of the fucntion Attruibute Screen .
    After that activate the Function by selecting the Menu in the code field and click on the Fucntion Code button Present on the top of the Sap Screen .
    Now Save (Ctrl +S ) interface of the program MENUSYST  .
    Now Activate (Ctrl + F3) interface MENUSYST as follows .
    Now Come to the Initial screen of the Menu Painter i.e . SE 41 ,so as to test the modified SAP Statndard Menu ( by Pressing F3 )  and Type the Program As MENUSYST and status as MEN and then Click Test Button .
    After clicking the Test Button the Status Simulation Screen will appear , just click Excute button on that popup screen.
    Now the Menu Painter Intial Screen will appear such that you can test your function code there. Now Click on the System menu in the Menu Bar
    After clicking to the System Menu , the list of the option will open and our Customized /Modified SAP Menu will appear into it as follows .
    Now you can See that the My Option Menu appears on the Standard System Menu. There are various Advantages of the modification of the Standard Menu which are discussed as follows .
         Code Flexibility, As We can choose our own predefined Standard Menu fucntion in the Program as required by the client.
         Independency . Sap program is independent of various other supporting program that are supporting to the defined function.
         Ease of Code . More Uniformity is established between the Standard Menu function.We can include our own predefined fucntion module within this standard function module
    Deactivating of the SAP Standard Menu
    You can just move to the MENUSYST Prgram through SE41 Transaction Code . then Select the MENU option which you had customized and then click the Function Code again in the SAP screen.
    Then Message will be Displayed that Function MENU is Deactivated as follows .
    Now Save and Activate the interface MENUSYST. Test the Program using the Initial Screen SE41
    And check the System menu in the Menu bar ,then the My Option Menu is deactivated .

  • Refreshing the list.

    Hi Friends,
    Currently i am working on interactive report.
    in this report basically i am getting alv grid as output, if user double clicks any line of this grid it will go for a list in this list i have two pushbuttons save and refresh.
    when i press refresh button the list refreshes, but my main issue is if i go back it is one again comming back to list, but fo r me i should get the selection screen.
    Can any one suggest.

    hi,
    MODULE exit_command INPUT.
      IF g_ok_code = 'BACK' OR
        g_ok_code = 'RW' OR
        g_ok_code = 'EXIT'.
        CLEAR :  g_screen_active_9001,
                 g_screen_active_9002,
                 g_status,
                 g_wa_outtab.
        IF sy-dynnr = 9000.
          LEAVE PROGRAM.
        ELSE .
          LEAVE TO SCREEN 0.
        ENDIF.
    ENDIF.
    ENDMODULE.
    You can use this.
    hope this helps you.
    plz reward if useful.
    thanks,
    dhanashri.

  • How to get multiple values from the list

    I've a list of an item which I queried it from the database. I also created a button that will takes a selected items from the list when it was clicked. I used javabean to get the data from database.
    <%     // clicked on Select District Button
    Vector vselectedDistrict = new Vector();
    Vector vdistrictID = new Vector();
    String tmpSelectDistrict = "";
    tmpSelectDistrict = request.getParameter("bSelectDistrict");
    if(tmpSelectDistrict != null)
         // get multiple values from the list
         String[] selectedDistrict = request.getParameterValues("usrTDistrict");
         vselectedDistrict.clear();
         vdistrictID.clear();
         if((selectedDistrict != null) && (selectedDistrict.length != 0))
                             for(int i=0;i<selectedDistrict.length;i++)
                   vselectedDistrict.addElement(selectedDistrict);           
              vdistrictID = dbaseInfo.getcurrentDistrictID(nstate,vselectedDistrict);
              for(int i=0;i<vdistrictID.size();i++)
                   out.println("district = " + selectedDistrict[i]);                         out.println("district ID= " + vdistrictID.get(i).toString());
    %>
    // get vdistrict from the database here......
    <select name="usrTDistrict" size="5" multiple>
    <%     for(int i = 0; i< vdistrict.size(); i++)
    %>
         <option value="<%=vdistrict.get(i).toString()%>"><%=vdistrict.get(i).toString()%></option>
    <%
    %>          
    </select>
    <input type="submit" name="bSelectDistrict" value="Select District">
    Lets say the item that i selected from the list is 'Xplace' and I clicked on the Select District button,
    what I got is this error message:
    org.apache.jasper.JasperException: Unable to convert string 'Xplace' to class java.util.Vector for attribute usrTDistrict: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager
    So where is going wrong and what the message means?. Any help very much appreciated. Thanks

    These are just guesses that might hopefully steer you in directions you haven't looked in yet.
    I presume you used triangle brackets (< >) to avoid having the Jive Forum think it was the "italics" tag?
    Are you certain this: dbaseInfo.getcurrentDistrictID(nstate,vselectedDistrict);
    expects a Vector as its second parameter? And returns a Vector?
    I don't believe you've shown how you use the javabean, or its code? Perhaps it should be rewritten to accept an array of strings instead of a Vector?

  • Delete file from the list & as well as from file upload

    I have come across a situation where there is a sap.ui.unified.FileUploader & user is free to upload as many file selected. then there is a button to display the list of added files as list(deleteable list). list delete is possible by using the standard function provided in the explored of SAP UI5 SDK document. but how to bind both the controls?? do that at the time of deleting the list it will also delete the files added in FileUploader. attaching the screenshot for better understanding...
    SAP UI5 Version 1.24.3

    Hi,
    you can use the setValue() method when you delete a file from the list:
    oFileUploader.setValue("");
    Kind regards,
    RW

  • Delete file from the list.

    How can I delete the PDF from the list.

    See the FAQ: http://learn.adobe.com/wiki/display/readermobile/iOS+FAQ

  • When I login to Horizon View, it shows me the list of desktops to connect to. If I'm entitled to only one desktop then can View auto connect me to that desktop instead of me clicking on Connect?

    When I login to Horizon View, it shows me the list of desktops to connect to. If I'm entitled to only one desktop then can View auto connect me to that desktop instead of me clicking on Connect.

    Yes you certainly can.
    Right click any desktop in the list > Settings > in the left pane select the desktop you want to auto connect to > check "Auto connect to this desktop".

  • When i login to my mac, it opens iTunes, Skype and AIM. I've tried deleting these from the login items, but they are not on the list.  Can anyone help?

    When i login to my mac, it opens iTunes, Skype and AIM. I've tried deleting these from the login items, but they are not on the list.  Can anyone help?

    babowa wrote:
    If you do not lock that folder immediately after deleting all the contents, it will simply populate again (Resume - a "feature" in Lion). You do that by doing a Get Info (highlight folder and press Command + I keys), unlock the lock at the bottom, enter your admin password, then check the box to lock the folder. lock the lock and you're done.
    Yes, that is correct. The alternative is to quit all applications prior to logging out. Lion will then have a chance to remove the saved states.
    babowa also wrote:
    And, for the OP:
    It has also been a regular feature of Mac OS to automatically open any window that was open at shutdown. To avoit that behavior, simply close any Finder windows and  properly quit applications by closing their window and using Command + Q (or File >Quit).
    This was true only for the Finder. Prior to Lion, no other apps would launch unless they were included in the Login Items for the account. And the OS would not restore windows for other apps.
    A very small number of apps (TextWrangler is an example) implemented this capability prior to Lion. They could restore previously opened windows. But that is an application feature, and can be controlled by the application's preferences. Lion implements it at the system level, and users have virtually no control on a per application basis.

  • How do I move an email address up in the list of accounts on my iPhone?

    I have several email accounts on my iPhone, and I had to remove and reinstall one for a technical reason. Now it's at the very bottom of the list, although it's the one I use the most. How can I move it to the top of the list, without removing and reinstalling all the others? Thanks!

    bunny1 wrote:
    How can I move it to the top of the list, without removing and reinstalling all the others? Thanks!
    You can't. The order is defined by the order added.

  • Help !  The 'list view' for the Calendar app. on my Ipod touch is haywire..

    The 'list view' seems to be all wonky in Calendar on my iPod touch.
    The dates for a given day that's displayed don't make sense:
    i.e. Sunday Oct. 27 2030 followed by Saturday July 14 2001 followed by Tuesday Jan. 16 2001 are listed in consecutive order instead of today, tomorrow and next day (with correct dates).
    Also, the 'events' given for each day listed don't make sense and are often duplicated.
    The 'day' and 'month' views however, seem to be ok and not corrupted. The 'list' field in the month view also seems fine ?
    Has anybody experienced this ? Very frustrating, since I like the list view.
    I make most of my entries/changes to iCal on our main desktop (iMac 24") then sync. to my iPod. The list view seems ok on the desktop.
    Any help greatly appreciated.
    ps. not sure if the problem corresponded with an upgrade of the Ipod software to OS 3.1 from 2.x....
    ipod touch 16 GB 2nd generation iPhone OS 3.1 iPhone OS 3.1.1 (7C145)

    Attach the iPod and launch iTunes.
    Select it and goto Info tab / Advanced.
    Try using the "replace..." option and sync to see if it places the good data on there.

  • The list view in Calendar doesn't work

    iPhone 3Gs with iOS 4 now can't to show the list mode view correctly in the Calendar. It mixes all meetings and lost any also. When I look with month or day mode it works correct, so I think it is not problem of my calendar data it is problem of this mode, it is a little bug of new firmware.

    http://discussions.apple.com/message.jspa?messageID=11749750#11749750

  • How to find out the list of Production orders created for sales orders

    Dear All,
    Our company wants to generate a report for a List of Materials sold out in a particular Product Hierarchy. Along with that we want to know the list of Production orders created for the sales orders.
    How to identify the production orders which are created based on Sales orders.
    Kindly suggest.
    Regards,
    Mullairaja

    Check these threads
    [Sale Order & Production Order|Sale Order & Production Order;
    [Re: Linking Production Order against a Sale Order MRP run|Linking Production Order against a Sale Order MRP run;
    thanks
    G. Lakshmipathi

Maybe you are looking for