05-17-2018 1:52 PM
Hi Experts,
Please let me know if we will be able to modify a database table using <Field-Symbols> by transporting 1 or 2 fields.
When we use MODIFY (lv_table) FROM TABLE <f_tab>, it wipes out all the fields except the manipulated fields and key fields
05-17-2018 2:37 PM
Hi Bala,
first check <Field-Symbols> values in debugger before modify. if values are not assigned in firld symbols get it assigned and manipulate with new values. Generally, Before manipulating the fields first get the old values and try to manipulate the field values which you want new values it, will get updated.
05-17-2018 2:55 PM
Hi Naresh,
Is it not possible like how we do with a Normal internal table with Modify statement
MODIFY DB FROM TABLE IT_TAB TRANSPORTING FIELD1
05-17-2018 4:50 PM
05-18-2018 7:18 AM
You may use MODIFY to update a subset of columns only by creating an updatable database view with only this subset of columns and use MODIFY (viewname)... Of course the field symbol must refer to a table type with the same components as the view.
Note that this answer is valid also for "normal" internal tables, not for field symbols only.