Skip to Content

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

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.,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Dec 23, 2016 at 05:07 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 23, 2016 at 03:30 PM

    Thanks Evgeniy that solved my requirement. Cheerse

    Add comment
    10|10000 characters needed characters exceeded