on 01-10-2006 3:31 PM
Hello everyone this is my problem i create an alv report using a grid i have my data ordered and grouped by a field but when i declare other field editable my report lose the grouping could you give some advise ? i was thinking about editing the field in a popup window but 'till now i just can read the data in the popup without the possibility of editing it. thanks .
You can`t edit and group at the same time, maybe you want to order and edit at the same time.
1. Create a edit button and use this code (user command).
2.-Declare this.
FIELD-SYMBOLS: <GRID> TYPE REF TO CL_GUI_ALV_GRID.
3.-Use this code to edit or not the fields.
ASSIGN ('(SAPLSLVC_FULLSCREEN)GT_GRID-GRID') TO <GRID>.
IF <GRID>->IS_READY_FOR_INPUT( ) EQ 0.
CALL METHOD <GRID>->SET_READY_FOR_INPUT
EXPORTING
I_READY_FOR_INPUT = 1.
EXIT.
ELSE.
CALL METHOD <GRID>->SET_READY_FOR_INPUT
EXPORTING
I_READY_FOR_INPUT = 0.
EXIT.
ENDIF.
ENDIF.
Alejandro Garaban.
Message was edited by: Alejandro Garaban
Message was edited by: Alejandro Garaban
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.