Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Editable ALV

Former Member
0 Likes
897

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

5 REPLIES 5
Read only

Former Member
0 Likes
831

Hi Check the BCALV_EDIT_01 to BCALV_EDIT_08 example programs.

Read only

Former Member
0 Likes
831

Search In SCN you will get no of similar post.

Check This Link

Ranga

Read only

Former Member
0 Likes
831

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.

Read only

Former Member
0 Likes
831

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

Read only

Former Member
0 Likes
831

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.