‎2019 Feb 27 10:44 AM
Hi all,
I need a program which opens another abap program which takes input as a program and deletes specified lines from it?
‎2019 Feb 27 11:41 AM
It sounds like quite dangerous requirement... I would not really recommend something like this. Can you share a little bit what is the idea behind it? I am almost sure it could be done better/systematical way...
‎2019 Feb 27 11:56 AM
‎2019 Feb 28 7:08 AM
The requirement is to delete the commented lines from any program that is given as input to my program.
But the thing is all the commented should not be deleted only those lines which are abap code and are commented should be deleted where as those like explanations should be left.
i have program which gets all the commented lines along with line numbers in my code .so i need my program to delete those lines which i select in that table to be deleted from the input program
‎2019 Feb 28 8:29 AM
The requirement is to delete the commented lines from any program that is given as input to my program.
But the thing is all the commented should not be deleted only those lines which are abap code and are commented should be deleted where as those like explanations should be left.
i have program which gets all the commented lines along with line numbers in my code .so i need my program to delete those lines which i select in that table to be deleted from the input program
That's easy then. You use READ REPORT and INSERT REPORT.
‎2019 Mar 01 5:22 PM
I actually could use a program like that. If it could also delete other garbage like "begin of... end of..." comments that would be heavenly!
Perhaps OP could share.