Skip to Content
0
Former Member
Sep 16, 2005 at 11:36 AM

Dynamic Function

23 Views

hii,

i have fm in which i have the code like this

my ztab contains 4 columns field1 field2 field3 field4.

call function 'ZUPDATE'.
  importing
    tabname = 'ZTAB'
    value   = '2,3,4,5' .

now in <b>zupdate</b> function i have written code like this

data wa like ztab.

split value at ','  
into wa-field1 wa-field2 wa-field3 wa-field4 .

modify (tabname) from wa .

but want to make this zupdate function as dynaminc so that it can be run for any z-table

i have tried using field symbols but not able to succeed.

the parameter i shud pass to zupdat fm will be any table name and its corressponding values saparated by ','.

help.

abhishek suppal