2007 Apr 17 6:15 AM
hi experts,
i have developed a report using simple alv,,this report shows the details of raw materials like quantity issued ,quantity recvd, now in the last i have to add
one more column called REMARKS,,,,in which after execution in the output list the user can write his/her comments(to make it editable) so for this what sud i do,,,plz help me.
thnx i advance,,,,
2007 Apr 17 6:16 AM
Hi..,
add this field also to the field catalog..
and use the parameter <b>wa_fieldcatalog-input = 'X'</b> also to make this field input enable...
hope this resolves your query !!
regards,
sai ramesh
Hi..,
add this field also to the field catalog..
and use the parameter <b>wa_fieldcatalog-input = 'X'</b> also to make this field input enable...
hope this resolves your query !!
regards,
sai ramesh
2007 Apr 17 6:16 AM
Hi..,
add this field also to the field catalog..
and use the parameter <b>wa_fieldcatalog-input = 'X'</b> also to make this field input enable...
hope this resolves your query !!
regards,
sai ramesh
2007 Apr 17 6:16 AM
In the Field catalog , you need to set the EDIT = 'X' or INPUT = 'X' for the respective column.
2007 Apr 17 6:16 AM
in the fieldcatalog for the remarks column
<b>
wa_fieldcatalog-edit = 'X'.</b>
2007 Apr 17 6:17 AM
Ravi,
after declaration of that parituclar field just add the following line
format input on.
this will allow the user to do the modifications in the list output.
K.Kiran.
2007 Apr 17 6:18 AM
and also in USER_COMMAND subroutine , write this
FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM
P_SELFLD TYPE SLIS_SELFIELD.
case p_ucomm.
when 'SAVE'.
Data ref1 type ref to cl_gui_alv_grid.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
E_GRID = ref1.
call method ref1->check_changed_data
the internal table will now have updated data
endcase.
ENDFORM.
2007 Apr 17 6:21 AM
Ravi,
Add you field to field catalog and
wa_fieldcatalog-edit = 'X'.
Pls. reward for all helpful answers..
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |