‎2010 Jul 07 5:09 AM
Hello,
In ABAP is there any way to insert some code lines into an existing ABAP program (Z*) , We will insert in masse some code lines into a liste of program automatically ?
Thanks in advance
‎2010 Jul 07 7:06 AM
HI
/first of all I want to know
why you are wondering that whether you can insert code in Z program or not
it;s user defined program right so I think you can add your code if you have permission to edit that program.
Thanks
Lalit Gupta
‎2010 Jul 07 7:06 AM
HI
/first of all I want to know
why you are wondering that whether you can insert code in Z program or not
it;s user defined program right so I think you can add your code if you have permission to edit that program.
Thanks
Lalit Gupta
‎2010 Jul 07 7:27 AM
Hello,
Here I need to insert a default line of code before each program ( This code will call aonther FM ) . And I do this in mass ( many programme at the same time) So I wonder if there's any function or program that can help us to do this . The input of the function maybe :
Program to be modified
Start line
End Line
Source code to be inserted
Thanks
‎2010 Jul 07 7:54 AM
Please refer [Inserting ABAP code dynamically|http://www.sapdev.co.uk/tips/dynamic/dyn_prog.htm]
Regards
Marcin
‎2010 Jul 07 7:20 AM
Ho JoeHan,
We can insert the code in Z*programs.
OPen the program in Tcode SE38 and click on Chnage mode.
Make the necessary changes in ur code and save it under the Transaport request.
Regards,
Pravin