Skip to Content
avatar image
Former Member

Standard buttons in ALV

Hi all,

I need to change the text to the standard button "Export" in ALV for the text "Excel" and assing only one function to this button, the function I need is export to excel.

Does anyone knows how to solve this problem please?

Help is really appreciated.

Regards!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jul 04, 2007 at 09:41 AM

    You are lucky, there is another post that explain how-to:

    Change text of buttons of ALV of WEB DYNPRO ABAP

    Sergio

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 04, 2007 at 10:39 AM

    Thanks Sergio your answer is helpful, but my main problem is that I don't know how to implement the Export to Excel function in my button, I mean the code in order to do that.

    Do you know something about this?

    Add comment
    10|10000 characters needed characters exceeded

    • In your first post you asked about ALV and now about non-ALV...

      So about ALV you have the Excel download by default and you are able to change the text.

      About non-ALV download I think you have to use the method: cl_wd_runtime_services=>attach_file_to_response.

      Look at the last post in:

      File download WD4A

      Sergio

  • avatar image
    Former Member
    Jul 04, 2007 at 12:09 PM

    Cool!

    Add comment
    10|10000 characters needed characters exceeded