Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SY-UCOMM

Former Member
0 Likes
382

Hi, I want to know whether in SAP, in the case of sy-ucomm, there is something for 'on_button_click'.

What I want to do in my case is that when my ALV grid is displayed, the user has to download it to Excel. So when the download to excel is trigerred, the ALV is sent to Excel plus another Excel file is generated with the same fields but different values for four fields.

I am thinking of using the 'i_callback_user_command' function of ALV and something like

Case rs_ucomm.

when 'download_to_excel'.

call back my internal table , modify the four values

download the file to excel.

Can anyone please help me on this issue.

Thanks

1 REPLY 1
Read only

Former Member
0 Likes
287

hi 3 ,

Different values from SAP while downloading ? how come it will possible ?

in that case u have to create ur own PF-STATUS, then code for excel download.

Regards

Peram