‎2010 Jul 27 7:36 AM
Hi,
I am having about 50 database tables. I want to update those tables according to certain criteria. For that I need to give the database table name dynamically. Because if I want to give statically means i need to give 50 modify commands. Please sugeest me. Thanks in advance.
‎2010 Jul 27 8:03 AM
try this:
1) put your tablenames into itab
2) loop itab and
create data dyn_tab type standard table of (itab-tabn).
assign dyn_tab->* to <dyn_tab>.
modify (itab-TABN) from <dyn_tab>.
hope that helps
Andreas
‎2010 Jul 27 8:36 AM