Code: Alles auswählen.
append 'SUBMIT' to itab4.
append 'TABLES' TO ITAB4.
append 'INCLUDE' TO ITAB4.
read report sy-repid into itab1.
SCAN ABAP-SOURCE itab1
TOKENS INTO itab2
STATEMENTS INTO itab3
keywords from itab4.
Hi,Asaph hat geschrieben:Hallo Gast,
hier ein Ansatz für das Hauptprogramm:
-> beachte f1 zu scan...Code: Alles auswählen.
append 'SUBMIT' to itab4. append 'TABLES' TO ITAB4. append 'INCLUDE' TO ITAB4. read report sy-repid into itab1. SCAN ABAP-SOURCE itab1 TOKENS INTO itab2 STATEMENTS INTO itab3 keywords from itab4.
-> für die Analyse von itab2 und 3 mußt du dich durchwühlen (trial and error)
-> für die inkludierten und aufgerufenen Programme
muß du ähnlich verfahren, bloß hier kann es natülich passieren,
daß wieder includes und submits gefunden werden und sofort ...
-hier würde ich alle gefundenen reports und includes ersteinmal
mit collect sammeln.
Gruß Andreas