2008 Dec 17 6:48 AM
Hi all,
I have a screen with some fields and below them i have an alv container which contains gird.
Please let me know the procedure to deactivate the ALV container which is there on the screen depending on specific conditions.
and this ALV container is not in any subscreens.
Thanks,
Ram
2008 Dec 17 9:57 AM
Hi Ram,
At first you will be creating a container and the conatiner name will be stored in a variable.
For e.g. w_custom type scrfname value 'CUSTOM'. Based on the conditions,
i ) If the ALV grid should be displayed on the screen, then create object and call the method(follow usual procedure), just add a single condition before this IF w_custom eq 'CUSTOM'.
i ) If ALV grid should be deactivated, then clear the variable(w_custom) before your own condition.
Hi Ram,
At first you will be creating a container and the conatiner name will be stored in a variable.
For e.g. w_custom type scrfname value 'CUSTOM'. Based on the conditions,
i ) If the ALV grid should be displayed on the screen, then create object and call the method(follow usual procedure), just add a single condition before this IF w_custom eq 'CUSTOM'.
i ) If ALV grid should be deactivated, then clear the variable(w_custom) before your own condition.
2008 Dec 17 9:57 AM
Hi Ram,
At first you will be creating a container and the conatiner name will be stored in a variable.
For e.g. w_custom type scrfname value 'CUSTOM'. Based on the conditions,
i ) If the ALV grid should be displayed on the screen, then create object and call the method(follow usual procedure), just add a single condition before this IF w_custom eq 'CUSTOM'.
i ) If ALV grid should be deactivated, then clear the variable(w_custom) before your own condition.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |