2013 Jul 31 7:26 AM
Is there any function module or class i can use which goes to a Line in a report.
2013 Jul 31 2:14 PM
Yes, function module EDITOR_PROGRAM can be used to open source code in display or edit mode.
Here is a snippet for opening report ZTEST_REPORT in display mode.
CALL FUNCTION 'EDITOR_PROGRAM'
EXPORTING
appid = 'PG'
display = 'X'
line = '000024'
program = 'ZTEST_REPORT'
EXCEPTIONS
application = 1
OTHERS = 2.
2013 Jul 31 1:45 PM
Hi,
have a look to this program RPR_ABAP_SOURCE_SCAN
regards
Fred
2013 Jul 31 2:14 PM
Yes, function module EDITOR_PROGRAM can be used to open source code in display or edit mode.
Here is a snippet for opening report ZTEST_REPORT in display mode.
CALL FUNCTION 'EDITOR_PROGRAM'
EXPORTING
appid = 'PG'
display = 'X'
line = '000024'
program = 'ZTEST_REPORT'
EXCEPTIONS
application = 1
OTHERS = 2.
2013 Aug 02 9:51 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |