Edit data in internal table programatically
I have created and populated a custom z table with data. I have also created a custom screen that takes input from the user. Is there a way to edit/update data fields in my table on the basis of what has been input?, Eg. If the table consists of 3 fields, part_number, part_name and description. The user enters a new description for an existing part_number. How to update the description in the table? Example code would be very helpful. Thanks in advance.
First of all take the values in an internal table,when the user enter new values you can update the internal table using the MODIFY statement .After that delete the values in the custom table and upload the new values into the z-table.