Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Edit data in internal table programatically

Hello,

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.

Regards

Tags:
replied

Hey,

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.

Regards,

Midhun Abraham

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question