Check out the GENERATE command, you can define an internal table and insert your code in it and then use the GENERATE command to execute it. Max Merolla ABAP Developer 011 809 2199 072 384 4955 saphelp@freelists .org To: <saphelp@xxxxxxxxxxxxx> Sent by: cc: saphelp-bounce@fr Subject: [saphelp] Dynamic code??? eelists.org 2002-07-25 16:30 Please respond to saphelp Hi. Does anyone here know how to build a string then Execute it. eg: Data: w_field1(10) type c, w_field2(10) type c, w_field3(10) type c, w_field4(10) type c, w_field5(10) type c, w_command(100) type c. w_field1 = "Perform". w_field2 = "SUB_ROUTINE". w_field3 = "using". w_field4 = "w_filed5". concatenate w_field1 w_field2 w_field3 w_field4 into w_command seperated by space. === Now what would I do if I wanted to execute w_command as a command??? Thanks in advance. Ratman. (See attached file: InterScan_Disclaimer.txt)