Hi Erdem,,
Yes, you are right. Extraction enhancement is too late in the process. It's after the filter and data selection by the extractor.
The only option I see is creating your own generic DataSource based on a Function Module extractor. Here you can apply similar logic as you wrote in RSAP0001.
Best regards,
Sander