Hey guys,
I'm working on a program which optimize reports as a project from my university. So it scans reports and try to fix them automatically. I will try to explain my problem with an example:
[random code]
read table l_t009b into wa_t009b with key bdatj = l_jah
bumon = l_mon binary search.
[random code]
So my question is, how can I find 'bdatj' and 'bumon' ? I tried something like this:
READ REPORT v_name INTO source_rep.
FIND ALL OCCURRENCES OF REGEX '(WITH KEY=?)' IN TABLE source_rep IGNORING CASE RESULTS results_tab.
But to be honest i don't know how to get the keys without 'knowing the name of them'.
Have someone an idea?
Greetings