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

ALV and Excel

Former Member
0 Likes
1,104

Hi All,

I am displaying few data through the FM REUSE_ALV_GRID_DISPLAY. When I click on the Microsoft Excel (CtrlShiftF7) at the ALV toolbar to view the same data in excel sheet it does open the excel sheet WITHOUT ANY DATA. Please help me how to make the data visible in the excel sheet. I tried with all the previously suggested options in this forum.

Please be informed not to send me any non-SDN and non-SAP url.

For helpful suggestion reward points are awaiting.

Thanks,

-A.Singh

Hi All,

I am displaying few data through the FM REUSE_ALV_GRID_DISPLAY. When I click on the Microsoft Excel (CtrlShiftF7) at the ALV toolbar to view the same data in excel sheet it does open the excel sheet WITHOUT ANY DATA. Please help me how to make the data visible in the excel sheet. I tried with all the previously suggested options in this forum.

Please be informed not to send me any non-SDN and non-SAP url.

For helpful suggestion reward points are awaiting.

Thanks,

-A.Singh

6 REPLIES 6
Read only

Former Member
0 Likes
968

HI

Can you send ur code. so that we can test and let u know

Regards

Read only

Former Member
0 Likes
968

hi Amarjit,

REUSE_ALV_GRID_DISPLAY function module has a very good option, it is called Excel-In-Place.

It solves every problem with exporting to excel.

Refer to SAP standard note: <b>548409</b>

as data in not getting dispalyed, try this out. The solution is described below and involves making a simple change to the default settings in Excel on each client PC. [The security implication of this change has been discussed with the ISS IT Security Officer. Confirmation was given that he saw no reason why changing this setting in Excel to allow SAP to ‘send it data’ will weaken security.]

microsoft excel menu

1. Go to Tools -> Macro -> Security in Excel

2. Select the ‘Trusted Sources’ tab and ensure that the checkbox titled ‘Trust access to Visual Basic Project’ is ticked.

3. With the feature switched on, the data is passed to Excel.

Regards,

Richa

Message was edited by: Richa Singh

Read only

0 Likes
968

Hello,

Thanks for the helpful reply.

I am trying to reward points to you but it is giving the following error.

Community Forums Error

Error:

Thread is locked for rewarding.

Thanks,

A.Singh

Read only

Former Member
0 Likes
968

Hi Richa,

Excel-in-place ?

Could you please tell me why the data is not showing in the excel sheet. Do I need to put my own code at

sy-ucomm = '&VEXCEL'.

Thanks for your quick response.

-A.Singh

Read only

0 Likes
968

For setting up a correct Excel-in-place, please refer to SAP standard note: 548409

If the Excel does NOT show any data (and ALV does), that is an Excel problem. Allow Macros in your Excel settings.

Regards

Tamá

Read only

Former Member
0 Likes
968

Hi Amar ,

first try with REUSE_ALV_LIST_DISPLAY , if u are getting the data with this FM , then u are missing one TEMPLETS @ ur end .

bcos i am also facing the same issue with GRID , but i am getting the Data in Excel for LIST.

Regards

Prabhu