Change the Standard ALV Export button text

Hi Expert,
I want to change the standard button ( Export Button ) text in ALV table. I had gone through some threads already but still i am not getting a clear idea on this. Could you please any one give me a clear structure on this.
Regards,
Sarathy.

Here is the new solution with out creating ZCLASS.
DATA: lo_function_dpwty       TYPE REF TO cl_prs_std_alv_funct,
        lr_functions            TYPE REF TO if_salv_wd_function_settings,
        lr_function_std         TYPE REF TO cl_salv_wd_a_function_std.
  CREATE OBJECT lo_function_dpwty
    EXPORTING
      id = 'X'.
  lr_functions = l_ref_interfacecontroller->get_model( ).
  " append row rename
  lr_function_std = lr_functions->get_function_std( if_salv_wd_c_std_functions=>edit_append_row ).
  lv_button_text = 'Add Item'.
  lo_function_dpwty->change_text( EXPORTING text        = lv_button_text
                                                       CHANGING  std_function  = lr_function_std ).
  "Delete row item rename
  lr_function_std = lr_functions->get_function_std( if_salv_wd_c_std_functions=>edit_delete_row ).
  lv_button_text = 'Delete Item'.
  lo_function_dpwty->change_text( EXPORTING text        = lv_button_text
                                                       CHANGING  std_function  = lr_function_std ).

Similar Messages

  • How to change the standard layout sets in ALV List

    Hi Gurus,
    How to change the standard layout sets in ALV list.
    Is there any standard program ? or specific way to acheive this?
    Kindly drop some clues?Every valuable clues rewarded more points........
    Thanks in Advance,
    Dharani

    Hello Dharani
    All required function modules can be found in function group SLVC (assuming that you are using OO-based ALV or, at least, fm REUSE_ALV_GRID_DISPLAY_LVC):
    LVC_VARIANT_DEFAULT_GET (Read default display variant (description only, w/o field catalog))
    LVC_VARIANT_EXISTENCE_CHECK
    LVC_VARIANT_F4 (Display variant selection dialog box)
    LVC_VARIANT_SELECT (Read a display variant)
    For a sample report using LVC_VARIANT_DEFAULT_GET have a look at BCALV_GRID_10.
    Regards,
      Uwe

  • Change the font color of a text field in a table by key-combination

    I want to change the font color of a text field in a table (single cell only) on pressing a key combination. Does anybody know how to do this.
    I have a lot of data in a table. During an evaluation of the data in a meeting I want to change the color of the text depending on the result of the meeting. (for example: High risk = CTRL+R makes the text red).
    I know how to change the color using a button, but I do not want to add a button after each cell. For this reason I would like to do it on a key combination that alway refers to the active cell.
    Many thanks for your help in advance.
    Marcel

    Hi,
    I don't think you can use the ctrl key like that as those shortcuts will be intercepted by Reader (ctrl-R toggles the ruler display on / off).  You also might have trouble updating the color while you still have focus on it.  You can use the shift key in a similar way, so if you only have lower case characters in the text fields then you can do something like;
    if (xfa.event.shift)
        switch (xfa.event.change)
            case "R":
                this.fontColor = "255,0,0";
                break;
            case "O":
                this.fontColor = "255,102,0";
                break;
            case "G":
                this.fontColor = "0,255,0";
                break;
        xfa.event.change = ""; // ignore character
    If you need uppercase characters maybe you can have one button to set "review mode" and test that on the if (xfa.event.shift) line.  But again it wont take effect until you have tabbed out of the field.
    Regards
    Bruce

  • Can we change the name of reassign button in sharepoint 2010 approval workflow?

    can we change the name of reassign button in sharepoint 2010 approval workflow?
    Shazil Ali

    Yes, we can change it. Steps are as follows: 1. Create the workflow in SharePoint Designer 2010 2. Use Start Approval Process action 3. Write your logic and all setting as per you requirement and then publish the workflow once. 4. After this, click on
    the workflow name and there you will see the sections as Workflow Information, Customization, Settings, Start Options, Forms. Here you will see a form under Forms section with a name of Approval_x00....... with a type "Task". Click on this form. This form
    is an Infopath form that opens up when a task is to be edited (Task Form). This form will open up in Infopath (provided you have Infopath installed on your system) It may ask you the crendentials for security. 5. The task form will open up in Infopath for
    editing. Click on the Reasign button and in the top left corner in the ribbon section is the field (Label) having text as "Reassign Task". Change this and then save and publish the form.Publish the workflow once again.

  • How to change the movie clip a button links to???

    I am working on a website in Flash that had already been
    designed by someone else. There are a number of buttons across the
    website that are linked to the same symbol. Those buttons link to
    movie clips, in the button's actions, that pop up as small windows
    providing more information in regards to the button clicked. The
    problem is that I cannot figure out how to properly change the link
    association between button and movie clip.
    Here is the action script for one of the buttons:
    on (release) {
    _root.scrHEIGHT=100
    _root.scroller.scroller.gotoAndStop(2);
    _root.scroller._x = 100;
    _root.scroller._y = 150.7;
    _root.TM_title = "About Chris Smith";
    _root.READ = 3;
    When I change the number after "root.READ =" it will change
    it to another movie clip but I how do I know what that association
    is based on? For instance if I make a duplicate movie clip how can
    I make the above script link to it? Also, what exactly does that
    last line in the above script mean? When I tested various numbers,
    like 3 and 6, they would link to the same movie clip.
    Please help! This is driving me crazy!
    Thanks!!!

    Hi,
    buttons can be defined with static icon/text, or dynamically via a variable (containing @08\Qtooltip@text for example). You choose the pushbutton type when you define your button using the screen painter. For the dynamic definition, you must tick the "output only" checkbox, enter a global variable name, that you'll fill in your program, preferably using ICON_CREATE function module.
    BR
    Sandra

  • How to change the color of navigation menu text?

    Hello guys,
    is there any way to change the color of navigation menu text? (Home, Contact About us,etc)
    Thank you,
    Cheers

    To create your own navigation bar, you can use a textbox and use colour fill with any colour you want and then enter the names of your pages in this and create hyperlinks to these pages. The text can then be any colour you want.
    You can also use shapes if you want to and use the shapes to create individual buttons.
    To hide the original nav bar, go to page and it has a couple of boxes with hide nav bar and include in page. Uncheck these and the original nav bar will disappear. You can't delete them however.

  • Is there any way to change the default font for outgoing text-messages, in "Messages"? (OSX 10.10)

    Is there any way to change the default font for outgoing text-messages, in "Messages"?
    I can change it for one conversation, but then it resets to the default, tiny font.
    The preferences menu only lets me change the conversation font.
    (OSX 10.10)

    Hi,
    As you may remember there used to be a Messages pane to the Preferences where the Font and colour of the Balloons or background and the Font text colour could be changed.
    And there was a Format Menu for character, word and Sentence changes in the current IM or iMessage.
    Those have gone in Yosemite's version of Messages (Despite it retaining the designation of Messages 8 the same as Mavericks' version).
    All that can be done now is set the size of the font and this has been moved to the General Section of the Preferences.
    The Yosemite version has also been fixed to using the Balloons style of send and receiving any type of messages as well.
    Changing the Font would involved editing the Balloon.transcript file.
    10:34 pm      Saturday; December 13, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Need to Change the Standard.joboptions on Acrobat 8.0

    We are a Citrix/Terminal Server shop and have clients using Acrobat 8.0 on the server under their citrix session and they need to have the default resolution of the created PDF to change for everyone on the server from 600 dpi to 300 dpi.
    When I try to do this in the printer setup for Acrobat it tells me that I can't edit the Standard.joboptions file and save it over itself. I then tried to manually edit the file with Notepad and it is still showing 600 dpi when I look at the Standard settings.
    I also changed the Standard and set it as 300 dpi and saved it as a different name in the "Settings" folder and when I try to choose it in the drop down list of settings files I don't see that one.
    Am I missing something? How can I set the default resolution to 300?
    Thanks,
    Jason

    I don't see how to do that. Is there a document or online resource to help with that?
    Like I said, I saved the changes to another file but then do not see a way to specify that new file as the 'default'.
    Thanks,
    Jason

  • In Lightroom 4, is it possible to change the resolution when exporting to Facebook?

    Is it possible to change the resolution when exporting a photo to Facebook using either the regular plugin or Jeffrey Friedl's plugin?  I can't seem to do it; I only have control over the image dimensions, not the resolution and the dimensions, as you can see in the screen shots below:
    I have control over both when I export to my hard drive (or a flash drive, etc.), as you can see below:
    I can't find the option to control the resolution when I try to export to Facebook.  Before I got Lightroom 4, I would create whole new low-resolution files of images I wanted to post online using Photoshop.  The image size settings I would use are a longest edge of 10 inches at 72ppi, and I would like to continue doing this.  If I can only set the longest side to 720 pixels (I can't even seem to set the longest edge to an inches value - I can only choose a pixels value) and not change the resolution from 300ppi to 72ppi, then my photos' longest edge will only be less than 3 inches long (right?).  Thus, I really want to be able to upload low-resolution photos to Facebook via Lightroom with the ability to change both the resolution and the image dimensions.  Any idea how to do it without having to export to my hard drive first?  Thanks!

    Rob Cole wrote:
    I'd be inclined to set it to zero so it obviously doesn't mean anything
    You can set it to whatever you like, and it makes no difference. Most of the time (depending on how you saved it), it will still open as "72".
    When you save an image for web, the resolution is usually stripped from the file. It's simply not there anymore. That's probably what happens in the Lr facebook module, and that's why there's no entry for it.
    But when you open that image somewhere else, that default of 72 ppi is assigned. Most apps need to know what to do with a file if asked to print it out. So there is a default, and that's usually 72, mostly by convention. With that default ppi, it prints out at a comparable size to what you see on screen at 1:1 display.
    And when people see that, they think "hey, web images are 72 ppi". But they're not - that figure is just inserted there by the opening application.

  • How to change The Standard JOptionPane Icon?

    in this simple code
    i want to change the Standard JOptionPane icon to a different icon
    how could it be?
    thank you
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.WindowListener;
    import java.awt.event.WindowEvent;
    import javax.sound.sampled.*;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import javax.swing.ImageIcon;
    import javax.swing.Icon;
    import java.awt.event.*;
      public class MyFrame extends JFrame 
    JLabel label=new JLabel("Hello");
      MyInner inner;
          MyFrame ()
            setupGUI();
        private void setupGUI()
           JFrame f =new JFrame();
        //   f.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
           f.setTitle("Window Event");
            f.setSize(550,350);
            f.setResizable(false);
            f.setLayout(new BorderLayout());
            f.add("Center",label);
            f.show(true);
             inner=new  MyInner();
             f.addWindowListener(inner);
                   class MyInner extends WindowAdapter
           public void windowClosing(WindowEvent ee)
                         Toolkit tool = Toolkit.getDefaultToolkit();
                  tool.beep();
                      JOptionPane.showMessageDialog(null, "Nice Work! " );
                      System.exit(0);
          public  static void main(String[]args)
             MyFrame frame=new MyFrame ();
    }

    For instance:
        class MyInner extends WindowAdapter
            public void windowClosing(WindowEvent ee)
                Toolkit tool = Toolkit.getDefaultToolkit();
                tool.beep();
                JOptionPane.showMessageDialog(null, "Nice Work! ");
                ImageIcon myImageIcon = new ImageIcon("myPic.jpg"); // needs proper path here
                JOptionPane.showMessageDialog(null, "Better Work!", "Dang, I'm smart!", JOptionPane.ERROR_MESSAGE, myImageIcon);
                System.exit(0);
        }

  • I want to change the size and color of text in call out boxes and text boxes. How can I do this? Jack

    I want to change the size and color of text in call out boxes and text boxes. How can I do this? Jack

    Highlite the text inside the text box and then press Ctrl+E.

  • How to batch change the standard value of routing

    Dear all,
             I meet a problem, and need you help.
            As you know, we can use T-code "CS20"  to batch change a component's quantity in different Bom by a factor.
           for example:  Component a in Fert. A,  quantity change from 6g x 0.9 = 5.4g
                               Component a in Fert. B,  quantity change from 8g x 0.9 = 7.2g
           now, my question is how to Batch change the standard value in routing. (select by work center)  CA85N can select the value, but seems can not batch change by a factor,
           thanks in advance

    It is not a big task for u prasobh...Just play in CEWB for 5-10 mins you will understand everything....
    If you face any issue let me know..
    For ur information I am also an IBM employee...
    Gobi

  • How do you change the spacing between lines of text?

    using Dreamweaver 6 how do you change the spcing between lines of text. Not seeing it as a option in the page properties menu.

    Try CSS line-height property.
    Kenneth Kawamoto
    [link removed by moderator]

  • How to change the standard data type in xi

    Hi,
    presently we have SCM.i want to change the standard data type i.e" Replinishment order notification ".i want to change the length of the field .
    but there is no edit option for that data type.
    i even modified Software component version( http//sap.com/xi/scmbasis/global)with objects are original objects and objects are modifible(tick the check box)
    thanks in advance.
    atmakur

    Hi Atmakur,
      <i>i even modified Software component version( http//sap.com/xi/scmbasis/global)with objects are original objects and objects are modifible(tick the check box)</i>
        After doing this have you activated the change list? If not please do it and refresh it..and try to open..it will work..
    Regards,
    Prasanthi.

  • How to hide the Print and Export button in analytics report or tasks pane

    Hi Experts,
    In BIEE 11g,
    How to hide the Print and Export button in analytics report or tasks pane ?
    For example:
    In console,I have created one userA which is belong to BIConsumer GROUP , when I make use of the highest user 'weblogic' to create one simple report, then the userA will login the analytivs to view this report (not dashboard), it will show the print and export as below.So customers do not want to give him the privilege for printing and exporting.
    In addtion, go to catalog->tasks(left corner), it will also show the print and export button. So how to hide or not access these button?
    Note: Maybe it can use the policy for consumer role for implementing this requirement, but I do not know how to modify the policy. Are you facing the problem? Thanks.

    Hi,
    1. Create seperate folder for Reports & Dashobard.
    2. For BI_Consumer (userA) set the catalog permission to view Dashboard Folder only and remove permission on the Report Folder (you can give traverse permission but don't give Open permision).
    3. By this user won't be able to open or run any reports in that folder and the only way he can see the reports is through Dashboard and on dashboard the export and print buttone can be removed very easily.
    Mark helpful if it helps.
    Regards,
    Kashi
    Edited by: K N Yadav on 24 May, 2013 1:51 AM

Maybe you are looking for