First things first...this is a tool for lazy people that don't want to spend some analysing the code they must apply Performance on. I love Performance, and have worked on many Performance projects...have seen horrible codes with OCCURS 0, SELECT * and LOOP INTO WA. I love RegEx, and I'm on my way to hopefully became an ABAP RegEx Hero. So they other day I was just checking one program and an idea toss into my mind...why don't write a program that scan the code for me and let me know what are the most obvious Performance problems in the source code. At first, I tried to do something like the old and dead SE49... {code:html}Tasting the mix of PHP and SAP - Volume 11{code} but then I think to myself "Come on Blag! You know RegEx...let's use it"...so this nice and somehow useful tool came to live -:) LIKE LINE OF T_DATA. SELECT * INTO CORRESPONDING FIELDS OF TABLE T_SPFLI FROM SPFLI INNER JOIN SFLIGHT ON SPFLI~CARRID EQ SFLIGHT~CARRID WHERE SPFLI~CARRID EQ 'JFK' AND COUNTRYTO EQ 'PE'. LOOP AT T_SPFLI. ENDLOOP. So, we call our program and pass the report name as the parameter...
When we executed, we're going to see the line, the bad code, a possible solution and the name of the program...because yes...it can handle includes -;) 
When we executed, we're going to see the line, the bad code, a possible solution and the name of the program...because yes...it can handle includes -;) 