cancel
Showing results for 
Search instead for 
Did you mean: 

Standard buttons in ALV

Former Member
0 Kudos

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!

Accepted Solutions (1)

Accepted Solutions (1)

SergioFerrari
Active Contributor
0 Kudos

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

Sergio

Answers (2)

Answers (2)

Former Member
0 Kudos

Cool!

Former Member
0 Kudos

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?

SergioFerrari
Active Contributor
0 Kudos

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:

Sergio