![]() INSERT LINES OF t_editcell INTO TABLE t_itab-t_editcell. After editing data press ENTER and the break point should bring you into the relevant method. When you run it click Edit for the first time. You dont need to add the class via SE24 - done fron this ABAP. *populating t_editcell which contains fieldname+style of cellįs_editcell-style = cl_gui_alv_grid=>MC_STYLE_ENABLED. This also defines a subclass of clguialvgrid so you can access the protected attributes / methods of that class. *making the KALSM editable for editing data for specific Sales Organization(0300) SELECT * FROM VBRKt INTO CORRESPONDING FIELDS OF TABLE t_itab UP TO 20 ROWS. R_container TYPE REF TO cl_gui_custom_container, *declaring the container & grid for output table display *Adding a table of type LVC_T_SCOL to the output table that holds the status of editable cells Note: Please do the following before executing the program.ġ) create the gui interface ‘pf-status’ (with BACK and EXIT buttons) and a container ( give name as CONTAINER) for the screen.Ģ) In PBO of screen, write ‘MODULE LIST.’ after ‘MODULE STATUS_0100′. In present context the VBRK details are displayed where the KALSM is editable only where Sales Organization(VKORG) is ‘0300’. Here is a simple program to make certain cells of an ALV grid control editable. It even allow us to download data in various formats. But when compared to Table Control, its main disadvantage is, un-editable / read-only data. Using ALV Grid is always beneficial in terms operations and activities we can perform on the data. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |