Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to get the source code of a screen module

Former Member
0 Kudos

where can I find the source code of a dynpro module ?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

3 REPLIES 3

Former Member
0 Kudos

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.

0 Kudos

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.

0 Kudos

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 ).