i have created a user input screen and when user press save button on toolbar i have to save all the data in database table, how to do that ??
i have written below code, but its not working
module user_command_0100 input.
case ok_code.
when 'BACK' or
'CANCEL' or
'EXIT'.
set screen 0.
leave screen.
when 'SAVE'.
perform update_table.
endcase.
form update_table .
it_final-form_type = form_type.
it_final-step_no = step_no.
it_final-final_value = final_value.
it_final-CURRENCY = 'INR'.
append it_final.
modify zcar_input_mast from it_final.
commit work.
endform.
in the above code my screen values r not getting picked up in internal table it_final.