Hi,
i need to update database table and the requriement is that i need to update only one field depending on the condition.
loop at itab.
case itab-no.
when '01'.
field 1 = field1 + itab-field1.
........
when '14'.
field14 = field14 + itab-field1.
endcase.
endloop.
here i need to update only one of the 14 fields in the database table and i want to avoid 'MODIFY' . i want to use UPDATE dbtable SET field (depending on condition) = value(depending on condition) and i want to use this only once rather than in every 'when'. is there any way to achieve this using field symbols. im looking at how to pass FIELD NAME using field symbols.
your help would be appreciated.
Thanks,
ravi.