i have a module pool program where it's used for creating,modifing a business object. i have a save icon in application tool bar to save the code .
but the problem here is in the modification part where i have a table control and the data which is modified is being saved correctly but i have another icon(not in app tool bar) where it's used to delete a particular row in the table control. and when iam saving it, the row is not being deleted from the database table .can anyone help me in this issue.
MODULE USER_COMMAND_0110 INPUT.
refresh control 'TAB_COND' from screen '1004'.
ENDMODULE. " USER_COMMAND_0110 INPUT
FORM delete_join_row .
DATA L_SELLINE LIKE SY-STEPL.
GET CURSOR LINE L_SELLINE.
DELETE g_TAB_join_itab INDEX L_SELLINE.
ENDFORM. " delete_join_row
MODULE USER_COMMAND_1000 INPUT.
data zgnx_cond_tab type table of zgnx_condition.
data zgnx_cond_wa type zgnx_condition.
loop at g_TAB_COND_itab
move-corresponding g_TAB_COND_wa to zgnx_cond_wa.
zgnx_cond_wa-obj_name = SCR1000-OBJ_NAME.
append zgnx_cond_wa to zgnx_cond_tab.
MODIFY zgnx_condition from table zgnx_cond_tab.
This is the code that i have used.