Hi
I am working on creating a dynamic ABAP pattern.
I have called it Y_TEST - entered one line with the value *$&$MUSTER - and I have created the function module called Y_TEST_EDITOR_EXIT.
Now I can allow the user of the pattern to enter some data and create the pattern based on these data. This works very fine, but I would like to validate the user input against the current source code.
Not against the saved source code that can be read READ REPORT ..., but against the source code currently active in the editor.
Can I access this source code?
I know after that after a dump, this current source code is sometimes stored in a buffer somewhere, and when I try to open the source in the ABAP editor, I get the option to load the source from this buffer instead of reading it from the database - but can I read this buffer in my function module?
Best regards
Thomas Madsen Nielsen