Skip to Content
0
Former Member
Feb 23, 2009 at 05:08 AM

Dynamic modify for the fields in a database table

842 Views

Hii All,

I am in to a serious trouble it is as follows.

I have a Z table from which i will be getting a field name and from a idoc i will be getting a value in a segment.

I have to update a table with the value from the idoc into the field name which i have retrieved from the Z table.

Now based on the select the field name will be changing everytime based on select query.

Now how do i modify the Database table??? since the field is changing everytime.

I tried using the field symbols but it is not working.

it is not allowing me to wrote say W_itab-<FS> = idoc-value.

PLEASE HELP ME OUT.

Thanks,

Ravindra.