2020 Jan 07 12:46 PM
i have alv i need to display some field based on user input.
ex- i have 63 field in table from that 63 10 are dynamic .
so if user enter 4 then i need to display first 4 from that dynamic 10.
i have alv i need to display some field based on user input.
ex- i have 63 field in table from that 63 10 are dynamic .
so if user enter 4 then i need to display first 4 from that dynamic 10.
2020 Jan 07 12:59 PM
What is the technical question ? What class did you use to generate ALV ?
2020 Jan 07 1:18 PM
fm i used-
grid1->set_table_for_first_display
and class cl_gui_alv_grid.
i am fresher please help me to out from this.
2020 Jan 07 1:43 PM
r010101010, could you please convert your comment into an answer ? (button action)
kiranpatil20, could you please do not use ANSWER if it is not a proposition on the question, just use COMMENT on your own question
2020 Jan 07 1:41 PM
Hello Kiran,
The ALV will dsiplay the fields that is populated in the table Field Catalog. So if you want to change the number displayed fields, you need to remove the lines (each line one field catalog corresponds to one field in the ALV).
Try to think of a simple algorithm to remove last line the table.
Regards,
Deenesh Ramrekha
2020 Jan 07 1:43 PM
Try to restrict Field Catalog entries based on the User entry if you are using Field Catalog.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |