Application Development 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: 

SET_VIEW_EXCEL in CL_GUI_ALV_GRID

Former Member
0 Kudos

Hello,

I've tried to switch the ALV GRID with the method SET_VIEW_EXCEL to Excel Layout.

But there is an error: 'Access to proteced Method "SET_VIEW_EXCEL" is not allowed'.

What can I do?

Thank you.

2 REPLIES 2

Former Member
0 Kudos

Hi Gunter,

if the methos isn'r public you cannot use it in your program.

Try to create a Layout variant and use it . With method SET_VARIANT you can start your alv with saved variant.

I hope this can help you.

rgds

enzo

0 Kudos

Hi enzo,

I wonder that I can choose the method SET_VIEW_EXCEL via the templates although I can not use it.

But nevertheless I will use the SET_VARIANT method.

Thank you.

Best wishes

Gunter