2011 Feb 01 5:56 AM
Hi Experts,
I save an ALV layout with some filtered columns. Now I would like to take the columns through program giving the variant name as input. I get variant info from LTDX table, but no the columns of ALV. Could u please tell me any FM to find out the columns or any table which stores those details?
Thanks and regards,
Venkat.
2011 Feb 01 7:09 AM
Hi Venkat,
Now as you have the variant into some varaible. Pass this varaint name to FM 'LT_FC_LOAD' with IS_VARAINT = variant variable name, I_TABNAME = '1', and import your fields into the field catalog.
You will get the fields according to your variant.
Now after having fields in field catalog, you can easily create dynamic internal table from the same field catalog.
Hi Experts,
I save an ALV layout with some filtered columns. Now I would like to take the columns through program giving the variant name as input. I get variant info from LTDX table, but no the columns of ALV. Could u please tell me any FM to find out the columns or any table which stores those details?
Thanks and regards,
Venkat.
2011 Feb 01 7:09 AM
Hi Venkat,
Now as you have the variant into some varaible. Pass this varaint name to FM 'LT_FC_LOAD' with IS_VARAINT = variant variable name, I_TABNAME = '1', and import your fields into the field catalog.
You will get the fields according to your variant.
Now after having fields in field catalog, you can easily create dynamic internal table from the same field catalog.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |