06-04-2008 11:33 PM
06-04-2008 11:37 PM
go to your dynpro, click System -> Status. double click on the Program & it will take you to your source code.
You will have to navigate through the PBOs & PAIs to get to the meat of the code.
regards,
robert.
06-04-2008 11:37 PM
go to your dynpro, click System -> Status. double click on the Program & it will take you to your source code.
You will have to navigate through the PBOs & PAIs to get to the meat of the code.
regards,
robert.
06-04-2008 11:45 PM
Thank you Robert,
I have no problem to see the source code. The problem is for the program that I write, it simply doesn't know how to get the source code of the modules.
I want to write a FM , with screenid as an import and that returns the source code of all the modules within the screen.
Than you again for the answer.
06-06-2008 3:15 AM
Actually I meant this:
CALL METHOD editor->read_source
EXPORTING
source_name = programid
IMPORTING
source_tab = sourcetab
EXCEPTIONS
OTHERS = 1.
But thank you again for the kind answer. (10 points ).