2008 Nov 21 10:51 AM
Hi All,
My requirement is given below.
Design a popup window to be displayed with three buttons XXX, YYY and ZZZ when a Z Tcode ZTCODE is executed.
On Clicking ZZZ button should bring up a Selection Screen which will have a Parameter Material .executing it should bring up Maintenance Screen for the custom table ZXXX based on thye material entered in the selection screen which should be an editable ALV with ADD, EDIT, DELETE and SAVE options.
How to go about it so that i can create a editable ALV with the features mentioned present.
Thanks,
Vivek
Hi All,
My requirement is given below.
Design a popup window to be displayed with three buttons XXX, YYY and ZZZ when a Z Tcode ZTCODE is executed.
On Clicking ZZZ button should bring up a Selection Screen which will have a Parameter Material .executing it should bring up Maintenance Screen for the custom table ZXXX based on thye material entered in the selection screen which should be an editable ALV with ADD, EDIT, DELETE and SAVE options.
How to go about it so that i can create a editable ALV with the features mentioned present.
Thanks,
Vivek
2008 Nov 21 10:54 AM
2008 Nov 21 10:59 AM
2008 Nov 21 11:03 AM
Hi Vivek,
In the field catalog please make the particular as editable
ie,
ls_fcat-edit = 'X'
for the field which has to be editable and to save it ,in the ALV FM,REUSE_ALV_LIST_DISPLAY.
and if you are using oops alv give it as CALL METHOD g_editable_alv1->check_changed_data , where g_editable_alv1 is a grid container of type cl_gui_alv_grid to save the changed content.
2008 Nov 21 12:05 PM
hi,
as per ur requirement, u need to make module pool program screen having 3 buttons on that. now on click on any button , u need to call any screen having editable ALV. right. so make another executable program having selection screen and display editable alv. so on click on that button call that program through SUBMIT statement.
SUBMIT ZEMPEXPDTL USING SELECTION-SCREEN SY-DYNNR WITH EMPLOYEE = 2935 AND RETURN.
in this statement, zempexpdtl is program name,
employee is selection parameter.
Saurin Shah
2008 Nov 22 11:28 AM
u can set wa_fieldcat-edit = 'X'.
for example:-
counter = counter + 1.
wa_fieldcat-col_pos = counter.
wa_fieldcat-fieldname = 'RFLAG'.
wa_fieldcat-tabname = 'ITAB'.
wa_fieldcat-scrtext_l = 'Release'.
wa_fieldcat-edit = 'X'.
wa_fieldcat-outputlen = 10.
wa_fieldcat-no_zero = 'X'.
wa_fieldcat-checkbox = 'X'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |