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: 

create a generic method which can be used to display ALV using CL_SALV_TABLE

Former Member
0 Kudos

i have created a method that accepts any table as its importing parameter and inside that method i am CL_SALV_TABLE -> factory method using the importing parameter.
But every time i execute it i recieve a dump that Overwritten protected field.

I dont have any key fields in the table as its an generic table with type any table.

Please help.,

1 ACCEPTED SOLUTION

former_member210008
Active Participant
0 Kudos

Hi. You can't change importing parameters (cl_salv_table will do some stuff with table data). So you must change importing to changing in your method.

2 REPLIES 2

former_member210008
Active Participant
0 Kudos

Hi. You can't change importing parameters (cl_salv_table will do some stuff with table data). So you must change importing to changing in your method.

Former Member
0 Kudos

Thanks Evgeniy that solved my requirement. Cheerse