Ah... that rings a bell. Thanks. :) Ratman. -----Original Message----- From: saphelp@xxxxxxxxxxxxx [mailto:saphelp@xxxxxxxxxxxxx] Sent: 26 July 2002 08:27 To: saphelp@xxxxxxxxxxxxx Subject: [saphelp] Re: Dynamic code??? 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)
+++++++++++++++++++++++++++++++++++++++++++++++++++ Please note that this eMail, and the contents thereof, is subject to the standard Sasol eMail disclaimer which may be found at: http://www.sasol.com/disclaimer.htm If you cannot access the disclaimer through the URL attached and you wish to receive a copy thereof please send an eMail to disclaimer@xxxxxxxxxx You will receive the disclaimer by return eMail.